iwantcoding.com
🔥 Daily 👥 Rooms 🏆 Top Log in Sign up
« Previous

Swift HOME

Welcome to the iwantcoding.com Swift Tutorial. Swift is Apple’s modern language for iOS, macOS, watchOS, tvOS, and server. Strong types, ARC memory management, structured concurrency, and SwiftUI for declarative UI.

What this tutorial covers

ChapterYou will learn
Swift BasicsXcode / Playgrounds, syntax, let / var, types, strings, optionals, control flow, loops, functions, closures.
TypesArrays, dictionaries, sets, tuples, structs, classes, enums, protocols, extensions, generics.
Modern SwiftProperty wrappers, result builders, async / await, tasks, actors, error handling, Codable.
SwiftUI & AppsSwiftUI intro, views & modifiers, state / binding, observable, navigation, lists, animations, SPM, XCTest.
ExamplesCheatsheet, runnable snippets, quiz, exercises, bootcamp, certificate.

Who this is for

  • iOS / macOS developers.
  • Backend devs trying server-side Swift (Vapor).
  • Cross-platform devs writing SwiftUI for visionOS.
How to use this tutorial: read the chapter, run the example with Try it Yourself », do the exercise, then take the quiz at the bottom. Hit Mark complete when you're done — the sidebar will track your progress.

Example

Example
import Foundation
print("Hello, Swift")
Try it Yourself »

Exercise

Print a line in Swift.

("Hello")

Discussion

Loading…

« Previous