Network sample architecture
Source-backed, high-level architecture notes for Apple sample-code pages grouped in the Network folder.
- Catalog module label:
Network - Coverage: 3 / 3 sample pages documented
- Source policy: archive hashes and extracted-tree references are verified locally before analysis
Samples
| Sample | Platforms | High-level architecture | Documented patterns |
|---|---|---|---|
| Building a custom peer-to-peer protocol | iOS, iPadOS, Mac Catalyst, tvOS, watchOS | A Swift sample with the source-visible chain AppDelegate → GameViewController → Network APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| Collecting Network Connection Metrics | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → ViewController → Network APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| Implementing netcat with Network Framework | macOS | A C sample centered on main, with direct use of Network. |
— |
Cross-sample signals
Recurring documented patterns
| Pattern label | Sample documents |
|---|---|
| View-controller organization | 2 |
| Protocol-oriented abstraction | 2 |
| Delegate or data-source callbacks | 2 |
Type-role naming evidence
Counts below are declaration-name suffixes, not inferred patterns.
| Role suffix | Distinct declarations across samples |
|---|---|
Delegate |
6 |
Controller |
4 |
Scene |
1 |
Swift access-control evidence
These are declaration occurrences in scanned Swift source, including implicit internal declarations.
| Access level | Occurrences |
|---|---|
implicit internal |
400 |
private |
14 |
References
Generated from the verified local catalog and completed Markdown documents.