ios-application-dev
iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files. Use when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit/SnapKit/SwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.
Best use case
ios-application-dev is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files. Use when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit/SnapKit/SwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.
Teams using ios-application-dev should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ios-application-dev/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ios-application-dev Compares
| Feature / Agent | ios-application-dev | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files. Use when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit/SnapKit/SwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# iOS Application Development Guide A practical guide for building iOS applications using UIKit, SnapKit, and SwiftUI. Focuses on proven patterns and Apple platform conventions. ## Quick Reference ### UIKit | Purpose | Component | |---------|-----------| | Main sections | `UITabBarController` | | Drill-down | `UINavigationController` | | Focused task | Sheet presentation | | Critical choice | `UIAlertController` | | Secondary actions | `UIContextMenuInteraction` | | List content | `UICollectionView` + `DiffableDataSource` | | Sectioned list | `DiffableDataSource` + `headerMode` | | Grid layout | `UICollectionViewCompositionalLayout` | | Search | `UISearchController` | | Share | `UIActivityViewController` | | Location (once) | `CLLocationButton` | | Feedback | `UIImpactFeedbackGenerator` | | Linear layout | `UIStackView` | | Custom shapes | `CAShapeLayer` + `UIBezierPath` | | Gradients | `CAGradientLayer` | | Modern buttons | `UIButton.Configuration` | | Dynamic text | `UIFontMetrics` + `preferredFont` | | Dark mode | Semantic colors (`.systemBackground`, `.label`) | | Permissions | Contextual request + `AVCaptureDevice` | | Lifecycle | `UIApplication` notifications | ### SwiftUI | Purpose | Component | |---------|-----------| | Main sections | `TabView` + `tabItem` | | Drill-down | `NavigationStack` + `NavigationPath` | | Focused task | `.sheet` + `presentationDetents` | | Critical choice | `.alert` | | Secondary actions | `.contextMenu` | | List content | `List` + `.insetGrouped` | | Search | `.searchable` | | Share | `ShareLink` | | Location (once) | `LocationButton` | | Feedback | `UIImpactFeedbackGenerator` | | Progress (known) | `ProgressView(value:total:)` | | Progress (unknown) | `ProgressView()` | | Dynamic text | `.font(.body)` semantic styles | | Dark mode | `.primary`, `.secondary`, `Color(.systemBackground)` | | Scene lifecycle | `@Environment(\.scenePhase)` | | Reduce motion | `@Environment(\.accessibilityReduceMotion)` | | Dynamic type | `@Environment(\.dynamicTypeSize)` | ## Core Principles ### Layout - Touch targets >= 44pt - Content within safe areas (SwiftUI respects by default, use `.ignoresSafeArea()` only for backgrounds) - Use 8pt spacing increments (8, 16, 24, 32, 40, 48) - Primary actions in thumb zone - Support all screen sizes (iPhone SE 375pt to Pro Max 430pt) ### Typography - UIKit: `preferredFont(forTextStyle:)` + `adjustsFontForContentSizeCategory = true` - SwiftUI: semantic text styles `.headline`, `.body`, `.caption` - Custom fonts: `UIFontMetrics` / `Font.custom(_:size:relativeTo:)` - Adapt layout at accessibility sizes (minimum 11pt) ### Colors - Use semantic system colors (`.systemBackground`, `.label`, `.primary`, `.secondary`) - Asset catalog variants for custom colors (Any/Dark Appearance) - No color-only information (pair with icons or text) - Contrast ratio >= 4.5:1 for normal text, 3:1 for large text ### Accessibility - Labels on icon buttons (`.accessibilityLabel()`) - Reduce motion respected (`@Environment(\.accessibilityReduceMotion)`) - Logical reading order (`.accessibilitySortPriority()`) - Support Bold Text, Increase Contrast preferences ### Navigation - Tab bar (3-5 sections) stays visible during navigation - Back swipe works (never override system gestures) - State preserved across tabs (`@SceneStorage`, `@State`) - Never use hamburger menus ### Privacy & Permissions - Request permissions in context (not at launch) - Custom explanation before system dialog - Support Sign in with Apple - Respect ATT denial ## Checklist ### Layout - [ ] Touch targets >= 44pt - [ ] Content within safe areas - [ ] Primary actions in thumb zone (bottom half) - [ ] Flexible widths for all screen sizes (SE to Pro Max) - [ ] Spacing aligns to 8pt grid ### Typography - [ ] Semantic text styles or UIFontMetrics-scaled custom fonts - [ ] Dynamic Type supported up to accessibility sizes - [ ] Layouts reflow at large sizes (no truncation) - [ ] Minimum text size 11pt ### Colors - [ ] Semantic system colors or light/dark asset variants - [ ] Dark Mode is intentional (not just inverted) - [ ] No color-only information - [ ] Text contrast >= 4.5:1 (normal) / 3:1 (large) - [ ] Single accent color for interactive elements ### Accessibility - [ ] VoiceOver labels on all interactive elements - [ ] Logical reading order - [ ] Bold Text preference respected - [ ] Reduce Motion disables decorative animations - [ ] All gestures have alternative access paths ### Navigation - [ ] Tab bar for 3-5 top-level sections - [ ] No hamburger/drawer menus - [ ] Tab bar stays visible during navigation - [ ] Back swipe works throughout - [ ] State preserved across tabs ### Components - [ ] Alerts for critical decisions only - [ ] Sheets have dismiss path (button and/or swipe) - [ ] List rows >= 44pt tall - [ ] Destructive buttons use `.destructive` role ### Privacy - [ ] Permissions requested in context (not at launch) - [ ] Custom explanation before system permission dialog - [ ] Sign in with Apple offered with other providers - [ ] Basic features usable without account - [ ] ATT prompt shown if tracking, denial respected ### System Integration - [ ] App handles interruptions gracefully (calls, background, Siri) - [ ] App content indexed for Spotlight - [ ] Share Sheet available for shareable content ## References | Topic | Reference | |-------|-----------| | Touch Targets, Safe Area, CollectionView | [Layout System](references/layout-system.md) | | TabBar, NavigationController, Modal | [Navigation Patterns](references/navigation-patterns.md) | | StackView, Button, Alert, Search, ContextMenu | [UIKit Components](references/uikit-components.md) | | CAShapeLayer, CAGradientLayer, Core Animation | [Graphics & Animation](references/graphics-animation.md) | | Dynamic Type, Semantic Colors, VoiceOver | [Accessibility](references/accessibility.md) | | Permissions, Location, Share, Lifecycle, Haptics | [System Integration](references/system-integration.md) | | Metal Shaders & GPU | [Metal Shader Reference](references/metal-shader.md) | | SwiftUI HIG, Components, Patterns, Anti-Patterns | [SwiftUI Design Guidelines](references/swiftui-design-guidelines.md) | | Optionals, Protocols, async/await, ARC, Error Handling | [Swift Coding Standards](references/swift-coding-standards.md) | --- Swift, SwiftUI, UIKit, SF Symbols, Metal, and Apple are trademarks of Apple Inc. SnapKit is a trademark of its respective owners.
Related Skills
llm-application-dev-prompt-optimize
You are an expert prompt engineer specializing in crafting effective prompts for LLMs through advanced techniques including constitutional AI, chain-of-thought reasoning, and model-specific optimizati
llm-application-dev-langchain-agent
You are an expert LangChain agent developer specializing in production-grade AI systems using LangChain 0.1+ and LangGraph.
llm-application-dev-ai-assistant
You are an AI assistant development expert specializing in creating intelligent conversational interfaces, chatbots, and AI-powered applications. Design comprehensive AI assistant solutions with natur
burp-suite-web-application-testing
This skill should be used when the user asks to "intercept HTTP traffic", "modify web requests", "use Burp Suite for testing", "perform web vulnerability scanning", "test with Burp Repeater", "analyze HTTP history", or "configure proxy for web testing". It provides comprehensive guidance for using Burp Suite's core features for web application security testing.
azure-mgmt-applicationinsights-dotnet
Azure Application Insights SDK for .NET. Application performance monitoring and observability resource management. Use for creating Application Insights components, web tests, workbooks, analytics items, and API keys. Triggers: "Application Insights", "ApplicationInsights", "App Insights", "APM", "application monitoring", "web tests", "availability tests", "workbooks".
application-performance-performance-optimization
Optimize end-to-end application performance with profiling, observability, and backend/frontend tuning. Use when coordinating performance optimization across the stack.
containerizing-applications
Containerizes applications with Docker, docker-compose, and Helm charts. Use when creating Dockerfiles, docker-compose configurations, or Helm charts for Kubernetes. Includes Docker Hardened Images (95% fewer CVEs), multi-stage builds, and 15+ battle-tested gotchas.
azure-quotas
Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: "check quotas", "service limits", "current usage", "request quota increase", "quota exceeded", "validate capacity", "regional availability", "provisioning limits", "vCPU limit", "how many vCPUs available in my subscription".
raindrop-io
Manage Raindrop.io bookmarks with AI assistance. Save and organize bookmarks, search your collection, manage reading lists, and organize research materials. Use when working with bookmarks, web research, reading lists, or when user mentions Raindrop.io.
zlibrary-to-notebooklm
自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。
discover-skills
当你发现当前可用的技能都不够合适(或用户明确要求你寻找技能)时使用。本技能会基于任务目标和约束,给出一份精简的候选技能清单,帮助你选出最适配当前任务的技能。
web-performance-seo
Fix PageSpeed Insights/Lighthouse accessibility "!" errors caused by contrast audit failures (CSS filters, OKLCH/OKLAB, low opacity, gradient text, image backgrounds). Use for accessibility-driven SEO/performance debugging and remediation.