Swift 1.2, or The End of Egypt.

Swift 1.2 is out! Well, sorta-out — it’s bundled with the latest Xcode beta, and I’m still a little hesitant to jump on the beta Xcode train having been burnt one time too many. Plus, I’m not sure I like the idea of having my dev tools be ‘beta’, especially in the oh-wow-it-really-is-beta way that Apple uses the term.

If you want a highlight of changes in 1.2, jump over to NSHipster — but the most exciting change for me is a slight syntactic sugar around optional binding that turns the let-pyramid of doom:

into a sensible, manageable one-liner:

Leave a Reply

Your email address will not be published. Required fields are marked *