Apple sample-code catalog
This is the reviewable, pre-download inventory for the architecture study. It contains every Apple Developer documentation page currently classified as sample code and exposing a source download in the verified crawl.
Inventory summary
| Item | Count |
|---|---|
| Sample-code documentation pages | 657 |
| Canonical documentation modules | 144 |
| Curated Sample Code Library categories | 30 |
| Unique source bundles | 643 |
| Shared source bundles | 7 |
| Public source pages | 656 |
| Apple ID source pages | 1 |
Discovery covered 400 documentation technology roots and 395 DocC navigator indexes. The machine-readable source is catalog.json.
Modules
Curated categories
Apple can place one sample in multiple editorial categories. These counts are therefore navigation counts, not distinct source-bundle counts.
| Category | Samples |
|---|---|
| WWDC26 | 39 |
| Accelerate | 30 |
| Accessibility | 11 |
| App frameworks | 10 |
| App Intents and SiriKit | 12 |
| AppKit | 11 |
| App services | 44 |
| ARKit | 25 |
| Audio and music | 37 |
| Authentication | 6 |
| AVFoundation | 25 |
| Developer tools | 8 |
| Games | 9 |
| Graphics | 11 |
| Health | 10 |
| Location and MapKit | 18 |
| Machine learning | 16 |
| Metal | 56 |
| Photos and video | 16 |
| RealityKit and Reality Composer Pro | 33 |
| StoreKit | 7 |
| Swift and SwiftData | 11 |
| SwiftUI | 29 |
| System | 34 |
| TV | 15 |
| UIKit | 48 |
| Vision | 22 |
| visionOS | 56 |
| Watch | 9 |
| Web | 10 |
Complete sample list
Accelerate
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 1 | Adding a bokeh effect to images | macOS, Xcode | Public | AddingABokehEffectToImages.zip |
| 2 | Adjusting saturation and applying tone mapping | macOS, Xcode | Public | AdjustingSaturationAndApplyingToneMapping.zip |
| 3 | Adjusting the brightness and contrast of an image | macOS, Xcode | Public | AdjustingTheBrightnessAndContrastOfAnImage.zip |
| 4 | Adjusting the hue of an image | macOS, Xcode | Public | AdjustingTheHueOfAnImage.zip |
| 5 | Applying biquadratic filters to a music loop | macOS, Xcode | Public | ApplyingBiquadraticFiltersToAMusicLoop.zip |
| 6 | Applying tone curve adjustments to images | macOS, Xcode | Public | ApplyingToneCurveAdjustmentsToImages.zip |
| 7 | Applying transformations to selected colors in an image | macOS, Xcode | Public | ApplyingTransformationsToSelectedColorsInAnImage.zip |
| 8 | Applying vImage operations to video sample buffers | macOS, Xcode | Public | ApplyingVImageOperationsToVideoSampleBuffers.zip |
| 9 | Blurring an image | macOS, Xcode | Public | BlurringAnImage.zip |
| 10 | Calculating the dominant colors in an image | macOS, Xcode | Public | CalculatingTheDominantColorsInAnImage.zip |
| 11 | Compressing an image using linear algebra | macOS, Xcode | Public | CompressingAnImageUsingLinearAlgebra.zip |
| 12 | Compressing and decompressing files with stream compression | macOS, Xcode | Public | CompressingAndDecompressingFilesWithStreamCompression.zip |
| 13 | Converting color images to grayscale | macOS, Xcode | Public | ConvertingColorImagesToGrayscale.zip |
| 14 | Converting luminance and chrominance planes to an ARGB image | macOS, Xcode | Public | ConvertingLuminanceAndChrominancePlanesToAnARGBImage.zip |
| 15 | Creating an audio unit extension using the vDSP library | macOS, Xcode | Public | CreatingAnAudioUnitExtensionUsingTheVDSPLibrary.zip |
| 16 | Cropping to the subject in a chroma-keyed image | macOS, Xcode | Public | CroppingToTheSubjectInAChromaKeyedImage.zip |
| 17 | Equalizing audio with discrete cosine transforms (DCTs) | macOS, Xcode | Public | EqualizingAudioWithDiscreteCosineTransformsDCTs.zip |
| 18 | Finding the sharpest image in a sequence of captured images | iOS, iPadOS, Mac Catalyst, Xcode | Public | FindingTheSharpestImageInASequenceOfCapturedImages.zip |
| 19 | Halftone descreening with 2D fast Fourier transform | macOS, Xcode | Public | HalftoneDescreeningWith2DFastFourierTransform.zip |
| 20 | Improving the quality of quantized images with dithering | macOS, Xcode | Public | ImprovingTheQualityOfQuantizedImagesWithDithering.zip |
| 21 | Integrating vImage pixel buffers into a Core Image workflow | macOS, Xcode | Public | IntegratingVImagePixelBuffersIntoACoreImageWorkflow.zip |
| 22 | Reducing artifacts with custom resampling filters | macOS, Xcode | Public | ReducingArtifactsWithCustomResamplingFilters.zip |
| 23 | Rotating a cube by transforming its vertices | macOS, Xcode | Public | RotatingACubeByTransformingItsVertices.zip |
| 24 | Sharing texture data between the Model I/O framework and the vImage library | macOS, Xcode | Public | SharingTextureDataBetweenTheModelIOFrameworkAndTheVImageLibrary.zip |
| 25 | Signal extraction from noise | iOS, iPadOS, Mac Catalyst, Xcode | Public | SignalExtractionFromNoise.zip |
| 26 | Solving systems of linear equations with LAPACK | macOS, Xcode | Public | SolvingSystemsOfLinearEquationsWithLAPACK.zip |
| 27 | Specifying histograms with vImage | macOS, Xcode | Public | SpecifyingHistogramsWithVImage.zip |
| 28 | Supporting real-time ML inference on the CPU | macOS, Xcode | Public | SupportingRealTimeMLInferenceOnTheCPU.zip |
| 29 | Training a neural network to recognize digits | macOS, Xcode | Public | TrainingANeuralNetworkToRecognizeDigits.zip |
| 30 | Using vImage pixel buffers to generate video effects | macOS, Xcode | Public | UsingVImagePixelBuffersToGenerateVideoEffects.zip |
| 31 | Visualizing sound as an audio spectrogram | macOS, Xcode | Public | VisualizingSoundAsAnAudioSpectrogram.zip |
Accessibility
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 32 | Accessibility design for Mac Catalyst | iOS, iPadOS, Mac Catalyst, Xcode | Public | AccessibilityDesignForMacCatalyst.zip |
| 33 | Delivering an exceptional accessibility experience | iOS, iPadOS, Mac Catalyst, Xcode | Public | DeliveringAnExceptionalAccessibilityExperience.zip |
| 34 | Enhancing the accessibility of your SwiftUI app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | EnhancingTheAccessibilityOfYourSwiftUIApp.zip |
| 35 | Integrating accessibility into your app | macOS, Xcode | Public | IntegratingAccessibilityIntoYourApp.zip |
| 36 | WWDC21 Challenge: Large Text Challenge | iOS, iPadOS, Mac Catalyst, Xcode | Public | WWDC21ChallengeLargeTextChallenge.zip |
| 37 | WWDC21 Challenge: Speech Synthesizer Simulator | iOS, iPadOS, Mac Catalyst, Xcode | Public | WWDC21ChallengeSpeechSynthesizerSimulator.zip |
| 38 | WWDC21 Challenge: VoiceOver Maze | iOS, iPadOS, Mac Catalyst, Xcode | Public | WWDC21ChallengeVoiceOverMaze.zip |
| 39 | WWDC22 Challenge: Learn Switch Control through gaming | iOS, iPadOS, Mac Catalyst, Xcode | Public | WWDC22ChallengeLearnSwitchControlThroughGaming.zip |
AccessorySetupKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 40 | Setting up and authorizing a Bluetooth accessory | iOS, iPadOS, Xcode | Public | SettingUpAndAuthorizingABluetoothAccessory.zip |
AlarmKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 41 | Scheduling an alarm with AlarmKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | SchedulingAnAlarmWithAlarmKit.zip |
App Clips
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 42 | Fruta: Building a feature-rich app with SwiftUI | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | FrutaBuildingAFeatureRichAppWithSwiftUI.zip |
| 43 | Interacting with App Clip Codes in AR | iOS, iPadOS, Mac Catalyst, Xcode | Public | InteractingWithAppClipCodesInAR.zip |
App Intents
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 44 | Accelerating app interactions with App Intents | iOS, iPadOS, Mac Catalyst, macOS, visionOS, watchOS, Xcode | Public | AcceleratingAppInteractionsWithAppIntents.zip |
| 45 | Adopting App Intents to support system experiences | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AdoptingAppIntentsToSupportSystemExperiences.zip |
| 46 | Defining your app’s Focus filter | iOS, iPadOS, Mac Catalyst, Xcode | Public | DefiningYourAppsFocusFilter.zip |
| 47 | Integrating your calendar app with Apple Intelligence | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingYourCalendarAppWithAppleIntelligence.zip |
| 48 | Integrating your messaging app with Apple Intelligence | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | IntegratingYourMessagingAppWithAppleIntelligence.zip |
| 49 | Integrating your music app with Apple Intelligence | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingYourMusicAppWithAppleIntelligence.zip |
| 50 | Integrating your photo app with Apple Intelligence | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | IntegratingYourPhotoAppWithAppleIntelligence.zip |
App Store Connect API
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 51 | Retrieve Power and Performance Metrics and Log Insights | Not stated | Public | RetrievePowerAndPerformanceMetricsAndLogInsights.zip |
| 52 | Uploading App Previews | Not stated | Public | UploadingAppPreviews.zip |
AppKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 53 | Add Functionality to Finder with Action Extensions | macOS, Xcode | Public | AddFunctionalityToFinderWithActionExtensions.zip |
| 54 | Creating and Customizing the Touch Bar | macOS, Xcode | Public | CreatingAndCustomizingTheTouchBar.zip |
| 55 | Developing a Document-Based App | macOS, Xcode | Public | DevelopingADocumentBasedApp.zip |
| 56 | Enhancing your custom text engine with Writing Tools | macOS, Xcode | Public | EnhancingYourCustomTextEngineWithWritingTools.zip |
| 57 | Integrating a Toolbar and Touch Bar into Your App | macOS, Xcode | Public | IntegratingAToolbarAndTouchBarIntoYourApp.zip |
| 58 | Navigating Hierarchical Data Using Outline and Split Views | macOS, Xcode | Public | NavigatingHierarchicalDataUsingOutlineAndSplitViews.zip |
| 59 | Organize Your User Interface with a Stack View | macOS, Xcode | Public | OrganizeYourUserInterfaceWithAStackView.zip |
| 60 | Restoring your app’s state with AppKit | macOS, Xcode | Public | RestoringYourAppsStateWithAppKit.zip |
| 61 | Supporting Collection View Drag and Drop Through File Promises | macOS, Xcode | Public | SupportingCollectionViewDragAndDropThroughFilePromises.zip |
| 62 | Supporting Drag and Drop Through File Promises | macOS, Xcode | Public | SupportingDragAndDropThroughFilePromises.zip |
| 63 | Supporting Table View Drag and Drop Through File Promises | macOS, Xcode | Public | SupportingTableViewDragAndDropThroughFilePromises.zip |
Apple Archive
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 64 | Encrypting and Decrypting a Single File | macOS, Xcode | Public | EncryptingAndDecryptingASingleFile.zip |
| 65 | Encrypting and Decrypting a String | macOS, Xcode | Public | EncryptingAndDecryptingAString.zip |
| 66 | Encrypting and Decrypting Directories | macOS, Xcode | Public | EncryptingAndDecryptingDirectories.zip |
Apple CryptoKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 67 | Enhancing your app’s privacy and security with quantum-secure workflows | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | EnhancingYourAppsPrivacyAndSecurityWithQuantumSecureWorkflows.zip |
| 68 | Performing Common Cryptographic Operations | Xcode | Public | PerformingCommonCryptographicOperations.zip |
| 69 | Storing CryptoKit Keys in the Keychain | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | StoringCryptoKitKeysInTheKeychain.zip |
Apple Maps Server API
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 70 | Integrating the Apple Maps Server API into Java server applications | Not stated | Public | IntegratingTheAppleMapsServerAPIIntoJavaServerApplications.zip |
Apple-Silicon
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 71 | Providing an edge-to-edge, full-screen experience in your iPad app running on a Mac | iOS, iPadOS, Mac Catalyst, Xcode | Public | ProvidingAnEdgeToEdgeFullScreenExperienceInYourIPadAppRunningOnAMac.zip |
| 72 | Providing touch gesture equivalents using Touch Alternatives | iOS, iPadOS, Mac Catalyst, Xcode | Public | ProvidingTouchGestureEquivalentsUsingTouchAlternatives.zip |
ARKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 73 | Adding realistic reflections to an AR experience | iOS, iPadOS, Xcode | Public | AddingRealisticReflectionsToAnARExperience.zip |
| 74 | Building local experiences with room tracking | visionOS, Xcode | Public | BuildingLocalExperiencesWithRoomTracking.zip |
| 75 | Capturing Body Motion in 3D | iOS, iPadOS, Xcode | Public | CapturingBodyMotionIn3D.zip |
| 76 | Combining user face-tracking and world tracking | iOS, iPadOS, Xcode | Public | CombiningUserFaceTrackingAndWorldTracking.zip |
| 77 | Creating a collaborative session | iOS, iPadOS, Xcode | Public | CreatingACollaborativeSession.zip |
| 78 | Creating a fog effect using scene depth | iOS, iPadOS, Xcode | Public | CreatingAFogEffectUsingSceneDepth.zip |
| 79 | Creating a multiuser AR experience | iOS, iPadOS, Xcode | Public | CreatingAMultiuserARExperience.zip |
| 80 | Creating an immersive ar experience with audio | iOS, iPadOS, Xcode | Public | CreatingAnImmersiveArExperienceWithAudio.zip |
| 81 | Creating screen annotations for objects in an AR experience | iOS, iPadOS, Xcode | Public | CreatingScreenAnnotationsForObjectsInAnARExperience.zip |
| 82 | Detecting Images in an AR Experience | iOS, iPadOS, Xcode | Public | ARKitImageDetection.zip |
| 83 | Displaying a point cloud using scene depth | iOS, iPadOS, Xcode | Public | DisplayingAPointCloudUsingSceneDepth.zip |
| 84 | Effecting People Occlusion in Custom Renderers | iOS, iPadOS, Xcode | Public | EffectingPeopleOcclusionInCustomRenderers.zip |
| 85 | Occluding virtual content with people | iOS, iPadOS, Xcode | Public | OccludingVirtualContentWithPeople.zip |
| 86 | Placing objects and handling 3D interaction | iOS, iPadOS, Xcode | Public | PlacingObjectsAndHandling3DInteraction.zip |
| 87 | Recognizing and Labeling Arbitrary Objects | iOS, iPadOS, Xcode | Public | RecognizingAndLabelingArbitraryObjects.zip |
| 88 | Saving and loading world data | iOS, iPadOS, Xcode | Public | SavingAndLoadingWorldData.zip |
| 89 | Scanning and Detecting 3D Objects | iOS, iPadOS, Xcode | Public | ScanningAndDetecting3DObjects.zip |
| 90 | Streaming an AR experience | iOS, iPadOS, Xcode | Public | StreamingAnARExperience.zip |
| 91 | Tracking a handheld accessory as a virtual sculpting tool | visionOS, Xcode | Public | SpatialSculptingTrackAHandHeldAccessoryAsAVirtualSculptingTool.zip (shared by 2 pages) |
| 92 | Tracking accessories in volumetric windows | visionOS, Xcode | Public | TrackingAccessoriesInVolumetricWindows.zip |
| 93 | Tracking and altering images | iOS, iPadOS, Xcode | Public | TrackingAndAlteringImages.zip |
| 94 | Tracking and visualizing faces | iOS, iPadOS, Xcode | Public | TrackingAndVisualizingFaces.zip |
| 95 | Tracking and visualizing planes | iOS, iPadOS, Xcode | Public | TrackingAndVisualizingPlanes.zip |
| 96 | Tracking geographic locations in AR | iOS, iPadOS, Xcode | Public | TrackingGeographicLocationsInAr.zip |
| 97 | Visualizing and interacting with a reconstructed scene | iOS, iPadOS, Xcode | Public | VisualizingAndInteractingWithAReconstructedScene.zip |
Audio Toolbox
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 98 | Encoding and decoding audio | macOS, Xcode | Public | EncodingAndDecodingAudio.zip |
| 99 | Generating spatial audio from a multichannel audio stream | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | GeneratingSpatialAudioFromAMultichannelAudioStream.zip |
| 100 | Incorporating Audio Effects and Instruments | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | IncorporatingAudioEffectsAndInstruments.zip |
AudioDriverKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 101 | Creating an audio device driver | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CreatingAnAudioDeviceDriver.zip |
Authentication Services
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 102 | Connecting to a service with passkeys | iOS, iPadOS, Mac Catalyst, Xcode | Public | ConnectingToAServiceWithPasskeys.zip |
| 103 | Implementing User Authentication with Sign in with Apple | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingUserAuthenticationWithSignInWithApple.zip |
| 104 | Performing fast account creation with passkeys | iOS, iPadOS, Mac Catalyst, Xcode | Public | PerformingFastAccountCreationWithPasskeys.zip |
| 105 | Simplifying User Authentication in a tvOS App | tvOS, Xcode | Public | SimplifyingUserAuthenticationInATvOSApp.zip |
Automatic Assessment Configuration
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 106 | Build an Educational Assessment App | macOS, Xcode | Public | BuildAnEducationalAssessmentApp.zip |
AVFAudio
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 107 | Adding synthesized speech to calls | iOS, iPadOS, Mac Catalyst, Xcode | Public | AddingSynthesizedSpeechToCalls.zip |
| 108 | Building a signal generator | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | BuildingASignalGenerator.zip |
| 109 | Building an audio sequencer to arrange and play clips | macOS, Xcode | Public | BuildingAnAudioSequencerToArrangeAndPlayClips.zip |
| 110 | Capturing stereo audio from built-In microphones | iOS, iPadOS, Mac Catalyst, Xcode | Public | CapturingStereoAudioFromBuiltInMicrophones.zip |
| 111 | Creating a custom speech synthesizer | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CreatingACustomSpeechSynthesizer.zip |
| 112 | Creating custom audio effects | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CreatingCustomAudioEffects.zip |
| 113 | Performing offline audio processing | Xcode | Public | PerformingOfflineAudioProcessing.zip |
| 114 | Playing custom audio with your own player | iOS, iPadOS, Mac Catalyst, Xcode | Public | PlayingCustomAudioWithYourOwnPlayer.zip |
| 115 | Using voice processing | iOS, iPadOS, Mac Catalyst, Xcode | Public | UsingVoiceProcessing.zip |
AVFoundation
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 116 | Adding a display mask rectangle metadata track to a movie file | macOS, Xcode | Public | AddingADisplayMaskRectangleMetadataTrackToAMovieFile.zip |
| 117 | AVCam: Building a camera app | iOS, iPadOS, Mac Catalyst, Xcode | Public | AVCamBuildingACameraApp.zip |
| 118 | AVCamBarcode: detecting barcodes and faces | iOS, iPadOS, Mac Catalyst, Xcode | Public | AVCamBarcodeDetectingBarcodesAndFaces.zip |
| 119 | AVCamFilter: Applying filters to a capture stream | iOS, iPadOS, Mac Catalyst, Xcode | Public | AVCamFilterApplyingFiltersToACaptureStream.zip |
| 120 | AVMultiCamPiP: Capturing from Multiple Cameras | iOS, iPadOS, Mac Catalyst, Xcode | Public | AVMultiCamPiPCapturingFromMultipleCameras.zip |
| 121 | Build a responsive camera app that launches quickly | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | BuildAResponsiveCameraAppThatLaunchesQuickly.zip |
| 122 | Capturing Cinematic video | iOS, iPadOS, Mac Catalyst, Xcode | Public | CapturingCinematicVideo.zip |
| 123 | Capturing consistent color images | iOS, iPadOS, Mac Catalyst, Xcode | Public | CapturingConsistentColorImages.zip |
| 124 | Capturing depth using the LiDAR camera | iOS, iPadOS, Mac Catalyst, Xcode | Public | CapturingDepthUsingTheLiDARCamera.zip |
| 125 | Capturing Spatial Audio in your iOS app | iOS, iPadOS, Mac Catalyst, Xcode | Public | CapturingSpatialAudioInYourIOSApp.zip |
| 126 | Converting projected video to Apple Projected Media Profile | macOS, Xcode | Public | ConvertingProjectedVideoToAppleProjectedMediaProfile.zip |
| 127 | Converting side-by-side 3D video to multiview HEVC and spatial video | macOS, Xcode | Public | ConvertingSideBySide3DVideoToMultiviewHEVCAndSpatialVideo.zip |
| 128 | Creating a seamless multiview playback experience | iOS, iPadOS, Mac Catalyst, tvOS, Xcode | Public | CreatingASeamlessMultiviewPlaybackExperience.zip |
| 129 | Debugging AVFoundation audio mixes, compositions, and video compositions | iOS, iPadOS, Mac Catalyst, Xcode | Public | DebuggingAVFoundationAudioMixesCompositionsAndVideoCompositions.zip |
| 130 | Editing and playing HDR video | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | EditingAndPlayingHDRVideo.zip |
| 131 | Enhancing live video by leveraging TrueDepth camera data | iOS, iPadOS, Mac Catalyst, Xcode | Public | EnhancingLiveVideoByLeveragingTrueDepthCameraData.zip |
| 132 | Integrating AirPlay for long-form video apps | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingAirPlayForLongFormVideoApps.zip |
| 133 | Processing spatial video with a custom video compositor | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | ProcessingSpatialVideoWithACustomVideoCompositor.zip |
| 134 | Providing an integrated view of your timeline when playing HLS interstitials | iOS, iPadOS, Mac Catalyst, Xcode | Public | ProvidingAnIntegratedViewOfYourTimelineWhenPlayingHLSInterstitials.zip |
| 135 | Reading multiview 3D video files | macOS, Xcode | Public | ReadingMultiview3DVideoFiles.zip |
| 136 | Streaming depth data from the TrueDepth camera | iOS, iPadOS, Mac Catalyst, Xcode | Public | StreamingDepthDataFromTheTrueDepthCamera.zip |
| 137 | Supporting Center Stage front camera in your iOS app | iOS, iPadOS, Mac Catalyst, Xcode | Public | SupportingCenterStageFrontCameraInYourIOSApp.zip |
| 138 | Supporting Continuity Camera in your macOS app | macOS, Xcode | Public | SupportingContinuityCameraInYourMacOSApp.zip |
| 139 | Supporting coordinated media playback | iOS, iPadOS, Mac Catalyst, Xcode | Public | SupportingCoordinatedMediaPlayback.zip |
| 140 | Supporting remote interactions in tvOS | tvOS, Xcode | Public | SupportingRemoteInteractionsInTvOS.zip |
| 141 | Using AVFoundation to play and persist HTTP live streams | iOS, iPadOS, Mac Catalyst, Xcode | Public | UsingAVFoundationToPlayAndPersistHTTPLiveStreams.zip |
| 142 | Using HEVC video with alpha | macOS, Xcode | Public | UsingHEVCVideoWithAlpha.zip |
| 143 | Writing fragmented MPEG-4 files for HTTP Live Streaming | macOS, Xcode | Public | WritingFragmentedMPEG4FilesForHTTPLiveStreaming.zip |
AVKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 144 | Adopting Picture in Picture Playback in tvOS | iOS, iPadOS, Mac Catalyst, tvOS, Xcode | Public | AdoptingPictureInPicturePlaybackInTvOS.zip |
| 145 | Creating a multiview video playback experience in visionOS | visionOS, Xcode | Public | CreatingAMultiviewVideoPlaybackExperienceInVisionOS.zip |
| 146 | Playing immersive media with AVKit | visionOS, Xcode | Public | PlayingImmersiveMediaWithAVKit.zip |
| 147 | Playing video content in a standard user interface | iOS, iPadOS, Mac Catalyst, Xcode | Public | PlayingVideoContentInAStandardUserInterface.zip |
| 148 | Supporting Continuity Camera in your tvOS app | tvOS, Xcode | Public | SupportingContinuityCameraInYourTvOSApp.zip |
| 149 | Working with Overlays and Parental Controls in tvOS | tvOS, Xcode | Public | WorkingWithOverlaysAndParentalControlsInTvOS.zip |
Background Assets
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 150 | Downloading essential assets in the background | iOS, iPadOS, Mac Catalyst, macOS, tvOS, visionOS, Xcode | Public | DownloadingEssentialAssetsInTheBackground.zip |
Background Tasks
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 151 | Refreshing and Maintaining Your App Using Background Tasks | iOS, iPadOS, Mac Catalyst, Xcode | Public | RefreshingAndMaintainingYourAppUsingBackgroundTasks.zip |
BrowserEngineKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 152 | Developing a browser app that uses an alternative browser engine | iOS, iPadOS, Xcode | Public | DevelopingABrowserAppThatUsesAnAlternativeBrowserEngine.zip |
CallKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 153 | VoIP calling with CallKit | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | MakingAndReceivingVoIPCallsWithCallKit.zip |
CarPlay
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 154 | Integrating CarPlay with Your Music App | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingCarPlayWithYourMusicApp.zip |
| 155 | Integrating CarPlay with Your Navigation App | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingCarPlayWithYourNavigationApp.zip |
| 156 | Integrating CarPlay with your quick-ordering app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | IntegratingCarPlayWithYourQuickOrderingApp.zip |
Cinematic
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 157 | Editing Spatial Audio with an audio mix | macOS, Xcode | Public | EditingSpatialAudioWithAnAudioMix.zip |
| 158 | Playing and editing Cinematic mode video | macOS, Xcode | Public | PlayingAndEditingCinematicModeVideo.zip |
ClassKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 159 | Incorporating ClassKit into an Educational App | iOS, iPadOS, Mac Catalyst, Xcode | Public | IncorporatingClassKitIntoAnEducationalApp.zip |
ClockKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 160 | Creating and updating a complication’s timeline | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | CreatingAndUpdatingAComplicationsTimeline.zip |
| 161 | Displaying essential information on a watch face | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | DisplayingEssentialInformationOnAWatchFace.zip |
| 162 | Providing Multiple Complications | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | ProvidingMultipleComplications.zip |
CloudKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 163 | Sharing CloudKit Data with Other iCloud Users | iOS, iPadOS, Mac Catalyst, Xcode | Public | SharingCloudKitDataWithOtherICloudUsers.zip |
Compositor Services
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 164 | Interacting with virtual content blended with passthrough | visionOS, Xcode | Public | InteractingWithVirtualContentBlendedWithPassthrough.zip |
| 165 | Rendering hover effects in Metal immersive apps | macOS, visionOS, Xcode | Public | RenderingHoverEffectsInMetalImmersiveApps.zip |
Contacts
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 166 | Accessing a person’s contact data using Contacts and ContactsUI | iOS, iPadOS, Mac Catalyst, Xcode | Public | AccessingAPersonsContactDataUsingContactsAndContactsUI.zip |
Core Audio
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 167 | Building an Audio Server Plug-in and Driver Extension | DriverKit, macOS, Xcode | Public | BuildingAnAudioServerPlugInAndDriverExtension.zip |
| 168 | Capturing system audio with Core Audio taps | macOS, Xcode | Public | CapturingSystemAudioWithCoreAudioTaps.zip |
| 169 | Creating an Audio Server Driver Plug-in | macOS, Xcode | Public | CreatingAnAudioServerDriverPlugIn.zip |
Core Bluetooth
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 170 | Measuring distance between devices using Channel Sounding | iOS, iPadOS, Mac Catalyst, Xcode | Public | MeasuringDistanceBetweenDevicesUsingChannelSounding.zip |
| 171 | Transferring Data Between Bluetooth Low Energy Devices | iOS, iPadOS, Mac Catalyst, Xcode | Public | TransferringDataBetweenBluetoothLowEnergyDevices.zip |
| 172 | Using Core Bluetooth Classic | iOS, iPadOS, Mac Catalyst, Xcode | Public | UsingCoreBluetoothClassic.zip |
Core Data
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 173 | Adopting SwiftData for a Core Data app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AdoptingSwiftDataForACoreDataApp.zip |
| 174 | Handling Different Data Types in Core Data | iOS, iPadOS, Mac Catalyst, Xcode | Public | HandlingDifferentDataTypesInCoreData.zip |
| 175 | Linking Data Between Two Core Data Stores | iOS, iPadOS, Mac Catalyst, Xcode | Public | LinkingDataBetweenTwoCoreDataStores.zip |
| 176 | Sharing Core Data objects between iCloud users | iOS, iPadOS, Mac Catalyst, macOS, watchOS, Xcode | Public | SharingCoreDataObjectsBetweenICloudUsers.zip |
| 177 | Showcase App Data in Spotlight | iOS, iPadOS, Mac Catalyst, Xcode | Public | ShowcaseAppDataInSpotlight.zip |
| 178 | Synchronizing a local store to the cloud | iOS, iPadOS, Mac Catalyst, Xcode | Public | SynchronizingALocalStoreToTheCloud.zip |
Core Haptics
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 179 | Delivering Rich App Experiences with Haptics | iOS, iPadOS, Mac Catalyst, Xcode | Public | DeliveringRichAppExperiencesWithHaptics.zip |
| 180 | Playing a Custom Haptic Pattern from a File | iOS, iPadOS, Mac Catalyst, Xcode | Public | PlayingACustomHapticPatternFromAFile.zip |
| 181 | Playing Collision-Based Haptic Patterns | iOS, iPadOS, Mac Catalyst, Xcode | Public | PlayingCollisionBasedHapticPatterns.zip |
| 182 | Playing Haptics on Game Controllers | iOS, iPadOS, Mac Catalyst, Xcode | Public | PlayingHapticsOnGameControllers.zip |
| 183 | Updating Continuous and Transient Haptic Parameters in Real Time | iOS, iPadOS, Mac Catalyst, Xcode | Public | UpdatingContinuousAndTransientHapticParametersInRealTime.zip |
Core Image
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 184 | Generating an animation with a Core Image Render Destination | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | GeneratingAnAnimationWithACoreImageRenderDestination.zip |
Core Location
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 185 | Adopting live updates in Core Location | iOS, iPadOS, Mac Catalyst, Xcode | Public | AdoptingLiveUpdatesInCoreLocation.zip |
| 186 | Monitoring location changes with Core Location | iOS, iPadOS, Mac Catalyst, Xcode | Public | MonitoringLocationChangesWithCoreLocation.zip |
| 187 | Ranging for Beacons | iOS, iPadOS, Mac Catalyst, Xcode | Public | RangingForBeacons.zip |
Core MIDI
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 188 | Incorporating MIDI 2 into your apps | iOS, iPadOS, Mac Catalyst, Xcode | Public | IncorporatingMIDI2IntoYourApps.zip |
Core ML
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 189 | Classifying Images with Vision and Core ML | iOS, iPadOS, Mac Catalyst, Xcode, iPad | Public | ClassifyingImagesWithVisionAndCoreML.zip |
| 190 | Detecting human body poses in an image | iOS, iPadOS, Mac Catalyst, Xcode | Public | DetectingHumanBodyPosesInAnImage.zip |
| 191 | Finding answers to questions in a text document | iOS, iPadOS, Mac Catalyst, Xcode | Public | FindingAnswersToQuestionsInATextDocument.zip |
| 192 | Integrating a Core ML Model into Your App | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingACoreMLModelIntoYourApp.zip |
| 193 | Personalizing a Model with On-Device Updates | iOS, iPadOS, Mac Catalyst, Xcode | Public | PersonalizingAModelWithOnDeviceUpdates.zip |
| 194 | Understanding a Dice Roll with Vision and Object Detection | iOS, iPadOS, Mac Catalyst, Xcode, iPad | Public | UnderstandingADiceRollWithVisionAndObjectDetection.zip |
| 195 | Using Core ML for semantic image segmentation | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | UsingCoreMLForSemanticImageSegmentation.zip |
Core Motion
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 196 | Getting motion-activity data from headphones | iOS, iPadOS, Mac Catalyst, Xcode | Public | GettingMotionActivityDataFromHeadphones.zip |
Core NFC
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 197 | Building an NFC Tag-Reader App | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingAnNFCTagReaderApp.zip |
| 198 | Creating NFC Tags from Your iPhone | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingNFCTagsFromYourIPhone.zip |
Core Spotlight
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 199 | Searching indexed content with natural language | iOS, iPadOS, Mac Catalyst, Xcode | Public | SearchingIndexedContentWithNaturalLanguage.zip |
CoreLocationUI
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 200 | Sharing Your Location to Find a Park | iOS, iPadOS, Mac Catalyst, Xcode | Public | SharingYourLocationToFindAPark.zip |
Create ML
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 201 | Creating a model from tabular data | Xcode | Public | CreatingAModelFromTabularData.zip |
| 202 | Detecting human actions in a live video feed | iOS, iPadOS, Mac Catalyst, Xcode | Public | DetectingHumanActionsInALiveVideoFeed.zip |
Create ML Components
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 203 | Counting human body action repetitions in a live video feed | iOS, iPadOS, Mac Catalyst, Xcode | Public | CountingHumanBodyActionRepetitionsInALiveVideoFeed.zip |
Declared Age Range
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 204 | Implementing age assurance and permissions | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingAgeAssuranceAndPermissions.zip |
DeviceDiscoveryExtension
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 205 | Discovering a third-party media-streaming device | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | DiscoveringAThirdPartyMediaStreamingDevice.zip |
Distributed
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 206 | TicTacFish: Implementing a game using distributed actors | iOS, iPadOS, Xcode | Public | TicTacFishImplementingAGameUsingDistributedActors.zip |
DockKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 207 | Controlling a DockKit accessory using your camera app | iOS, iPadOS, Mac Catalyst, Xcode | Public | ControllingADockKitAccessoryUsingYourCameraApp.zip |
DriverKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 208 | Communicating between a DriverKit extension and a client app | DriverKit, iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CommunicatingBetweenADriverKitExtensionAndAClientApp.zip |
Endpoint Security
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 209 | Monitoring System Events with Endpoint Security | macOS, Xcode | Public | MonitoringSystemEventsWithEndpointSecurity.zip |
EnergyKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 210 | Optimizing home electricity usage | iOS, iPadOS, Xcode | Public | OptimizingHomeElectricityUsage.zip |
Evaluations
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 211 | Book Tracker: Using Evaluations to evaluate an intelligent feature | iOS, iPadOS, Mac Catalyst, Xcode | Public | BookTrackerUsingEvaluationsToEvaluateAnIntelligentFeature.zip |
EventKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 212 | Accessing Calendar using EventKit and EventKitUI | iOS, iPadOS, Mac Catalyst, Xcode | Public | AccessingCalendarUsingEventKitAndEventKitUI.zip |
| 213 | Implementing a virtual conference extension | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ImplementingAVirtualConferenceExtension.zip |
| 214 | Managing location-based reminders | iOS, iPadOS, Mac Catalyst, Xcode | Public | ManagingLocationBasedReminders.zip |
Exposure Notification
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 215 | Building an App to Notify Users of COVID-19 Exposure | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingAnAppToNotifyUsersOfCOVID19Exposure.zip |
File Provider
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 216 | Synchronizing files using file provider extensions | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | SynchronizingFilesUsingFileProviderExtensions.zip |
FinanceKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 217 | Implementing a background delivery extension | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingABackgroundDeliveryExtension.zip |
Foundation
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 218 | Building a Localized Food-Ordering App | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | BuildingALocalizedFoodOrderingApp.zip |
| 219 | Building a resumable upload server with SwiftNIO | Not stated | Public | BuildingAResumableUploadServerWithSwiftNIO.zip |
| 220 | Continuing User Activities with Handoff | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ContinuingUserActivitiesWithHandoff.zip |
| 221 | Displaying Human-Friendly Content | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | DisplayingHumanFriendlyContent.zip |
| 222 | Increasing App Usage with Suggestions Based on User Activities | iOS, iPadOS, Mac Catalyst, Xcode | Public | IncreasingAppUsageWithSuggestionsBasedOnUserActivities.zip |
| 223 | Language Introspector | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | LanguageIntrospector.zip |
| 224 | Synchronizing App Preferences with iCloud | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | SynchronizingAppPreferencesWithICloud.zip |
| 225 | Using JSON with custom types | Xcode | Public | UsingJSONWithCustomTypes.zip |
Foundation Models
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 226 | Adding intelligent app features with generative models | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | AddingIntelligentAppFeaturesWithGenerativeModels.zip |
| 227 | Generate dynamic game content with guided generation and tools | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | GenerateDynamicGameContentWithGuidedGenerationAndTools.zip |
| 228 | Origami: Crafting a dynamic tutorial for Apple Intelligence | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | OrigamiCraftingADynamicTutorialForAppleIntelligence.zip |
Foveated Streaming
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 229 | Creating a foveated streaming client on visionOS | visionOS, Xcode | Public | CreatingAFoveatedStreamingClientOnVisionOS.zip |
FSKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 230 | Building a passthrough file system | macOS, Xcode | Public | BuildingAPassthroughFileSystem.zip |
Game Controller
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 231 | Supporting Game Controllers | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | SupportingGameControllers.zip |
GameKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 232 | Adding Recurring Leaderboards to Your Game | iOS, iPadOS, Mac Catalyst, Xcode | Public | AddingRecurringLeaderboardsToYourGame.zip |
| 233 | Creating real-time games | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingRealTimeGames.zip |
| 234 | Creating turn-based games | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingTurnBasedGames.zip |
Group Activities
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 235 | Building a guessing game for visionOS | visionOS, Xcode | Public | BuildingAGuessingGameForVisionOS.zip |
| 236 | Creating a collaborative photo gallery with SharePlay | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | CreatingACollaborativePhotoGalleryWithSharePlay.zip |
GroupActivities
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 237 | Drawing content in a group session | iOS, iPadOS, Xcode | Public | DrawingContentInAGroupSession.zip |
HealthKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 238 | Accessing a User’s Clinical Records | iOS, iPadOS, Mac Catalyst, Xcode | Public | AccessingAUsersClinicalRecords.zip |
| 239 | Accessing Data from a SMART Health Card | iOS, iPadOS, Mac Catalyst, Xcode | Public | AccessingDataFromASMARTHealthCard.zip |
| 240 | Build a workout app for Apple Watch | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | BuildAWorkoutAppForAppleWatch.zip |
| 241 | Building a multidevice workout app | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | BuildingAMultideviceWorkoutApp.zip |
| 242 | Building a workout app for iPhone and iPad | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingAWorkoutAppForIPhoneAndIPad.zip |
| 243 | Creating a Mobility Health App | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingAMobilityHealthApp.zip |
| 244 | Logging symptoms associated with a medication | iOS, iPadOS, Mac Catalyst, Xcode | Public | LoggingSymptomsAssociatedWithAMedication.zip |
| 245 | Reading and Writing HealthKit Series Data | iOS, iPadOS, Mac Catalyst, Xcode | Public | ReadingAndWritingHealthKitSeriesData.zip |
| 246 | Tracking heart rate zones for workouts | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | TrackingHeartRateZonesForWorkouts.zip |
| 247 | Visualizing HealthKit State of Mind in visionOS | iOS, iPadOS, Mac Catalyst, visionOS, Xcode | Public | VisualizingHealthKitStateOfMindInVisionOS.zip |
HIDDriverKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 248 | Handling Keyboard Events from a Human Interface Device | DriverKit, macOS, Xcode | Public | HandlingKeyboardEventsFromAHumanInterfaceDevice.zip |
| 249 | Handling Stylus Input from a Human Interface Device | DriverKit, macOS, Xcode | Public | HandlingStylusInputFromAHumanInterfaceDevice.zip |
HomeKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 250 | Configuring a home automation device | iOS, iPadOS, Mac Catalyst, Xcode | Public | ConfiguringAHomeAutomationDevice.zip |
| 251 | Interacting with a home automation network | iOS, iPadOS, Mac Catalyst, Xcode | Public | InteractingWithAHomeAutomationNetwork.zip |
Image I/O
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 252 | Writing spatial photos | macOS, Xcode | Public | WritingSpatialPhotos.zip |
Immersive Media Support
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 253 | Authoring Apple Immersive Video | macOS, Xcode | Public | AuthoringAppleImmersiveVideo.zip |
| 254 | Processing Apple Immersive Video with foveation | macOS, Xcode | Public | ProcessingAppleImmersiveVideoWithFoveation.zip |
Intents
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 255 | Adding Shortcuts for Wind Down | iOS, iPadOS, Mac Catalyst, Xcode | Public | AddingShortcutsForWindDown.zip |
| 256 | Booking Rides with SiriKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | BookingRidesWithSiriKit.zip |
| 257 | Handling Payment Requests with SiriKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | HandlingPaymentRequestsWithSiriKit.zip |
| 258 | Handling Workout Requests with SiriKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | HandlingWorkoutRequestsWithSiriKit.zip |
| 259 | Integrating Your App with Siri Event Suggestions | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingYourAppWithSiriEventSuggestions.zip |
| 260 | Managing Audio with SiriKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | ManagingAudioWithSiriKit.zip |
| 261 | Providing Hands-Free App Control with Intents | iOS, iPadOS, Mac Catalyst, Xcode | Public | ProvidingHandsFreeAppControlWithIntents.zip |
| 262 | Soup Chef with App Intents: Migrating custom intents | iOS, iPadOS, Mac Catalyst, Xcode | Public | SoupChefWithAppIntentsMigratingCustomIntents.zip |
| 263 | Soup Chef: Accelerating App Interactions with Shortcuts | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | SoupChefAcceleratingAppInteractionsWithShortcuts.zip |
IOKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 264 | Communicating with a Modem on a Serial Port | macOS, Xcode | Public | CommunicatingWithAModemOnASerialPort.zip |
Kernel
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 265 | Building a Simple USB Driver | macOS, Xcode | Public | BuildingASimpleUSBDriver.zip |
Local Authentication
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 266 | Accessing Keychain Items with Face ID or Touch ID | iOS, iPadOS, Mac Catalyst, Xcode | Public | AccessingKeychainItemsWithFaceIDOrTouchID.zip |
| 267 | Logging a User into Your App with Face ID or Touch ID | iOS, iPadOS, Mac Catalyst, Xcode | Public | LoggingAUserIntoYourAppWithFaceIDOrTouchID.zip |
MailKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 268 | Build Mail App Extensions | macOS, Xcode | Public | BuildMailAppExtensions.zip |
MapKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 269 | Annotating a Map with Custom Data | iOS, iPadOS, Mac Catalyst, Xcode | Public | AnnotatingAMapWithCustomData.zip |
| 270 | Decluttering a Map with MapKit Annotation Clustering | iOS, iPadOS, Mac Catalyst, Xcode | Public | DeclutteringAMapWithMapKitAnnotationClustering.zip |
| 271 | Displaying an Indoor Map | iOS, iPadOS, Mac Catalyst, Xcode | Public | DisplayingAnIndoorMap.zip |
| 272 | Displaying an updating path of a user’s location history | iOS, iPadOS, Mac Catalyst, Xcode | Public | DisplayingAnUpdatingPathOfAUsersLocationHistory.zip |
| 273 | Displaying overlays on a map | iOS, iPadOS, Mac Catalyst, Xcode | Public | DisplayingOverlaysOnAMap.zip |
| 274 | Explore a location with a highly detailed map and Look Around | iOS, iPadOS, Xcode | Public | ExploreALocationWithAHighlyDetailedMapAndLookAround.zip |
| 275 | Interacting with nearby points of interest | iOS, iPadOS, Mac Catalyst, visionOS, Xcode | Public | InteractingWithNearbyPointsOfInterest.zip |
| 276 | Optimizing Map Views with Filtering and Camera Constraints | iOS, iPadOS, Xcode | Public | OptimizingMapViewsWithFilteringAndCameraConstraints.zip |
| 277 | Searching, displaying, and navigating to places | iOS, iPadOS, Mac Catalyst, Xcode | Public | SearchingDisplayingAndNavigatingToPlaces.zip |
MapKit JS
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 278 | Displaying Indoor Maps with MapKit JS | Not stated | Public | DisplayingIndoorMapsWithMapKitJS.zip |
Media Accessibility
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 279 | Responding to changes in the flashing lights setting | iOS, iPadOS, Mac Catalyst, Xcode | Public | RespondingToChangesInTheFlashingLightsSetting.zip |
Media Player
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 280 | Becoming a now playable app | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | BecomingANowPlayableApp.zip |
Messages
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 281 | Creating a Sticker App with a Custom Layout | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingAStickerAppWithACustomLayout.zip |
| 282 | IceCreamBuilder: Building an iMessage Extension | iOS, iPadOS, Mac Catalyst, Xcode | Public | IceCreamBuilderBuildingAnIMessageExtension.zip |
Metal
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 283 | Accelerating ray tracing and motion blur using Metal | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AcceleratingRayTracingAndMotionBlurUsingMetal.zip |
| 284 | Accelerating ray tracing using Metal | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AcceleratingRayTracingUsingMetal.zip |
| 285 | Achieving smooth frame rates with a Metal display link | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | AchievingSmoothFrameRatesWithMetalsDisplayLink.zip |
| 286 | Adjusting the level of detail using Metal mesh shaders | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AdjustingTheLevelOfDetailUsingMetalMeshShaders.zip |
| 287 | Calculating primitive visibility using depth testing | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CalculatingPrimitiveVisibilityUsingDepthTesting.zip |
| 288 | Capturing Metal commands programmatically | macOS, Xcode | Public | CapturingMetalCommandsProgrammatically.zip |
| 289 | Combining blit and compute operations in a single pass | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | CombiningBlitAndComputeOperationsInASinglePass.zip |
| 290 | Control the ray tracing process using intersection queries | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ControlTheRayTracingProcessUsingIntersectionQueries.zip |
| 291 | Creating a 3D application with hydra rendering | Not stated | Public | CreatingA3DApplicationWithHydraRendering.zip |
| 292 | Creating a custom Metal view | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | CreatingACustomMetalView.zip |
| 293 | Creating a Metal dynamic library | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CreatingAMetalDynamicLibrary.zip |
| 294 | Creating and sampling textures | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | CreatingAndSamplingTextures.zip |
| 295 | Culling occluded geometry using the visibility result buffer | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | CullingOccludedGeometryUsingTheVisibilityResultBuffer.zip |
| 296 | Customizing a PyTorch operation | Not stated | Public | CustomizingAPyTorchOperation.zip |
| 297 | Customizing a TensorFlow operation | Not stated | Public | CustomizingATensorFlowOperation.zip |
| 298 | Customizing render pass setup | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | CustomizingRenderPassSetup.zip |
| 299 | Customizing shaders using function pointers and stitching | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CustomizingShadersUsingFunctionPointersAndStitching.zip |
| 300 | Drawing a triangle with Metal 4 | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | DrawingATriangleWithMetal4.zip |
| 301 | Encoding argument buffers on the GPU | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | EncodingArgumentBuffersOnTheGPU.zip |
| 302 | Encoding indirect command buffers on the CPU | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | EncodingIndirectCommandBuffersOnTheCPU.zip |
| 303 | Encoding indirect command buffers on the GPU | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | EncodingIndirectCommandBuffersOnTheGPU.zip |
| 304 | Implementing a multistage image filter using heaps and events | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | ImplementingAMultistageImageFilterUsingHeapsAndEvents.zip |
| 305 | Implementing a multistage image filter using heaps and fences | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | ImplementingAMultistageImageFilterUsingHeapsAndFences.zip |
| 306 | Implementing order-independent transparency with image blocks | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ImplementingOrderIndependentTransparencyWithImageBlocks.zip |
| 307 | Improving edge-rendering quality with multisample antialiasing (MSAA) | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | ImprovingEdgeRenderingQualityWithMultisampleAntialiasingMSAA.zip |
| 308 | Loading textures and models using Metal fast resource loading | macOS, Xcode | Public | LoadingTexturesAndModelsUsingMetalFastResourceLoading.zip |
| 309 | Managing groups of resources with argument buffers | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ManagingGroupsOfResourcesWithArgumentBuffers.zip |
| 310 | Migrating OpenGL code to Metal | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | MigratingOpenGLCodeToMetal.zip |
| 311 | Mixing Metal and OpenGL rendering in a view | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | MixingMetalAndOpenGLRenderingInAView.zip |
| 312 | Modern rendering with Metal | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ModernRenderingWithMetal.zip |
| 313 | Performing calculations on a GPU | macOS, Xcode | Public | PerformingCalculationsOnAGPU.zip |
| 314 | Processing HDR images with Metal | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | ProcessingHDRImagesWithMetal.zip |
| 315 | Reading pixel data from a drawable texture | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ReadingPixelDataFromADrawableTexture.zip |
| 316 | Rendering a curve primitive in a ray tracing scene | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | RenderingACurvePrimitiveInARayTracingScene.zip |
| 317 | Rendering a scene with deferred lighting in C++ | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | RenderingASceneWithDeferredLightingInC++.zip |
| 318 | Rendering a scene with deferred lighting in Objective-C | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | RenderingASceneWithDeferredLightingInObjectiveC.zip |
| 319 | Rendering a scene with deferred lighting in Swift | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | RenderingASceneWithDeferredLightingInSwift.zip |
| 320 | Rendering a scene with forward plus lighting using tile shaders | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | RenderingASceneWithForwardPlusLightingUsingTileShaders.zip |
| 321 | Rendering reflections in real time using ray tracing | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | RenderingReflectionsInRealTimeUsingRayTracing.zip |
| 322 | Rendering reflections with fewer render passes | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | RenderingReflectionsWithFewerRenderPasses.zip |
| 323 | Rendering terrain dynamically with argument buffers | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | RenderingTerrainDynamicallyWithArgumentBuffers.zip |
| 324 | Running a machine learning model on the GPU timeline | macOS, Xcode | Public | RunningAMachineLearningModelOnTheGPUTimeline.zip |
| 325 | Running inline ML operations in a shader with Metal 4 | macOS, Xcode | Public | RunningInlineMLOperationsInAShaderWithMetal4.zip |
| 326 | Selecting device objects for compute processing | macOS, Xcode | Public | SelectingDeviceObjectsForComputeProcessing.zip |
| 327 | Selecting device objects for graphics rendering | macOS, Xcode | Public | SelectingDeviceObjectsForGraphicsRendering.zip |
| 328 | Streaming large images with Metal sparse textures | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | StreamingLargeImagesWithMetalSparseTextures.zip |
| 329 | Supporting Simulator in a Metal app | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | SupportingSimulatorInAMetalApp.zip |
| 330 | Synchronizing CPU and GPU work | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | SynchronizingCPUAndGPUWork.zip |
| 331 | Training a neural network to render irradiance in real time | macOS, Xcode | Public | TrainingANeuralNetworkToRenderIrradianceInRealTime.zip |
| 332 | Using argument buffers with resource heaps | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | UsingArgumentBuffersWithResourceHeaps.zip |
| 333 | Using function specialization to build pipeline variants | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | UsingFunctionSpecializationToBuildPipelineVariants.zip |
| 334 | Using Metal to draw a view’s contents | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | UsingMetalToDrawAViewsContents.zip |
Metal Performance Shaders
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 335 | Training a Neural Network with Metal Performance Shaders | macOS, Xcode | Public | TrainingANeuralNetworkWithMetalPerformanceShaders.zip |
Metal Performance Shaders Graph
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 336 | Adding custom functions to a shader graph | iOS, iPadOS, Mac Catalyst, Xcode | Public | AddingCustomFunctionsToAShaderGraph.zip |
| 337 | Filtering images with MPSGraph FFT operations | macOS, Xcode | Public | FilteringImagesWithMPSGraphFFTOperations.zip |
| 338 | Training a neural network using MPSGraph | iOS, iPadOS, Mac Catalyst, Xcode | Public | TrainingANeuralNetworkUsingMPSGraph.zip |
MetalFX
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 339 | Applying temporal antialiasing and upscaling using MetalFX | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ApplyingTemporalAntialiasingAndUpscalingUsingMetalFX.zip |
MetricKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 340 | Track performance by app state using MetricKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | TrackPerformanceByAppStateUsingMetricKit.zip |
MIDIDriverKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 341 | Creating a MIDI device driver | DriverKit, iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CreatingAMIDIDeviceDriver.zip |
Music Understanding
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 342 | Creating visuals with Music Understanding analysis results | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | CreatingVisualsWithMusicUnderstandingAnalysisResults.zip |
MusicKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 343 | Explore more content with MusicKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | ExploreMoreContentWithMusicKit.zip |
| 344 | Integrating MusicKit into your app | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingMusicKitIntoYourApp.zip |
| 345 | Using MusicKit to integrate with Apple Music | iOS, iPadOS, Mac Catalyst, Xcode | Public | UsingMusicKitToIntegrateWithAppleMusic.zip |
Nearby Interaction
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 346 | Finding devices with precision | iOS, iPadOS, Mac Catalyst, Xcode | Public | FindingDevicesWithPrecision.zip |
| 347 | Implementing interactions between users in close proximity | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingInteractionsBetweenUsersInCloseProximity.zip |
| 348 | Implementing proximity-based interactions between a phone and watch | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | ImplementingProximityBasedInteractionsBetweenAPhoneAndWatch.zip |
| 349 | Implementing spatial interactions with third-party accessories | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingSpatialInteractionsWithThirdPartyAccessories.zip |
Network
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 350 | Building a custom peer-to-peer protocol | iOS, iPadOS, Mac Catalyst, tvOS, watchOS, Xcode | Public | BuildingACustomPeerToPeerProtocol.zip |
| 351 | Collecting Network Connection Metrics | iOS, iPadOS, Mac Catalyst, Xcode | Public | CollectingNetworkConnectionMetrics.zip |
| 352 | Implementing netcat with Network Framework | macOS, Xcode | Public | ImplementingWithNetworkFramework.zip |
Network Extension
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 353 | Configuring a Wi-Fi accessory to join a network | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ConfiguringAWiFiAccessoryToJoinANetwork.zip |
| 354 | Filtering Network Traffic | macOS, Xcode | Public | FilteringNetworkTraffic.zip |
| 355 | Filtering traffic by URL | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | FilteringTrafficByURL.zip (shared by 3 pages) |
| 356 | Receiving Voice and Text Communications on a Local Network | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ReceivingVoiceAndTextCommunicationsOnALocalNetwork.zip |
| 357 | Setting up a PIR server for URL filtering | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | FilteringTrafficByURL.zip (shared by 3 pages) |
| 358 | Using the Bloom filter tool to configure a URL filter | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | FilteringTrafficByURL.zip (shared by 3 pages) |
PassKit (Apple Pay and Wallet)
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 359 | Implementing Wallet Extensions | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingWalletExtensions.zip |
| 360 | Offering Apple Pay in Your App | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | OfferingApplePayInYourApp.zip |
PCIDriverKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 361 | Connecting a network driver | DriverKit, macOS, Xcode | Public | ConnectingANetworkDriver.zip |
PDFKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 362 | Custom Graphics | iOS, iPadOS, Mac Catalyst, Xcode | Public | CustomGraphics.zip |
| 363 | PDF Widgets | iOS, iPadOS, Mac Catalyst, Xcode | Public | PDFWidgets.zip |
PencilKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 364 | Building a handwriting recognition experience with PencilKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingAHandwritingRecognitionExperienceWithPencilKit.zip |
| 365 | Configuring the PencilKit tool picker | iOS, iPadOS, Mac Catalyst, visionOS, Xcode | Public | ConfiguringThePencilKitToolPicker.zip |
| 366 | Customizing Scribble with Interactions | iOS, iPadOS, Mac Catalyst, Xcode | Public | CustomizingScribbleWithInteractions.zip |
| 367 | Drawing with PencilKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | DrawingWithPencilKit.zip |
| 368 | Inspecting, Modifying, and Constructing PencilKit Drawings | iOS, iPadOS, Mac Catalyst, Xcode | Public | InspectingModifyingAndConstructingPencilKitDrawings.zip |
PhotoKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 369 | Browsing and Modifying Photo Albums | iOS, iPadOS, Mac Catalyst, tvOS, Xcode | Public | BrowsingAndModifyingPhotoAlbums.zip |
PhotosUI
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 370 | Bringing Photos picker to your SwiftUI app | iOS, iPadOS, Mac Catalyst, macOS, watchOS, Xcode | Public | BringingPhotosPickerToYourSwiftUIApp.zip |
| 371 | Creating a Slideshow Project Extension for Photos | macOS, Xcode | Public | CreatingASlideshowProjectExtensionForPhotos.zip |
| 372 | Implementing an inline Photos picker | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingAnInlinePhotosPicker.zip |
| 373 | Selecting Photos and Videos in iOS | iOS, iPadOS, Mac Catalyst, Xcode | Public | SelectingPhotosAndVideosInIOS.zip |
realitykit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 374 | Altering RealityKit Rendering with Shader Functions | iOS, iPadOS, Xcode | Public | AlteringRealityKitRenderingWithShaderFunctions.zip |
| 375 | Controlling Entity Collisions in RealityKit | iOS, iPadOS, Xcode | Public | ControllingEntityCollisionsInRealityKit.zip |
| 376 | WWDC21 Challenge: Framework Freestyle | iOS, iPadOS, Xcode | Public | WWDC21ChallengeFrameworkFreestyle.zip |
RealityKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 377 | Animating entity rotation with a system | visionOS, Xcode | Public | AnimatingEntityRotationWithASystem.zip |
| 378 | Bringing your SceneKit projects to RealityKit | iOS, iPadOS, Mac Catalyst, macOS, tvOS, visionOS, Xcode | Public | BringingYourSceneKitProjectsToRealityKit.zip |
| 379 | Building an immersive experience with RealityKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingAGameWithSceneUnderstanding.zip |
| 380 | Building an object reconstruction app | macOS, Xcode | Public | BuildingAnObjectReconstructionApp.zip |
| 381 | Combining 2D and 3D views in an immersive app | visionOS, Xcode | Public | Combining2DAnd3DViewsInAnImmersiveApp.zip |
| 382 | Composing interactive 3D content with RealityKit and Reality Composer Pro | visionOS, Xcode | Public | ComposingInteractive3DContentWithRealityKitAndRealityComposerPro.zip |
| 383 | Configuring Collision in RealityKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | ConfiguringCollisionInRealityKit.zip |
| 384 | Construct an immersive environment for visionOS | visionOS, Xcode | Public | ConstructAnImmersiveEnvironmentForVisionOS.zip |
| 385 | Creating a game with scene understanding | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingAGameWithSceneUnderstanding.zip |
| 386 | Creating a photogrammetry command-line app | macOS, Xcode | Public | CreatingAPhotogrammetryCommandLineApp.zip |
| 387 | Creating a Spaceship game | iOS, iPadOS, Mac Catalyst, visionOS, Xcode | Public | CreatingASpaceshipGame.zip |
| 388 | Creating a spatial drawing app with RealityKit | visionOS, Xcode | Public | CreatingASpatialDrawingAppWithRealityKit.zip |
| 389 | Creating an App for Face-Painting in AR | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingAnAppForFacePaintingInAR.zip |
| 390 | Displaying low-latency connected video | visionOS, Xcode | Public | DisplayingLowLatencyConnectedVideo.zip |
| 391 | Docking a video player in an immersive scene | visionOS, Xcode | Public | DockingAVideoPlayerInAnImmersiveScene.zip |
| 392 | Generating interactive geometry with RealityKit | macOS, visionOS, Xcode | Public | GeneratingInteractiveGeometryWithRealityKit.zip |
| 393 | Implementing special rendering effects with RealityKit postprocessing | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingSpecialRenderingEffectsWithRealityKitPostprocessing.zip |
| 394 | Integrating virtual objects with your environment | visionOS, Xcode | Public | TinyTreasureTrove.zip |
| 395 | Manipulating models with RealityKit | visionOS, Xcode | Public | ManipulatingModelsWithRealityKit.zip |
| 396 | Mixing spatial music | visionOS, Xcode | Public | MixingSpatialMusic.zip |
| 397 | Presenting an artist’s scene | visionOS, Xcode | Public | PresentingAnArtistsScene.zip |
| 398 | Presenting images in RealityKit | visionOS, Xcode | Public | PresentingImagesInRealityKit.zip |
| 399 | Rendering a windowed game in stereo | visionOS, Xcode | Public | RenderingAWindowedGameInStereo.zip |
| 400 | Rendering stereoscopic video with RealityKit | visionOS, Xcode | Public | RenderingStereoscopicVideoWithRealityKit.zip |
| 401 | Responding to gestures on an entity | visionOS, Xcode | Public | RespondingToGesturesOnAnEntity.zip |
| 402 | Scanning objects using Object Capture | iOS, iPadOS, Mac Catalyst, Xcode | Public | ScanningObjectsUsingObjectCapture.zip |
| 403 | Simulating particles in your visionOS app | visionOS, Xcode | Public | SimulatingParticlesInYourVisionOSApp.zip |
| 404 | Simulating physics joints in your RealityKit app | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | SimulatingPhysicsJointsInYourRealityKitApp.zip |
| 405 | Simulating physics with collisions in your visionOS app | visionOS, Xcode | Public | SimulatingPhysicsWithCollisionsInYourVisionOSApp.zip |
| 406 | Tracking a handheld accessory as a virtual sculpting tool | visionOS, Xcode | Public | SpatialSculptingTrackAHandHeldAccessoryAsAVirtualSculptingTool.zip (shared by 2 pages) |
| 407 | Transforming entities between RealityKit coordinate spaces | visionOS, Xcode | Public | TransformingEntitiesBetweenRealityKitCoordinateSpaces.zip |
| 408 | Transforming RealityKit entities using gestures | visionOS, Xcode | Public | TransformingRealityKitEntitiesUsingGestures.zip |
| 409 | Using object capture assets in RealityKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | UsingObjectCaptureAssetsInRealityKit.zip |
ReplayKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 410 | Recording and Streaming Your macOS App | macOS, Xcode | Public | RecordingAndStreamingYourMacOSApp.zip |
RoomPlan
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 411 | Create a 3D model of an interior room by guiding the user through an AR experience | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreateA3DModelOfAnInteriorRoomByGuidingTheUserThroughAnARExperience.zip |
| 412 | Merging multiple scans into a single structure | iOS, iPadOS, Mac Catalyst, Xcode | Public | MergingMultipleScansIntoASingleStructure.zip |
| 413 | Providing custom models for captured rooms and structure exports | iOS, iPadOS, Mac Catalyst, Xcode | Public | ProvidingCustomModelsForCapturedRoomsAndStructureExports.zip |
Safari Services
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 414 | Adopting Declarative Content Blocking in Safari Web Extensions | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AdoptingDeclarativeContentBlockingInSafariWebExtensions.zip |
| 415 | Adopting New Safari Web Extension APIs | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AdoptingNewSafariWebExtensionAPIs.zip |
| 416 | Building and testing a Safari web extension | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | BuildingAndTestingASafariWebExtension.zip |
| 417 | Creating Safari Web Inspector extensions | macOS, Xcode | Public | CreatingSafariWebInspectorExtensions.zip |
| 418 | Developing a Safari Web Extension | macOS, Xcode | Public | DevelopingASafariWebExtension.zip |
| 419 | Messaging a Web Extension’s Native App | macOS, Xcode | Public | MessagingAWebExtensionsNativeApp.zip |
| 420 | Modernizing Safari Web Extensions | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ModernizingSafariWebExtensions.zip |
| 421 | Previewing Metadata using Open Graph | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | PreviewingMetadataUsingOpenGraph.zip |
SceneKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 422 | Postprocessing a Scene With Custom Symbols | iOS, iPadOS, Mac Catalyst, Xcode | Public | PostprocessingASceneWithCustomSymbols.zip |
ScreenCaptureKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 423 | Capturing screen content in macOS | macOS, Xcode | Public | CapturingScreenContentInMacOS.zip |
| 424 | Capturing screen content on iOS | iOS, iPadOS, Mac Catalyst, Xcode | Public | CapturingScreenContentInIOS.zip |
Security
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 425 | Constraining a tool’s launch environment | macOS, Xcode | Public | ConstrainingAToolsLaunchEnvironment.zip |
Service Management
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 426 | Updating your app package installer to use the new Service Management API | macOS, Xcode | Public | UpdatingYourAppPackageInstallerToUseTheNewServiceManagementAPI.zip |
ShazamKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 427 | Building a Custom Catalog and Matching Audio | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingACustomCatalogAndMatchingAudio.zip |
| 428 | ShazamKit Dance Finder with Managed Session | iOS, iPadOS, Mac Catalyst, Xcode | Public | ShazamKitDanceFinderWithManagedSession.zip |
Sound Analysis
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 429 | Classifying Live Audio Input with a Built-in Sound Classifier | iOS, iPadOS, Mac Catalyst, Xcode | Public | ClassifyingLiveAudioInputWithABuiltInSoundClassifier.zip |
Spatial Preview
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 430 | Working with content from your Mac app using Spatial Preview | macOS, Xcode | Public | WorkingWithContentFromYourMacAppUsingSpatialPreview.zip |
Speech
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 431 | Bringing advanced speech-to-text capabilities to your app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | BringingAdvancedSpeechToTextCapabilitiesToYourApp.zip |
| 432 | Recognizing speech in live audio | iOS, iPadOS, Mac Catalyst, Xcode | Public | RecognizingSpeechInLiveAudio.zip |
StoreKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 433 | Determining service entitlement on the server | Not stated | Public | DeterminingServiceEntitlementOnTheServer.zip |
| 434 | Generating a Promotional Offer Signature on the Server | Not stated | Public | GeneratingAPromotionalOfferSignatureOnTheServer.zip |
| 435 | Implementing a store in your app using the StoreKit API | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingAStoreInYourAppUsingTheStoreKitAPI.zip |
| 436 | Offering media for sale in your app | iOS, iPadOS, Mac Catalyst, Xcode | Public | OfferingMediaForSaleInYourApp.zip |
| 437 | Offering, completing, and restoring in-app purchases | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | OfferingCompletingAndRestoringInAppPurchases.zip |
| 438 | Requesting App Store reviews | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | RequestingAppStoreReviews.zip |
| 439 | Understanding StoreKit workflows | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | UnderstandingStoreKitWorkflows.zip |
StoreKit Test
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 440 | Testing and validating ad impression signatures and postbacks for SKAdNetwork | iOS, iPadOS, Mac Catalyst, Xcode | Public | TestingAndValidatingAdImpressionSignaturesAndPostbacksForSKAdNetwork.zip |
Swift
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 441 | Calling APIs Across Language Boundaries | macOS, Xcode | Public | CallingAPIsAcrossLanguageBoundaries.zip |
| 442 | Code-along: Elevating an app with Swift concurrency | iOS, iPadOS, Mac Catalyst, Xcode | Public | CodeAlongElevatingAnAppWithSwiftConcurrency.zip |
| 443 | Mixing Languages in an Xcode project | macOS, Xcode | Public | MixingLanguagesInAnXcodeProject.zip |
| 444 | Updating an app to use strict concurrency | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | UpdatingAnAppToUseStrictConcurrency.zip |
swift
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 445 | Updating an App to Use Swift Concurrency | iOS, iPadOS, Xcode, watchOS | Public | UpdatingAnAppToUseSwiftConcurrency.zip |
Swift Charts
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 446 | Creating a data visualization dashboard with Swift Charts | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | CreatingADataVisualizationDashboardWithSwiftCharts.zip |
| 447 | Visualizing your app’s data | iOS, iPadOS, Mac Catalyst, Xcode | Public | VisualizingYourAppsData.zip |
SwiftData
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 448 | Adding and editing persistent data in your app | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | SwiftDataAnimals.zip (shared by 3 pages) |
| 449 | Defining data relationships with enumerations and model classes | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | SwiftDataAnimals.zip (shared by 3 pages) |
| 450 | Deleting persistent data from your app | iOS, iPadOS, Mac Catalyst, macOS, tvOS, Xcode | Public | SwiftDataAnimals.zip (shared by 3 pages) |
| 451 | Filtering and sorting persistent data | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | SwiftDataLocalDataCacheSample.zip (shared by 2 pages) |
| 452 | Maintaining a local copy of server data | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | SwiftDataLocalDataCacheSample.zip (shared by 2 pages) |
SwiftUI
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 453 | Add rich graphics to your SwiftUI app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AddRichGraphicsToYourSwiftUIApp.zip |
| 454 | Adopting drag and drop using SwiftUI | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | AdoptingDragAndDropUsingSwiftUI.zip |
| 455 | Backyard Birds: Building an app with SwiftData and widgets | iOS, iPadOS, Mac Catalyst, macOS, watchOS, Xcode | Public | BackyardBirdsBuildingAnAppWithSwiftDataAndWidgets.zip |
| 456 | Bringing multiple windows to your SwiftUI app | macOS, Xcode | Public | BringingMultipleWindowsToYourSwiftUIApp.zip |
| 457 | Bringing robust navigation structure to your SwiftUI app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | BringingRobustNavigationStructureToYourSwiftUIApp.zip |
| 458 | Building a document-based app using SwiftData | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | BuildingADocumentBasedAppUsingSwiftData.zip |
| 459 | Building a document-based app with SwiftUI | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | BuildingADocumentBasedAppWithSwiftUI.zip |
| 460 | Building a great Mac app with SwiftUI | macOS, Xcode | Public | BuildingAGreatMacAppWithSwiftUI.zip |
| 461 | Building rich SwiftUI text experiences | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingRichSwiftUITextExperiences.zip |
| 462 | Composing advanced graphics effects with SwiftUI | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | ComposingAdvancedGraphicsEffectsWithSwiftUI.zip |
| 463 | Composing custom layouts with SwiftUI | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ComposingCustomLayoutsWithSwiftUI.zip |
| 464 | Controlling the timing and movements of your animations | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | PhaseAndKeyframeAnimationSample.zip |
| 465 | Creating a tvOS media catalog app in SwiftUI | tvOS, Xcode | Public | CreatingATvOSMediaCatalogAppInSwiftUI.zip |
| 466 | Creating accessible views | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CreatingAccessibleViews.zip |
| 467 | Creating custom container views | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingCustomContainerViews.zip |
| 468 | Creating visual effects with SwiftUI | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingVisualEffectsWithSwiftUI.zip |
| 469 | Customizing window styles and state-restoration behavior in macOS | macOS | Public | DestinationVideo.zip |
| 470 | Enhancing your app’s content with tab navigation | iOS, iPadOS, Mac Catalyst, macOS, tvOS, visionOS | Public | DestinationVideo.zip (shared by 4 pages) |
| 471 | Focus Cookbook: Supporting and enhancing focus-driven interactions in your SwiftUI app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | FocusCookbook.zip |
| 472 | Food Truck: Building a SwiftUI multiplatform app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | FoodTruckBuildingASwiftUIMultiplatformApp.zip |
| 473 | Landmarks: Applying a background extension effect | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | LandmarksBuildingAnAppWithLiquidGlass.zip (shared by 5 pages) |
| 474 | Landmarks: Building an app with Liquid Glass | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | LandmarksBuildingAnAppWithLiquidGlass.zip (shared by 5 pages) |
| 475 | Landmarks: Displaying custom activity badges | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | LandmarksBuildingAnAppWithLiquidGlass.zip (shared by 5 pages) |
| 476 | Landmarks: Extending horizontal scrolling under a sidebar or inspector | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | LandmarksBuildingAnAppWithLiquidGlass.zip (shared by 5 pages) |
| 477 | Landmarks: Refining the system provided Liquid Glass effect in toolbars | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | LandmarksBuildingAnAppWithLiquidGlass.zip (shared by 5 pages) |
| 478 | Loading and displaying a large data feed | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | LoadingAndDisplayingALargeDataFeed.zip |
| 479 | Making a card game with drag, drop, and reordering in SwiftUI | macOS, Xcode | Public | MakingACardGameWithDragDropAndReorderingInSwiftUI.zip |
| 480 | Managing model data in your app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ManagingModelDataSample.zip |
| 481 | Migrating from the Observable Object protocol to the Observable macro | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ObservationSample.zip |
| 482 | Monitoring data changes in your app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ObservableObjectSample.zip |
| 483 | Restoring your app’s state with SwiftUI | iOS, iPadOS, Mac Catalyst, Xcode | Public | RestoringYourAppsStateWithSwiftUI.zip |
| 484 | Wishlist: Planning travel in a SwiftUI app | iOS, iPadOS, Mac Catalyst, Xcode | Public | WishlistPlanningTravelInASwiftUIApp.zip |
TabletopKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 485 | Creating tabletop games | visionOS, Xcode | Public | CreatingTabletopGames.zip |
| 486 | Implementing playing card overlap and physical characteristics | visionOS, Xcode | Public | ImplementingPlayingCardOverlapAndPhysicalCharacteristics.zip |
| 487 | Simulating dice rolls as a component for your game | visionOS, Xcode | Public | SimulatingDiceRollsAsAComponentForYourGame.zip |
| 488 | Synchronizing group gameplay with TabletopKit | visionOS, Xcode | Public | SynchronizingGroupGameplayWithTabletopKit.zip |
TipKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 489 | Highlighting app features with TipKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | HighlightingAppFeaturesWithTipKit.zip |
Translation
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 490 | Translating text within your app | iOS, iPadOS, macOS, Xcode | Public | TranslatingTextWithinYourApp.zip |
TV Services
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 491 | Building a Full Screen Top Shelf Extension | tvOS, Xcode | Public | BuildingAFullScreenTopShelfExtension.zip |
| 492 | Mapping Apple TV users to app profiles | tvOS, Xcode | Public | MappingAppleTVUsersToAppProfiles.zip |
| 493 | Supporting Multiple Users in Your tvOS App | tvOS, Xcode | Public | SupportingMultipleUsersInYourTvOSApp.zip |
TVML
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 494 | Displaying a Product or Bundle in a Full-Page Template | tvOS, Xcode | Public | DisplayingAProductOrBundleInAFullPageTemplate.zip |
TVMLKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 495 | Implementing a Hybrid TV App with TVMLKit | tvOS, Xcode | Public | ImplementingAHybridTVAppWithTVMLKit.zip |
TVMLKit JS
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 496 | Binding JSON data to TVML documents | tvOS, Xcode | Public | BindingJSONDataToTVMLDocuments.zip |
| 497 | Creating a Client-Server TVML App | tvOS, Xcode | Public | CreatingAClientServerTVMLApp.zip |
| 498 | Playing Media in a Client-Server App | tvOS, Xcode | Public | PlayingMediaInAClientServerApp.zip |
| 499 | Responding to User Interaction | tvOS, Xcode | Public | RespondingToUserInteraction.zip |
TVUIKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 500 | Creating immersive experiences using a full-screen layout | tvOS, Xcode | Public | CreatingImmersiveExperiencesUsingAFullScreenLayout.zip |
UIKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 501 | Add Home Screen quick actions | iOS, iPadOS, Mac Catalyst, Xcode | Public | AddHomeScreenQuickActions.zip |
| 502 | Adding context menus in your app | iOS, iPadOS, Mac Catalyst, Xcode | Public | AddingContextMenusInYourApp.zip |
| 503 | Adding hardware keyboard support to your app | iOS, iPadOS, Mac Catalyst, Xcode | Public | AddingHardwareKeyboardSupportToYourApp.zip |
| 504 | Adding menus and shortcuts to the menu bar and user interface | iOS, iPadOS, Mac Catalyst, Xcode | Public | AddingMenusAndShortcutsToTheMenuBarAndUserInterface.zip |
| 505 | Adjusting your layout with keyboard layout guide | iOS, iPadOS, Mac Catalyst, Xcode | Public | AdjustingYourLayoutWithKeyboardLayoutGuide.zip |
| 506 | Adopting drag and drop in a custom view | iOS, iPadOS, Mac Catalyst, Xcode | Public | AdoptingDragAndDropInACustomView.zip |
| 507 | Adopting drag and drop in a table view | iOS, iPadOS, Mac Catalyst, Xcode | Public | AdoptingDragAndDropInATableView.zip |
| 508 | Adopting hover support for Apple Pencil | iOS, iPadOS, Mac Catalyst, Xcode | Public | AdoptingHoverSupportForApplePencil.zip |
| 509 | Adopting iOS Dark Mode | iOS, iPadOS, Mac Catalyst, Xcode | Public | AdoptingIOSDarkMode.zip |
| 510 | Adopting menus and UIActions in your user interface | iOS, iPadOS, Mac Catalyst, Xcode | Public | AdoptingMenusAndUIActionsInYourUserInterface.zip |
| 511 | Asynchronously loading images into table and collection views | iOS, iPadOS, Mac Catalyst, Xcode | Public | AsynchronouslyLoadingImagesIntoTableAndCollectionViews.zip |
| 512 | Building a document browser app for custom file formats | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingADocumentBrowserAppForCustomFileFormats.zip |
| 513 | Building an app with a document browser | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingAnAppWithADocumentBrowser.zip |
| 514 | Building and improving your app with Mac Catalyst | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingAndImprovingYourAppWithMacCatalyst.zip |
| 515 | Building high-performance lists and collection views | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingHighPerformanceListsAndCollectionViews.zip |
| 516 | Changing the appearance of selected and highlighted cells | iOS, iPadOS, Mac Catalyst, Xcode | Public | ChangingTheAppearanceOfSelectedAndHighlightedCells.zip |
| 517 | Creating self-sizing table view cells | iOS, iPadOS, Mac Catalyst, Xcode | Public | CreatingSelfSizingTableViewCells.zip |
| 518 | Customizing an image picker controller | iOS, iPadOS, Mac Catalyst, Xcode | Public | CustomizingAnImagePickerController.zip |
| 519 | Customizing and resizing sheets in UIKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | CustomizingAndResizingSheetsInUIKit.zip |
| 520 | Customizing collection view layouts | iOS, iPadOS, Mac Catalyst, Xcode | Public | CustomizingCollectionViewLayouts.zip |
| 521 | Customizing your app’s navigation bar | iOS, iPadOS, Mac Catalyst, macOS, tvOS, visionOS, watchOS, Xcode | Public | CustomizingYourAppsNavigationBar.zip |
| 522 | Data delivery with drag and drop | iOS, iPadOS, Mac Catalyst, Xcode | Public | DataDeliveryWithDragAndDrop.zip |
| 523 | Detecting changes in the preferences window | iOS, iPadOS, Mac Catalyst, Xcode | Public | DetectingChangesInThePreferencesWindow.zip |
| 524 | Disabling the pull-down gesture for a sheet | iOS, iPadOS, Mac Catalyst, Xcode | Public | DisablingThePullDownGestureForASheet.zip |
| 525 | Display text with a custom layout | iOS, iPadOS, Mac Catalyst, Xcode | Public | DisplayTextWithACustomLayout.zip |
| 526 | Displaying searchable content by using a search controller | iOS, iPadOS, Mac Catalyst, Xcode | Public | DisplayingSearchableContentByUsingASearchController.zip |
| 527 | Enhancing your iPad app with pointer interactions | iOS, iPadOS, Mac Catalyst, Xcode | Public | EnhancingYourIPadAppWithPointerInteractions.zip |
| 528 | Enriching your text in text views | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | EnrichingYourTextInTextViews.zip |
| 529 | Illustrating the force, altitude, and azimuth properties of touch input | iOS, iPadOS, Mac Catalyst, Xcode | Public | IllustratingTheForceAltitudeAndAzimuthPropertiesOfTouchInput.zip |
| 530 | Implementing modern collection views | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | ImplementingModernCollectionViews.zip |
| 531 | Implementing Peek and Pop | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingPeekAndPop.zip |
| 532 | Integrating pointer interactions into your iPad app | iOS, iPadOS, Mac Catalyst, Xcode | Public | IntegratingPointerInteractionsIntoYourIPadApp.zip |
| 533 | Leveraging touch input for drawing apps | iOS, iPadOS, Mac Catalyst, Xcode | Public | LeveragingTouchInputForDrawingApps.zip |
| 534 | Navigating an app’s user interface using a keyboard | iOS, iPadOS, Mac Catalyst, Xcode | Public | NavigatingAnAppsUserInterfaceUsingAKeyboard.zip |
| 535 | Prefetching collection view data | iOS, iPadOS, Mac Catalyst, Xcode | Public | PrefetchingCollectionViewData.zip |
| 536 | Restoring your app’s state | iOS, iPadOS, Mac Catalyst, Xcode | Public | RestoringYourAppsState.zip |
| 537 | Selecting multiple items with a two-finger pan gesture | iOS, iPadOS, Mac Catalyst, Xcode | Public | SelectingMultipleItemsWithATwoFingerPanGesture.zip |
| 538 | Showing help tags for views and controls using tooltip interactions | iOS, iPadOS, Mac Catalyst, Xcode | Public | ShowingHelpTagsForViewsAndControlsUsingTooltipInteractions.zip |
| 539 | Supporting desktop-class features in your iPad app | iOS, iPadOS, Mac Catalyst, Xcode | Public | SupportingDesktopClassFeaturesInYourIPadApp.zip |
| 540 | Supporting gesture interaction in your apps | iOS, iPadOS, Mac Catalyst, Xcode | Public | SupportingGestureInteractionInYourApps.zip |
| 541 | Supporting HDR images in your app | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | SupportingHDRImagesInYourApp.zip |
| 542 | Supporting multiple windows on iPad | iOS, iPadOS, Mac Catalyst, Xcode | Public | SupportingMultipleWindowsOnIPad.zip |
| 543 | Synchronizing documents in the iCloud environment | iOS, iPadOS, Mac Catalyst, Xcode | Public | SynchronizingDocumentsInTheICloudEnvironment.zip |
| 544 | UIKit Catalog: Creating and customizing views and controls | iOS, iPadOS, Mac Catalyst, Xcode | Public | UIKitCatalogCreatingAndCustomizingViewsAndControls.zip |
| 545 | Updating collection views using diffable data sources | iOS, iPadOS, Mac Catalyst, Xcode | Public | UpdatingCollectionViewsUsingDiffableDataSources.zip |
| 546 | Using suggested searches with a search controller | iOS, iPadOS, Mac Catalyst, Xcode | Public | UsingSuggestedSearchesWithASearchController.zip |
| 547 | Using SwiftUI with UIKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | UsingSwiftUIWithUIKit.zip |
| 548 | Using TextKit 2 to interact with text | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | UsingTextKit2ToInteractWithText.zip |
USD
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 549 | Schema definitions for third-party DCCs | Not stated | Public | SchemaDefinitionsForThirdPartyDCCs.zip |
User Notifications
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 550 | Handling Communication Notifications and Focus Status Updates | iOS, iPadOS, Mac Catalyst, Xcode | Public | HandlingCommunicationNotificationsAndFocusStatusUpdates.zip |
| 551 | Implementing Alert Push Notifications | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingAlertPushNotifications.zip |
| 552 | Implementing Background Push Notifications | iOS, iPadOS, Mac Catalyst, Xcode | Public | ImplementingBackgroundPushNotifications.zip |
Video Toolbox
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 553 | Encoding video for live streaming | macOS, Xcode | Public | EncodingVideoForLiveStreaming.zip |
| 554 | Encoding video for low-latency conferencing | macOS, Xcode | Public | EncodingVideoForLowLatencyConferencing.zip |
| 555 | Encoding video for offline transcoding | macOS, Xcode | Public | EncodingVideoForOfflineTranscoding.zip |
| 556 | Enhancing your app with machine learning-based video effects | macOS, Xcode | Public | EnhancingYourAppWithMachineLearningBasedVideoEffects.zip |
Virtualization
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 557 | Running GUI Linux in a virtual machine on a Mac | macOS, Xcode | Public | RunningGUILinuxInAVirtualMachineOnAMac.zip |
| 558 | Running Linux in a Virtual Machine | macOS, Xcode | Public | RunningLinuxInAVirtualMachine.zip |
| 559 | Running macOS in a virtual machine on Apple silicon | macOS, Xcode | Public | RunningMacOSInAVirtualMachineOnAppleSilicon.zip |
Vision
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 560 | Aligning Similar Images | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | AligningSimilarImages.zip |
| 561 | Analyzing a selfie and visualizing its content | iOS, iPadOS, Mac Catalyst, Xcode | Public | AnalyzingASelfieAndVisualizingItsContent.zip |
| 562 | Analyzing Image Similarity with Feature Print | iOS, iPadOS, Mac Catalyst, Xcode, iPad | Public | AnalyzingImageSimilarityWithFeaturePrint.zip |
| 563 | Applying Matte Effects to People in Images and Video | iOS, iPadOS, Mac Catalyst, Xcode | Public | ApplyingMatteEffectsToPeopleInImagesAndVideo.zip |
| 564 | Applying visual effects to foreground subjects | iOS, iPadOS, Mac Catalyst, Xcode | Public | ApplyingVisualEffectsToForegroundSubjects.zip |
| 565 | Building a feature-rich app for sports analysis | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingAFeatureRichAppForSportsAnalysis.zip |
| 566 | Classifying images for categorization and search | macOS, Xcode | Public | ClassifyingImagesForCategorizationAndSearch.zip |
| 567 | Detecting animal body poses with Vision | iOS, iPadOS, Mac Catalyst, Xcode | Public | DetectingAnimalBodyPosesWithVision.zip |
| 568 | Detecting Hand Poses with Vision | iOS, iPadOS, Mac Catalyst, Xcode | Public | DetectingHandPosesWithVision.zip |
| 569 | Detecting human body poses in 3D with Vision | iOS, iPadOS, Mac Catalyst, Xcode | Public | DetectingHumanBodyPosesIn3DWithVision.zip |
| 570 | Detecting moving objects in a video | iOS, iPadOS, Mac Catalyst, Xcode | Public | DetectingMovingObjectsInAVideo.zip |
| 571 | Detecting Objects in Still Images | iOS, iPadOS, Mac Catalyst, Xcode | Public | DetectingObjectsInStillImages.zip |
| 572 | Extracting phone numbers from text in images | iOS, iPadOS, Mac Catalyst, Xcode | Public | ExtractingPhoneNumbersFromTextInImages.zip |
| 573 | Generating high-quality thumbnails from videos | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | GeneratingHighQualityThumbnailsFromVideos.zip |
| 574 | Highlighting Areas of Interest in an Image Using Saliency | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | HighlightingAreasOfInterestInAnImageUsingSaliency.zip |
| 575 | Implementing saliency-based image cropping in iOS and watchOS | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | ImplementingSaliencyBasedImageCroppingInIOSAndWatchOS.zip |
| 576 | Locating and displaying recognized text | iOS, iPadOS, Mac Catalyst, Xcode | Public | LocatingAndDisplayingRecognizedText.zip |
| 577 | Recognizing Objects in Live Capture | iOS, iPadOS, Mac Catalyst, Xcode | Public | RecognizingObjectsInLiveCapture.zip |
| 578 | Recognizing tables within a document | iOS, iPadOS, Mac Catalyst, Xcode | Public | RecognizingTablesWithinADocument.zip |
| 579 | Segmenting and colorizing individuals from a surrounding scene | iOS, iPadOS, Mac Catalyst, Xcode | Public | SegmentingAndColorizingIndividualsFromASurroundingScene.zip |
| 580 | Segmenting objects using taps, scribbles or rectangles | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | SegmentingObjectsUsingTapsScribblesOrRectangles.zip |
| 581 | Selecting a selfie based on capture quality | iOS, iPadOS, Mac Catalyst, Xcode | Public | SelectingASelfieBasedOnCaptureQuality.zip |
| 582 | Tracking Multiple Objects or Rectangles in Video | iOS, iPadOS, Mac Catalyst, Xcode | Public | TrackingMultipleObjectsOrRectanglesInVideo.zip |
| 583 | Tracking the User’s Face in Real Time | iOS, iPadOS, Mac Catalyst, Xcode | Public | TrackingTheUsersFaceInRealTime.zip |
| 584 | Training a Create ML Model to Classify Flowers | iOS, iPadOS, Mac Catalyst, Xcode | Public | TrainingACreateMLModelToClassifyFlowers.zip |
VisionKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 585 | Structuring recognized text on a document | iOS, iPadOS, Mac Catalyst, Xcode | Public | StructuringRecognizedTextOnADocument.zip |
visionOS
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 586 | Accessing the main camera | visionOS, Xcode | Public | AccessingTheMainCamera.zip |
| 587 | Adding a depth effect to text in visionOS | visionOS, Xcode | Public | AddingADepthEffectToTextInVisionOS.zip |
| 588 | Animating hand models in visionOS | visionOS, Xcode | Public | AnimatingHandModelsInVisionOS.zip |
| 589 | Applying mesh to real-world surroundings | visionOS, Xcode | Public | ApplyingMeshToRealWorldSurroundings.zip |
| 590 | Associating a window with an immersive space | visionOS, Xcode | Public | AssociatingAWindowWithAnImmersiveSpace.zip |
| 591 | BOT-anist | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | BOTAnist.zip |
| 592 | Building an immersive media viewing experience | visionOS, Xcode | Public | DestinationVideo.zip (shared by 4 pages) |
| 593 | Building local experiences with room tracking | visionOS, Xcode | Public | BuildingLocalExperiencesWithRoomTracking.zip |
| 594 | Canyon Crosser: Building a volumetric hike-planning app | visionOS, Xcode | Public | CanyonCrosser.zip |
| 595 | Chaparral Village: Building an immersive visionOS adventure game | visionOS, Xcode | Apple ID | ChaparralVillageBuildingAnImmersiveVisionOSAdventureGame.dmg |
| 596 | Connecting iPadOS and visionOS apps over the local network | iOS, iPadOS, Mac Catalyst, visionOS, Xcode | Public | ConnectingIPadOSAndVisionOSAppsOverTheLocalNetwork.zip |
| 597 | Creating 2D shapes with SwiftUI | visionOS, Xcode | Public | Creating2DShapesInVisionOSWithSwiftUI.zip |
| 598 | Creating 3D entities with RealityKit | visionOS, Xcode | Public | Creating3DEntitiesInVisionOSWithRealityKit.zip |
| 599 | Creating 3D models as movable windows | visionOS, Xcode | Public | CreatingAVolumetricWindowInVisionOS.zip |
| 600 | Creating a 3D painting space | visionOS, Xcode | Public | CreatingA3DPaintingSpaceInVisionOS.zip |
| 601 | Creating an immersive space in visionOS | visionOS, Xcode | Public | CreatingImmersiveSpacesInVisionOSWithSwiftUI.zip |
| 602 | Creating an interactive 3D model in visionOS | visionOS, Xcode | Public | CreatingA3DModelWithGesturesInVisionOS.zip |
| 603 | Creating SwiftUI windows in visionOS | visionOS, Xcode | Public | CreatingANewSwiftUIWindowViewInVisionOS.zip |
| 604 | Designing no-code games with Reality Composer Pro 3 | visionOS, Xcode | Public | DesigningNoCodeGamesWithRealityComposerPro3.zip |
| 605 | Destination Video | iOS, iPadOS, Mac Catalyst, macOS, tvOS, visionOS, Xcode | Public | DestinationVideo.zip (shared by 4 pages) |
| 606 | Diorama | visionOS, Xcode | Public | Diorama.zip |
| 607 | Displaying a 3D environment through a portal | visionOS, Xcode | Public | DisplayingA3DEnvironmentThroughAPortal.zip |
| 608 | Displaying a stereoscopic image | visionOS, Xcode | Public | DisplayingAStereoscopicImage.zip |
| 609 | Displaying an entity that follows a person’s view | visionOS, Xcode | Public | DisplayingA3DObjectThatMovesToStayInAPersonsView.zip |
| 610 | Displaying text in visionOS | visionOS, Xcode | Public | DisplayingTextInVisionOS.zip |
| 611 | Displaying video from connected devices | visionOS, Xcode | Public | DisplayingVideoFromConnectedDevices.zip |
| 612 | Drawing in the air and on surfaces with a spatial stylus | visionOS, Xcode | Public | DrawingInTheAirAndOnSurfacesWithASpatialStylus.zip |
| 613 | Embedding controls in an immersive space | visionOS, Xcode | Public | EmbeddingControlsInAnImmersiveSpace.zip |
| 614 | Enabling video reflections in an immersive environment | visionOS, Xcode | Public | DestinationVideo.zip (shared by 4 pages) |
| 615 | Exploring object tracking with ARKit | visionOS, Xcode | Public | ExploringObjectTrackingWithARKit.zip |
| 616 | Gaussian splats on visionOS | visionOS, Xcode | Public | GaussianSplatsOnVisionOS.zip |
| 617 | Generating procedural textures | visionOS, Xcode | Public | GeneratingProceduralTexturesInVisionOS.zip |
| 618 | Handling the window life cycle with multiple scenes | visionOS, Xcode | Public | HandlingTheWindowLifeCycleWithMultipleScenes.zip |
| 619 | Happy Beam | visionOS, Xcode | Public | HappyBeam.zip |
| 620 | Hello World | visionOS, Xcode | Public | HelloWorld.zip |
| 621 | Implementing adjustable material | visionOS, Xcode | Public | CreatingGlassMaterialFor3DShapesInVisionOS.zip |
| 622 | Implementing SharePlay for immersive spaces in visionOS | visionOS, Xcode | Public | ImplementingSharePlayForImmersiveSpacesInVisionOS.zip |
| 623 | Incorporating real-world surroundings in an immersive experience | visionOS, Xcode | Public | SceneReconstructionExample.zip |
| 624 | Locating and decoding barcodes in 3D space | visionOS, Xcode | Public | LocatingAndDecodingBarcodesIn3DSpace.zip |
| 625 | Manipulating entities with solid collisions | visionOS, Xcode | Public | ManipulateWithSolidCollisions.zip |
| 626 | Monitoring fit and field of view fidelity | visionOS, Xcode | Public | MonitoringVisualFidelityInRealTime.zip |
| 627 | Object tracking with Reality Composer Pro experiences | visionOS, Xcode | Public | ObjectTrackingWithRealityComposerProExperiences.zip |
| 628 | Obscuring virtual items in a scene behind real-world items | visionOS, Xcode | Public | AllowingObjectsToInteractWithRealWorldObjects.zip |
| 629 | Petite Asteroids: Building a volumetric visionOS game | visionOS, Xcode | Public | PetiteAsteroidsBuildingAVolumetricVisionOSGame.zip |
| 630 | Placing content on detected planes | visionOS, Xcode | Public | ObjectPlacementExample.zip (shared by 2 pages) |
| 631 | Placing entities using head and device transform | visionOS, Xcode | Public | PlacingEntitiesUsingHeadAndDeviceTransform.zip |
| 632 | Playing immersive media with RealityKit | visionOS, Xcode | Public | PlayingImmersiveMediaWithRealityKit.zip |
| 633 | Playing spatial audio | visionOS, Xcode | Public | PlayingSpatialAudioInVisionOS.zip |
| 634 | Swift Splash | visionOS, Xcode | Public | SwiftSplash.zip |
| 635 | Tracking and visualizing hand movement | visionOS, Xcode | Public | TrackingAndVisualizingHandMovement.zip |
| 636 | Tracking specific points in world space | visionOS, Xcode | Public | ObjectPlacementExample.zip (shared by 2 pages) |
| 637 | Working with generic spatial accessories | visionOS, Xcode | Public | WorkingWithGenericSpatialAccessories.zip |
Wallet Orders
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 638 | Example Order Packages | Not stated | Public | ExampleOrderPackages.zip |
Watch Connectivity
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 639 | Transferring data with Watch Connectivity | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | TransferringDataWithWatchConnectivity.zip |
WatchKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 640 | Interacting with Bluetooth peripherals during background app refresh | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | InteractingWithBluetoothPeripheralsDuringBackgroundAppRefresh.zip |
watchOS-Apps
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 641 | Building a productivity app for Apple Watch | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | BuildingAProductivityAppForAppleWatch.zip |
| 642 | Create accessible experiences for watchOS | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | CreateAccessibleExperiencesForWatchOS.zip |
| 643 | Updating your app and widgets for watchOS 10 | iOS, iPadOS, Mac Catalyst, macOS, watchOS, Xcode | Public | UpdatingYourAppAndWidgetsForWatchOS10.zip |
WeatherKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 644 | Fetching weather forecasts with WeatherKit | iOS, iPadOS, Xcode | Public | FetchingWeatherForecastsWithWeatherKit.zip |
WebKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 645 | Building a cross-platform web browser | iOS, iPadOS, Mac Catalyst, macOS, visionOS, Xcode | Public | BuildingACrossPlatformWebBrowser.zip |
| 646 | Viewing Desktop or Mobile Web Content Using a Web View | iOS, iPadOS, Mac Catalyst, Xcode | Public | ViewingDesktopOrMobileWebContentUsingAWebView.zip |
Wi-Fi Aware
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 647 | Building peer-to-peer apps | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingPeerToPeerApps.zip |
Wi-Fi Infrastructure
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 648 | Sharing Wi-Fi network credentials | iOS, iPadOS, Mac Catalyst, Xcode | Public | SharingWiFiNetworkCredentials.zip |
WidgetKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 649 | Building Widgets Using WidgetKit and SwiftUI | iOS, iPadOS, Mac Catalyst, Xcode | Public | BuildingWidgetsUsingWidgetKitAndSwiftUI.zip |
| 650 | Emoji Rangers: Supporting Live Activities, interactivity, and animations | iOS, iPadOS, Mac Catalyst, watchOS, Xcode | Public | EmojiRangersSupportingLiveActivitiesInteractivityAndAnimations.zip |
WorkoutKit
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 651 | Customizing workouts with WorkoutKit | iOS, iPadOS, Mac Catalyst, Xcode | Public | CustomizingWorkoutsWithWorkoutKit.zip |
Xcode
| # | Sample code | Platforms | Source | Bundle |
|---|---|---|---|---|
| 652 | Autosizing views for localization in iOS | iOS, iPadOS, Mac Catalyst, Xcode | Public | AutosizingViewsForLocalizationInIOS.zip |
| 653 | Configuring your app to use alternate app icons | iOS, iPadOS, Mac Catalyst, Xcode | Public | ConfiguringYourAppToUseAlternateAppIcons.zip |
| 654 | Creating custom modelers for intelligent instruments | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | CreatingCustomModelersForIntelligentInstruments.zip |
| 655 | Localization-friendly layouts in macOS | macOS, Xcode | Public | LocalizationFriendlyLayoutsInMacOS.zip |
| 656 | Localizing Landmarks | iOS, iPadOS, Mac Catalyst, macOS, Xcode | Public | LocalizingLandmarks.zip |
| 657 | SlothCreator: Building DocC documentation in Xcode | Not stated | Public | SlothCreatorBuildingDocCDocumentationInXcode.zip |
Shared source bundles
These documentation pages intentionally resolve to the same downloadable source. The archive is stored once, while each page still receives its own architecture document when its teaching focus differs.