Swift Language Overview
Swift language is powerful language announced by apple last year for IOS,OS X and Watch OS.First version of apple announced as Swift 1.0.
At WWDC 2015 apple Declared Swift version 2.0 which is open source. Open Source means all the Frameworks from which it is made will be public to all.By declaring Open Source of Swift apple wants more companies can work on it for making different application Whether it is for macintosh or IOS.
Swift language is made on the best of Objective C.
Where Objective C is made from Strict Superset of C.
If you have not learned Objective C you can learn from here: Click here
It is not mendatory to learn objective c before going to swift.But if you learn, you will know more how the cocoa control bounds.
Swift is very fast language as compared to others. It is such fast language you can see output while writing programs evens games of higher graphics.
Swift is safer language. you can use side by side Swift with Objective C.
You can make new apps with swift and Extend existing apps with side by side along Objective C.
Why Swift choose over Objective C?
Objective C is derived from NextStep with smalltalk messaging feautres included to C.
In objective c You need to write Pointers and NextStep classes like NSIntegers,NSString etc.
Passing of messages through pointer in complex TableView causing its performance to low.
Features of Swift Language
Swift is such a smarter language you do not need to write data types with variables its Compiler automatically resolve it.Also you do not need to write semicolon at end It means Memory addresses are also resolved automatically by compiler.
Few other features of Swift are like generics ,blocks in objective c having replaced by closures as like in javascript.
Swift language has modern approach to syntax.
You can return multiple values with single statments.
How to write swift Code for practise like Console in Objective C?
Apple introduce the fastest features of Playground by which you can see the output side by side even for high graphics games.
I will describe you in next tutorial how to set up environment for swift.
I hope you like my tutorial.If you have any query can mail me or comment here.
You can learn IOS application development side by side with objective c from here:Click here
My next tutorial will be Environment Setup in Swift.
Swift language is powerful language announced by apple last year for IOS,OS X and Watch OS.First version of apple announced as Swift 1.0.
At WWDC 2015 apple Declared Swift version 2.0 which is open source. Open Source means all the Frameworks from which it is made will be public to all.By declaring Open Source of Swift apple wants more companies can work on it for making different application Whether it is for macintosh or IOS.
Swift language is made on the best of Objective C.
Where Objective C is made from Strict Superset of C.
If you have not learned Objective C you can learn from here: Click here
It is not mendatory to learn objective c before going to swift.But if you learn, you will know more how the cocoa control bounds.
Swift is very fast language as compared to others. It is such fast language you can see output while writing programs evens games of higher graphics.
Swift is safer language. you can use side by side Swift with Objective C.
You can make new apps with swift and Extend existing apps with side by side along Objective C.
Why Swift choose over Objective C?
Objective C is derived from NextStep with smalltalk messaging feautres included to C.
In objective c You need to write Pointers and NextStep classes like NSIntegers,NSString etc.
Passing of messages through pointer in complex TableView causing its performance to low.
Features of Swift Language
Swift is such a smarter language you do not need to write data types with variables its Compiler automatically resolve it.Also you do not need to write semicolon at end It means Memory addresses are also resolved automatically by compiler.
Few other features of Swift are like generics ,blocks in objective c having replaced by closures as like in javascript.
Swift language has modern approach to syntax.
You can return multiple values with single statments.
How to write swift Code for practise like Console in Objective C?
Apple introduce the fastest features of Playground by which you can see the output side by side even for high graphics games.
I will describe you in next tutorial how to set up environment for swift.
I hope you like my tutorial.If you have any query can mail me or comment here.
You can learn IOS application development side by side with objective c from here:Click here
My next tutorial will be Environment Setup in Swift.
No comments:
Post a Comment