Collection

AVKit sample architecture

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

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

Samples

Sample Platforms High-level architecture Documented patterns
Adopting Picture in Picture Playback in tvOS iOS, iPadOS, Mac Catalyst, tvOS A Swift sample with the source-visible chain AppDelegateViewControllerAVKit APIs. View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks
Creating a multiview video playback experience in visionOS visionOS A Swift sample with the source-visible chain MultiviewVideoPlaybackAppContentViewMultiviewStateModelItemVideoPlayerAVKit APIs. Delegate or data-source callbacks, Binding-based state propagation
Playing immersive media with AVKit visionOS A Swift sample with the source-visible chain AVKitImmersivePlaybackAppContentViewPlayerModelSceneProviderAVKit APIs. Delegate or data-source callbacks
Playing video content in a standard user interface iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain AppDelegatePlaybackControllerPlayerViewControllerCoordinatorAVKit APIs. View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks, Coordinator
Supporting Continuity Camera in your tvOS app tvOS A Swift sample with the source-visible chain ContinuityCameraAppContentViewCaptureManagerCaptureDeviceNotificationObserverAVFoundation / SwiftUI APIs. Delegate or data-source callbacks, Binding-based state propagation, Publisher-backed observable state
Working with Overlays and Parental Controls in tvOS tvOS A Swift sample with the source-visible chain AppDelegateMenuViewControllerAVKit APIs. View-controller organization, Delegate or data-source callbacks

Cross-sample signals

Recurring documented patterns

Pattern label Sample documents
Delegate or data-source callbacks 6
View-controller organization 3
Protocol-oriented abstraction 2
Binding-based state propagation 2

Type-role naming evidence

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

Role suffix Distinct declarations across samples
Delegate 11
View 11
Controller 7
Observer 4
App 3
Model 3
Player 2
Provider 1
Coordinator 1
Manager 1

Swift access-control evidence

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

Access level Occurrences
implicit internal 526
private 97
public 24
private(set) 8
fileprivate 1
internal 1

References

Generated from the verified local catalog and completed Markdown documents.