Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Swift

 Swift

Presentation about the Swift programming language by Apple, given in Zurich, September 9th 2014.

The demos are available here:
https://github.com/akosma/Swift-Presentation

Speech: https://akos.ma/blog/the-tao-of-swift/

Adrian Kosmaczewski

September 09, 2014
Tweet

More Decks by Adrian Kosmaczewski

Other Decks in Technology

Transcript

  1. Major Features Strong typing Type inference Closures Optionals / Nullables

    Generics Custom operators Tuples Interoperable Changes every week
  2. Not Available in Obj-C Generics Tuples Enumerations Structures Top-level functions

    Global variables Typealiases Swift-style variadics Nested types Curried functions
  3. … and much more Standard library WillSet / DidSet in

    setters Memory management in closures Convenience initializers Lazy properties Nesting of classes, enums and structs Pattern matching in `switch` statements reStructuredText documentation headers Default parameter values in functions Monads, futures, promises and other functional programming constructions Nested comments
  4. Editor Support Sublime Text http://www.sublimetext.com/ AppCode http://www.jetbrains.com/objc/ TextMate https://github.com/textmate/textmate Textastic

    http://www.textasticapp.com/ SimpleEdit http://simpleeditapp.com/ PaintCode http://www.paintcodeapp.com/ Vim http://www.vim.org/
  5. Lack of “const correctness” / not completely functional Almost no

    docs about the standard library Lack of extensive dynamic type information Changes every week (well, almost.)
  6. Blogs (2/2) Airspeed Velocity http://airspeedvelocity.net/ Alexandros Salazar http://nomothetis.svbtle.com/ David J

    Peacock http://davidjpeacock.ca/ sketchyTech http://sketchytech.blogspot.com/ Swift Studies http://www.swift-studies.com/