ios-app

Develop, test, and maintain iOS applications with Swift, SwiftUI, and XcodeGen.

2|Updated Nov 9, 2021
One-click install
npx skills add https://github.com/adampetrovic/dotfiles --skill ios-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-app
Source: https://github.com/adampetrovic/dotfiles/tree/main/dot_pi/agent/skills/ios-app
Command: npx skills add https://github.com/adampetrovic/dotfiles --skill ios-app

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and set of tools for developing, testing, and maintaining iOS applications efficiently.

Core Features & Use Cases

  • Project Setup: Streamlined project initialization using XcodeGen for maintainable build configurations.
  • Architecture & State Management: Best practices for SwiftUI app architecture, including state management with UserDefaults and ObservableObject.
  • UI Development: Patterns for SwiftUI views, custom controls, and UIKit bridging for complex UI elements.
  • Testing & CI: Guidance on using the Swift Testing framework and integrating with GitHub Actions for continuous integration.

Quick Start

Use the ios-app skill to set up a new iOS project using XcodeGen by running xcodegen generate in your project directory.

Frequently Asked Questions about ios-app

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an iOS app project using XcodeGen for maintainable build configurations?

To set up an iOS app project using XcodeGen, run `xcodegen generate` in your project directory to create and maintain your Xcode project configuration from a YAML file.

What is the best way to manage state in SwiftUI applications?

The best way to manage state in SwiftUI applications is using `ObservableObject` for observable data models and `UserDefaults` for persisting local key-value storage.

How do I bridge UIKit and SwiftUI for complex UI elements?

You can bridge UIKit and SwiftUI for complex UI elements by using bridging patterns that integrate UIKit components into your SwiftUI views when native controls are insufficient.

Does this approach support iOS app testing with the Swift Testing framework and CI integration?

Yes, iOS app testing is supported through the Swift Testing framework, with continuous integration automated by running build and test jobs via GitHub Actions.

Can I use this iOS development workflow without installing Xcode?

No, building, testing, and maintaining iOS applications using this workflow requires Xcode, Swift, and the Swift Testing framework to compile and run the codebase locally.