DockKit sample architecture
Source-backed, high-level architecture notes for Apple sample-code pages grouped in the DockKit folder.
- Catalog module label:
DockKit - Coverage: 1 / 1 sample pages documented
- Source policy: archive hashes and extracted-tree references are verified locally before analysis
Samples
| Sample | Platforms | High-level architecture | Documented patterns |
|---|---|---|---|
| Controlling a DockKit accessory using your camera app | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain DockKit_CameraApp → ContentView → CameraModel → CaptureService → DockKit APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks, Service object, Publisher-backed observable state, Actor-isolated state |
Cross-sample signals
Recurring documented patterns
| Pattern label | Sample documents |
|---|
Type-role naming evidence
Counts below are declaration-name suffixes, not inferred patterns.
| Role suffix | Distinct declarations across samples |
|---|---|
View |
10 |
Model |
4 |
Delegate |
3 |
Service |
3 |
App |
1 |
Controller |
1 |
Swift access-control evidence
These are declaration occurrences in scanned Swift source, including implicit internal declarations.
| Access level | Occurrences |
|---|---|
implicit internal |
371 |
private |
85 |
private(set) |
30 |
public |
5 |
References
Generated from the verified local catalog and completed Markdown documents.