Skip to content
KnowledgeCity

Swift Intermediate: Moving Ahead in Swift

Learn about Swift’s types and control flow.
Preview the first lesson free — get full access to all 3 lessons.
Course: On-Demand
Intermediate Provider Mark Nair  3 Lessons ·  18m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

Welcome to the intermediate level of learning the Swift programming language. In this module, we’ll take a few minutes to look at where we’re going in this intermediate course, from more foundational lessons on type safety and control flow to more complex topics on computed properties, lazy properties, extensions, and protocols.

In this module, you’ll learn more about type safety and why it’s so important in Swift. Swift is a type-safe language, which means how you establish and use your data types is very important. We’ll look at the String type and take a particularly deeper examination into the Character type that makes up String values. We’ll learn how to convert one specific type to another.

You’ll also learn about Swift’s control flow, going through a review of conditional statements with If Else, how to use logical and comparison operators, and how to loop through, or iterate, through a range of values.

What You'll Learn

  • Understand Swift types and how to convert one specific type to another
  • Examine the String type and the Character type that makes up String values
  • Recognize and apply If Else conditional statements in Swift's control flow
  • Use logical operators when writing Swift code
  • Apply comparison operators to evaluate values
  • Loop through, or iterate, through a range of values

Key Takeaways

  • Swift is a type-safe language, so how you establish and use your data types is very important.
  • String values are made up of the Character type, which this module examines in greater depth.
  • Swift's control flow includes conditional statements using If Else, along with logical and comparison operators.
  • This intermediate course moves from foundational lessons on type safety and control flow toward more complex topics such as computed properties, lazy properties, extensions, and protocols.
  • Iteration in Swift lets you loop through a range of values.

Frequently Asked Questions

Who is this course for?

It is for learners at the intermediate level of learning the Swift programming language, building on foundational topics.

What topics does this module cover?

It covers type safety and type conversion, the String and Character types, and Swift's control flow including If Else conditional statements, logical operators, comparison operators, and iterating through a range of values.

What lessons are included?

The lessons are Intermediate Level Overview, Review of Type Safety, and Review of Control Flow.

What skills does this course relate to?

It relates to Swift programming, program flow, generic programming, and function modules.

What more advanced topics does the broader intermediate course move toward?

The course progresses toward more complex topics such as computed properties, lazy properties, extensions, and protocols.