Tuesday, June 03, 2014

Apple introduces SWIFT, a new programming language

It is a part of the Xcode IDE (now in beta) SWIFT is teh programming language for Cocoa frameworks of OS X and iOS. It is supposed to be very fastand designed for safety with lightning fast intractivity according to Apple.

It goes one step beyond Objective_C Apple's preferred language in terms of being light and agile.
This is what Apple says about SWIFT,

"Swift is an innovative new programming language for Cocoa and Cocoa Touch. Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C."

Read mode here:
https://developer.apple.com/swift/

You can download teh programming language from here:
https://itunes.apple.com/us/book/the-swift-programming-language/id881256329?mt=11

It is safe as unsafe code is avoided at the outset by,
  • Initializing variables before they are used
  • Arrays and integers are checked for overflow
  • Memory is managed automatically
Syntax is made easy by three character keywords
The speed comes about by using the high-performance LLVM compiler.

SWIFT code is transformed into optimized native code that can be used for any of Apple devices Mac, iPhone or iPad. Swift inherits the best of language features frrom C and Objective-C. It has obejct oriented features like classes, generics, etc.

With the release of iOS 8 and Yosemite later in the year SWIFT created apps can easily find their way to APP store and Mac App Store.

Is there a similarity of thought processes in  Apple and Microsoft. I would say yes.

With the release of Windows OS 8.1, Microsoft established one platform for both Windows 8.1 and Windows Phone 8.1 App development and as this post is typed apps written for both from VS 2013 Update 2 are making their way to the Windows App Store.

No comments:

DMCA.com Protection Status