Udacity Accenture logo
Log InJoin for Free

Learn Swift Programming Syntax


This course focuses on the syntax of the Swift programming language. By the end of the course, you'll be able to apply Swift essentials to building iOS apps.

This course focuses on the syntax of the Swift programming language. By the end of the course, you'll be able to apply Swift essentials to building iOS apps.

Last Updated March 7, 2022


No experience required

Course Lessons

Lesson 1

Swift Basics

Get familiar with Swift types and operators, and develop deftness in defining variables and constants.

Lesson 2


The optional type is specific to Swift: declare explicitly and implicitly unwrapped optionals; unwrap optionals using optional binding and optional chaining.

Lesson 3


Learn about Dictionaries, Arrays, and Sets and perform basic operations including: append, count, insert, remove, update, find, and retrieve.

Lesson 4

Control Flow

Practice fast iteration with for-in loops by iterating through items in Arrays and Dictionaries, also learn how Swift handles if-else and switch statements.

Lesson 5


Define and call functions, correctly using 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.

Lesson 7

Enums and Structs

Learn the difference between value types and references types and practice choosing when to use enums, structs, and classes.

Lesson 8

Protocols and Extensions

Learn how protocols and extensions help keep your code DRY. Given code snippets, fix compiler errors by conforming to and implementing appropriate protocols.

Lesson 9

Closure Expressions

Practice using Swift closures with the functions, sorted() and filter(). You'll also learn shorthand to make your closure expressions super concise.

Taught By The Best

Photo of Gabrielle Miller-Messner

Gabrielle Miller-Messner


Gabrielle earned her Ph.D. in Population Biology from UC Davis, where she discovered the joys of programming while analyzing DNA sequences. She has a background in teaching, and worked as an iOS Engineer before joining Udacity.

The Udacity Difference

Combine technology training for employees with industry experts, mentors, and projects, for critical thinking that pushes innovation. Our proven upskilling system goes after success—relentlessly.

Demonstrate proficiency with practical projects

Projects are based on real-world scenarios and challenges, allowing you to apply the skills you learn to practical situations, while giving you real hands-on experience.

  • Gain proven experience

  • Retain knowledge longer

  • Apply new skills immediately

Top-tier services to ensure learner success

Reviewers provide timely and constructive feedback on your project submissions, highlighting areas of improvement and offering practical tips to enhance your work.

  • Get help from subject matter experts

  • Learn industry best practices

  • Gain valuable insights and improve your skills

Related Programs

Udacity Accenture logo
  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

© 2011-2024 Udacity, Inc. "Nanodegree" is a registered trademark of Udacity. © 2011-2024 Udacity, Inc.
We use cookies and other data collection technologies to provide the best experience for our customers.