Collection

ScreenCaptureKit sample architecture

Source-backed, high-level architecture notes for Apple sample-code pages grouped in the ScreenCaptureKit folder.

  • Catalog module label: ScreenCaptureKit
  • Coverage: 2 / 2 sample pages documented
  • Source policy: archive hashes and extracted-tree references are verified locally before analysis

Samples

Sample Platforms High-level architecture Documented patterns
Capturing screen content in macOS macOS A Swift sample with the source-visible chain CaptureSampleAppContentViewAudioLevelProviderScreenCaptureKit APIs. Protocol-oriented abstraction, Delegate or data-source callbacks, Binding-based state propagation, Publisher-backed observable state, Actor-isolated state
Capturing screen content on iOS iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain iOSSCKSampleAppContentViewCaptureManagerScreenCaptureKit APIs. Delegate or data-source callbacks, SwiftUI environment injection, Publisher-backed observable state, Actor-isolated state

Cross-sample signals

Recurring documented patterns

Pattern label Sample documents
Delegate or data-source callbacks 2
Publisher-backed observable state 2
Actor-isolated state 2

Type-role naming evidence

Counts below are declaration-name suffixes, not inferred patterns.

Role suffix Distinct declarations across samples
View 10
App 2
Provider 2
Engine 1
Player 1
Recorder 1
Delegate 1
Manager 1

Swift access-control evidence

These are declaration occurrences in scanned Swift source, including implicit internal declarations.

Access level Occurrences
implicit internal 238
private 94
private(set) 6

References

Generated from the verified local catalog and completed Markdown documents.