New Course: Programming in Swift 4

Check out our new 57-part course on Swift 4 programming for complete beginners! By Ray Wenderlich.

Leave a rating/review
Save for later
Share

As part of our iOS 11 Launch Party, we are releasing a ton of new and updated courses for raywenderlich.com subscribers.

Today we are happy to release our second new course: Programming in Swift 4!

This course is designed as a follow-up to the Your First Swift 4 & iOS 11 App course that we released last week. Basically watch that first, and watch this second.

In Programming in Swift 4, you switch gears from app development, and take a deep dive into the Swift 4 programming language itself. You learn about core Swift programming concepts like variables, loops, optionals, and classes through hands-on tutorials using Swift Playgrounds.

This epic 57-video course is a complete overhaul of our previous Beginning and Intermediate Swift courses. This time, we take things slower and go into more depth, so you’ve got a solid baseline of Swift 4 knowledge before you proceed into more advanced courses on our site.

If you’re a beginner to programming in Swift 4, or programming in general (or if you know someone who is), this is the place to start. Let’s take a look at what’s inside.

Section 1: Core Concepts

In this section, you will build up a basic library of Swift Core Concepts, including working with Playgrounds and using simple datatypes like tuples and booleans.

This section contains 9 videos:

  1. Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
  2. Swift Playgrounds: Learn how to create your first Swift playground, and see how useful it can be to learn Swift, and use in day-to-day development.
  3. Comments: Learn the various ways to add comments to your Swift code – a useful way to document your work or add notes for future reference.
  4. Tuples: Learn the group related data together into a single unit, through the power of a Swift type called Tuples.
  5. Challenge: Tuples: Practice using tuples on your own, through a hands-on challenge.
  6. Booleans: Learn how to use a Swift type called Booleans, which represent true or false values.
  7. Challenge: Booleans: Practice using booleans on your own, through a hands-on challenge.
  8. Scope: Learn what the concept of scope means in Swift, and how it applies to if statements.
  9. Conclusion: Let’s review where you are with your Swift core concepts, and discuss what’s next.

Section 2: Flow Control

In this section, you will learn how to control the flow of execution in your apps, using while loops, for loops, and switch statements.

This section contains 8 videos:

  1. Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
  2. While Loops: Learn how to make Swift repeat your code multiple times with while loops, repeat while loops, and break statements.
  3. Challenge: While Loops: Practice using while loops on your own, through a hands-on challenge.
  4. For Loops: Learn how to use for loops in Swift, along with ranges, continue, and labeled statements.
  5. Challenge: For Loops: Practice using for loops on your own, through a hands-on challenge.
  6. Switch Statements: Learn how to use switch statements in Swift, including some of its more powerful features.
  7. Challenge: Switch Statements: Practice using switch statements on your own, through a hands-on challenge.
  8. Conclusion: Let’s review what you learned in this section, and discuss what’s next.

Section 3: Functions and Optionals

In this section, you will learn how to decompose the logic of your programs into functions, and we’ll demystify one area of Swift that can sometimes be confusing for beginners: optionals.

This section contains 9 videos:

  1. Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
  2. Introduction to Functions: Learn how to write your own functions in Swift, and see for yourself how Swift makes them easy to use.
  3. Challenge: Introduction to Functions: Practice writing functions on your own, through a hands-on challenge.
  4. More Functions: Learn some more advanced features of functions, such as overloading, inout parameters, and functions as variables.
  5. Introduction to Optionals: Learn about one of the most important aspects of Swift development – optionals – through a fun analogy.
  6. Challenge: Introduction to Optionals: Practice using optionals on your own, through a hands-on challenge.
  7. More Optionals: Learn how to unwrap optionals, force unwrap optionals, use optional binding, and use the guard statement.
  8. Challenge: More Optionals: Practice working with optionals on your own, through a hands-on challenge.
  9. Conclusion: Let’s review where you are with your Swift core concepts, and discuss what’s next.

Section 4: Collections

In almost every Swift program you write, you’ll be dealing with collections of data. In this section, you’ll learn about three types of collections in Swift, and their performance differences.

This section contains 12 videos:

  1. Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
  2. Arrays: Learn how to use arrays in Swift to store an ordered list of values.
  3. Challenge: Arrays: Practice using arrays on your own, through a hands-on challenge.
  4. Dictionaries: Learn how to use dictionaries in Swift to store an unordered collection of pairs.
  5. Challenge: Dictionaries: Practice using dictionaries on your own, through a hands-on challenge.
  6. Sets: Learn how to use Sets in Swift to store an unordered collection of unique values.
  7. Closures: Learn how to create closures in Swift – which you can think of as a method without a name.
  8. Closures and Collections: Learn how you can use closures to sort collections, filter collections, run calculations on elements within a collection, and more.
  9. Challenge: Closures: Practice using closures on your own, through a hands-on challenge.
  10. Which Collection To Use?: Learn which collection you should use in a given situation.
  11. Strings: Learn how a string works in Swift, along with some useful things you can do with strings – and why strings are collections too.
  12. Conclusion: Let’s review what you learned in this section, and discuss what’s next.

Section 5: Structures

Next you’ll start learning about creating named types in Swift, starting with one of the most simple options: structures.

This section contains 10 videos:

  1. Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
  2. Structures: Learn how to group data and functionality together in Swift, using a value type called structures.
  3. Challenge: Structures: Practice using structures on your own, through a hands-on challenge.
  4. Protocols: Learn how to make your types conform to protocols in Swift, which you can think of as a to-do list for your types.
  5. Properties: Learn how to add two types of properties to your types: stored properties, and computed properties.
  6. Challenge: Properties: Practice creating properties on your own, through a hands-on challenge.
  7. Computed Properties vs. Methods: Learn when it’s best to use computed properties, and when it’s best to use methods.
  8. Methods: Take a deep dive into methods, including writing initializers, mutating methods, extensions, and more.
  9. Challenge: Methods: Practice writing methods on your own, through a hands-on challenge.
  10. Conclusion: Let’s review what you learned in this section, and discuss what’s next.