peachsim 0.1.1808 → 0.1.1812
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/cli/app-bundle-resources.ts +15 -2
- package/cli/cloud-box-artifact.ts +115 -0
- package/cli/cloud-client.ts +148 -76
- package/cli/cloud-dispatch.ts +4 -4
- package/cli/cloud-session.ts +60 -22
- package/cli/commands/box.ts +8 -2
- package/cli/commands/compat.ts +7 -4
- package/cli/commands/control.ts +69 -3
- package/cli/commands/coverage.ts +14 -4
- package/cli/commands/daemon.ts +41 -0
- package/cli/commands/no-bridge-hint.ts +9 -0
- package/cli/commands/package.ts +31 -56
- package/cli/commands/platform.ts +71 -60
- package/cli/commands/preview.ts +73 -24
- package/cli/commands/record.ts +10 -2
- package/cli/commands/screenshot.ts +17 -60
- package/cli/commands/setup.ts +3 -1
- package/cli/commands/three-mode.ts +22 -12
- package/cli/commands/upload.ts +2 -1
- package/cli/desktop-companion.ts +6 -1
- package/cli/drivers/desktop.ts +4 -1
- package/cli/main.ts +12 -2
- package/cli/metro-bundle-assets.ts +14 -4
- package/cli/outbound-endpoints.ts +7 -3
- package/cli/output-redaction.ts +38 -0
- package/cli/privacy.ts +2 -2
- package/cli/recording-access.ts +5 -0
- package/cli/remote-project-bundle.ts +83 -0
- package/cli/shell-init.ts +7 -11
- package/cli/telemetry.ts +41 -4
- package/cli/usage-error.ts +3 -0
- package/cli/ws-bridge.ts +42 -6
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +42897 -40755
- package/dist-lib/capture-contract.cjs +7 -8
- package/dist-lib/capture-contract.mjs +7 -8
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +13 -7
- package/dist-lib/dev-bundle-resolution.cjs +10 -4
- package/dist-lib/expo-swift-bundle.cjs +15889 -15553
- package/dist-lib/expo-swift-metadata.cjs +2 -1
- package/dist-lib/expo-swift-metadata.mjs +2 -1
- package/dist-lib/home-paths.cjs +2 -33
- package/dist-lib/host/bridge-host.cjs +20891 -18714
- package/dist-lib/host/fetch-proxy-handler.cjs +10 -11
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +620 -553
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +57 -28
- package/dist-lib/native-app-identity-project.cjs +47 -14
- package/dist-lib/native-app-identity-project.mjs +55 -20
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +27 -26
- package/dist-lib/public-origins-lib.json +104 -81
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +30700 -24410
- package/dist-lib/swift-compile.cjs +336 -222
- package/dist-lib/swift-compile.mjs +378 -263
- package/dist-lib/swift-package.cjs +19 -7
- package/dist-lib/swift-package.mjs +16 -6
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +49 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +19213 -18937
- package/dist-lib/vite.cjs +11 -12
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/animated.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/engine/animation-graph.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/expo-manifest.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/preview/upload-protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +8 -1
- package/dist-types/packages/peach-globals/src/electronBridgeContract.d.ts +2 -1
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCall.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCallCenter.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCarrier.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriber.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriberInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/AVFoundation+MPNowPlayingInfoLanguageOptionAdditions.h +39 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/AVPlayerItem+MediaPlayerAdditions.h +26 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPContentItem.h +67 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPError.h +33 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaEntity.h +53 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItem.h +346 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItemCollection.h +42 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaLibrary.h +76 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPickerController.h +64 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPlayback.h +47 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPlaylist.h +82 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaQuery.h +120 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaQuerySection.h +26 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMoviePlayerController.h +444 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMoviePlayerViewController.h +43 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMusicPlayerApplicationController.h +47 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMusicPlayerController.h +147 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMusicPlayerQueueDescriptor.h +75 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h +197 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoLanguageOption.h +107 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h +89 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPPlayableContentDataSource.h +59 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPPlayableContentDelegate.h +64 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPPlayableContentManager.h +46 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPPlayableContentManagerContext.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommand.h +143 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommandCenter.h +66 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommandEvent.h +128 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteControlTypes.h +27 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPVolumeSettings.h +20 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPVolumeView.h +82 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayer.apinotes +74 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayer.h +40 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayerDefines.h +84 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/NSUserActivity+MediaPlayerAdditions.h +20 -0
- package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerStyle.h +5 -5
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h +12 -50
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewControllerLayoutEnvironment.h +2 -8
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +62 -0
- package/sdk/ios/usr/include/dispatch.modulemap +22 -0
- package/sdk/ios/usr/include/module.modulemap +8 -3
- package/sdk/ios/usr/include/net/if.h +24 -0
- package/sdk/ios/usr/include/sys/time.h +1 -1
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +265 -0
- package/sdk/ios/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
- package/sdk/ios/wasm/include/fcntl.h +2 -0
- package/sdk/ios/wasm/include/pthread.h +3 -0
- package/sdk/ios/wasm/include/stdlib.h +2 -0
- package/sdk/ios/wasm/include/unistd.h +2 -2
- package/skills/contrast/SKILL.md +2 -2
- package/src/bundle-channel.mjs +9 -72
- package/src/capture-contract.ts +12 -9
- package/src/desktop-host-delivery.ts +16 -2
- package/src/dev-bundle-resolution.ts +12 -3
- package/src/expo-native-workspace.ts +113 -46
- package/src/expo-swift-host.ts +17 -12
- package/src/expo-swift-ready.ts +4 -1
- package/src/expoSwiftContract.ts +1 -0
- package/src/home-paths.ts +4 -48
- package/src/host/bridge-host.ts +1 -0
- package/src/installed-native-libraries.ts +2 -8
- package/src/metro-project-root.ts +2 -1
- package/src/native-bundles.ts +122 -0
- package/src/native-static-libraries.ts +65 -8
- package/src/nitro-adapter.lock.json +272 -272
- package/src/nitro-bundle.ts +2 -2
- package/src/nitro-compile.ts +68 -28
- package/src/nitro-source.ts +24 -6
- package/src/nitro-superset.lock.json +94 -34
- package/src/nitroContract.ts +3 -0
- package/src/podspec-sources.ts +1966 -0
- package/src/storageSnapshotContract.ts +40 -0
- package/src/swift-compile.ts +77 -26
- package/src/swift-design-time.ts +18 -1
- package/src/swift-distribution.lock.json +12 -12
- package/src/swift-distribution.ts +9 -6
- package/src/swift-host.ts +1 -2
- package/src/swift-link-roots.ts +13 -2
- package/src/swift-objc-compile.ts +12 -0
- package/src/swift-objc-standin.ts +321 -114
- package/src/swift-package-manifest.ts +4 -3
- package/src/swift-package.ts +31 -4
- package/src/swift-root-lock.ts +11 -0
- package/src/swift-shared-sdk.ts +10 -9
- package/src/swift-source-pods.ts +2 -2
- package/src/swift-standins.ts +40 -143
- package/src/swift-toolchain.ts +59 -0
- package/src/swift-wasm-prune.ts +53 -21
- package/src/turbo-bundle.ts +4 -5
- package/src/turbo-codegen-intake.ts +111 -108
- package/src/turbo-compile.ts +63 -33
- package/src/turbo-runtime.lock.json +22 -22
- package/src/turbo-source.ts +171 -76
- package/src/wasm-optimize.ts +31 -2
- package/src/xcode-project.ts +65 -15
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
Name: MediaPlayer
|
|
3
|
+
Classes:
|
|
4
|
+
- Name: MPMediaItemArtwork
|
|
5
|
+
Methods:
|
|
6
|
+
- Selector: 'imageWithSize:'
|
|
7
|
+
SwiftName: 'image(at:)'
|
|
8
|
+
MethodKind: Instance
|
|
9
|
+
- Name: MPMusicPlayerApplicationController
|
|
10
|
+
Methods:
|
|
11
|
+
- Selector: 'performQueueTransaction:completionHandler:'
|
|
12
|
+
SwiftName: 'perform(queueTransaction:completionHandler:)'
|
|
13
|
+
MethodKind: Instance
|
|
14
|
+
- Name: MPMusicPlayerController
|
|
15
|
+
Methods:
|
|
16
|
+
- Selector: 'setQueueWithQuery:'
|
|
17
|
+
SwiftName: 'setQueue(with:)'
|
|
18
|
+
MethodKind: Instance
|
|
19
|
+
- Selector: 'setQueueWithItemCollection:'
|
|
20
|
+
SwiftName: 'setQueue(with:)'
|
|
21
|
+
MethodKind: Instance
|
|
22
|
+
- Selector: 'setQueueWithStoreIDs:'
|
|
23
|
+
SwiftName: 'setQueue(with:)'
|
|
24
|
+
MethodKind: Instance
|
|
25
|
+
- Selector: 'setQueueWithDescriptor:'
|
|
26
|
+
SwiftName: 'setQueue(with:)'
|
|
27
|
+
MethodKind: Instance
|
|
28
|
+
- Name: MPMusicPlayerControllerMutableQueue
|
|
29
|
+
Methods:
|
|
30
|
+
- Selector: 'removeItem:'
|
|
31
|
+
SwiftName: 'remove(_:)'
|
|
32
|
+
MethodKind: Instance
|
|
33
|
+
- Name: MPMediaLibrary
|
|
34
|
+
Methods:
|
|
35
|
+
- Selector: 'getPlaylistWithUUID:creationMetadata:completionHandler:'
|
|
36
|
+
SwiftName: 'getPlaylist(with:creationMetadata:completionHandler:)'
|
|
37
|
+
MethodKind: Instance
|
|
38
|
+
SwiftVersions:
|
|
39
|
+
- Version: 3
|
|
40
|
+
Classes:
|
|
41
|
+
- Name: MPMusicPlayerApplicationController
|
|
42
|
+
Methods:
|
|
43
|
+
- Selector: 'performQueueTransaction:completionHandler:'
|
|
44
|
+
SwiftName: 'performQueueTransaction(_:completionHandler:)'
|
|
45
|
+
MethodKind: Instance
|
|
46
|
+
- Name: MPMusicPlayerController
|
|
47
|
+
Methods:
|
|
48
|
+
- Selector: 'setQueueWithStoreIDs:'
|
|
49
|
+
SwiftName: 'setQueueWithStoreIDs(_:)'
|
|
50
|
+
MethodKind: Instance
|
|
51
|
+
- Selector: 'setQueueWithDescriptor:'
|
|
52
|
+
SwiftName: 'setQueueWith(_:)'
|
|
53
|
+
MethodKind: Instance
|
|
54
|
+
Properties:
|
|
55
|
+
- Name: applicationMusicPlayer
|
|
56
|
+
PropertyKind: Class
|
|
57
|
+
SwiftImportAsAccessors: true
|
|
58
|
+
- Name: applicationQueuePlayer
|
|
59
|
+
PropertyKind: Class
|
|
60
|
+
SwiftImportAsAccessors: true
|
|
61
|
+
- Name: systemMusicPlayer
|
|
62
|
+
PropertyKind: Class
|
|
63
|
+
SwiftImportAsAccessors: true
|
|
64
|
+
- Name: iPodMusicPlayer
|
|
65
|
+
PropertyKind: Class
|
|
66
|
+
SwiftImportAsAccessors: true
|
|
67
|
+
- Name: MPMusicPlayerControllerMutableQueue
|
|
68
|
+
Methods:
|
|
69
|
+
- Selector: 'removeItem:'
|
|
70
|
+
SwiftName: 'removeItem(_:)'
|
|
71
|
+
MethodKind: Instance
|
|
72
|
+
Tags:
|
|
73
|
+
- Name: MPErrorCode
|
|
74
|
+
NSErrorDomain: MPErrorDomain
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
//
|
|
2
|
+
// MediaPlayer.h
|
|
3
|
+
// MediaPlayer
|
|
4
|
+
//
|
|
5
|
+
// Copyright 2008-2019 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <MediaPlayer/MediaPlayerDefines.h>
|
|
9
|
+
#import <TargetConditionals.h>
|
|
10
|
+
|
|
11
|
+
#import <MediaPlayer/AVFoundation+MPNowPlayingInfoLanguageOptionAdditions.h>
|
|
12
|
+
#import <MediaPlayer/MPContentItem.h>
|
|
13
|
+
#import <MediaPlayer/MPError.h>
|
|
14
|
+
#import <MediaPlayer/MPMediaItem.h>
|
|
15
|
+
#import <MediaPlayer/MPMediaItemCollection.h>
|
|
16
|
+
#import <MediaPlayer/MPMediaLibrary.h>
|
|
17
|
+
#import <MediaPlayer/MPMediaPickerController.h>
|
|
18
|
+
#import <MediaPlayer/MPMediaPlaylist.h>
|
|
19
|
+
#import <MediaPlayer/MPMediaQuery.h>
|
|
20
|
+
#import <MediaPlayer/MPMediaQuerySection.h>
|
|
21
|
+
#import <MediaPlayer/MPMoviePlayerController.h>
|
|
22
|
+
#import <MediaPlayer/MPMoviePlayerViewController.h>
|
|
23
|
+
#import <MediaPlayer/MPMusicPlayerApplicationController.h>
|
|
24
|
+
#import <MediaPlayer/MPMusicPlayerController.h>
|
|
25
|
+
#import <MediaPlayer/MPMusicPlayerQueueDescriptor.h>
|
|
26
|
+
#import <MediaPlayer/MPNowPlayingInfoCenter.h>
|
|
27
|
+
#import <MediaPlayer/MPNowPlayingInfoLanguageOption.h>
|
|
28
|
+
#import <MediaPlayer/MPNowPlayingSession.h>
|
|
29
|
+
#import <MediaPlayer/MPPlayableContentDataSource.h>
|
|
30
|
+
#import <MediaPlayer/MPPlayableContentDelegate.h>
|
|
31
|
+
#import <MediaPlayer/MPPlayableContentManager.h>
|
|
32
|
+
#import <MediaPlayer/MPPlayableContentManagerContext.h>
|
|
33
|
+
#import <MediaPlayer/MPRemoteCommand.h>
|
|
34
|
+
#import <MediaPlayer/MPRemoteCommandCenter.h>
|
|
35
|
+
#import <MediaPlayer/MPRemoteCommandEvent.h>
|
|
36
|
+
#import <MediaPlayer/MPRemoteControlTypes.h>
|
|
37
|
+
#import <MediaPlayer/MPVolumeSettings.h>
|
|
38
|
+
#import <MediaPlayer/MPVolumeView.h>
|
|
39
|
+
#import <MediaPlayer/NSUserActivity+MediaPlayerAdditions.h>
|
|
40
|
+
#import <MediaPlayer/AVPlayerItem+MediaPlayerAdditions.h>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
//
|
|
2
|
+
// MediaPlayerDefines.h
|
|
3
|
+
// MediaPlayer
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2026 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#ifndef MP_DEFINES
|
|
9
|
+
#define MP_DEFINES
|
|
10
|
+
|
|
11
|
+
#import <Availability.h>
|
|
12
|
+
#import <TargetConditionals.h>
|
|
13
|
+
|
|
14
|
+
#ifdef __cplusplus
|
|
15
|
+
#define _MP_EXTERN extern "C"
|
|
16
|
+
#else
|
|
17
|
+
#define _MP_EXTERN extern
|
|
18
|
+
#endif
|
|
19
|
+
#define _MP_VISIBLE __attribute__((visibility("default")))
|
|
20
|
+
#define _MP_HIDDEN __attribute__((visibility("hidden")))
|
|
21
|
+
|
|
22
|
+
#ifndef MP_EXTERN
|
|
23
|
+
#define MP_EXTERN _MP_EXTERN _MP_VISIBLE
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
#pragma mark - Availability
|
|
27
|
+
|
|
28
|
+
#define MP_API(...) __API_AVAILABLE(__VA_ARGS__) _MP_VISIBLE
|
|
29
|
+
#define MP_API_BEGIN __API_AVAILABLE_BEGIN
|
|
30
|
+
#define MP_API_END __API_AVAILABLE_END
|
|
31
|
+
|
|
32
|
+
#define MP_UNAVAILABLE(...) __API_UNAVAILABLE(__VA_ARGS__)
|
|
33
|
+
#define MP_UNAVAILABLE_BEGIN(...) __API_UNAVAILABLE_BEGIN(__VA_ARGS__)
|
|
34
|
+
#define MP_UNAVAILABLE_END __API_UNAVAILABLE_END
|
|
35
|
+
|
|
36
|
+
#define MP_DEPRECATED(...) __API_DEPRECATED(__VA_ARGS__) _MP_VISIBLE
|
|
37
|
+
#define MP_DEPRECATED_BEGIN __API_DEPRECATED_BEGIN
|
|
38
|
+
#define MP_DEPRECATED_END __API_DEPRECATED_END
|
|
39
|
+
|
|
40
|
+
#define MP_DEPRECATED_WITH_REPLACEMENT(...) __API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)
|
|
41
|
+
#define MP_DEPRECATED_WITH_REPLACEMENT_BEGIN(...) __API_DEPRECATED_WITH_REPLACEMENT_BEGIN(__VA_ARGS__)
|
|
42
|
+
#define MP_DEPRECATED_WITH_REPLACEMENT_END __API_DEPRECATED_WITH_REPLACEMENT_END
|
|
43
|
+
|
|
44
|
+
#define MP_FALLTHROUGH __attribute__((fallthrough))
|
|
45
|
+
#define MP_TYPE_PROTOCOL __attribute__((objc_non_runtime_protocol))
|
|
46
|
+
#define MP_COMPLETION __attribute__((called_once))
|
|
47
|
+
#define MP_OVERLOAD __attribute__((overloadable))
|
|
48
|
+
#define MP_FINAL_CLASS __attribute__((objc_subclassing_restricted))
|
|
49
|
+
|
|
50
|
+
#if __has_attribute(swift_attr)
|
|
51
|
+
#define MP_SWIFT_MAIN_ACTOR __attribute__((swift_attr("@MainActor")))
|
|
52
|
+
#else
|
|
53
|
+
#define MP_SWIFT_MAIN_ACTOR
|
|
54
|
+
#endif
|
|
55
|
+
#if __has_attribute(swift_error)
|
|
56
|
+
#define MP_SWIFT_ERROR_NULLABLE_RESULT __attribute__((swift_error(nonnull_error)))
|
|
57
|
+
#else
|
|
58
|
+
#define MP_SWIFT_ERROR_NULLABLE_RESULT
|
|
59
|
+
#endif
|
|
60
|
+
|
|
61
|
+
#pragma mark - Utility
|
|
62
|
+
|
|
63
|
+
#define __MP_OVERRIDE_HAS(FRAMEWORK) ((defined(MP_HAS_##FRAMEWORK) && MP_HAS_##FRAMEWORK) || (!defined(MP_HAS_##FRAMEWORK) && 1))
|
|
64
|
+
#define MP_HAS(FRAMEWORK) __has_include(<FRAMEWORK/FRAMEWORK.h>) && __MP_OVERRIDE_HAS(FRAMEWORK)
|
|
65
|
+
#define MP_HAS_HEADER(FRAMEWORK, HEADER) __has_include(<FRAMEWORK/HEADER>)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
#if defined(__OBJC__) && __OBJC__
|
|
69
|
+
|
|
70
|
+
#define MP_INIT_UNAVAILABLE \
|
|
71
|
+
+ (instancetype)new NS_UNAVAILABLE; \
|
|
72
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
73
|
+
|
|
74
|
+
#endif
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
#pragma mark - Additions
|
|
79
|
+
|
|
80
|
+
#if __has_include(<MediaPlayer/MediaPlayerDefines_Additions.h>)
|
|
81
|
+
#import <MediaPlayer/MediaPlayerDefines_Additions.h>
|
|
82
|
+
#endif
|
|
83
|
+
|
|
84
|
+
#endif
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//
|
|
2
|
+
// NSUserActivity+MediaPlayerAdditions.h
|
|
3
|
+
// MediaPlayer
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Apple, Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <MediaPlayer/MediaPlayerDefines.h>
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
@interface NSUserActivity (MediaPlayerAdditions)
|
|
14
|
+
|
|
15
|
+
/// A unique identifier relative to the app's media content catalog for the displayed media item.
|
|
16
|
+
@property (nonatomic, copy, nullable) NSString *externalMediaContentIdentifier MP_API(ios(10.1), tvos(10.0.1)) MP_UNAVAILABLE(watchos, macos);
|
|
17
|
+
|
|
18
|
+
@end
|
|
19
|
+
|
|
20
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h
CHANGED
|
@@ -56,7 +56,7 @@ UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
|
56
56
|
@end
|
|
57
57
|
|
|
58
58
|
UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
59
|
-
@interface UIAccessibilityCustomRotor : NSObject
|
|
59
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIAccessibilityCustomRotor : NSObject
|
|
60
60
|
|
|
61
61
|
- (instancetype)initWithName:(NSString *)name itemSearchBlock:(UIAccessibilityCustomRotorSearch)itemSearchBlock;
|
|
62
62
|
- (instancetype)initWithAttributedName:(NSAttributedString *)attributedName itemSearchBlock:(UIAccessibilityCustomRotorSearch)itemSearchBlock API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
|
|
@@ -81,7 +81,7 @@ UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
84
|
-
@interface UIAccessibilityCustomRotorItemResult : NSObject
|
|
84
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIAccessibilityCustomRotorItemResult : NSObject
|
|
85
85
|
|
|
86
86
|
- (instancetype)initWithTargetElement:(id<NSObject>)targetElement targetRange:(nullable UITextRange *)targetRange;
|
|
87
87
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
14
14
|
|
|
15
|
-
typedef NSString *UIActionIdentifier
|
|
15
|
+
typedef NSString *UIActionIdentifier NS_REFINED_FOR_SWIFT NS_TYPED_EXTENSIBLE_ENUM API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
|
|
16
16
|
|
|
17
17
|
/// Default action identifiers for paste variants
|
|
18
18
|
UIKIT_EXTERN const UIActionIdentifier UIActionPaste API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
|
package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundConfiguration.h
CHANGED
|
@@ -18,7 +18,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
|
18
18
|
@class UIShadowProperties;
|
|
19
19
|
|
|
20
20
|
UIKIT_EXTERN API_AVAILABLE(ios(14.0), tvos(14.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
21
|
-
@interface UIBackgroundConfiguration : NSObject <NSCopying, NSSecureCoding>
|
|
21
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIBackgroundConfiguration : NSObject <NSCopying, NSSecureCoding>
|
|
22
22
|
|
|
23
23
|
/// Returns a clear configuration, with no default styling.
|
|
24
24
|
+ (instancetype)clearConfiguration;
|
|
@@ -78,7 +78,7 @@ typedef NS_ENUM(NSInteger, UIButtonConfigurationIndicator) {
|
|
|
78
78
|
} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos);
|
|
79
79
|
|
|
80
80
|
UIKIT_EXTERN API_AVAILABLE(ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
81
|
-
@interface UIButtonConfiguration : NSObject <NSCopying, NSSecureCoding>
|
|
81
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIButtonConfiguration : NSObject <NSCopying, NSSecureCoding>
|
|
82
82
|
|
|
83
83
|
+ (instancetype)plainButtonConfiguration;
|
|
84
84
|
+ (instancetype)tintedButtonConfiguration;
|
package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h
CHANGED
|
@@ -33,7 +33,7 @@ typedef UIViewController * _Nullable (^UIContextMenuContentPreviewProvider)(void
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
36
|
-
@interface UIContextMenuConfiguration : NSObject
|
|
36
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIContextMenuConfiguration : NSObject
|
|
37
37
|
|
|
38
38
|
/// This configuration's identifier. When representing multiple items in your app, this identifier
|
|
39
39
|
/// corresponds to the primary item (i.e. the one with which the user interacted when invoking the menu).
|
package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h
CHANGED
|
@@ -23,7 +23,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
26
|
-
@interface UIContextMenuInteraction : NSObject <UIInteraction>
|
|
26
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIContextMenuInteraction : NSObject <UIInteraction>
|
|
27
27
|
|
|
28
28
|
/// The interaction's delegate.
|
|
29
29
|
@property (nonatomic, weak, readonly) id<UIContextMenuInteractionDelegate> delegate;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
12
12
|
|
|
13
|
-
typedef NSString *UIDeferredMenuElementIdentifier
|
|
13
|
+
typedef NSString *UIDeferredMenuElementIdentifier NS_REFINED_FOR_SWIFT NS_TYPED_EXTENSIBLE_ENUM API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos);
|
|
14
14
|
|
|
15
15
|
UIKIT_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
|
|
16
16
|
@interface UIDeferredMenuElement : UIMenuElement
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#import <UIKit/UIMenuElement.h>
|
|
13
13
|
#import <UIKit/UIMenuDisplayPreferences.h>
|
|
14
14
|
|
|
15
|
-
typedef NSString *UIMenuIdentifier
|
|
15
|
+
typedef NSString *UIMenuIdentifier NS_REFINED_FOR_SWIFT NS_TYPED_EXTENSIBLE_ENUM API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -57,7 +57,7 @@ PEACH_SWIFT_CLASS(UIKitCore) @interface UIPointerStyle : UIHoverStyle <NSCopying
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
UIKIT_EXTERN API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos, tvos) NS_REFINED_FOR_SWIFT NS_SWIFT_UI_ACTOR
|
|
60
|
-
@interface UIPointerEffect : NSObject <NSCopying, UIHoverEffect>
|
|
60
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIPointerEffect : NSObject <NSCopying, UIHoverEffect>
|
|
61
61
|
|
|
62
62
|
@property (nonatomic, copy, readonly) UITargetedPreview *preview;
|
|
63
63
|
|
|
@@ -78,12 +78,12 @@ UIKIT_EXTERN API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos, tvos) NS_REFINED_
|
|
|
78
78
|
|
|
79
79
|
/// Pointer slides under the given view and morphs into the view's shape
|
|
80
80
|
UIKIT_EXTERN API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos, tvos) NS_REFINED_FOR_SWIFT NS_SWIFT_UI_ACTOR
|
|
81
|
-
@interface UIPointerHighlightEffect : UIPointerEffect
|
|
81
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIPointerHighlightEffect : UIPointerEffect
|
|
82
82
|
@end
|
|
83
83
|
|
|
84
84
|
/// Pointer slides under the given view and disappears as the view scales up and gains a shadow.
|
|
85
85
|
UIKIT_EXTERN API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos, tvos) NS_REFINED_FOR_SWIFT NS_SWIFT_UI_ACTOR
|
|
86
|
-
@interface UIPointerLiftEffect : UIPointerEffect
|
|
86
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIPointerLiftEffect : UIPointerEffect
|
|
87
87
|
@end
|
|
88
88
|
|
|
89
89
|
typedef NS_ENUM(NSInteger, UIPointerEffectTintMode) {
|
|
@@ -95,7 +95,7 @@ typedef NS_ENUM(NSInteger, UIPointerEffectTintMode) {
|
|
|
95
95
|
|
|
96
96
|
/// Pointer retains the system shape while over the given view. Visual changes applied to the view are dictated by the effect's properties.
|
|
97
97
|
UIKIT_EXTERN API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos, tvos) NS_REFINED_FOR_SWIFT NS_SWIFT_UI_ACTOR
|
|
98
|
-
@interface UIPointerHoverEffect : UIPointerEffect
|
|
98
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIPointerHoverEffect : UIPointerEffect
|
|
99
99
|
|
|
100
100
|
@property (nonatomic) UIPointerEffectTintMode preferredTintMode; // Defaults to UIPointerEffectTintModeOverlay
|
|
101
101
|
@property (nonatomic) BOOL prefersShadow; // Defaults to NO
|
|
@@ -105,7 +105,7 @@ UIKIT_EXTERN API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos, tvos) NS_REFINED_
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
UIKIT_EXTERN API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos, tvos) NS_REFINED_FOR_SWIFT NS_SWIFT_UI_ACTOR
|
|
108
|
-
@interface UIPointerShape : NSObject <NSCopying>
|
|
108
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIPointerShape : NSObject <NSCopying>
|
|
109
109
|
|
|
110
110
|
/*!
|
|
111
111
|
* @abstract UIBezierPath describing the pointer's shape. If used alongside a content effect, the shape must be
|
|
@@ -20,7 +20,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
|
20
20
|
@class UIImageView, UIImage;
|
|
21
21
|
|
|
22
22
|
UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
|
|
23
|
-
@interface UISlider : UIControl <NSCoding>
|
|
23
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UISlider : UIControl <NSCoding>
|
|
24
24
|
|
|
25
25
|
@property(nonatomic) float value; // default 0.0. this value will be pinned to min/max
|
|
26
26
|
@property(nonatomic) float minimumValue; // default 0.0. the current value may change if outside new min value
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// Copyright (c) 2009-2018 Apple Inc. All rights reserved.
|
|
7
7
|
//
|
|
8
8
|
|
|
9
|
+
#import <UIKitTypes/UIKitTypes.h>
|
|
9
10
|
#import <UIKit/UIViewController.h>
|
|
10
11
|
#import <UIKit/UIKitDefines.h>
|
|
11
12
|
|
|
@@ -13,63 +14,24 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
|
13
14
|
|
|
14
15
|
@protocol UISplitViewControllerDelegate;
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
UISplitViewControllerDisplayModeTwoDisplaceSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(visionos, watchos), // primary, supplementary and detail columns side-by-side, but the dimmed, noninteractive detail has been displaced toward and cropped on the trailing edge. For wider widths than in TwoOverSecondary but still too narrow for TwoBesideSecondary
|
|
26
|
-
|
|
27
|
-
UISplitViewControllerDisplayModePrimaryHidden API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeSecondaryOnly", ios(8.0, 14.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeSecondaryOnly,
|
|
28
|
-
UISplitViewControllerDisplayModeAllVisible API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeOneBesideSecondary", ios(8.0, 14.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeOneBesideSecondary,
|
|
29
|
-
UISplitViewControllerDisplayModePrimaryOverlay API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeOneOverSecondary", ios(8.0, 14.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeOneOverSecondary,
|
|
30
|
-
} API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
|
|
31
|
-
|
|
32
|
-
typedef NS_ENUM(NSInteger, UISplitViewControllerPrimaryEdge) {
|
|
33
|
-
UISplitViewControllerPrimaryEdgeLeading,
|
|
34
|
-
UISplitViewControllerPrimaryEdgeTrailing,
|
|
35
|
-
} API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
|
|
36
|
-
|
|
37
|
-
typedef NS_ENUM(NSInteger, UISplitViewControllerBackgroundStyle) {
|
|
38
|
-
UISplitViewControllerBackgroundStyleNone,
|
|
39
|
-
UISplitViewControllerBackgroundStyleSidebar,
|
|
40
|
-
} API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
|
|
41
|
-
|
|
42
|
-
typedef NS_ENUM(NSInteger, UISplitViewControllerStyle) {
|
|
43
|
-
UISplitViewControllerStyleUnspecified API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerStyleDoubleColumn", visionos(1.0, 1.0)),
|
|
44
|
-
UISplitViewControllerStyleDoubleColumn,
|
|
45
|
-
UISplitViewControllerStyleTripleColumn,
|
|
46
|
-
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
|
|
47
|
-
|
|
48
|
-
typedef NS_ENUM(NSInteger, UISplitViewControllerColumn) {
|
|
49
|
-
UISplitViewControllerColumnPrimary,
|
|
50
|
-
UISplitViewControllerColumnSupplementary, // Valid for UISplitViewControllerStyleTripleColumn only
|
|
51
|
-
UISplitViewControllerColumnSecondary,
|
|
52
|
-
UISplitViewControllerColumnCompact, // If a vc is set for this column, it will be used when the UISVC is collapsed, instead of stacking the vc’s for the Primary, Supplementary, and Secondary columns
|
|
53
|
-
UISplitViewControllerColumnInspector API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(tvos, visionos, watchos),
|
|
54
|
-
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
55
26
|
|
|
56
27
|
// Allowed displayModes depend on the splitBehavior
|
|
57
28
|
// Tile behavior allows SecondaryOnly, OneBesideSecondary, and TwoBesideSecondary display modes
|
|
58
29
|
// Overlay behavior allows SecondaryOnly, OneOverSecondary, and TwoOverSecondary display modes
|
|
59
30
|
// Displace behavior allows SecondaryOnly, OneBesideSecondary, and TwoDisplaceSecondary display modes
|
|
60
|
-
|
|
61
|
-
UISplitViewControllerSplitBehaviorAutomatic,
|
|
62
|
-
UISplitViewControllerSplitBehaviorTile,
|
|
63
|
-
UISplitViewControllerSplitBehaviorOverlay API_UNAVAILABLE(visionos),
|
|
64
|
-
UISplitViewControllerSplitBehaviorDisplace API_UNAVAILABLE(visionos),
|
|
65
|
-
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
|
|
31
|
+
|
|
66
32
|
|
|
67
33
|
// Control the displayModeButtonItem visibility for column-style UISplitViewController
|
|
68
|
-
|
|
69
|
-
UISplitViewControllerDisplayModeButtonVisibilityAutomatic,
|
|
70
|
-
UISplitViewControllerDisplayModeButtonVisibilityNever,
|
|
71
|
-
UISplitViewControllerDisplayModeButtonVisibilityAlways
|
|
72
|
-
} API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(watchos);
|
|
34
|
+
|
|
73
35
|
|
|
74
36
|
// This constant can be used with any sizing-related `UISplitViewController` properties to get the default system behavior.
|
|
75
37
|
UIKIT_EXTERN CGFloat const UISplitViewControllerAutomaticDimension API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
|
|
@@ -6,18 +6,12 @@
|
|
|
6
6
|
// Copyright © 2025 Apple Inc. All rights reserved.
|
|
7
7
|
//
|
|
8
8
|
|
|
9
|
+
#import <UIKitTypes/UIKitTypes.h>
|
|
9
10
|
#import <UIKit/UITrait.h>
|
|
10
11
|
|
|
11
12
|
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
/// There is no containing split view controller.
|
|
15
|
-
UISplitViewControllerLayoutEnvironmentNone,
|
|
16
|
-
/// Contained within an expanded split view controller.
|
|
17
|
-
UISplitViewControllerLayoutEnvironmentExpanded,
|
|
18
|
-
/// Contained within a collapsed split view controller.
|
|
19
|
-
UISplitViewControllerLayoutEnvironmentCollapsed
|
|
20
|
-
} API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NAME(UISplitViewController.LayoutEnvironment);
|
|
14
|
+
|
|
21
15
|
|
|
22
16
|
/// A trait that specifies whether an ancestor split view controller, if any, is expanded or collapsed.
|
|
23
17
|
UIKIT_EXTERN API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos) NS_REFINED_FOR_SWIFT
|
|
@@ -2207,3 +2207,65 @@ typedef NS_ENUM(NSInteger, UIViewContentMode) {
|
|
|
2207
2207
|
UIViewContentModeBottomLeft,
|
|
2208
2208
|
UIViewContentModeBottomRight,
|
|
2209
2209
|
} API_UNAVAILABLE(watchos);
|
|
2210
|
+
|
|
2211
|
+
typedef NS_ENUM(NSInteger, UISplitViewControllerDisplayMode) {
|
|
2212
|
+
UISplitViewControllerDisplayModeAutomatic,
|
|
2213
|
+
UISplitViewControllerDisplayModeSecondaryOnly,
|
|
2214
|
+
UISplitViewControllerDisplayModeOneBesideSecondary, // Two tiled columns. Leading will be UISplitViewControllerColumnSupplementary for UISplitViewControllerStyleTripleColumn, Primary otherwise
|
|
2215
|
+
UISplitViewControllerDisplayModeOneOverSecondary API_UNAVAILABLE(visionos), // Supplementary column overlaid on Secondary column for UISplitViewControllerStyleTripleColumn, Primary overlaid otherwise
|
|
2216
|
+
|
|
2217
|
+
// For triple-column style only. Three different ways to lay out primary, supplementary, and secondary columns with the secondary more or less visible, and an additional layout that hides the secondary.
|
|
2218
|
+
UISplitViewControllerDisplayModeTwoBesideSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos), // All three columns fully displayed side-by-side and interactive
|
|
2219
|
+
UISplitViewControllerDisplayModeTwoOverSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(visionos, watchos), // primary and supplementary columns side-by-side in overlay on top of partially visible detail column (detail column has dimming view). For widths too narrow to see much of the detail when the primary and supplementary columns are tiled.
|
|
2220
|
+
UISplitViewControllerDisplayModeTwoDisplaceSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(visionos, watchos), // primary, supplementary and detail columns side-by-side, but the dimmed, noninteractive detail has been displaced toward and cropped on the trailing edge. For wider widths than in TwoOverSecondary but still too narrow for TwoBesideSecondary
|
|
2221
|
+
|
|
2222
|
+
UISplitViewControllerDisplayModePrimaryHidden API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeSecondaryOnly", ios(8.0, 14.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeSecondaryOnly,
|
|
2223
|
+
UISplitViewControllerDisplayModeAllVisible API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeOneBesideSecondary", ios(8.0, 14.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeOneBesideSecondary,
|
|
2224
|
+
UISplitViewControllerDisplayModePrimaryOverlay API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeOneOverSecondary", ios(8.0, 14.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeOneOverSecondary,
|
|
2225
|
+
} API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
|
|
2226
|
+
|
|
2227
|
+
typedef NS_ENUM(NSInteger, UISplitViewControllerPrimaryEdge) {
|
|
2228
|
+
UISplitViewControllerPrimaryEdgeLeading,
|
|
2229
|
+
UISplitViewControllerPrimaryEdgeTrailing,
|
|
2230
|
+
} API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
|
|
2231
|
+
|
|
2232
|
+
typedef NS_ENUM(NSInteger, UISplitViewControllerBackgroundStyle) {
|
|
2233
|
+
UISplitViewControllerBackgroundStyleNone,
|
|
2234
|
+
UISplitViewControllerBackgroundStyleSidebar,
|
|
2235
|
+
} API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
|
|
2236
|
+
|
|
2237
|
+
typedef NS_ENUM(NSInteger, UISplitViewControllerStyle) {
|
|
2238
|
+
UISplitViewControllerStyleUnspecified API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerStyleDoubleColumn", visionos(1.0, 1.0)),
|
|
2239
|
+
UISplitViewControllerStyleDoubleColumn,
|
|
2240
|
+
UISplitViewControllerStyleTripleColumn,
|
|
2241
|
+
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
|
|
2242
|
+
|
|
2243
|
+
typedef NS_ENUM(NSInteger, UISplitViewControllerColumn) {
|
|
2244
|
+
UISplitViewControllerColumnPrimary,
|
|
2245
|
+
UISplitViewControllerColumnSupplementary, // Valid for UISplitViewControllerStyleTripleColumn only
|
|
2246
|
+
UISplitViewControllerColumnSecondary,
|
|
2247
|
+
UISplitViewControllerColumnCompact, // If a vc is set for this column, it will be used when the UISVC is collapsed, instead of stacking the vc’s for the Primary, Supplementary, and Secondary columns
|
|
2248
|
+
UISplitViewControllerColumnInspector API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(tvos, visionos, watchos),
|
|
2249
|
+
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
|
|
2250
|
+
|
|
2251
|
+
typedef NS_ENUM(NSInteger, UISplitViewControllerSplitBehavior) {
|
|
2252
|
+
UISplitViewControllerSplitBehaviorAutomatic,
|
|
2253
|
+
UISplitViewControllerSplitBehaviorTile,
|
|
2254
|
+
UISplitViewControllerSplitBehaviorOverlay API_UNAVAILABLE(visionos),
|
|
2255
|
+
UISplitViewControllerSplitBehaviorDisplace API_UNAVAILABLE(visionos),
|
|
2256
|
+
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
|
|
2257
|
+
|
|
2258
|
+
typedef NS_ENUM(NSInteger, UISplitViewControllerDisplayModeButtonVisibility) {
|
|
2259
|
+
UISplitViewControllerDisplayModeButtonVisibilityAutomatic,
|
|
2260
|
+
UISplitViewControllerDisplayModeButtonVisibilityNever,
|
|
2261
|
+
UISplitViewControllerDisplayModeButtonVisibilityAlways
|
|
2262
|
+
} API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(watchos);
|
|
2263
|
+
|
|
2264
|
+
typedef NS_ENUM(NSInteger, UISplitViewControllerLayoutEnvironment) {
|
|
2265
|
+
/// There is no containing split view controller.
|
|
2266
|
+
UISplitViewControllerLayoutEnvironmentNone,
|
|
2267
|
+
/// Contained within an expanded split view controller.
|
|
2268
|
+
UISplitViewControllerLayoutEnvironmentExpanded,
|
|
2269
|
+
/// Contained within a collapsed split view controller.
|
|
2270
|
+
UISplitViewControllerLayoutEnvironmentCollapsed
|
|
2271
|
+
} API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module Dispatch [system] {
|
|
2
|
+
header "dispatch/dispatch.h"
|
|
3
|
+
header "dispatch/base.h"
|
|
4
|
+
header "dispatch/time.h"
|
|
5
|
+
header "dispatch/object.h"
|
|
6
|
+
header "dispatch/queue.h"
|
|
7
|
+
header "dispatch/block.h"
|
|
8
|
+
header "dispatch/source.h"
|
|
9
|
+
header "dispatch/group.h"
|
|
10
|
+
header "dispatch/semaphore.h"
|
|
11
|
+
header "dispatch/once.h"
|
|
12
|
+
header "dispatch/data.h"
|
|
13
|
+
header "dispatch/io.h"
|
|
14
|
+
header "dispatch/workloop.h"
|
|
15
|
+
header "dispatch/dispatch_swift_shims.h"
|
|
16
|
+
export *
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
module DispatchIntrospection [system] {
|
|
20
|
+
header "dispatch/introspection.h"
|
|
21
|
+
export *
|
|
22
|
+
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
module ObjectiveC [system] {
|
|
2
|
-
|
|
3
|
-
header "objc/objc-sync.h"
|
|
4
|
-
link "objc"
|
|
2
|
+
umbrella "objc"
|
|
5
3
|
export *
|
|
4
|
+
module * { export * }
|
|
5
|
+
|
|
6
|
+
module NSObject {
|
|
7
|
+
requires objc
|
|
8
|
+
header "objc/NSObject.h"
|
|
9
|
+
export *
|
|
10
|
+
}
|
|
6
11
|
}
|
|
7
12
|
|
|
8
13
|
extern module os "os.modulemap"
|
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
#include <sys/socket.h>
|
|
4
4
|
#define IF_NAMESIZE 16
|
|
5
5
|
#define IFNAMSIZ IF_NAMESIZE
|
|
6
|
+
#define IFF_UP 0x1 /* interface is up */
|
|
7
|
+
#define IFF_BROADCAST 0x2 /* broadcast address valid */
|
|
8
|
+
#define IFF_DEBUG 0x4 /* turn on debugging */
|
|
9
|
+
#define IFF_LOOPBACK 0x8 /* is a loopback net */
|
|
10
|
+
#define IFF_POINTOPOINT 0x10 /* interface is point-to-point link */
|
|
11
|
+
#define IFF_NOTRAILERS 0x20 /* obsolete: avoid use of trailers */
|
|
12
|
+
#define IFF_RUNNING 0x40 /* resources allocated */
|
|
13
|
+
#define IFF_NOARP 0x80 /* no address resolution protocol */
|
|
14
|
+
#define IFF_PROMISC 0x100 /* receive all packets */
|
|
15
|
+
#define IFF_ALLMULTI 0x200 /* receive all multicast packets */
|
|
16
|
+
#define IFF_OACTIVE 0x400 /* transmission in progress */
|
|
17
|
+
#define IFF_SIMPLEX 0x800 /* can't hear own transmissions */
|
|
18
|
+
#define IFF_LINK0 0x1000 /* per link layer defined bit */
|
|
19
|
+
#define IFF_LINK1 0x2000 /* per link layer defined bit */
|
|
20
|
+
#define IFF_LINK2 0x4000 /* per link layer defined bit */
|
|
21
|
+
#define IFF_ALTPHYS IFF_LINK2 /* use alternate physical connection */
|
|
22
|
+
#define IFF_MULTICAST 0x8000 /* supports multicast */
|
|
6
23
|
struct if_msghdr {
|
|
7
24
|
unsigned short ifm_msglen;
|
|
8
25
|
unsigned char ifm_version, ifm_type;
|
|
@@ -10,10 +27,17 @@ struct if_msghdr {
|
|
|
10
27
|
unsigned short ifm_index;
|
|
11
28
|
struct if_data ifm_data;
|
|
12
29
|
};
|
|
30
|
+
struct if_nameindex {
|
|
31
|
+
unsigned int if_index;
|
|
32
|
+
char *if_name;
|
|
33
|
+
};
|
|
13
34
|
#ifdef __cplusplus
|
|
14
35
|
extern "C" {
|
|
15
36
|
#endif
|
|
16
37
|
unsigned int if_nametoindex(const char *);
|
|
38
|
+
char *if_indextoname(unsigned int, char *);
|
|
39
|
+
struct if_nameindex *if_nameindex(void);
|
|
40
|
+
void if_freenameindex(struct if_nameindex *);
|
|
17
41
|
#ifdef __cplusplus
|
|
18
42
|
}
|
|
19
43
|
#endif
|