Yesterday, Apple announced a number of things (iOS 8, Mac OS X 10.10 to name a few). One of those things was a new programming language for developing Apple apps. It is called Swift and is a bit like "Objective-C plus Python plus JavaScript plus C++". Although it is designed to complement Objective-C (not replace it), now Objective-C will no longer be considered "cool" (if it ever was). Just a bit of news...
Wow, so swift just lets u use whatever language u know in Xcode and it will just work? or is it a new language all together, like a hybrid of the others?
It is a new language. It is meant to be Objective-C without the baggage of C. It is based on the same LLVM compiler and is fully interoperable with Objective-C. According to apple's (probably unrealistic) performance benchmarks it can be up to twice as fast as Objective C. To me it looks like Objective-C crossed with scripting languages like JavaScript and Python, incorporating "modern" language features like namespaces, closures, tupls, dynamic typing etc. (Sorry for the technical babble. If you want a better explanation check out the keynote on YouTube)
Just a bit of news...
(Sorry for the technical babble. If you want a better explanation check out the keynote on YouTube)
To Top