Learn Swift Programming Syntax

Learn Swift Programming Syntax

Cours
en
Anglais
Ce contenu est noté 4.5 sur 5
Source
  • Sur www.udacity.com
Conditions
  • À son rythme
  • Accès libre
Plus d'informations
  • 3 séquences
  • Niveau Introductif

Their employees are learning daily with Edflex

  • Safran
  • Air France
  • TotalEnergies
  • Generali
Découvrir Edflex

Détails du cours

Déroulé

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.

Prérequis

Aucun.

Intervenants

  • Gabrielle Miller-Messner - Gabrielle earned her Ph.D. in Population Biology from UC Davis. There in the lab, analyzing DNA sequences, she discovered the joys of programming. Having taught science and math to undergraduate and high school students for four years, she was motivated to make apps for science education. She worked as an iOS Engineer for a year and a half before joining Udacity.

Plateforme

Udacity est une entreprise fondé par Sebastian Thrun, David Stavens, et Mike Sokolsky offrant cours en ligne ouvert et massif.

Selon Thrun, l'origine du nom Udacity vient de la volonté de l'entreprise d'être "audacieux pour vous, l'étudiant ". Bien que Udacity se concentrait à l'origine sur une offre de cours universitaires, la plateforme se concentre désormais plus sur de formations destinés aux professionnels.

Complétez cette ressource pour donner votre avis