swiftui
Skill0 starsChanged 5 months agoNo licenceView on GitHub
SwiftUI (macOS/iOS/watchOS/visionOS) 의 다섯 sub-area 함정 15가지를 증상별로 진단하고 맞는 fix shard 로 라우팅한다 — broad SwiftUI pitfalls router. WINDOW/MENUBAR (macOS window & menubar visibility/sizing) — 윈도우가 0×0 으로 열림 + CPU 정상 이면 `.frame` (컨텐트) vs scene `.defaultSize` 혼동 → defaultsize; 윈도우 0×0 + CPU 100% + `MenuBarExtra` label 안에 `TimelineView` 면 무한 invalidation 루프 → menubarextra-timelineview; 정상 크기인데 화면 밖 / 분리된 외부 모니터 위 (`NSWindow Frame` 음수 origin) 면 → offscreen-restore; 재실행 (state restoration) 후 윈도우 아예 안 뜸 / Dock 재클릭 무반응 면 `Window` vs `WindowGroup` + applicationShouldHandleReopen → window-vs-windowgroup. ("윈도우가 0×0", "화면이 안 떠", "윈도우가 어디 있는지 모르겠다", `CGWindowList` bounds, `MenuBarExtra`). TEXT INPUT (text-input & form-binding) — macOS multi-line 에서 Return 이 newline 대신 commit ("엔터 안 먹는다" / "줄바꿈 안 된다" / `TextField(axis:.vertical)`) → texteditor-vs-textfield; 짧은 단일 값을 sheet/popover vs inline 으로 캡처할지 결정 ("창 띄우지 말고 거기다 써") → inline-vs-sheet; "The compiler is unable to type-check this expression in reasonable time" + 무관한 "Cannot find type" 도미노 (closure `Binding(get:set:)` 를 `.fileExporter`/`.sheet`/Form chain 에 직접) → form-binding-typecheck; `List(selection:)` 가 iOS 에서 무동작 / `'init(_:selection:rowContent:)' is unavailable in iOS` (Optional `Binding<Element?>` 필수) → list-selection-optional. VIEW RENDERING (hit-test & legibility) — stroke-only shape 가 그려진 선 픽셀에만 hit, 가운데가 안 눌림 ("히트박스가 너무 작다", `Color.clear` + `.onTapGesture` 무반응) → contentShape 로 stroke-only-hittest; tint-on-tint chip 글자가 안 보임 (foreground 와 surface 가 같은 tint, 또는 light tint 위 `.secondary` wash-out) ("글자가 안 보인다", "색이 똑같다") → tinted-chip-legibility. WIDGETS / LIVE ACTIVITY (ActivityKit / WidgetKit) — Live Activity 가 stale, `Activity.update(_:)` 가 budget throttle 로 drop ("live activity 멈춘다", "lock screen stale", "exceeded budget") → ~5초 debounce + deferred catch-up → live-activity-debounce; `Text(timerInterval:countsDown:)` self-ticking 타이머 방향/멈춤/multi-line range cascade ("Missing argument label 'pauseTime'") → text-timerinterval; `Image(systemName: "(n).circle.fill")` 를 n>50 보간 → "No symbol named" (SF Symbols 숫자는 0–50 만) → sfsymbols-numeric-range; widget 이 앱 대비 stale counter ("위젯이 앱이랑 다르다", "바로 안 갱신된다") → App Group store + version counter + `WidgetCenter.reloadTimelines` → version-counter-bridge. NATIVE FILE EXPORT — `.fileExporter` + 얇은 `FileDocument` 래퍼로 macOS 네이티브 `NSSavePanel` / iOS Files 피커를 한 코드 패스로 ("맥에 내보내기 다이얼로그 뜨게", "save dialog 뜨게", "저장됐다 메시지 말고 native sheet", `FileManager...documentDirectory` 로 조용히 dump 하려는 유혹) → fileexporter-native-save.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- turkeryildirim/ai-skillstheir own version, first seen Nov 1, 2026
- sreejithraman/SreeStacktheir own version, first seen Oct 27, 2026
- g-cqd/skillstheir own version, first seen Oct 23, 2026
- caglarbaranbora/Apple-Agent-Kittheir own version, first seen Oct 13, 2026
- FradSer/skillstheir own version, first seen Oct 13, 2026
- G1Joshi/Agent-Skillstheir own version, first seen Oct 13, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- Prisma-Labs-Dev/apple-skills★ 336same name
- G1Joshi/Agent-Skills★ 15same name
- FradSer/skills★ 4same name
- moasq/ios-dev-agent★ 4same name
- turkeryildirim/ai-skills★ 4same name
- 31Carlton7/skills★ 2same name
- g-cqd/skills★ 2same name
- caglarbaranbora/Apple-Agent-Kit★ 1same name
- sreejithraman/SreeStack★ 1same name
- Fe2-O3/swift-field-guide★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- adsense-content-approval-strategySkill
- apple-buildSkill
- bulk-data-via-script-not-tokensSkill
- consulting-deck-craftSkill
- data-go-kr-api-quirksSkill
- design-policySkill
- docs-toc-shards-styleSkill
- external-content-citation-policySkill
- feature-flag-removalSkill
- geometric-folding-fabricationSkill
- geometric-foldingSkill
- git-commit-message-qualitySkill
- kakao-map-client-nav-relayoutSkill
- leaflet-marker-hitboxSkill
- macos-nativeSkill
- mit-ocw-vaultSkill
- obsidian-dailySkill
- obsidian-knowledgeSkill
- ssg-determinismSkill
- tier-grading-systemSkill
- writing-tone-personalSkill
The file
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

