
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Ask questions in the course's question-and-answer system to get fast answers, and be adventurous by practicing concepts, doing exercises, and building your own Swift projects.
Master math in Swift by learning basics—multiplication, division, addition, subtraction—and advanced topics like exponents and rounding, while exploring strings, floats, doubles, and core types.
Learn how if statements use a boolean to decide whether to run code, using a payday wallet example that adds 100 when true and skips when false, illustrating top-to-bottom execution.
Explore how and or boolean operators govern code flow using an amusement park ride example with age and height. Implement conditions to determine when someone can ride.
Learn how to use multiple matching in switch statements to group cases and execute shared code, and see vowels versus consonants in Swift.
Learn interval matching in Swift by using a switch with age ranges like 0–5, 6–17, 18–65, and 66–150 to execute targeted code.
Wrap up the switches and if statements discussion, showing when switches fit best for cleaner code. Proceed to arrays as the Swift 3 course heats up.
Learn how contains checks a Swift array for a value, returning a boolean, Spider-Man and Ferris Bueller's Day Off; pair with index to locate position, or nil if not found.
Count with Swift 3 by using for loops over ranges, replacing the underscore with a named variable k to print numbered hello world messages as you iterate.
Explore what's new in Swift 3 and highlight the major changes. Decide whether to migrate, with emphasis on the open-source nature of Swift.
Explain the deprecation of ++ and -- in Swift 3 and demonstrate replacing them with += 1 and -= 1 for clearer, more learnable code.
Learn how Swift 3 enforces parameter names at call time, demonstrating a: 5 and b: 7, and discuss the shift toward explicit, named parameters as the default style.
Learn how Swift simplifies code with short names, such as using at instead of insert at, and adopt color literals to pick colors directly without dot color prefixes.
Move from swift two to three while highlighting AB stabilization, plus removing plus plus, adjusting c-style for loops, parameter thing changes, and using the xcode migration tool.
Have you ever wanted to try out programming? Have you tried to learn Swift, only to get fed up with incomplete YouTube tutorials and poorly written tutorials? Looking to move your code from Swift 2 to 3?
THIS IS THE COURSE FOR YOU!
In my Swift 3 course, I will walk you through all the essential information you need to write swift code. I'm a self taught programmer so I know what it feels like to start from scratch. I care about your learning.
I believe we learn best by doing. So, in this course, every lecture is followed up by an exercise for you to test yourself. This format will allow you to actually learn Swift and not just follow along like a robot ;)
Swift was open sourced in December of 2015 so you can now take this course even if you are on a Linux or Windows computer!
A Modern Language Evolved from Objective C
Swift is a multi-paradigm programming language developed by Apple for use with iOS and OS X. Designed to replace Objective C, work began on Swift in 2010 and the first mobile app was debuted in June 2014 at the Worldwide Developers Conference. Despite its goal of replacing Objective C, Swift is capable of working alongside the more dated Objective C language while using the Cocoa and Cocoa Touch frameworks.
Swift is built with the LLVM compiler included in Xcode 6 beta, and uses the Objective-C runtime, allowing Objective-C, Objective-C++ and Swift code to run within a single program. During it’s debut, Swift was described as “Objective C without the C” by Apple’s VP of Software Engineering Craig Federighi.
Contents and Overview
In this course, you will be lead through setting up Swift locally, the basics of the language, how it compares to other common languages (including Objective C), and how to get started on new projects.
The course is designed to provide a comprehensive introduction to Swift, so that you can begin experimenting right away. Upon completion, you will understand the foundations of Swift code and will be able to develop custom applications. You will also get experience working with Xcode's new .playground file.
Course material is regularly refreshed to include all of the newest updates and information, and since you’re granted lifetime access upon registering, you can rely on this course to keep your Swift skills on the cutting edge.