About this Course

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.

Course Cost
Free
Timeline
Approx. 3 weeks
Skill Level
Intermediate
Included in Course
  • Icon course 01 3edf6b45629a2e8f1b490e1fb1516899e98b3b30db721466e83b1a1c16e237b1 Rich Learning Content

  • Icon course 04 2edd94a12ef9e5f0ebe04f6c9f6ae2c89e5efba5fd0b703c60f65837f8b54430 Interactive Quizzes

  • Icon course 02 2d90171a3a467a7d4613c7c615f15093d7402c66f2cf9a5ab4bcf11a4958aa33 Taught by Industry Pros

  • Icon course 05 237542f88ede3178ac4845d4bebf431ddd36d9c3c35aedfbd92e148c1c7361c6 Self-Paced Learning

  • Icon course 03 142f0532acf4fa030d680f5cb3babed8007e9ac853d0a3bf731fa30a7869db3a Student Support Community

Join the Path to Greatness

This free course is your first step towards a new career with the Become an iOS Developer Nanodegree Program.

Free Course

Learn Swift Programming Syntax

Enhance your skill set and boost your hirability through innovative, independent learning.

Icon steps 54aa753742d05d598baf005f2bb1b5bb6339a7d544b84089a1eee6acd5a8543d

Course Leads

  • Gabrielle Miller-Messner
    Gabrielle Miller-Messner

    Instructor

What You Will Learn

Lesson 1

Swift Basics

  • An introduction to Swift types and operators.
  • Develop deftness in defining variables and constants.
  • Practice what you've learned with exercises in Swift playgrounds.
Lesson 1

Swift Basics

  • An introduction to Swift types and operators.
  • Develop deftness in defining variables and constants.
  • Practice what you've learned with exercises in Swift playgrounds.
Lesson 2

Optional Types

  • Declare explicitly and implicitly unwrapped optionals.
  • Unwrap optionals using both optional binding and optional chaining.
  • Practice safely unwrapping optionals and learn to avoid errors.
Lesson 2

Optional Types

  • Declare explicitly and implicitly unwrapped optionals.
  • Unwrap optionals using both optional binding and optional chaining.
  • Practice safely unwrapping optionals and learn to avoid errors.
Lesson 3

Swift Collections

  • Learn about the Swift Collection Types: Dictionaries, Arrays, and Sets.
  • Perform basic operations including: append, count, insert, remove, update, find, and retrieve.
  • Practice manipulating collections with exercises in Swift playgrounds.
Lesson 3

Swift Collections

  • Learn about the Swift Collection Types: Dictionaries, Arrays, and Sets.
  • Perform basic operations including: append, count, insert, remove, update, find, and retrieve.
  • Practice manipulating collections with exercises in Swift playgrounds.
Lesson 4

Control Flow: Loops, If statements, and Switches

  • Practice fast iteration with for-in loops by iterating through items in Arrays and Dictionaries.
  • Create programming logic of increasing complexity with if-else statements.
  • Delight in the convenience and conciseness of Swift switch statements.
Lesson 4

Control Flow: Loops, If statements, and Switches

  • Practice fast iteration with for-in loops by iterating through items in Arrays and Dictionaries.
  • Create programming logic of increasing complexity with if-else statements.
  • Delight in the convenience and conciseness of Swift switch statements.
Lesson 5

How to Write and Call Functions in Swift

  • Define and call functions.
  • Correctly use local and external parameters.
  • Identify parameter types and return types.
Lesson 5

How to Write and Call Functions in Swift

  • Define and call functions.
  • Correctly use local and external parameters.
  • Identify parameter types and return types.
Lesson 6

Classes, Properties, and Methods

  • Practice building custom classes with their own properties and methods.
  • Learn about type properties and computed properties.
  • See example use cases for type methods and instance methods.
Lesson 6

Classes, Properties, and Methods

  • Practice building custom classes with their own properties and methods.
  • Learn about type properties and computed properties.
  • See example use cases for type methods and instance methods.
Lesson 7

Enums and Structs

  • Learn the difference between value types and references types.
  • Practice choosing when to use enums, structs, and classes.
  • Use enums to make your switch statements extra Swifty.
Lesson 7

Enums and Structs

  • Learn the difference between value types and references types.
  • Practice choosing when to use enums, structs, and classes.
  • Use enums to make your switch statements extra Swifty.
Lesson 8

Protocols and Extensions

  • Learn how protocols and extensions can help keep your code DRY.
  • Given a series of code snippets, fix compiler errors by implementing protocols.
  • Edit the code in a sample app to see extensions in action.
Lesson 8

Protocols and Extensions

  • Learn how protocols and extensions can help keep your code DRY.
  • Given a series of code snippets, fix compiler errors by implementing protocols.
  • Edit the code in a sample app to see extensions in action.
Lesson 9

Closure Expressions

  • Practice using Swift closures with the functions, sorted() and filter().
  • Learn shorthand closure expression syntax to make your closures super concise.
  • See how closures are used in animations in the method, animateWithDuration.
Lesson 9

Closure Expressions

  • Practice using Swift closures with the functions, sorted() and filter().
  • Learn shorthand closure expression syntax to make your closures super concise.
  • See how closures are used in animations in the method, animateWithDuration.

Prerequisites and Requirements

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.

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.
What do I get?
  • Instructor videos
  • Learn by doing exercises
  • Taught by industry professionals

Thanks for your interest!

We'll be in touch soon.

Icon globe e82eae5d45465aba4fbe4bb746905ce55dc3324f310b79c60e4a20089057d347

Udacity 现已提供中文版本! A Udacity tem uma página em português para você! There's a local version of Udacity for you! Sprechen Sie Deutsch?

Besuchen Sie de.udacity.com und entdecken Sie lokale Angebote, unsere Partnerunternehmen und Udacitys deutschsprachigen Blog.

前往优达学城中文网站 Ir para a página brasileira Go to Indian Site Icon flag de deedb1a7a695700236cb6ef4204ddbede5d197dab9b47716c87a0b4d5d9fc325 Zu de.udacity.com continue in English