So Swift is essentially Objective-C without the C and without the bracket message sending syntax and with some new stuff and some changed stuff.
Well the C is no loss but the brackets are the best bit so what new stuff do we get to compensate for their disappearance ?
In no particular order
-
tuples
-
a first class enum type
-
a first class struct type
-
operator functions and custom operators
-
range operators
-
subscript operators
-
optional values
-
generics
-
a super switch
-
a plethora of options for parameter lists
and
much much more
as it always says on the posters.
Copyright (c) 2014 By Simon Lewis. All Rights Reserved.
Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and owner Simon Lewis is strictly prohibited.
Excerpts and links may be used, provided that full and clear credit is given to Simon Lewis and justanapplication.wordpress.com with appropriate and specific direction to the original content.
so let’s learn swift together 🙂 ? give me a project! i’m a specialist in writing software for beta languages 🙂 You know where to find me!
Comment by Administrator — June 27, 2014 @ 10:26 pm