# Native iOS (Swift + SwiftUI)

> Build iPhone and iPad apps with Swift and SwiftUI, Apple's declarative UI framework, using Xcode on a Mac. Free notes, key concepts, resources and a mini...

Canonical: https://www.internhack.in/roadmaps/tracks/mobile/native-ios
Last updated: 2026-11-28

Build iPhone and iPad apps with Swift and SwiftUI, Apple's declarative UI framework, using Xcode on a Mac.

Beginner · about 4 hours · difficulty 3/5

Learn first: [Development Environment, Emulators & Devices](https://www.internhack.in/roadmaps/tracks/mobile/dev-environment)

Native iOS development uses **Swift** and **SwiftUI**, with UIKit still present in many existing apps. It is the right path if you want to specialise in Apple platforms, need the most polished platform feel, or plan to use Apple-only features like widgets, App Intents or watchOS.

### Strengths

- Best integration with Apple frameworks and the Human Interface Guidelines.
- SwiftUI code also targets iPadOS, macOS, watchOS and visionOS.
- Xcode Previews show UI changes without launching the app.

### How a project looks

Create an "App" project in Xcode. The entry point is a type marked `@main` conforming to `App`, which shows a `ContentView`. Views are structs with a `body` property built from `VStack`, `Text`, `Button` and modifiers like `.padding()`. Swift Package Manager handles dependencies.

### Trade-offs

- Requires a Mac, and publishing requires a paid Apple Developer Program membership.
- iOS only; Android needs a separate codebase.

**Good enough to move on:** you built the starter app, changed its view, and used a live preview.

## Key concepts

- **Creating an app project in Xcode**
- **The App and View protocols**
- **Xcode Previews**
- **Swift Package Manager**
- **UIKit awareness**: Needed for older codebases
- **Apple Developer Program membership**

## Other options for this step

- [React Native with Expo](https://www.internhack.in/roadmaps/tracks/mobile/react-native-expo): Build real native apps for Android and iOS from one JavaScript/TypeScript codebase, using Expo for tooling, builds and updates.
- [Flutter](https://www.internhack.in/roadmaps/tracks/mobile/flutter): Build apps for Android, iOS and more from one Dart codebase, with a rendering engine that draws every pixel for consistent UI.
- [Native Android (Kotlin + Jetpack Compose)](https://www.internhack.in/roadmaps/tracks/mobile/native-android): Build Android apps the way Google recommends: Kotlin as the language and Jetpack Compose for declarative UI.

## Mini project

Build a SwiftUI app with a list of five favourite books and a detail screen showing the author and a short note.

## Check yourself

What do you need, hardware and accounts included, to go from an Xcode project to an app on the App Store?

## Free resources

- [SwiftUI tutorials](https://developer.apple.com/tutorials/swiftui) (Apple)
- [The Swift Programming Language](https://docs.swift.org/swift-book/) (Swift.org)

Previous: [Native Android (Kotlin + Jetpack Compose)](https://www.internhack.in/roadmaps/tracks/mobile/native-android) · Next: [JavaScript Essentials](https://www.internhack.in/roadmaps/tracks/mobile/javascript-basics)

## More in Choose Your Platform Approach

- [React Native with Expo](https://www.internhack.in/roadmaps/tracks/mobile/react-native-expo)
- [Flutter](https://www.internhack.in/roadmaps/tracks/mobile/flutter)
- [Native Android (Kotlin + Jetpack Compose)](https://www.internhack.in/roadmaps/tracks/mobile/native-android)
- [Native iOS (Swift + SwiftUI)](https://www.internhack.in/roadmaps/tracks/mobile/native-ios)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Mobile App Developer Roadmap](https://www.internhack.in/roadmaps/tracks/mobile)
