swiftship/internal/skills/data/ui/liquid-glass/SKILL.md
iOS 26 Liquid Glass material: glassEffect modifier, placement rules, modifier ordering, interactivity constraints. Use when applying glass effects, using translucent materials, or styling toolbars/tab bars for iOS 26+. Triggers: glassEffect, .glass, material, translucent, liquid glass, iOS 26, toolbar style.
npx skillsauth add abdullah4ai/apple-dev-docs liquid-glassInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
iOS 26 introduces Liquid Glass as the primary surface material. Apply it to key UI surfaces.
WHERE TO APPLY .glassEffect():
WHERE NOT TO APPLY:
MODIFIER ORDER (CRITICAL):
// CORRECT — glass AFTER layout modifiers
Text("Label")
.font(AppTheme.Fonts.headline)
.padding()
.glassEffect(.regular, in: .rect(cornerRadius: 12))
// WRONG — glass before padding
Text("Label")
.glassEffect()
.padding()
INTERACTIVITY:
GROUPING:
GlassEffectContainer(spacing: 12) {
HStack(spacing: 12) {
ActionButton(icon: "pencil")
.glassEffect(.regular.interactive(), in: .circle)
ActionButton(icon: "trash")
.glassEffect(.regular.interactive(), in: .circle)
}
}
PROMINENCE:
TINTING:
LIST ROWS WITH GLASS:
List(items) { item in
ItemRow(item: item)
.listRowBackground(
Rectangle()
.glassEffect(.regular.interactive(), in: .rect(cornerRadius: 10))
.padding(.horizontal, 4)
)
}
.scrollContentBackground(.hidden)
BUTTON STYLES:
Button("Save") { save() }
.buttonStyle(.glassProminent)
testing
Use for 3D games: racing, 3D sports, board games, marble maze, tower defense, bowling. SceneKit + SceneView architecture, 3D scene hierarchy, physics, game loop, primitives, materials, cameras, particles, audio.
documentation
Game UI patterns: SwiftUI HUD overlays on SpriteKit, menus (main/pause/game-over), virtual joystick/d-pad, score displays, health bars, tutorial onboarding.
tools
Download free game sprites/textures/3D models and generate procedural assets. Covers nw_download_asset tool, texture factories, sprite atlas organization, 3D model loading, and programmatic asset creation.
testing
Use for 2D games: arcade, puzzle, sports, ping pong, platformer, shooter, 2D racing. SpriteKit + SpriteView architecture, scene hierarchy, physics, game loop, audio, particles, game feel.