home / skills / partme-ai / full-stack-skills / ios-swift
This skill helps you develop iOS apps with Swift by guiding view controllers, navigation, lifecycle, and component implementation.
npx playbooks add skill partme-ai/full-stack-skills --skill ios-swiftReview the files below or copy the command above to add this skill to your agents.
---
name: ios-swift
description: Provides comprehensive guidance for iOS development with Swift including view controllers, views, navigation, lifecycle, and iOS app development. Use when the user asks about iOS Swift, needs to create iOS applications, implement iOS components, or work with Swift in iOS.
license: Complete terms in LICENSE.txt
---
## When to use this skill
Use this skill whenever the user wants to:
- [待完善:根据具体工具添加使用场景]
## How to use this skill
[待完善:根据具体工具添加使用指南]
## Best Practices
[待完善:根据具体工具添加最佳实践]
## Keywords
[待完善:根据具体工具添加关键词]
This skill provides practical, hands-on guidance for building iOS apps with Swift. It covers view controllers, views, navigation patterns, lifecycle events, and common iOS components. The guidance focuses on actionable code patterns, architecture choices, and troubleshooting tips to speed development.
The skill inspects common iOS development needs and offers targeted solutions: code snippets, lifecycle explanations, and navigation examples. It recommends patterns for view controller composition, state handling, and integrating UIKit and SwiftUI. It also suggests debugging steps and performance considerations for UI and networking.
Should I use UIKit or SwiftUI for a new app?
Choose SwiftUI for fast UI iteration and modern APIs; pick UIKit if you need mature third-party libraries or intricate custom controls. You can mix both and migrate gradually.
How do I debug view controller lifecycle issues?
Use breakpoints and print lifecycle methods (viewDidLoad/viewWillAppear/viewDidAppear). Inspect view hierarchy in Debug View Hierarchy and watch for retained instances in Instruments to find leaks.