To start working with the language itself, you'll need to download the beta release of XCode 6, which includes tutorials to get you going. In addition to its online documentation, Apple has released an e-book, The Swift Programming Language, that's a free download from the iBooks Store. Cun sách có sn dng dead-tree t nhà xut bn No Starch Press. The fruity firm made no mention on Monday of how it plans to license Swift, whether it will release the source code to its compiler, or whether it will be possible to write code in Swift for platforms other than iOS and OS X – but we think maybe you shouldn't hold your breath for any of that. Kho lu tr này cha mã ngun ca cun sách 'Ngôn ng lp trình Rust'. What you shouldn't expect from Swift, however, is a general-purpose programming language for use outside Apple's ecosystem. That in turn means Swift already supports Apple's key development frameworks, including Cocoa and Cocoa Touch. Code written in both languages can be mixed and matched within the same program, and migrating code from one language to the other should be easy. (You may need to scroll down. Objective-C APIs can be called from within Swift code and vice versa. On your Mac, choose Apple menu > System Settings, click General in the sidebar, then click Language & Region on the right. At the same time, Swift is designed to be fully interoperable with Objective-C.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |