本文へスキップ
Skillpedia
モバイルアプリ14k · #11292

ios-application-dev

できること

このスキルは、UIKit、SnapKit、SwiftUIを使ったiOSアプリを作るための手引きです。誰にとっても使いやすいAppleらしい画面がほしい開発者向けです。

使う場面

  • ✓iPhoneアプリの画面を作ったり、確認したりするとき。
  • ✓iOSアプリで、画面遷移、リスト、グリッドが必要なとき。
  • ✓アプリをダークモード、大きな文字、アクセシビリティに対応させたいとき。

スキルのリンク

https://github.com/MiniMax-AI/skills/blob/main/skills/ios-application-dev/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/MiniMax-AI/skills/blob/main/skills/ios-application-dev/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ダークモードと大きな文字に対応した、SwiftUIのiPhoneアプリ用のリスト画面を作りたいです。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、用途ごとの部品の早見表と、タッチの大きさ、セーフエリア、アクセシビリティのルールをまとめています。エージェントは、画面に合う部品を選びます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

SwiftUIにも対応していますか?

はい。UIKitとSwiftUIの両方を扱い、それぞれの早見表があります。

Dynamic Typeとは何ですか?

iOSの文字サイズの設定のことです。このスキルでは、それに対応する方法を示しています。

参照用のファイルはありますか?

はい。特定のテーマについて、追加の参照ファイルを案内しています。

詳細

作者による元の説明

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

人気

GitHubのスター
14k
ランキング
#11292
ライセンス
MIT
更新日
2026/4/18

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル