Apple Launches Swift Programming Language for Writing OS X and iOS Apps


At WWDC 2014 Apple come with new iOS 8 and OS X Yosemite operating systems. But that's not all. Apple really surprised us by launching new Swift Programming Language. Swift seems to be poised to replace Objective-C as the main programming language on Apple’s platforms. This programming language will use the same LLVM compiler and runtime as Apple’s Objective-C implementation.


Some of the highlights of the language according to Apple


  • Generics 
  • Structs that support methods, extensions, protocols. 
  • Tuples and multiple return values 
  • Closures (similar to blocks in C and Objective-C) unified with function pointers 
  • Fast and concise iteration over a range or collection 
  • Functional programming patterns, e.g.: map and filter


If you are a developer then you can download this Book and read about that programming language.

No comments :

Post a Comment