İçeriğe geç / Skip to content / Zum Inhalt

Swift and SwiftUI Tutorials for iOS Development

Core Swift concepts, building interfaces and data flow with SwiftUI, concurrency, and the App Store publishing process. Every post uses examples you can try directly in Xcode.

8 posts

Swift Fundamentals

  1. Introduction to Swift: Optionals, Guard Let and If LetWhat an Optional is in Swift, when to pick if let or guard let, the short if let syntax, nil-coalescing and optional chaining, with notes for Dart developers.
  2. Swift Struct vs Class: Value and Reference Types ExplainedLearn the difference between struct and class in Swift with runnable examples: copying, mutating, let, ===, inheritance, deinit and how to choose.
  3. Swift Closures Explained: $0, @escaping and [weak self]Learn Swift closure syntax step by step from the full form to $0 shorthand: trailing closures, capturing values, @escaping, retain cycles and [weak self].
  4. Swift async/await Guide: Tasks, Actors and @MainActorFrom completion handlers to async/await: Task, async let, TaskGroup, @MainActor, actors, cancellation and a JSON API call with URLSession in SwiftUI.

Building UI with SwiftUI

  1. SwiftUI First App: A Step-by-Step Guide for BeginnersBuild your first SwiftUI app from an empty Xcode project to the simulator: App, View, VStack, @State, List and TextField in a working to-do list.
  2. SwiftUI @State, @Binding and @Observable: Data Flow GuideWhen to use @State, @Binding, @Observable, @Bindable and @Environment in SwiftUI, how they map to ObservableObject, with a decision table and common bugs.

Shipping to the Store

  1. App Store Publishing Guide: From Xcode Archive to ReviewFrom the Apple Developer account and App Store Connect record to TestFlight and review: how to publish an iOS app and the most common rejection reasons.

More posts