Skip to content
ios-swift-development logo

iOS Swift Development

ios-swift-development

Develop native iOS apps with Swift. Covers MVVM architecture, SwiftUI, URLSession for networking, Combine for reactive programming, and Core Data persistence.

SKILL.md

Full skill instructions

iOS Swift Development

Table of Contents

Overview

Build high-performance native iOS applications using Swift with modern frameworks including SwiftUI, Combine, and async/​await patterns.

When to Use

  • Creating native iOS applications with optimal performance
  • Leveraging iOS-specific features and APIs
  • Building apps that require tight hardware integration
  • Using SwiftUI for declarative UI development
  • Implementing complex animations and transitions

Quick Start

Minimal working example:

import Foundation
import Combine

struct User: Codable, Identifiable {
  let id: UUID
  var name: String
  var email: String
}

class UserViewModel: ObservableObject {
  @Published var user: User?
  @Published var isLoading = false
  @Published var errorMessage: String?

  private let networkService: NetworkService

  init(networkService: NetworkService = .shared) {
    self.networkService = networkService
  }

  @MainActor
  func fetchUser(id: UUID) async {
    isLoading = true
    errorMessage = nil

// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
MVVM Architecture SetupMVVM Architecture Setup
Network Service with URLSessionNetwork Service with URLSession
SwiftUI ViewsSwiftUI Views

Best Practices

✅ DO

  • Use SwiftUI for modern UI development
  • Implement MVVM architecture
  • Use async/​await patterns
  • Store sensitive data in Keychain
  • Handle errors gracefully
  • Use @StateObject for ViewModels
  • Validate API responses properly
  • Implement Core Data for persistence
  • Test on multiple iOS versions
  • Use dependency injection
  • Follow Swift style guidelines

❌ DON'T

  • Store tokens in UserDefaults
  • Make network calls on main thread
  • Use deprecated UIKit patterns
  • Ignore memory leaks
  • Skip error handling
  • Use force unwrapping (!)
  • Store passwords in code
  • Ignore accessibility
  • Deploy untested code
  • Use hardcoded API URLs

More Mobile Development skills

vercel-react-native-skills logo
Mobile Development

vercel-react-native-skills

React Native and Expo best practices for performant mobile apps across list rendering, animations, navigation, and native modules.

31.9K 231.8K
View
firebase-data-connect logo
Mobile Development

firebase-data-connect

PostgreSQL-backed GraphQL backend with auto-generated type-safe SDKs for web, mobile, and Flutter.

462 158.3K
View
xcode-project-setup logo
Mobile Development

xcode-project-setup

Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).

462 120.2K
View
expo-dev-client logo
Mobile Development

expo-dev-client

Build custom Expo development clients for testing native code on physical devices via EAS Build or locally.

2.7K 64.8K
View
expo-module logo
Mobile Development

expo-module

Complete reference for building native modules and views with the Expo Modules API across Swift, Kotlin, and TypeScript.

2.7K 40.3K
View
swiftui-expert-skill logo
Mobile Development

swiftui-expert-skill

Expert SwiftUI code review, refactoring, and implementation guidance with iOS 26+ and macOS support.

3.7K 33.8K
View
swiftui-pro logo
Mobile Development

swiftui-pro

Comprehensive SwiftUI code review against modern APIs, accessibility, and performance standards.

5K 31.2K
View
react-native-best-practices logo
Mobile Development

react-native-best-practices

Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.

1.7K 27.9K
View
Expo App Design logo
Mobile Development

Expo App Design

Build native-feeling Expo screens — Apple HIG styling, semantic colors, and native UI patterns.

2.7K 25.2K
View
mobile-android-design logo
Mobile Development

mobile-android-design

Material Design 3 and Jetpack Compose patterns for building modern, adaptive Android applications.

40.2K 23.7K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View