Lesson 1
Swift Basics
Get familiar with Swift types and operators, and develop deftness in defining variables and constants.
Course
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
Prerequisites:
No experience required
Lesson 1
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
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
Practice building custom classes with their own properties and methods.
Lesson 7
Learn the difference between value types and references types and practice choosing when to use enums, structs, and classes.
Lesson 8
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
Practice using Swift closures with the functions, sorted() and filter(). You'll also learn shorthand to make your closure expressions super concise.
Instructor
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.
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
4 days
2 months
3 weeks
2 weeks
3 weeks
1 week
(225)
3 months
, Intermediate
3 months
3 weeks
, Beginner
2 weeks
2 weeks
3 months