Home > Tools, wwdc > Swift Language Quick Reference

Swift Language Quick Reference

Swift is the programming language that Apple introduced two weeks ago at WWDC14.  I’ve spent the last week pouring over the language guide, condensing (almost) all of the facts into a double-sided 8.5×11″ quick reference sheet.  I invite feedback, and hope that it’s useful to others.  I recommend at least going through the Swift tour before diving in.

Swift QuickRef

 

Swift QuickRef



  1. Mark Livingstone
    July 23rd, 2014 at 17:54 | #1

    Hello!

    Are you planning to update the cheat sheet for all the new Swift syntax?

    Cheers,

    MArkL

  2. July 23rd, 2014 at 18:00 | #2

    Yep, I am. But, I now realize now that every-other week there will be syntax changes. I’m considering waiting a bit until things seem to settle down some.

  3. September 21st, 2014 at 10:16 | #3

    Great work!

    On the closures section, Xcode is claiming an ‘&’ is required as sort changes the name requirement. That is: “sort(names, { $0 < $1 })" goes to "sort(&names, { $0 < $1 })". Similarly for the other three sort examples.

    Have a great day!

  4. September 21st, 2014 at 16:44 | #4

    You’re absolutely correct. I’m planing on revising the entire cheat-sheet now that Swift version 1 is GM, I just haven’t gotten to it yet.

  1. No trackbacks yet.


× five = 40