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

Bootcamp

A two-week sprint to be productive in Swift and SwiftUI on Apple platforms.

Bootcamp plan

EXAMPLE
# Swift bootcamp - 10 working days

Day 1 - Tooling: Xcode, swift package manager, swift CLI.
Day 2 - Language: optionals, value vs reference, protocols, generics.
Day 3 - SwiftUI basics: View protocol, modifiers, state, binding.
Day 4 - Layout: stacks, grids, geometry reader, alignment guides.
Day 5 - Navigation: NavigationStack, sheets, fullScreenCover, deep links.

Weekend project: a small list-detail app with mock data.

Day 6 - State + data flow: @State, @Binding, @Observable (Swift 5.9+), @Environment.
Day 7 - Concurrency: async/await, Task, MainActor, structured concurrency.
Day 8 - Persistence: SwiftData (or CoreData if you target older OS).
Day 9 - Networking: URLSession async APIs, Codable, error handling.
Day 10 - Testing + release: XCTest, snapshot tests, TestFlight upload.

Capstone: ship a SwiftUI app to TestFlight.

## Tips

- Use @Observable over ObservableObject if you target iOS 17+
- SwiftUI previews are your tightest feedback loop - keep them green
- Read Apple sample code, especially the WWDC sessions, before reaching for blog posts

Why it matters

Swift evolves quickly. Stay on the latest tools, use @Observable when you can, and lean on the new structured concurrency model rather than completion handlers.

Tip: Tweak the snippet with Try it Yourself », then sit the quiz at the bottom of the page.

Example

Example
// 30-day Swift bootcamp in the lesson body.
Try it Yourself »

Discussion

Loading…