← Back to list
name: swift-observation
description: Apple Observation framework for Swift. Use when modeling observable state with the

swift-observation
by nonameplum
Documentation formatted as skills for AI coding assistants. Includes a DocC converter for creating new skills.
⭐ 9🍴 1📅 Jan 18, 2026
SKILL.md
name: swift-observation
description: Apple Observation framework for Swift. Use when modeling observable state with the @Observable macro, tracking changes with withObservationTracking, integrating with SwiftUI, or working with ObservationRegistrar and Observations async sequences.
Observation
What to open
- Use
swift-observation/observation.mdfor full API details and examples. - Search within it for
@Observable,withObservationTracking,ObservationRegistrar,Observations, andObservationIgnored. - Use
swift-observation/observations_pre_iOS_26_backport.mdfor availability notes and backport discussion. - Use
swift-observation/Observation/source files to inspect theObservationsimplementation and any supporting runtime pieces when evaluating backport feasibility.
Workflow
- Prefer
@Observableto make models observable; do not conform toObservablemanually. - Read properties inside
withObservationTrackingto define the dependency set. - Use
ObservationIgnoredfor properties that should not trigger updates. - Use
Observationswhen you need async change streams.
SwiftUI usage
- For SwiftUI, treat
@Observablemodels as the source of truth and let the view read the properties it needs. - Use
withObservationTrackingfor non-SwiftUI rendering or custom observers.
Availability and backport notes
Observationsis available on iOS 26+; plan for fallbacks on earlier OSes.- For pre-iOS 26 support, consider community backports or vendor forks; see
swift-observation/observations_pre_iOS_26_backport.mdfor options and caveats.
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon