Accessibility sample architecture
Source-backed, high-level architecture notes for Apple sample-code pages grouped in the Accessibility folder.
- Catalog module label:
Accessibility - Coverage: 8 / 8 sample pages documented
- Source policy: archive hashes and extracted-tree references are verified locally before analysis
Samples
| Sample | Platforms | High-level architecture | Documented patterns |
|---|---|---|---|
| Accessibility design for Mac Catalyst | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → RBDetailViewController → RBViewModel → UIKit / SwiftUI APIs. |
Model-View-ViewModel, View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| Delivering an exceptional accessibility experience | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → ViewController → UIKit APIs. |
View-controller organization, Delegate or data-source callbacks |
| Enhancing the accessibility of your SwiftUI app | iOS, iPadOS, Mac Catalyst, macOS | A Swift sample with the source-visible chain App → ContentView → Provider → SwiftUI / SwiftData APIs. |
Protocol-oriented abstraction |
| Integrating accessibility into your app | macOS | A C/Objective-C header, Metal, Objective-C, Swift sample with the source-visible chain AppDelegate → ButtonBaseViewController → Cocoa / simd APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| WWDC21 Challenge: Large Text Challenge | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain LargeTextChallengeApp → ContentView → SwiftUI / UIKit APIs. |
Protocol-oriented abstraction, Binding-based state propagation, Publisher-backed observable state |
| WWDC21 Challenge: Speech Synthesizer Simulator | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → ViewController → UIKit / ARKit APIs. |
View-controller organization, Delegate or data-source callbacks |
| WWDC21 Challenge: VoiceOver Maze | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → MazeViewController → UIKit APIs. |
View-controller organization, Delegate or data-source callbacks |
| WWDC22 Challenge: Learn Switch Control through gaming | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain SwitchControlChallengeApp → ContentView → SwiftUI / UIKit APIs. |
Publisher-backed observable state |
Cross-sample signals
Recurring documented patterns
| Pattern label | Sample documents |
|---|---|
| View-controller organization | 5 |
| Delegate or data-source callbacks | 5 |
| Protocol-oriented abstraction | 4 |
| Publisher-backed observable state | 2 |
Type-role naming evidence
Counts below are declaration-name suffixes, not inferred patterns.
| Role suffix | Distinct declarations across samples |
|---|---|
View |
51 |
Controller |
33 |
Delegate |
11 |
App |
3 |
ViewModel |
1 |
Player |
1 |
Provider |
1 |
Scene |
1 |
Swift access-control evidence
These are declaration occurrences in scanned Swift source, including implicit internal declarations.
| Access level | Occurrences |
|---|---|
implicit internal |
1930 |
private |
163 |
fileprivate |
109 |
public |
5 |
private(set) |
2 |
References
Generated from the verified local catalog and completed Markdown documents.