This chapter from Swift Programming: The Big Nerd Ranch Guide introduces conditionals in Swift, including if/else, ternary operator, nested ifs, and else if.
This chapter from Learning Swift 2 Programming, 2nd Edition covers the basic building blocks of Swift. It starts with variables and constants. With this knowledge, you will be able to store whatever you’d like in memory. This chapter also goes over how Swift handles loops and if/else statements.
This chapter from Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, 2nd Edition shows how to add model versions and model mappings, and it demonstrates different migration techniques you can choose when upgrading a model.
Learning how to recognize and use optionals is an essential step in mastering the Swift language. This chapter from The Swift Developer's Cookbook introduces optionals and surveys the supporting constructs you need to create, test, and successfully use optionals in your code.
New Mac OS X Means New Tricks...
Wow, who abducted our Windows 10 assumptions and left this smooth running and easy-to-use Operating System in their place?
As part of our Learn a Programming Language promotion, one lucky winner is invited to select a free eBook of choice each week to expand their digital library. Have you registered yet? Winner #3, Marco Rossi shares the reasoning behind his recent selection Objective-C Programming: The Big Nerd Ranch Guide, Second Edition: