ios-application-dev
Was er macht
Dieser Skill ist ein Leitfaden für den Bau von iOS-Apps mit UIKit, SnapKit und SwiftUI. Er richtet sich an Entwickelnde, die Apple-typische Bildschirme wollen, die für alle funktionieren.
Wann du ihn nutzt
- ✓Wenn du einen Bildschirm einer iPhone-App baust oder prüfst.
- ✓Wenn du Navigation, Listen oder Raster in einer iOS-App brauchst.
- ✓Wenn die App Dunkelmodus, große Schrift und Barrierefreiheit unterstützen soll.
Link zum Skill
https://github.com/MiniMax-AI/skills/blob/main/skills/ios-application-dev/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Ich möchte einen Listenbildschirm in SwiftUI für meine iPhone-App bauen, der große Schrift und den Dunkelmodus unterstützt.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill bietet eine Kurzübersicht der Komponenten für jeden Zweck sowie Regeln für Tippflächen, sichere Bereiche und Barrierefreiheit. Der Agent wählt die passenden Komponenten für deinen Bildschirm.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
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
Häufige Fragen
Deckt er auch SwiftUI ab?
Ja. Der Skill behandelt UIKit und SwiftUI, mit einer Kurzübersicht für beide.
Was ist Dynamic Type?
Die iOS-Einstellung für die Textgröße. Der Skill zeigt, wie sie unterstützt wird.
Enthält er Referenzdateien?
Ja. Er verweist auf zusätzliche Referenzdateien zu bestimmten Themen.
Details
Originalbeschreibung des Autors
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.
repo: MiniMax-AI/skills
Beliebtheit
- GitHub-Sterne
- 14k
- Platz im Ranking
- #11292
- Lizenz
- MIT
- Aktualisiert
- 18.4.2026
Kommentare
- …
Weitere Skills aus diesem Repository
design-style-skill
14kHilft deinem Agenten, für Folien einen einheitlichen visuellen Stil zu wählen, von scharf und kompakt bis weich, rund oder luftig, mit passenden Ecken und Abständen.
ppt-editing-skill
14kHilft deinem Agenten, eine bestehende PowerPoint-Datei oder Vorlage sicher zu bearbeiten, indem Text geändert, Folien umsortiert oder entfernt und eine gültige Präsentation neu gepackt wird.
ppt-orchestra-skill
14kHilft deinem Agenten, eine vollständige PowerPoint-Präsentation vor dem Bau zu planen, jede Folie einem Seitentyp zuzuordnen und Abwechslung und Textqualität zu prüfen.
slide-making-skill
14kHilft deinem Agenten, einzelne PowerPoint-Folien in JavaScript mit PptxGenJS zu schreiben, mit Layout, Text, Bildern, Diagrammen und Schriften für echte .pptx-Dateien.
Ähnliche Skills
android-clean-architecture
280kLässt deinen Agenten Android-Projekte effizient strukturieren. Der Code wird so organisiert, dass Wartung und neue Features leichter werden.
compose-multiplatform-patterns
280kHilft deinem Agenten, Compose Multiplatform und Jetpack Compose Patterns in KMP-Projekten einzusetzen. Abgedeckt sind State, Navigation, Theming und Performance.
dart-flutter-patterns
280kLässt deinen Agenten Code für Dart- und Flutter-Apps schreiben. Er nutzt moderne Patterns für robuste und gut wartbare Apps.