Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Loop Structures in Swift

via CodeSignal

Overview

Explore the concept of iterations in Swift programming for efficient automation of repetitive tasks. This course focuses on "for" loops, "while" loops, and using these to process data collections like mission logs, planets lists, and more in a space exploration context.

Syllabus

  • Lesson 1: Basic For Loops - Iterating Over Collections
    • Running a Basic For Loop
    • Reverse Loop Through Planets
    • Fix the Loop Bug
    • Iterate Over Space Stations
    • Loop Through Planets and Indexes
  • Lesson 2: Controlling Loops with Break
    • Controlling Loops with Break
    • Changing Failure: Navigation to Life Support
    • Fixing Spacecraft System Checks
    • Controlling Loops with Break
    • Master Loop Control in Swift
  • Lesson 3: Understanding and Using While Loops
    • Using While Loops in Swift
    • Monitoring Oxygen Levels with Loops
    • Fix the Looping Bug
    • Monitoring Energy Reserves
    • While Loop Temperature Check
  • Lesson 4: Nesting Loops for Complex Operations
    • Nested Loops in Action
    • Enhance Nested Loop Functionality
    • Fix Nested Loop Bug
    • Nested Loops on Planets
    • Nested Loops Mastery Test
  • Lesson 5: Advanced Looping Techniques in Swift
    • Advanced Looping in Action
    • Add Jupiter to Travel Plan
    • Fixing Looping Bug in Swift
    • Complete the Planetary Travel Calculator
    • Calculate Travel Time and Countdown

Reviews

Start your review of Loop Structures in Swift

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.