26–28 October 2015
Amsterdam, The Netherlands

Programming with Swift 2: Solid fundamentals for iOS and OS X development

Paris Buttfield-Addison (Secret Lab), Jon Manning (Secret Lab), Tim Nugent (lonely.coffee)
9:00–17:00 Wednesday, 28/10/2015
Location: D404
Average rating: ***..
(3.50, 2 ratings)

Materials or downloads needed in advance

No experience is needed in any specific language, or in Mac or iOS development, but you should be reasonably comfortable in Java, C#, C++, Python, Ruby, or other similar programming languages. We expect attendees are quite competent programmers in a modern language. Attendees should preferably be confident navigating OS X as a user, but this isn't essential. You’ll need a Mac laptop running OS X 10.9.4 or later, and have Xcode 7 or newer installed.


In the next several years, Swift will become the language of choice for developing iOS and OS X apps and services. Introduced in June 2014, Swift is a new language designed for power, safety, and flexibility. By taking inspiration from a diverse range of languages including Objective-C, Rust, Python, C#, and Ruby, Swift provides you with an extremely capable toolkit for writing great code very quickly.

If you’re involved in, or interested in writing anything to do with iPhones, iPads, or Macs, you need to get familiar with Swift. In this training, you’ll start by getting up to speed with the language, and getting familiar with both the basics as well as exploring some of the more sophisticated language features. You’ll then start exploring the details of Swift and its standard library; finally, you’ll learn and start using the huge array of open source libraries and toolkits that already exist for Swift.

By the end of the day with us, you’ll be comfortable using Swift in your own projects, no matter what their size. You will have an in-depth understanding of advanced language features, and be able to use them to solve real-world problems extremely efficiently.

We’ll begin with the tools that you’ll use to write Swift code, and start working with the Swift syntax. We’ll then do a series of deep dives into how Swift handles common programming topics like object-orientation, access control, and interoperation with other languages. We’ll also explore using both Cocoa and Cocoa Touch as well as open-source libraries.

Among the many different topics that we’ll be covering in this training, you’ll find:

  • Playgrounds
  • Swift’s syntax
  • The niftiest little type system
  • Closures and functions
  • Classes and protocols
  • Generics
  • Custom operators
  • Literal convertibles
  • Integrating with C and Objective-C
  • Open-source Swift libraries
  • Working with Cocoa and Cocoa Touch
  • Solving common problems using Swift
Photo of Paris Buttfield-Addison

Paris Buttfield-Addison

Secret Lab

Paris Buttfield-Addison is a cofounder of Secret Lab, a game development studio based in beautiful Hobart, Australia. Secret Lab builds games and game development tools, including the multi-award-winning ABC Play School iPad games, the BAFTA- and IGF-winning Night in the Woods, the Qantas airlines Joey Playbox games, and the Yarn Spinner narrative game framework. Previously, Paris was a mobile product manager for Meebo (acquired by Google). Paris particularly enjoys game design, statistics, blockchain, machine learning, and human-centered technology. He researches and writes technical books on mobile and game development (more than 20 so far) for O’Reilly and is writing Practical AI with Swift and Head First Swift. He holds a degree in medieval history and a PhD in computing. You can find him on Twitter as @parisba.

Photo of Jon Manning

Jon Manning

Secret Lab

Jon Manning is the cofounder of independent game development studio Secret Lab. He’s working on the critically acclaimed award-winning adventure game Night in the Woods, which includes his interactive dialogue system Yarn Spinner, and Button Squid, a top-down puzzler. He’s written a whole bunch of books for O’Reilly about iOS development and game development. Jon holds a PhD about jerks on the internet. He’s currently writing Practical AI with Swift for O’Reilly.

Photo of Tim Nugent

Tim Nugent


Tim Nugent pretends to be a mobile app developer, game designer, tools builder, researcher, and tech author. When he isn’t busy avoiding being found out as a fraud, Tim spends most of his time designing and creating little apps and games he won’t let anyone see. He also spent a disproportionately long time writing his tiny little bio, most of which was taken up trying to stick a witty sci-fi reference in…before he simply gave up. He’s writing Practical Artificial Intelligence with Swift for O’Reilly and building a game for a power transmission company about a naughty quoll. (A quoll is an Australian animal.)

Comments on this page are now closed.


Picture of Paris Buttfield-Addison
Paris Buttfield-Addison
3/11/2015 4:11 CET

Code presented during this session is available on GitHub now: https://github.com/thesecretlab/oscon-ams-2015-swift

Blog post coming soon! Please don’t hesitate to let us know if you have any questions.

Picture of Paris Buttfield-Addison
Paris Buttfield-Addison
26/10/2015 12:36 CET

Attendees to this session should make sure to update to the latest non-beta Xcode available from the Mac App Store or from the Apple Developer site. We’ll be working with Xcode 7!