ios-fundamentals

Master iOS development foundations - Architecture, lifecycle, memory, concurrency

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ios-fundamentals" with this command: npx skills add pluginagentmarketplace/custom-plugin-ios/pluginagentmarketplace-custom-plugin-ios-ios-fundamentals

iOS Fundamentals Skill

Build rock-solid foundations for iOS development

Learning Objectives

By completing this skill, you will:

  • Understand iOS app lifecycle and state management
  • Master architectural patterns (MVC, MVVM, Clean)
  • Implement memory-safe code with ARC
  • Use modern Swift concurrency (async/await, actors)
  • Apply dependency injection patterns

Prerequisites

RequirementLevel
Swift basicsIntermediate
Xcode familiarityBasic
OOP conceptsSolid

Curriculum

Module 1: App Lifecycle (4 hours)

Topics:

  • UIApplicationDelegate methods
  • SceneDelegate for multi-window (iOS 13+)
  • SwiftUI App lifecycle (@main, ScenePhase)
  • State transitions: Active → Inactive → Background → Suspended

Code Example:

.onChange(of: scenePhase) { oldPhase, newPhase in
    switch newPhase {
    case .active: resumeActivities()
    case .inactive: pauseActivities()
    case .background: saveState()
    @unknown default: break
    }
}

Module 2: Architecture Patterns (6 hours)

Pattern Comparison:

PatternComplexityTestabilityTeam Size
MVCLowPoor1-2
MVVMMediumGood2-5
Clean/VIPHighExcellent5+

Module 3: Memory Management (4 hours)

Topics:

  • ARC fundamentals
  • Weak/unowned references
  • Retain cycle prevention
  • Instruments profiling

Module 4: Swift Concurrency (6 hours)

Topics:

  • async/await basics
  • Task and TaskGroup
  • Actors and Sendable
  • MainActor for UI

Module 5: Dependency Injection (3 hours)

Topics:

  • Constructor injection
  • Protocol-oriented design
  • Testing with mocks

Assessment Criteria

CriteriaWeight
Architecture understanding30%
Memory management25%
Concurrency implementation25%
Code quality & patterns20%

Skill Validation

  1. State Machine App: Proper lifecycle handling
  2. MVVM Refactor: Convert MVC to MVVM
  3. Concurrent Downloader: async/await image loader

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

uikit-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

game-design-theory

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

pandas data analysis

No summary provided by upstream source.

Repository SourceNeeds Review