Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

macOSやiOS、watchOSといったApple製OSは、Swiftという言語で開発できます。Swiftは他言語の長所を取り入れた新しい言語であり、普段JavaScript等のWeb開発言語を扱っている方ならば、比較的学びやすいものとなっています。今回は、ActionScriptやJavaScript(TypeScript)といったWeb開発用言語と比べて、Swiftの便利な点を紹介していきます。 以下、JS=JavaScript(TypeScript)、AS3=ActionScript 3.0と表記します。 ここがスゴイよSwift言語 1. switch文のbreak宣言が不要 バグの原因を追っていくと、switch文のbreakを一つだけ忘れ、予期せぬ分岐に入っているのを見かけたことがよくあります。Swiftの場合はそんな心配はありません。case節にはbreakは必須ではないの
IntroductionIn this post, we’ll explore building a proof-of concept implementation of Futures and Promises. One of my favorite features of the Swift language is that functions are first-class citizens. Swift’s support for returning functions from functions, accepting functions as function parameters, and Swift’s support for closures let us do some neat things, one of which is building support for
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く