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.
Why Take This Course? - A quick and fun introduction to Swift basics.
- Practice with Playground exercises
- Thorough explanations of Swift's less-intuitive features like Optionals and Closure Expressions.
###Lesson 1: Swift Basics
In this lesson, you'll become familiar with Swift types and operators, and develop deftness in defining variables and constants.
###Lesson 2: Optionals
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.
###Lesson 3: Collections
In this lesson, you'll learn about Dictionaries, Arrays, and Sets and perform basic operations including: append, count, insert, remove, update, find, and retrieve.
###Lesson 4: Control Flow
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.
###Lesson 5: Functions
In this lesson, you'll define and call functions, correctly use local and external parameters, and identify parameter types and return types.
###Lesson 6: Classes, Properties, and Methods
In this lesson, you'll practice building custom classes with their own properties and methods.
###Lesson 7: Enums and Structs
In this lesson, you'll learn the difference between value types and references types and practice choosing when to use enums, structs, and classes.
###Lesson 8: Protocols and Extensions
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.
###Lesson 9: Closure Expressions
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.
MOOCs stand for Massive Open Online Courses. These arefree online courses from universities around the world (eg. StanfordHarvardMIT) offered to anyone with an internet connection.
How do I register?
To register for a course, click on "Go to Class" button on the course page. This will take you to the providers website where you can register for the course.
How do these MOOCs or free online courses work?
MOOCs are designed for an online audience, teaching primarily through short (5-20 min.) pre recorded video lectures, that you watch on weekly schedule when convenient for you. They also have student discussion forums, homework/assignments, and online quizzes or exams.