æ¨æ©ãswiftãã¢ããã«ãçºè¡¨ããã®ã§ç°¡åãªè³æãæ©æ¢°ç¿»è¨³ã¨ä¸æãªè±èªã§æ訳ãã¾ãã(ãããéä¸ãã)
Welcome to Swift
Swift(ã¹ã¦ã£ãã)ã«ãããã
Swift is a new object-oriented programming language for iOS and OS X development. Swift is modern, powerful, and easy to use.
Swiftã¯ãiOSã¨OS Xéçºç¨ã®æ°ãããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°è¨èªã§ããSwiftã¯ç¾ä»£çã§ãå¼·åã§ã使ããããã§ãã
Safe å®å ¨ã§ã
Swift pairs increased type safety with type inference, restricts direct access to pointers, and automatically manages memoryâmaking it easy to create secure, stable software.
Swiftã¯åæ¨è«ã§å¢å ããåã®å®å
¨æ§ããã¤ã³ã¿ã¼ã¸ã®ç´ã¢ã¯ã»ã¹ã®å¶éãèªåã®ã¡ã¢ãªç®¡çãã»ããã«ãªã£ã¦ãå®å
¨ã§å®å®ããã½ããã¦ã¨ã¢ãç°¡åã«ä½ãã¾ãã
modern ã¢ãã³ã§ã
Swift includes optionals, generics, tuples, and other modern language features. Inspired by and improving upon Objective-C, Swift code feels natural to read and write.
Swiftã§ã¯ãoptionalsãgenericsãtuplesããã®ä»ã®ã¢ãã³ãªè¨èªã®æ©è½ãå«ã¾ãã¦ãã¾ãã
Objective-Cã«å½±é¿ãåããããã«æ¹è¯ããããã¨ã§ã(Objective-Cãæ¸ãã¦ãã人ã«ã¯)Swiftã®ã³ã¼ãã¯èªç¶ã«èªãã ããæ¸ãããåºæ¥ã¾ãã
Powerful å¼·åã§ã
Take advantage of powerful pattern matching in Swift to write simple, expressive code. Format strings naturally with string interpolation. Use frameworks like Foundation and UIKit directly from Swift.
åç´ãªã表ç¾åè±ããªã³ã¼ããæ¸ãããã«ãSwiftã§å¼·åãªãã¿ã¼ã³ããããå©ç¨ãã¦ãã ãããã¹ããªã³ã°å±éã§èªç¶ã«ã¹ããªã³ã°ã®æ¸å¼ãè¨å®ãã¦ãã ããã使ç¨ãã¬ã¼ã ã¯ã¼ã¯ã¯ãSwiftããç´æ¥æ ¹æ ã¨UIKitã«åãã¾ãã
Interactive 対話ç
Use playgrounds to experiment with new technologies, analyze problems, and prototype user interfaces.
æ°æè¡ã®å®é¨ã«éã³å ´ã使ã£ã¦ãåé¡ãåæãã¦ãã¦ã¼ã¶ã»ã¤ã³ã¿ãã§ã¼ã¹ã®ååãä½ã£ã¦ãã ããã
Fast éã
The Swift compiler applies advanced code analysis to tune your code for performance, letting you focus on writing great apps instead of on implementing complex optimizations.
Swiftã»ã³ã³ãã¤ã©ã¯ããã©ã¼ãã³ã¹ã®ããã«ããªãã®ã³ã¼ãã調æ´ããããã«å
é²ã®ã³ã¼ãåæãé©ç¨ãã¾ããããã¦ãããªãã«è¤éãªoptimizationsãå®è¡ãããã¨ã«ã®ä»£ããã«ãã°ãããã¢ããªãæ¸ããã¨ã«éä¸ããã¾ãã