Quantcast
Channel: Fairway Technologies
Viewing all articles
Browse latest Browse all 53

Introducing Swift, Apple’s New Programming Language For Writing iOS And OS X Apps

$
0
0

SwiftAt its recent WWDC developer event, Apple introduced a new programming language called Swift. The new language seems poised to replace Objective-C as the main programming language on Apple’s platforms.

According to Techcrunch, Swift will use the same LLVM compiler and runtime as Apple’s Objective-C implementation, so Swift and Objective-C code can live side-by-side in the same application. The language provides access to all of the Cocoa and Cocoa Touch features developers are currently used to from Objective-C.

It should feel familiar to those who are already used to Objective-C, Apple says, and is meant to “unify the procedural and object-oriented portions of the language.”

Here are some of the highlights of the language according to Apple:

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

We’re curious…what kind of impact do you think Swift will have on software development?

The post Introducing Swift, Apple’s New Programming Language For Writing iOS And OS X Apps appeared first on Fairway Technologies.


Viewing all articles
Browse latest Browse all 53

Trending Articles