OpenParable
Skip to content
← Back to skills

Swift App Icons

Design
swift-app-icons

Swift App Icons is an Agent Skill for design published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

App icons, SF Symbols, and launch screens for iOS/macOS/watchOS/visionOS. Use when adding app icons, using SF Symbols, configuring launch screens, or setting up Asset Catalogs.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/swift-app-icons/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/swift-app-icons, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Swift App Icons & Assets

App Icon Requirements

Single-Size Mode (Xcode 15+, Recommended)

Provide ONE 1024x1024 PNG. Xcode generates all sizes automatically.

Asset Catalog structure:

AppIcon.appiconset/
├── Contents.json
└── AppIcon.png (1024x1024)

iOS 26 Dark & Tinted Icons

{
  "images": [
    { "idiom": "universal", "platform": "ios", "size": "1024x1024", "filename": "icon-light.png" },
    { "appearances": [{"appearance": "luminosity", "value": "dark"}],
      "idiom": "universal", "platform": "ios", "size": "1024x1024", "filename": "icon-dark.png" },
    { "appearances": [{"appearance": "luminosity", "value": "tinted"}],
      "idiom": "universal", "platform": "ios", "size": "1024x1024", "filename": "icon-tinted.png" }
  ]
}

Design rules:

  • Dark: Gradient #313131 → #141414, transparent background
  • Tinted: Grayscale, black background, 100%→60% opacity gradient

SF Symbols

// Basic usage
Image(systemName: "cloud.sun.bolt.fill")
    .font(.largeTitle)
    .foregroundStyle(.blue)

// Multi-color (original)
Image(systemName: "thermometer.sun.fill")
    .renderingMode(.original)

// Palette mode
Image(systemName: "person.3.fill")
    .symbolRenderingMode(.palette)
    .foregroundStyle(.red, .green, .blue)

// In Label
Label("Settings", systemImage: "gear")

// Accessibility
Image(systemName: "play.circle")
    .accessibilityLabel(String(localized: "button.play"))

Launch Screen

Option 1: Info.plist (Modern, No Storyboard)

<key>UILaunchScreen</key>
<dict>
    <key>UIImageName</key>
    <string>LaunchImage</string>
    <key>UIColorName</key>
    <string>LaunchBackgroundColor</string>
</dict>

Option 2: SwiftUI Document Apps

DocumentGroupLaunchScene("App Name") {
    NewDocumentButton("Create")
} background: {
    Image(.launchBackground)
        .resizable()
        .scaledToFill()
        .ignoresSafeArea()
}

Asset Catalog Colors

// Load from Assets.xcassets
let brandColor = Color("BrandPrimary")
let bgColor = UIColor(named: "BackgroundColor")

Platform-Specific Sizes

PlatformMaster SizeNotes
iOS/iPadOS1024x1024Square, auto-rounded
macOS1024x1024.icns generated
watchOS1024x1024Circular mask
visionOS1024x10243 layers for parallax

Best Practices

  • No transparency - Alpha must be 1.0
  • No manual corners - System applies mask
  • Simple design - Readable at 29x29
  • PNG format - sRGB or Display P3
  • Test all sizes - Use Simulator