Swift is a language created by Apple specifically for iOS and OS X development. It’s fast, concise, and comes with tools which make it easier than ever to visualize one's code.
This course focuses on the syntax of the Swift programming language. By the end of the course, students should be able to apply Swift essentials to building iOS apps and employ Swift's more unique elements, like optional types and switch statements, with confidence.
This course assumes prior programming experience! Specifically, you should be familiar with programming concepts like variables, if statements, and loops, as well as object-oriented concepts like methods and classes.
You will also need access to a Mac computer running OS X 10.10 or later.
See the Technology Requirements for using Udacity.
In this lesson, you'll become familiar with Swift types and operators, and develop deftness in defining variables and constants.
Learn about your new Swift BFF: Optionals! In this lesson, you'll declare explicitly and implicitly unwrapped optionals, and unwrap optionals using both optional binding and optional chaining.
In this lesson, you'll learn about Dictionaries, Arrays, and Sets and perform basic operations including: append, count, insert, remove, update, find, and retrieve.
In this lesson, you'll practice fast iteration with for-in loops by iterating through items in Arrays and Dictionaries. You'll also get experience with if-else statements and switch statements.
In this lesson, you'll define and call functions, correctly use local and external parameters, and identify parameter types and return types.
In this lesson, you'll practice building custom classes with their own properties and methods.
In this lesson, you'll learn the difference between value types and references types and practice choosing when to use enums, structs, and classes.
In this lesson, you'll learn how protocols and extensions can help keep your code DRY. Given a series of code snippets, you'll fix compiler errors by conforming to and implementing the appropriate protocols.
In this lesson, you'll practice using Swift closures with the functions, sorted() and filter(). You'll also learn shorthand to make your closure expressions super concise.
Gabrielle earned her Ph.D. in Population Biology from UC Davis. There in the lab, analyzing DNA sequences, she discovered the joys of programming. Having taught science and math to undergraduate and high school students for four years, she was motivated to make apps for science education. She worked as an iOS Engineer for a year and a half before joining Udacity.
View more courses in
iOS