diff --git a/package.json b/package.json index 0e80859ab..bcda7cbfe 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "url": "https://github.com/NativeScript/NativeScript.git" }, "dependencies": { - "@nx/devkit": "16.8.1", - "@swc/helpers": "~0.5.0", + "@nx/devkit": "16.9.1", + "@swc/helpers": "0.5.2", "nativescript-theme-core": "^1.0.4", "nx-cloud": "16.4.0" }, @@ -28,16 +28,16 @@ "@nativescript/nx": "^16.5.0", "@nstudio/focus": "^16.5.0", "@nstudio/nps-i": "~2.0.0", - "@nx/eslint-plugin": "16.8.1", - "@nx/jest": "16.8.1", - "@nx/js": "16.8.1", - "@nx/node": "16.8.1", - "@nx/plugin": "16.8.1", - "@nx/workspace": "16.8.1", + "@nx/eslint-plugin": "16.9.1", + "@nx/jest": "16.9.1", + "@nx/js": "16.9.1", + "@nx/node": "16.9.1", + "@nx/plugin": "16.9.1", + "@nx/workspace": "16.9.1", "@prettier/plugin-xml": "^2.2.0", "@swc-node/register": "~1.4.2", "@swc/cli": "~0.1.62", - "@swc/core": "~1.3.51", + "@swc/core": "1.3.90", "@types/jest": "~29.5.0", "@types/node": "^18.7.1", "@typescript-eslint/eslint-plugin": "^6.6.0", @@ -58,7 +58,7 @@ "module-alias": "^2.2.2", "nativescript": "~8.5.0", "nativescript-typedoc-theme": "1.1.0", - "nx": "16.8.1", + "nx": "16.9.1", "parse-css": "git+https://github.com/tabatkins/parse-css.git", "parserlib": "^1.1.1", "prettier": "^2.6.2", @@ -80,3 +80,4 @@ ] } } + diff --git a/packages/core/application/application.ios.ts b/packages/core/application/application.ios.ts index 4ea488226..9e9a5510d 100644 --- a/packages/core/application/application.ios.ts +++ b/packages/core/application/application.ios.ts @@ -406,7 +406,10 @@ export class iOSApplication extends ApplicationCommon implements IiOSApplication this._window = UIWindow.alloc().initWithFrame(UIScreen.mainScreen.bounds); // TODO: Expose Window module so that it can we styled from XML & CSS - this._window.backgroundColor = Utils.ios.MajorVersion <= 12 || !UIColor.systemBackgroundColor ? UIColor.whiteColor : UIColor.systemBackgroundColor; + // Note: visionOS uses it's own material glass + if (!__VISIONOS__) { + this._window.backgroundColor = Utils.ios.MajorVersion <= 12 || !UIColor.systemBackgroundColor ? UIColor.whiteColor : UIColor.systemBackgroundColor; + } this.notifyAppStarted(notification); } diff --git a/packages/core/config/config.interface.ts b/packages/core/config/config.interface.ts index 766db0ac3..003b7c673 100644 --- a/packages/core/config/config.interface.ts +++ b/packages/core/config/config.interface.ts @@ -12,19 +12,31 @@ interface IConfigPlatform { discardUncaughtJsExceptions?: boolean; } +export interface IOSRemoteSPMPackage { + name: string; + libs: string[]; + repositoryURL: string; + version: string; +} + +export interface IOSLocalSPMPackage { + name: string; + libs: string[]; + path: string; +} + +export type IOSSPMPackage = IOSRemoteSPMPackage | IOSLocalSPMPackage; + interface IConfigIOS extends IConfigPlatform { /** * Swift Package Manager * List packages to be included in the iOS build. */ - SPMPackages?: Array<{ - name: string; - libs: Array; - repositoryURL: string; - version: string; - }>; + SPMPackages?: Array; } +interface IConfigVisionOS extends IConfigIOS {} + interface IConfigAndroid extends IConfigPlatform { /** * These are the v8 runtime flags you can pass in, you must have "--expose_gc" as this is used in the runtime @@ -194,6 +206,11 @@ export interface NativeScriptConfig { * Various iOS specific configurations including iOS runtime flags. */ ios?: IConfigIOS; + /** + * Vision Pro specific configurations + * Various VisionOS specific configurations including iOS runtime flags. + */ + visionos?: IConfigVisionOS; /** * Android specific configurations * Various Android specific configurations including Android runtime flags. diff --git a/packages/core/global-types.d.ts b/packages/core/global-types.d.ts index b3a206fcd..7eb160698 100644 --- a/packages/core/global-types.d.ts +++ b/packages/core/global-types.d.ts @@ -134,6 +134,7 @@ declare const __UI_USE_XML_PARSER__: boolean; declare const __USE_TEST_ID__: boolean | undefined; declare const __ANDROID__: boolean; declare const __IOS__: boolean; +declare const __VISIONOS__: boolean; declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): number; declare function clearTimeout(timeoutId: number): void; diff --git a/packages/core/jest.setup.ts b/packages/core/jest.setup.ts index 63983e915..20db329c7 100644 --- a/packages/core/jest.setup.ts +++ b/packages/core/jest.setup.ts @@ -3,6 +3,9 @@ jest.mock('@nativescript/core/application', () => null, { virtual: true }); global.__DEV__ = true; +global.__ANDROID__ = false; +global.__IOS__ = true; +global.__VISIONOS__ = true; global.WeakRef.prototype.get = global.WeakRef.prototype.deref; global.NativeClass = function () {}; global.NSTimer = class NSTimer {}; diff --git a/packages/core/package.json b/packages/core/package.json index dd4a0c47a..99dbfcd51 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@nativescript/core", - "version": "8.5.10", + "version": "8.6.0-vision.3", "description": "A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.", "main": "index", "types": "index.d.ts", diff --git a/packages/core/platform/common.ts b/packages/core/platform/common.ts new file mode 100644 index 000000000..e567f1364 --- /dev/null +++ b/packages/core/platform/common.ts @@ -0,0 +1,12 @@ +/* + * Enum holding platform names. + */ +export const platformNames = { + android: 'Android', + ios: 'iOS', + visionos: 'visionOS', +}; + +export const isAndroid = !!__ANDROID__; +export const isIOS = !!__IOS__ || !!__VISIONOS__; +export const isVisionOS = !!__VISIONOS__; diff --git a/packages/core/platform/index.android.ts b/packages/core/platform/index.android.ts index eb2018858..f7f02af8a 100644 --- a/packages/core/platform/index.android.ts +++ b/packages/core/platform/index.android.ts @@ -1,13 +1,11 @@ /* tslint:disable:class-name */ import { Application } from '../application'; import { SDK_VERSION } from '../utils/constants'; +import { platformNames } from './common'; const MIN_TABLET_PIXELS = 600; -export const platformNames = { - android: 'Android', - ios: 'iOS', -}; +export * from './common'; class MainScreen { private _metrics: android.util.DisplayMetrics; @@ -153,6 +151,3 @@ export const Device = new DeviceRef(); // This retains compatibility with NS6 export const device = Device; - -export const isAndroid = global.isAndroid; -export const isIOS = global.isIOS; diff --git a/packages/core/platform/index.d.ts b/packages/core/platform/index.d.ts index ceac382ce..de113eb01 100644 --- a/packages/core/platform/index.d.ts +++ b/packages/core/platform/index.d.ts @@ -14,13 +14,12 @@ export const isAndroid: boolean; */ export const isIOS: boolean; -/* - * Enum holding platform names. +/** + * Gets a value indicating if the app is running on the iOS platform. */ -export const platformNames: { - android: string; - ios: string; -}; +export const isVisionOS: boolean; + +export * from './common'; /* * An object containing device specific information. diff --git a/packages/core/platform/index.ios.ts b/packages/core/platform/index.ios.ts index e40edf552..1eddc9612 100644 --- a/packages/core/platform/index.ios.ts +++ b/packages/core/platform/index.ios.ts @@ -1,9 +1,8 @@ /* tslint:disable:class-name */ -export const platformNames = { - android: 'Android', - ios: 'iOS', -}; +import { platformNames } from './common'; + +export * from './common'; class DeviceRef { private _model: string; @@ -117,6 +116,3 @@ export class Screen { // This retains compatibility with NS6 export const screen = Screen; - -export const isAndroid = global.isAndroid; -export const isIOS = global.isIOS; diff --git a/packages/core/platforms/android/widgets-release.aar b/packages/core/platforms/android/widgets-release.aar index fdc00a2dc..8697cef56 100644 Binary files a/packages/core/platforms/android/widgets-release.aar and b/packages/core/platforms/android/widgets-release.aar differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/Info.plist b/packages/core/platforms/ios/TNSWidgets.xcframework/Info.plist index bfb6e9a68..bb630b504 100644 --- a/packages/core/platforms/ios/TNSWidgets.xcframework/Info.plist +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/Info.plist @@ -5,23 +5,8 @@ AvailableLibraries - DebugSymbolsPath - dSYMs - LibraryIdentifier - ios-arm64_x86_64-simulator - LibraryPath - TNSWidgets.framework - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - + BinaryPath + TNSWidgets.framework/Versions/A/TNSWidgets DebugSymbolsPath dSYMs LibraryIdentifier @@ -39,6 +24,8 @@ maccatalyst + BinaryPath + TNSWidgets.framework/TNSWidgets DebugSymbolsPath dSYMs LibraryIdentifier @@ -52,6 +39,25 @@ SupportedPlatform ios + + BinaryPath + TNSWidgets.framework/TNSWidgets + DebugSymbolsPath + dSYMs + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + TNSWidgets.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + CFBundlePackageType XFWK diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist index ba3e21576..e7abd008c 100644 Binary files a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist and b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap index 9184cde23..b940cdff5 100644 --- a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap @@ -1,6 +1,6 @@ framework module TNSWidgets { umbrella header "TNSWidgets.h" - export * + module * { export * } } diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets index 7f88955c2..64aa136d7 100755 Binary files a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets and b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets index fafd93772..2a8b1b567 100644 Binary files a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets and b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap index 9184cde23..b940cdff5 100644 --- a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap @@ -1,6 +1,6 @@ framework module TNSWidgets { umbrella header "TNSWidgets.h" - export * + module * { export * } } diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist index 23bb1f9d0..a70d258ee 100644 --- a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 22F82 + 22G120 CFBundleDevelopmentRegion en CFBundleExecutable @@ -33,15 +33,15 @@ DTPlatformName macosx DTPlatformVersion - 13.3 + 14.0 DTSDKBuild - 22E245 + 23A334 DTSDKName - macosx13.3 + macosx14.0 DTXcode - 1431 + 1500 DTXcodeBuild - 14E300c + 15A240d LSMinimumSystemVersion 10.15 UIDeviceFamily diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets index 1109317d4..dabf62491 100755 Binary files a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets and b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets index eb04bcf2e..41228735c 100644 Binary files a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets and b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml new file mode 100644 index 000000000..af91b2c0f --- /dev/null +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml @@ -0,0 +1,82 @@ +--- +triple: 'arm64-apple-darwin' +binary-path: '/Users/nstudio/Documents/github/NativeScript/NativeScript/packages/ui-mobile-base/ios/TNSWidgets/build/Release-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets' +relocations: + - { offsetInCU: 0x34, offset: 0xD0EA1, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionString, symObjAddr: 0x0, symBinAddr: 0x64A8, symSize: 0x0 } + - { offsetInCU: 0x69, offset: 0xD0ED6, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionNumber, symObjAddr: 0x30, symBinAddr: 0x64D8, symSize: 0x0 } + - { offsetInCU: 0x27, offset: 0xD0F13, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x4000, symSize: 0x1E0 } + - { offsetInCU: 0xAC, offset: 0xD0F98, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x4000, symSize: 0x1E0 } + - { offsetInCU: 0x183, offset: 0xD106F, size: 0x8, addend: 0x0, symName: '-[TNSLabel drawTextInRect:]', symObjAddr: 0x1E0, symBinAddr: 0x41E0, symSize: 0xA8 } + - { offsetInCU: 0x216, offset: 0xD1102, size: 0x8, addend: 0x0, symName: '-[TNSLabel padding]', symObjAddr: 0x288, symBinAddr: 0x4288, symSize: 0x18 } + - { offsetInCU: 0x24B, offset: 0xD1137, size: 0x8, addend: 0x0, symName: '-[TNSLabel setPadding:]', symObjAddr: 0x2A0, symBinAddr: 0x42A0, symSize: 0x18 } + - { offsetInCU: 0x28A, offset: 0xD1176, size: 0x8, addend: 0x0, symName: '-[TNSLabel borderThickness]', symObjAddr: 0x2B8, symBinAddr: 0x42B8, symSize: 0x18 } + - { offsetInCU: 0x2BF, offset: 0xD11AB, size: 0x8, addend: 0x0, symName: '-[TNSLabel setBorderThickness:]', symObjAddr: 0x2D0, symBinAddr: 0x42D0, symSize: 0x18 } + - { offsetInCU: 0x27, offset: 0xD1235, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x42E8, symSize: 0xF0 } + - { offsetInCU: 0x59, offset: 0xD1267, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x42E8, symSize: 0xF0 } + - { offsetInCU: 0x186, offset: 0xD1394, size: 0x8, addend: 0x0, symName: ___nslog, symObjAddr: 0xF0, symBinAddr: 0x43D8, symSize: 0x28 } + - { offsetInCU: 0x27, offset: 0xD13FA, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x4400, symSize: 0xDC } + - { offsetInCU: 0x4A, offset: 0xD141D, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x4400, symSize: 0xDC } + - { offsetInCU: 0x129, offset: 0xD14FC, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke', symObjAddr: 0xDC, symBinAddr: 0x44DC, symSize: 0xE4 } + - { offsetInCU: 0x1BD, offset: 0xD1590, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke_2', symObjAddr: 0x1C0, symBinAddr: 0x45C0, symSize: 0x10 } + - { offsetInCU: 0x214, offset: 0xD15E7, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40b, symObjAddr: 0x1D0, symBinAddr: 0x45D0, symSize: 0x34 } + - { offsetInCU: 0x23D, offset: 0xD1610, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s, symObjAddr: 0x204, symBinAddr: 0x4604, symSize: 0x28 } + - { offsetInCU: 0x25C, offset: 0xD162F, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40s48b, symObjAddr: 0x22C, symBinAddr: 0x462C, symSize: 0x3C } + - { offsetInCU: 0x285, offset: 0xD1658, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s48s, symObjAddr: 0x268, symBinAddr: 0x4668, symSize: 0x30 } + - { offsetInCU: 0x2A4, offset: 0xD1677, size: 0x8, addend: 0x0, symName: '+[NSFileHandle(Async) fileHandleWith:data:completion:]', symObjAddr: 0x298, symBinAddr: 0x4698, symSize: 0x104 } + - { offsetInCU: 0x345, offset: 0xD1718, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke', symObjAddr: 0x39C, symBinAddr: 0x479C, symSize: 0x11C } + - { offsetInCU: 0x3E5, offset: 0xD17B8, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke_2', symObjAddr: 0x4B8, symBinAddr: 0x48B8, symSize: 0x14 } + - { offsetInCU: 0x27, offset: 0xD1B6E, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x48CC, symSize: 0x30 } + - { offsetInCU: 0x4F, offset: 0xD1B96, size: 0x8, addend: 0x0, symName: _image_queue, symObjAddr: 0x3D60, symBinAddr: 0xC520, symSize: 0x0 } + - { offsetInCU: 0x68, offset: 0xD1BAF, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x48CC, symSize: 0x30 } + - { offsetInCU: 0xCE, offset: 0xD1C15, size: 0x8, addend: 0x0, symName: '-[UIImage(TNSBlocks) tns_forceDecode]', symObjAddr: 0x30, symBinAddr: 0x48FC, symSize: 0x94 } + - { offsetInCU: 0x23B, offset: 0xD1D82, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]', symObjAddr: 0xC4, symBinAddr: 0x4990, symSize: 0xB8 } + - { offsetInCU: 0x2C7, offset: 0xD1E0E, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke', symObjAddr: 0x17C, symBinAddr: 0x4A48, symSize: 0xC8 } + - { offsetInCU: 0x347, offset: 0xD1E8E, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke_2', symObjAddr: 0x244, symBinAddr: 0x4B10, symSize: 0x10 } + - { offsetInCU: 0x39E, offset: 0xD1EE5, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeImageNamed:]', symObjAddr: 0x2B0, symBinAddr: 0x4B20, symSize: 0x64 } + - { offsetInCU: 0x3F1, offset: 0xD1F38, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]', symObjAddr: 0x314, symBinAddr: 0x4B84, symSize: 0xB8 } + - { offsetInCU: 0x45D, offset: 0xD1FA4, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke', symObjAddr: 0x3CC, symBinAddr: 0x4C3C, symSize: 0xC8 } + - { offsetInCU: 0x4DD, offset: 0xD2024, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke_2', symObjAddr: 0x494, symBinAddr: 0x4D04, symSize: 0x10 } + - { offsetInCU: 0x534, offset: 0xD207B, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]', symObjAddr: 0x4A4, symBinAddr: 0x4D14, symSize: 0xB8 } + - { offsetInCU: 0x5A0, offset: 0xD20E7, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke', symObjAddr: 0x55C, symBinAddr: 0x4DCC, symSize: 0xC8 } + - { offsetInCU: 0x620, offset: 0xD2167, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x624, symBinAddr: 0x4E94, symSize: 0x10 } + - { offsetInCU: 0x27, offset: 0xD256D, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x4EA4, symSize: 0x70 } + - { offsetInCU: 0x43, offset: 0xD2589, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x4EA4, symSize: 0x70 } + - { offsetInCU: 0x139, offset: 0xD267F, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleMethodWithOriginalSelector:originalMethod:fromClass:withSwizzlingSelector:swizzlingMethod:]', symObjAddr: 0x70, symBinAddr: 0x4F14, symSize: 0x120 } + - { offsetInCU: 0x27, offset: 0xD2934, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x5034, symSize: 0xDC } + - { offsetInCU: 0x4A, offset: 0xD2957, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x5034, symSize: 0xDC } + - { offsetInCU: 0x135, offset: 0xD2A42, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke', symObjAddr: 0xDC, symBinAddr: 0x5110, symSize: 0xEC } + - { offsetInCU: 0x1D5, offset: 0xD2AE2, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke_2', symObjAddr: 0x1C8, symBinAddr: 0x51FC, symSize: 0x14 } + - { offsetInCU: 0x23C, offset: 0xD2B49, size: 0x8, addend: 0x0, symName: '-[NSString(Async) writeToFile:atomically:encoding:completion:]', symObjAddr: 0x2A4, symBinAddr: 0x5210, symSize: 0xF0 } + - { offsetInCU: 0x2ED, offset: 0xD2BFA, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke', symObjAddr: 0x394, symBinAddr: 0x5300, symSize: 0xB8 } + - { offsetInCU: 0x3A1, offset: 0xD2CAE, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke_2', symObjAddr: 0x44C, symBinAddr: 0x53B8, symSize: 0x10 } + - { offsetInCU: 0x27, offset: 0xD306D, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x53C8, symSize: 0xD4 } + - { offsetInCU: 0x4A, offset: 0xD3090, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x53C8, symSize: 0xD4 } + - { offsetInCU: 0x180, offset: 0xD31C6, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke', symObjAddr: 0xD4, symBinAddr: 0x549C, symSize: 0xAC } + - { offsetInCU: 0x200, offset: 0xD3246, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x180, symBinAddr: 0x5548, symSize: 0x10 } + - { offsetInCU: 0x257, offset: 0xD329D, size: 0x8, addend: 0x0, symName: '-[NSData(Async) writeToFile:atomically:completion:]', symObjAddr: 0x1EC, symBinAddr: 0x5558, symSize: 0xEC } + - { offsetInCU: 0x2F8, offset: 0xD333E, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke', symObjAddr: 0x2D8, symBinAddr: 0x5644, symSize: 0x84 } + - { offsetInCU: 0x37D, offset: 0xD33C3, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke_2', symObjAddr: 0x35C, symBinAddr: 0x56C8, symSize: 0xC } + - { offsetInCU: 0x3C4, offset: 0xD340A, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32b, symObjAddr: 0x368, symBinAddr: 0x56D4, symSize: 0x10 } + - { offsetInCU: 0x3ED, offset: 0xD3433, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s, symObjAddr: 0x378, symBinAddr: 0x56E4, symSize: 0x8 } + - { offsetInCU: 0x27, offset: 0xD3736, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x56EC, symSize: 0x4 } + - { offsetInCU: 0x35, offset: 0xD3744, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) loadPropertyBag]', symObjAddr: 0x4, symBinAddr: 0x56F0, symSize: 0x84 } + - { offsetInCU: 0x5B, offset: 0xD376A, size: 0x8, addend: 0x0, symName: _loadPropertyBag.onceToken, symObjAddr: 0x2868, symBinAddr: 0xC528, symSize: 0x0 } + - { offsetInCU: 0xBF, offset: 0xD37CE, size: 0x8, addend: 0x0, symName: __propertyBagHolder, symObjAddr: 0x2870, symBinAddr: 0xC538, symSize: 0x0 } + - { offsetInCU: 0xE4, offset: 0xD37F3, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x56EC, symSize: 0x4 } + - { offsetInCU: 0x163, offset: 0xD3872, size: 0x8, addend: 0x0, symName: '___38+[UIView(PropertyBag) loadPropertyBag]_block_invoke', symObjAddr: 0x88, symBinAddr: 0x5774, symSize: 0x4C } + - { offsetInCU: 0x1FA, offset: 0xD3909, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyValueForKey:]', symObjAddr: 0xD4, symBinAddr: 0x57C0, symSize: 0x6C } + - { offsetInCU: 0x241, offset: 0xD3950, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyValue:forKey:]', symObjAddr: 0x140, symBinAddr: 0x582C, symSize: 0x74 } + - { offsetInCU: 0x294, offset: 0xD39A3, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag]', symObjAddr: 0x1B4, symBinAddr: 0x58A0, symSize: 0xCC } + - { offsetInCU: 0x2DB, offset: 0xD39EA, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyBag:]', symObjAddr: 0x280, symBinAddr: 0x596C, symSize: 0xA8 } + - { offsetInCU: 0x31E, offset: 0xD3A2D, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) removePropertyBag]', symObjAddr: 0x328, symBinAddr: 0x5A14, symSize: 0x70 } + - { offsetInCU: 0x351, offset: 0xD3A60, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag_dealloc]', symObjAddr: 0x398, symBinAddr: 0x5A84, symSize: 0x24 } + - { offsetInCU: 0x27, offset: 0xD3B92, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x5AA8, symSize: 0x4 } + - { offsetInCU: 0x41, offset: 0xD3BAC, size: 0x8, addend: 0x0, symName: _TLKPassThroughParentKey, symObjAddr: 0x1F8, symBinAddr: 0x8250, symSize: 0x0 } + - { offsetInCU: 0x55, offset: 0xD3BC0, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) loadHitTest]', symObjAddr: 0x4, symBinAddr: 0x5AAC, symSize: 0x84 } + - { offsetInCU: 0x7B, offset: 0xD3BE6, size: 0x8, addend: 0x0, symName: _loadHitTest.onceToken, symObjAddr: 0x23C8, symBinAddr: 0xC530, symSize: 0x0 } + - { offsetInCU: 0xE8, offset: 0xD3C53, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x5AA8, symSize: 0x4 } + - { offsetInCU: 0x168, offset: 0xD3CD3, size: 0x8, addend: 0x0, symName: '___40+[UIView(PassThroughParent) loadHitTest]_block_invoke', symObjAddr: 0x88, symBinAddr: 0x5B30, symSize: 0x40 } + - { offsetInCU: 0x1A7, offset: 0xD3D12, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThroughParent]', symObjAddr: 0xC8, symBinAddr: 0x5B70, symSize: 0x54 } + - { offsetInCU: 0x1EE, offset: 0xD3D59, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) setPassThroughParent:]', symObjAddr: 0x11C, symBinAddr: 0x5BC4, symSize: 0x4C } + - { offsetInCU: 0x231, offset: 0xD3D9C, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThrough_hitTest:withEvent:]', symObjAddr: 0x168, symBinAddr: 0x5C10, symSize: 0x50 } +... diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml new file mode 100644 index 000000000..decfc7cf0 --- /dev/null +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml @@ -0,0 +1,82 @@ +--- +triple: 'x86_64-apple-darwin' +binary-path: '/Users/nstudio/Documents/github/NativeScript/NativeScript/packages/ui-mobile-base/ios/TNSWidgets/build/Release-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets' +relocations: + - { offsetInCU: 0x34, offset: 0xD3FFE, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionString, symObjAddr: 0x0, symBinAddr: 0x6130, symSize: 0x0 } + - { offsetInCU: 0x69, offset: 0xD4033, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionNumber, symObjAddr: 0x30, symBinAddr: 0x6160, symSize: 0x0 } + - { offsetInCU: 0x27, offset: 0xD4070, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x4000, symSize: 0x388 } + - { offsetInCU: 0xAC, offset: 0xD40F5, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x4000, symSize: 0x388 } + - { offsetInCU: 0x180, offset: 0xD41C9, size: 0x8, addend: 0x0, symName: '-[TNSLabel drawTextInRect:]', symObjAddr: 0x388, symBinAddr: 0x4388, symSize: 0xDD } + - { offsetInCU: 0x1EC, offset: 0xD4235, size: 0x8, addend: 0x0, symName: '-[TNSLabel padding]', symObjAddr: 0x465, symBinAddr: 0x4465, symSize: 0x20 } + - { offsetInCU: 0x221, offset: 0xD426A, size: 0x8, addend: 0x0, symName: '-[TNSLabel setPadding:]', symObjAddr: 0x485, symBinAddr: 0x4485, symSize: 0x1E } + - { offsetInCU: 0x25F, offset: 0xD42A8, size: 0x8, addend: 0x0, symName: '-[TNSLabel borderThickness]', symObjAddr: 0x4A3, symBinAddr: 0x44A3, symSize: 0x20 } + - { offsetInCU: 0x294, offset: 0xD42DD, size: 0x8, addend: 0x0, symName: '-[TNSLabel setBorderThickness:]', symObjAddr: 0x4C3, symBinAddr: 0x44C3, symSize: 0x1E } + - { offsetInCU: 0x27, offset: 0xD4366, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x44E1, symSize: 0xF8 } + - { offsetInCU: 0x59, offset: 0xD4398, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x44E1, symSize: 0xF8 } + - { offsetInCU: 0x1B5, offset: 0xD44F4, size: 0x8, addend: 0x0, symName: ___nslog, symObjAddr: 0xF8, symBinAddr: 0x45D9, symSize: 0x17 } + - { offsetInCU: 0x27, offset: 0xD455A, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x45F0, symSize: 0xD4 } + - { offsetInCU: 0x4A, offset: 0xD457D, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x45F0, symSize: 0xD4 } + - { offsetInCU: 0x1CE, offset: 0xD4701, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke', symObjAddr: 0xD4, symBinAddr: 0x46C4, symSize: 0xFD } + - { offsetInCU: 0x316, offset: 0xD4849, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke_2', symObjAddr: 0x1D1, symBinAddr: 0x47C1, symSize: 0x13 } + - { offsetInCU: 0x36D, offset: 0xD48A0, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40b, symObjAddr: 0x1E4, symBinAddr: 0x47D4, symSize: 0x30 } + - { offsetInCU: 0x3A2, offset: 0xD48D5, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s, symObjAddr: 0x214, symBinAddr: 0x4804, symSize: 0x25 } + - { offsetInCU: 0x3D9, offset: 0xD490C, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40s48b, symObjAddr: 0x239, symBinAddr: 0x4829, symSize: 0x44 } + - { offsetInCU: 0x41A, offset: 0xD494D, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s48s, symObjAddr: 0x27D, symBinAddr: 0x486D, symSize: 0x2C } + - { offsetInCU: 0x45D, offset: 0xD4990, size: 0x8, addend: 0x0, symName: '+[NSFileHandle(Async) fileHandleWith:data:completion:]', symObjAddr: 0x2A9, symBinAddr: 0x4899, symSize: 0xF1 } + - { offsetInCU: 0x5ED, offset: 0xD4B20, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke', symObjAddr: 0x39A, symBinAddr: 0x498A, symSize: 0x141 } + - { offsetInCU: 0x77D, offset: 0xD4CB0, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke_2', symObjAddr: 0x4DB, symBinAddr: 0x4ACB, symSize: 0x1A } + - { offsetInCU: 0x27, offset: 0xD5065, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x4AE5, symSize: 0x27 } + - { offsetInCU: 0x4F, offset: 0xD508D, size: 0x8, addend: 0x0, symName: _image_queue, symObjAddr: 0x4480, symBinAddr: 0xC970, symSize: 0x0 } + - { offsetInCU: 0x68, offset: 0xD50A6, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x4AE5, symSize: 0x27 } + - { offsetInCU: 0x131, offset: 0xD516F, size: 0x8, addend: 0x0, symName: '-[UIImage(TNSBlocks) tns_forceDecode]', symObjAddr: 0x27, symBinAddr: 0x4B0C, symSize: 0xB2 } + - { offsetInCU: 0x2E8, offset: 0xD5326, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]', symObjAddr: 0xD9, symBinAddr: 0x4BBE, symSize: 0xB3 } + - { offsetInCU: 0x3FD, offset: 0xD543B, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke', symObjAddr: 0x18C, symBinAddr: 0x4C71, symSize: 0xD9 } + - { offsetInCU: 0x4DD, offset: 0xD551B, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke_2', symObjAddr: 0x265, symBinAddr: 0x4D4A, symSize: 0x13 } + - { offsetInCU: 0x534, offset: 0xD5572, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeImageNamed:]', symObjAddr: 0x2CD, symBinAddr: 0x4D5D, symSize: 0x63 } + - { offsetInCU: 0x5BC, offset: 0xD55FA, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]', symObjAddr: 0x330, symBinAddr: 0x4DC0, symSize: 0xB3 } + - { offsetInCU: 0x6B1, offset: 0xD56EF, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke', symObjAddr: 0x3E3, symBinAddr: 0x4E73, symSize: 0xD9 } + - { offsetInCU: 0x791, offset: 0xD57CF, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke_2', symObjAddr: 0x4BC, symBinAddr: 0x4F4C, symSize: 0x13 } + - { offsetInCU: 0x7E8, offset: 0xD5826, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]', symObjAddr: 0x4CF, symBinAddr: 0x4F5F, symSize: 0xB3 } + - { offsetInCU: 0x8DD, offset: 0xD591B, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke', symObjAddr: 0x582, symBinAddr: 0x5012, symSize: 0xD9 } + - { offsetInCU: 0x9BD, offset: 0xD59FB, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x65B, symBinAddr: 0x50EB, symSize: 0x13 } + - { offsetInCU: 0x27, offset: 0xD5E00, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x50FE, symSize: 0x6A } + - { offsetInCU: 0x43, offset: 0xD5E1C, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x50FE, symSize: 0x6A } + - { offsetInCU: 0x169, offset: 0xD5F42, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleMethodWithOriginalSelector:originalMethod:fromClass:withSwizzlingSelector:swizzlingMethod:]', symObjAddr: 0x6A, symBinAddr: 0x5168, symSize: 0x11A } + - { offsetInCU: 0x27, offset: 0xD6214, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x5282, symSize: 0xDD } + - { offsetInCU: 0x4A, offset: 0xD6237, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x5282, symSize: 0xDD } + - { offsetInCU: 0x1DA, offset: 0xD63C7, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke', symObjAddr: 0xDD, symBinAddr: 0x535F, symSize: 0xF1 } + - { offsetInCU: 0x30E, offset: 0xD64FB, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke_2', symObjAddr: 0x1CE, symBinAddr: 0x5450, symSize: 0x1A } + - { offsetInCU: 0x375, offset: 0xD6562, size: 0x8, addend: 0x0, symName: '-[NSString(Async) writeToFile:atomically:encoding:completion:]', symObjAddr: 0x2AD, symBinAddr: 0x546A, symSize: 0xEB } + - { offsetInCU: 0x4CF, offset: 0xD66BC, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke', symObjAddr: 0x398, symBinAddr: 0x5555, symSize: 0xC9 } + - { offsetInCU: 0x5EF, offset: 0xD67DC, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke_2', symObjAddr: 0x461, symBinAddr: 0x561E, symSize: 0x13 } + - { offsetInCU: 0x27, offset: 0xD6B9A, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x5631, symSize: 0xC6 } + - { offsetInCU: 0x4A, offset: 0xD6BBD, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x5631, symSize: 0xC6 } + - { offsetInCU: 0x225, offset: 0xD6D98, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke', symObjAddr: 0xC6, symBinAddr: 0x56F7, symSize: 0xB4 } + - { offsetInCU: 0x2F9, offset: 0xD6E6C, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x17A, symBinAddr: 0x57AB, symSize: 0x13 } + - { offsetInCU: 0x350, offset: 0xD6EC3, size: 0x8, addend: 0x0, symName: '-[NSData(Async) writeToFile:atomically:completion:]', symObjAddr: 0x1E2, symBinAddr: 0x57BE, symSize: 0xE6 } + - { offsetInCU: 0x49A, offset: 0xD700D, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke', symObjAddr: 0x2C8, symBinAddr: 0x58A4, symSize: 0x84 } + - { offsetInCU: 0x543, offset: 0xD70B6, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke_2', symObjAddr: 0x34C, symBinAddr: 0x5928, symSize: 0xC } + - { offsetInCU: 0x58A, offset: 0xD70FD, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32b, symObjAddr: 0x358, symBinAddr: 0x5934, symSize: 0x17 } + - { offsetInCU: 0x5B3, offset: 0xD7126, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s, symObjAddr: 0x36F, symBinAddr: 0x594B, symSize: 0xF } + - { offsetInCU: 0x27, offset: 0xD7434, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x595A, symSize: 0x12 } + - { offsetInCU: 0x35, offset: 0xD7442, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) loadPropertyBag]', symObjAddr: 0x12, symBinAddr: 0x596C, symSize: 0x70 } + - { offsetInCU: 0x5B, offset: 0xD7468, size: 0x8, addend: 0x0, symName: _loadPropertyBag.onceToken, symObjAddr: 0x2DF8, symBinAddr: 0xC978, symSize: 0x0 } + - { offsetInCU: 0xBF, offset: 0xD74CC, size: 0x8, addend: 0x0, symName: __propertyBagHolder, symObjAddr: 0x2E00, symBinAddr: 0xC988, symSize: 0x0 } + - { offsetInCU: 0xE4, offset: 0xD74F1, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x595A, symSize: 0x12 } + - { offsetInCU: 0x178, offset: 0xD7585, size: 0x8, addend: 0x0, symName: '___38+[UIView(PropertyBag) loadPropertyBag]_block_invoke', symObjAddr: 0x82, symBinAddr: 0x59DC, symSize: 0x46 } + - { offsetInCU: 0x22A, offset: 0xD7637, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyValueForKey:]', symObjAddr: 0xC8, symBinAddr: 0x5A22, symSize: 0x7A } + - { offsetInCU: 0x2C6, offset: 0xD76D3, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyValue:forKey:]', symObjAddr: 0x142, symBinAddr: 0x5A9C, symSize: 0x8B } + - { offsetInCU: 0x3A5, offset: 0xD77B2, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag]', symObjAddr: 0x1CD, symBinAddr: 0x5B27, symSize: 0xEA } + - { offsetInCU: 0x460, offset: 0xD786D, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyBag:]', symObjAddr: 0x2B7, symBinAddr: 0x5C11, symSize: 0xC1 } + - { offsetInCU: 0x52F, offset: 0xD793C, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) removePropertyBag]', symObjAddr: 0x378, symBinAddr: 0x5CD2, symSize: 0x76 } + - { offsetInCU: 0x59E, offset: 0xD79AB, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag_dealloc]', symObjAddr: 0x3EE, symBinAddr: 0x5D48, symSize: 0x2E } + - { offsetInCU: 0x27, offset: 0xD7B04, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x5D76, symSize: 0x12 } + - { offsetInCU: 0x41, offset: 0xD7B1E, size: 0x8, addend: 0x0, symName: _TLKPassThroughParentKey, symObjAddr: 0x200, symBinAddr: 0x8178, symSize: 0x0 } + - { offsetInCU: 0x55, offset: 0xD7B32, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) loadHitTest]', symObjAddr: 0x12, symBinAddr: 0x5D88, symSize: 0x70 } + - { offsetInCU: 0x7B, offset: 0xD7B58, size: 0x8, addend: 0x0, symName: _loadHitTest.onceToken, symObjAddr: 0x26A0, symBinAddr: 0xC980, symSize: 0x0 } + - { offsetInCU: 0xE8, offset: 0xD7BC5, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x5D76, symSize: 0x12 } + - { offsetInCU: 0x17D, offset: 0xD7C5A, size: 0x8, addend: 0x0, symName: '___40+[UIView(PassThroughParent) loadHitTest]_block_invoke', symObjAddr: 0x82, symBinAddr: 0x5DF8, symSize: 0x3B } + - { offsetInCU: 0x1D7, offset: 0xD7CB4, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThroughParent]', symObjAddr: 0xBD, symBinAddr: 0x5E33, symSize: 0x55 } + - { offsetInCU: 0x24E, offset: 0xD7D2B, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) setPassThroughParent:]', symObjAddr: 0x112, symBinAddr: 0x5E88, symSize: 0x5A } + - { offsetInCU: 0x2C5, offset: 0xD7DA2, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThrough_hitTest:withEvent:]', symObjAddr: 0x16C, symBinAddr: 0x5EE2, symSize: 0x55 } +... diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist index 5170f2430..c9ac5b7a6 100644 Binary files a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist and b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap index 9184cde23..b940cdff5 100644 --- a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap @@ -1,6 +1,6 @@ framework module TNSWidgets { umbrella header "TNSWidgets.h" - export * + module * { export * } } diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets index ee590b9ea..069add182 100755 Binary files a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets and b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources index f66a787cb..df25e153f 100644 --- a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources @@ -38,11 +38,11 @@ Info.plist - xHG9+nBhI2hgaqloBzaUDHtutEU= + VmspYkNgBMBwiG3xU7pa0kJ+ym0= Modules/module.modulemap - ANIiDnbrCY8YCOtOm1xDrUyt8do= + /tkvRfxHVxmNhD1JzeHL7QIyPq0= PrivateHeaders/NSObject+Swizzling.h @@ -115,7 +115,7 @@ hash2 - geXwbECY3V3psdekq89Ia+2j4/OludM5UatqEk+xhhc= + WpsCv2W1QB16vBBWGv6a8wyc4IjYUnJ+SSaY3j42OP4= PrivateHeaders/NSObject+Swizzling.h diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets index 8c048df29..35f2fb8d6 100644 Binary files a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets and b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets differ diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml new file mode 100644 index 000000000..90c661605 --- /dev/null +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml @@ -0,0 +1,82 @@ +--- +triple: 'arm64-apple-darwin' +binary-path: '/Users/nstudio/Documents/github/NativeScript/NativeScript/packages/ui-mobile-base/ios/TNSWidgets/build/Release-iphonesimulator/TNSWidgets.framework/TNSWidgets' +relocations: + - { offsetInCU: 0x34, offset: 0x535E8, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionString, symObjAddr: 0x0, symBinAddr: 0x3640, symSize: 0x0 } + - { offsetInCU: 0x69, offset: 0x5361D, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionNumber, symObjAddr: 0x30, symBinAddr: 0x3670, symSize: 0x0 } + - { offsetInCU: 0x27, offset: 0x5365A, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x1018, symSize: 0x1E0 } + - { offsetInCU: 0xAB, offset: 0x536DE, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x1018, symSize: 0x1E0 } + - { offsetInCU: 0x182, offset: 0x537B5, size: 0x8, addend: 0x0, symName: '-[TNSLabel drawTextInRect:]', symObjAddr: 0x1E0, symBinAddr: 0x11F8, symSize: 0xA8 } + - { offsetInCU: 0x215, offset: 0x53848, size: 0x8, addend: 0x0, symName: '-[TNSLabel padding]', symObjAddr: 0x288, symBinAddr: 0x12A0, symSize: 0x18 } + - { offsetInCU: 0x24A, offset: 0x5387D, size: 0x8, addend: 0x0, symName: '-[TNSLabel setPadding:]', symObjAddr: 0x2A0, symBinAddr: 0x12B8, symSize: 0x18 } + - { offsetInCU: 0x289, offset: 0x538BC, size: 0x8, addend: 0x0, symName: '-[TNSLabel borderThickness]', symObjAddr: 0x2B8, symBinAddr: 0x12D0, symSize: 0x18 } + - { offsetInCU: 0x2BE, offset: 0x538F1, size: 0x8, addend: 0x0, symName: '-[TNSLabel setBorderThickness:]', symObjAddr: 0x2D0, symBinAddr: 0x12E8, symSize: 0x18 } + - { offsetInCU: 0x27, offset: 0x5397B, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x1300, symSize: 0xF0 } + - { offsetInCU: 0x59, offset: 0x539AD, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x1300, symSize: 0xF0 } + - { offsetInCU: 0x186, offset: 0x53ADA, size: 0x8, addend: 0x0, symName: ___nslog, symObjAddr: 0xF0, symBinAddr: 0x13F0, symSize: 0x28 } + - { offsetInCU: 0x27, offset: 0x53B40, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x1418, symSize: 0xDC } + - { offsetInCU: 0x4A, offset: 0x53B63, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x1418, symSize: 0xDC } + - { offsetInCU: 0x129, offset: 0x53C42, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke', symObjAddr: 0xDC, symBinAddr: 0x14F4, symSize: 0xE4 } + - { offsetInCU: 0x1BD, offset: 0x53CD6, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke_2', symObjAddr: 0x1C0, symBinAddr: 0x15D8, symSize: 0x10 } + - { offsetInCU: 0x214, offset: 0x53D2D, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40b, symObjAddr: 0x1D0, symBinAddr: 0x15E8, symSize: 0x34 } + - { offsetInCU: 0x23D, offset: 0x53D56, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s, symObjAddr: 0x204, symBinAddr: 0x161C, symSize: 0x28 } + - { offsetInCU: 0x25C, offset: 0x53D75, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40s48b, symObjAddr: 0x22C, symBinAddr: 0x1644, symSize: 0x3C } + - { offsetInCU: 0x285, offset: 0x53D9E, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s48s, symObjAddr: 0x268, symBinAddr: 0x1680, symSize: 0x30 } + - { offsetInCU: 0x2A4, offset: 0x53DBD, size: 0x8, addend: 0x0, symName: '+[NSFileHandle(Async) fileHandleWith:data:completion:]', symObjAddr: 0x298, symBinAddr: 0x16B0, symSize: 0x104 } + - { offsetInCU: 0x345, offset: 0x53E5E, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke', symObjAddr: 0x39C, symBinAddr: 0x17B4, symSize: 0x11C } + - { offsetInCU: 0x3E5, offset: 0x53EFE, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke_2', symObjAddr: 0x4B8, symBinAddr: 0x18D0, symSize: 0x14 } + - { offsetInCU: 0x27, offset: 0x54294, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x18E4, symSize: 0x30 } + - { offsetInCU: 0x4F, offset: 0x542BC, size: 0x8, addend: 0x0, symName: _image_queue, symObjAddr: 0x3E38, symBinAddr: 0x8610, symSize: 0x0 } + - { offsetInCU: 0x68, offset: 0x542D5, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x18E4, symSize: 0x30 } + - { offsetInCU: 0xCE, offset: 0x5433B, size: 0x8, addend: 0x0, symName: '-[UIImage(TNSBlocks) tns_forceDecode]', symObjAddr: 0x30, symBinAddr: 0x1914, symSize: 0x94 } + - { offsetInCU: 0x23B, offset: 0x544A8, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]', symObjAddr: 0xC4, symBinAddr: 0x19A8, symSize: 0xB8 } + - { offsetInCU: 0x2C7, offset: 0x54534, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke', symObjAddr: 0x17C, symBinAddr: 0x1A60, symSize: 0xC8 } + - { offsetInCU: 0x347, offset: 0x545B4, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke_2', symObjAddr: 0x244, symBinAddr: 0x1B28, symSize: 0x10 } + - { offsetInCU: 0x39E, offset: 0x5460B, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeImageNamed:]', symObjAddr: 0x2B0, symBinAddr: 0x1B38, symSize: 0x64 } + - { offsetInCU: 0x3F1, offset: 0x5465E, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]', symObjAddr: 0x314, symBinAddr: 0x1B9C, symSize: 0xB8 } + - { offsetInCU: 0x45D, offset: 0x546CA, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke', symObjAddr: 0x3CC, symBinAddr: 0x1C54, symSize: 0xC8 } + - { offsetInCU: 0x4DD, offset: 0x5474A, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke_2', symObjAddr: 0x494, symBinAddr: 0x1D1C, symSize: 0x10 } + - { offsetInCU: 0x534, offset: 0x547A1, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]', symObjAddr: 0x4A4, symBinAddr: 0x1D2C, symSize: 0xB8 } + - { offsetInCU: 0x5A0, offset: 0x5480D, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke', symObjAddr: 0x55C, symBinAddr: 0x1DE4, symSize: 0xC8 } + - { offsetInCU: 0x620, offset: 0x5488D, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x624, symBinAddr: 0x1EAC, symSize: 0x10 } + - { offsetInCU: 0x27, offset: 0x54C68, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x1EBC, symSize: 0x70 } + - { offsetInCU: 0x43, offset: 0x54C84, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x1EBC, symSize: 0x70 } + - { offsetInCU: 0x139, offset: 0x54D7A, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleMethodWithOriginalSelector:originalMethod:fromClass:withSwizzlingSelector:swizzlingMethod:]', symObjAddr: 0x70, symBinAddr: 0x1F2C, symSize: 0x120 } + - { offsetInCU: 0x27, offset: 0x5502F, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x204C, symSize: 0xDC } + - { offsetInCU: 0x4A, offset: 0x55052, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x204C, symSize: 0xDC } + - { offsetInCU: 0x135, offset: 0x5513D, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke', symObjAddr: 0xDC, symBinAddr: 0x2128, symSize: 0xEC } + - { offsetInCU: 0x1D5, offset: 0x551DD, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke_2', symObjAddr: 0x1C8, symBinAddr: 0x2214, symSize: 0x14 } + - { offsetInCU: 0x23C, offset: 0x55244, size: 0x8, addend: 0x0, symName: '-[NSString(Async) writeToFile:atomically:encoding:completion:]', symObjAddr: 0x2A4, symBinAddr: 0x2228, symSize: 0xF0 } + - { offsetInCU: 0x2ED, offset: 0x552F5, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke', symObjAddr: 0x394, symBinAddr: 0x2318, symSize: 0xB8 } + - { offsetInCU: 0x3A1, offset: 0x553A9, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke_2', symObjAddr: 0x44C, symBinAddr: 0x23D0, symSize: 0x10 } + - { offsetInCU: 0x27, offset: 0x55749, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x23E0, symSize: 0xD4 } + - { offsetInCU: 0x4A, offset: 0x5576C, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x23E0, symSize: 0xD4 } + - { offsetInCU: 0x180, offset: 0x558A2, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke', symObjAddr: 0xD4, symBinAddr: 0x24B4, symSize: 0xAC } + - { offsetInCU: 0x200, offset: 0x55922, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x180, symBinAddr: 0x2560, symSize: 0x10 } + - { offsetInCU: 0x257, offset: 0x55979, size: 0x8, addend: 0x0, symName: '-[NSData(Async) writeToFile:atomically:completion:]', symObjAddr: 0x1EC, symBinAddr: 0x2570, symSize: 0xEC } + - { offsetInCU: 0x2F8, offset: 0x55A1A, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke', symObjAddr: 0x2D8, symBinAddr: 0x265C, symSize: 0x84 } + - { offsetInCU: 0x37D, offset: 0x55A9F, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke_2', symObjAddr: 0x35C, symBinAddr: 0x26E0, symSize: 0xC } + - { offsetInCU: 0x3C4, offset: 0x55AE6, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32b, symObjAddr: 0x368, symBinAddr: 0x26EC, symSize: 0x10 } + - { offsetInCU: 0x3ED, offset: 0x55B0F, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s, symObjAddr: 0x378, symBinAddr: 0x26FC, symSize: 0x8 } + - { offsetInCU: 0x27, offset: 0x55DF5, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x2704, symSize: 0x4 } + - { offsetInCU: 0x35, offset: 0x55E03, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) loadPropertyBag]', symObjAddr: 0x4, symBinAddr: 0x2708, symSize: 0x84 } + - { offsetInCU: 0x5B, offset: 0x55E29, size: 0x8, addend: 0x0, symName: _loadPropertyBag.onceToken, symObjAddr: 0x2918, symBinAddr: 0x8618, symSize: 0x0 } + - { offsetInCU: 0xBF, offset: 0x55E8D, size: 0x8, addend: 0x0, symName: __propertyBagHolder, symObjAddr: 0x2920, symBinAddr: 0x8628, symSize: 0x0 } + - { offsetInCU: 0xE4, offset: 0x55EB2, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x2704, symSize: 0x4 } + - { offsetInCU: 0x163, offset: 0x55F31, size: 0x8, addend: 0x0, symName: '___38+[UIView(PropertyBag) loadPropertyBag]_block_invoke', symObjAddr: 0x88, symBinAddr: 0x278C, symSize: 0x4C } + - { offsetInCU: 0x1FA, offset: 0x55FC8, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyValueForKey:]', symObjAddr: 0xD4, symBinAddr: 0x27D8, symSize: 0x6C } + - { offsetInCU: 0x241, offset: 0x5600F, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyValue:forKey:]', symObjAddr: 0x140, symBinAddr: 0x2844, symSize: 0x74 } + - { offsetInCU: 0x294, offset: 0x56062, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag]', symObjAddr: 0x1B4, symBinAddr: 0x28B8, symSize: 0xCC } + - { offsetInCU: 0x2DB, offset: 0x560A9, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyBag:]', symObjAddr: 0x280, symBinAddr: 0x2984, symSize: 0xA8 } + - { offsetInCU: 0x31E, offset: 0x560EC, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) removePropertyBag]', symObjAddr: 0x328, symBinAddr: 0x2A2C, symSize: 0x70 } + - { offsetInCU: 0x351, offset: 0x5611F, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag_dealloc]', symObjAddr: 0x398, symBinAddr: 0x2A9C, symSize: 0x24 } + - { offsetInCU: 0x27, offset: 0x56249, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x2AC0, symSize: 0x4 } + - { offsetInCU: 0x41, offset: 0x56263, size: 0x8, addend: 0x0, symName: _TLKPassThroughParentKey, symObjAddr: 0x1F8, symBinAddr: 0x4168, symSize: 0x0 } + - { offsetInCU: 0x55, offset: 0x56277, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) loadHitTest]', symObjAddr: 0x4, symBinAddr: 0x2AC4, symSize: 0x84 } + - { offsetInCU: 0x7B, offset: 0x5629D, size: 0x8, addend: 0x0, symName: _loadHitTest.onceToken, symObjAddr: 0x24A0, symBinAddr: 0x8620, symSize: 0x0 } + - { offsetInCU: 0xE8, offset: 0x5630A, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x2AC0, symSize: 0x4 } + - { offsetInCU: 0x168, offset: 0x5638A, size: 0x8, addend: 0x0, symName: '___40+[UIView(PassThroughParent) loadHitTest]_block_invoke', symObjAddr: 0x88, symBinAddr: 0x2B48, symSize: 0x40 } + - { offsetInCU: 0x1A7, offset: 0x563C9, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThroughParent]', symObjAddr: 0xC8, symBinAddr: 0x2B88, symSize: 0x54 } + - { offsetInCU: 0x1EE, offset: 0x56410, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) setPassThroughParent:]', symObjAddr: 0x11C, symBinAddr: 0x2BDC, symSize: 0x4C } + - { offsetInCU: 0x231, offset: 0x56453, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThrough_hitTest:withEvent:]', symObjAddr: 0x168, symBinAddr: 0x2C28, symSize: 0x50 } +... diff --git a/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml new file mode 100644 index 000000000..4013a4f65 --- /dev/null +++ b/packages/core/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml @@ -0,0 +1,82 @@ +--- +triple: 'x86_64-apple-darwin' +binary-path: '/Users/nstudio/Documents/github/NativeScript/NativeScript/packages/ui-mobile-base/ios/TNSWidgets/build/Release-iphonesimulator/TNSWidgets.framework/TNSWidgets' +relocations: + - { offsetInCU: 0x34, offset: 0x54C49, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionString, symObjAddr: 0x0, symBinAddr: 0x3590, symSize: 0x0 } + - { offsetInCU: 0x69, offset: 0x54C7E, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionNumber, symObjAddr: 0x30, symBinAddr: 0x35C0, symSize: 0x0 } + - { offsetInCU: 0x27, offset: 0x54CBB, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x146A, symSize: 0x388 } + - { offsetInCU: 0xAB, offset: 0x54D3F, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x146A, symSize: 0x388 } + - { offsetInCU: 0x17F, offset: 0x54E13, size: 0x8, addend: 0x0, symName: '-[TNSLabel drawTextInRect:]', symObjAddr: 0x388, symBinAddr: 0x17F2, symSize: 0xDD } + - { offsetInCU: 0x1EB, offset: 0x54E7F, size: 0x8, addend: 0x0, symName: '-[TNSLabel padding]', symObjAddr: 0x465, symBinAddr: 0x18CF, symSize: 0x20 } + - { offsetInCU: 0x220, offset: 0x54EB4, size: 0x8, addend: 0x0, symName: '-[TNSLabel setPadding:]', symObjAddr: 0x485, symBinAddr: 0x18EF, symSize: 0x1E } + - { offsetInCU: 0x25E, offset: 0x54EF2, size: 0x8, addend: 0x0, symName: '-[TNSLabel borderThickness]', symObjAddr: 0x4A3, symBinAddr: 0x190D, symSize: 0x20 } + - { offsetInCU: 0x293, offset: 0x54F27, size: 0x8, addend: 0x0, symName: '-[TNSLabel setBorderThickness:]', symObjAddr: 0x4C3, symBinAddr: 0x192D, symSize: 0x1E } + - { offsetInCU: 0x27, offset: 0x54FB0, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x194B, symSize: 0xF8 } + - { offsetInCU: 0x59, offset: 0x54FE2, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x194B, symSize: 0xF8 } + - { offsetInCU: 0x1B5, offset: 0x5513E, size: 0x8, addend: 0x0, symName: ___nslog, symObjAddr: 0xF8, symBinAddr: 0x1A43, symSize: 0x17 } + - { offsetInCU: 0x27, offset: 0x551A4, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x1A5A, symSize: 0xD4 } + - { offsetInCU: 0x4A, offset: 0x551C7, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x1A5A, symSize: 0xD4 } + - { offsetInCU: 0x1CE, offset: 0x5534B, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke', symObjAddr: 0xD4, symBinAddr: 0x1B2E, symSize: 0xFD } + - { offsetInCU: 0x316, offset: 0x55493, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke_2', symObjAddr: 0x1D1, symBinAddr: 0x1C2B, symSize: 0x13 } + - { offsetInCU: 0x36D, offset: 0x554EA, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40b, symObjAddr: 0x1E4, symBinAddr: 0x1C3E, symSize: 0x30 } + - { offsetInCU: 0x3A2, offset: 0x5551F, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s, symObjAddr: 0x214, symBinAddr: 0x1C6E, symSize: 0x25 } + - { offsetInCU: 0x3D9, offset: 0x55556, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40s48b, symObjAddr: 0x239, symBinAddr: 0x1C93, symSize: 0x44 } + - { offsetInCU: 0x41A, offset: 0x55597, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s48s, symObjAddr: 0x27D, symBinAddr: 0x1CD7, symSize: 0x2C } + - { offsetInCU: 0x45D, offset: 0x555DA, size: 0x8, addend: 0x0, symName: '+[NSFileHandle(Async) fileHandleWith:data:completion:]', symObjAddr: 0x2A9, symBinAddr: 0x1D03, symSize: 0xF1 } + - { offsetInCU: 0x5ED, offset: 0x5576A, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke', symObjAddr: 0x39A, symBinAddr: 0x1DF4, symSize: 0x141 } + - { offsetInCU: 0x77D, offset: 0x558FA, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke_2', symObjAddr: 0x4DB, symBinAddr: 0x1F35, symSize: 0x1A } + - { offsetInCU: 0x27, offset: 0x55C90, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x1F4F, symSize: 0x27 } + - { offsetInCU: 0x4F, offset: 0x55CB8, size: 0x8, addend: 0x0, symName: _image_queue, symObjAddr: 0x4550, symBinAddr: 0x8968, symSize: 0x0 } + - { offsetInCU: 0x68, offset: 0x55CD1, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x1F4F, symSize: 0x27 } + - { offsetInCU: 0x131, offset: 0x55D9A, size: 0x8, addend: 0x0, symName: '-[UIImage(TNSBlocks) tns_forceDecode]', symObjAddr: 0x27, symBinAddr: 0x1F76, symSize: 0xB2 } + - { offsetInCU: 0x2E8, offset: 0x55F51, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]', symObjAddr: 0xD9, symBinAddr: 0x2028, symSize: 0xB3 } + - { offsetInCU: 0x3FD, offset: 0x56066, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke', symObjAddr: 0x18C, symBinAddr: 0x20DB, symSize: 0xD9 } + - { offsetInCU: 0x4DD, offset: 0x56146, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke_2', symObjAddr: 0x265, symBinAddr: 0x21B4, symSize: 0x13 } + - { offsetInCU: 0x534, offset: 0x5619D, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeImageNamed:]', symObjAddr: 0x2CD, symBinAddr: 0x21C7, symSize: 0x63 } + - { offsetInCU: 0x5BC, offset: 0x56225, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]', symObjAddr: 0x330, symBinAddr: 0x222A, symSize: 0xB3 } + - { offsetInCU: 0x6B1, offset: 0x5631A, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke', symObjAddr: 0x3E3, symBinAddr: 0x22DD, symSize: 0xD9 } + - { offsetInCU: 0x791, offset: 0x563FA, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke_2', symObjAddr: 0x4BC, symBinAddr: 0x23B6, symSize: 0x13 } + - { offsetInCU: 0x7E8, offset: 0x56451, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]', symObjAddr: 0x4CF, symBinAddr: 0x23C9, symSize: 0xB3 } + - { offsetInCU: 0x8DD, offset: 0x56546, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke', symObjAddr: 0x582, symBinAddr: 0x247C, symSize: 0xD9 } + - { offsetInCU: 0x9BD, offset: 0x56626, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x65B, symBinAddr: 0x2555, symSize: 0x13 } + - { offsetInCU: 0x27, offset: 0x56A01, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x2568, symSize: 0x6A } + - { offsetInCU: 0x43, offset: 0x56A1D, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x2568, symSize: 0x6A } + - { offsetInCU: 0x169, offset: 0x56B43, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleMethodWithOriginalSelector:originalMethod:fromClass:withSwizzlingSelector:swizzlingMethod:]', symObjAddr: 0x6A, symBinAddr: 0x25D2, symSize: 0x11A } + - { offsetInCU: 0x27, offset: 0x56E11, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x26EC, symSize: 0xDD } + - { offsetInCU: 0x4A, offset: 0x56E34, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x26EC, symSize: 0xDD } + - { offsetInCU: 0x1DA, offset: 0x56FC4, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke', symObjAddr: 0xDD, symBinAddr: 0x27C9, symSize: 0xF1 } + - { offsetInCU: 0x30E, offset: 0x570F8, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke_2', symObjAddr: 0x1CE, symBinAddr: 0x28BA, symSize: 0x1A } + - { offsetInCU: 0x375, offset: 0x5715F, size: 0x8, addend: 0x0, symName: '-[NSString(Async) writeToFile:atomically:encoding:completion:]', symObjAddr: 0x2AD, symBinAddr: 0x28D4, symSize: 0xEB } + - { offsetInCU: 0x4CE, offset: 0x572B8, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke', symObjAddr: 0x398, symBinAddr: 0x29BF, symSize: 0xC9 } + - { offsetInCU: 0x5EE, offset: 0x573D8, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke_2', symObjAddr: 0x461, symBinAddr: 0x2A88, symSize: 0x13 } + - { offsetInCU: 0x27, offset: 0x57778, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x2A9B, symSize: 0xC6 } + - { offsetInCU: 0x4A, offset: 0x5779B, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x2A9B, symSize: 0xC6 } + - { offsetInCU: 0x225, offset: 0x57976, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke', symObjAddr: 0xC6, symBinAddr: 0x2B61, symSize: 0xB4 } + - { offsetInCU: 0x2F9, offset: 0x57A4A, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x17A, symBinAddr: 0x2C15, symSize: 0x13 } + - { offsetInCU: 0x350, offset: 0x57AA1, size: 0x8, addend: 0x0, symName: '-[NSData(Async) writeToFile:atomically:completion:]', symObjAddr: 0x1E2, symBinAddr: 0x2C28, symSize: 0xE6 } + - { offsetInCU: 0x499, offset: 0x57BEA, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke', symObjAddr: 0x2C8, symBinAddr: 0x2D0E, symSize: 0x84 } + - { offsetInCU: 0x542, offset: 0x57C93, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke_2', symObjAddr: 0x34C, symBinAddr: 0x2D92, symSize: 0xC } + - { offsetInCU: 0x589, offset: 0x57CDA, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32b, symObjAddr: 0x358, symBinAddr: 0x2D9E, symSize: 0x17 } + - { offsetInCU: 0x5B2, offset: 0x57D03, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s, symObjAddr: 0x36F, symBinAddr: 0x2DB5, symSize: 0xF } + - { offsetInCU: 0x27, offset: 0x57FF5, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x2DC4, symSize: 0x12 } + - { offsetInCU: 0x35, offset: 0x58003, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) loadPropertyBag]', symObjAddr: 0x12, symBinAddr: 0x2DD6, symSize: 0x70 } + - { offsetInCU: 0x5B, offset: 0x58029, size: 0x8, addend: 0x0, symName: _loadPropertyBag.onceToken, symObjAddr: 0x2EA0, symBinAddr: 0x8970, symSize: 0x0 } + - { offsetInCU: 0xBF, offset: 0x5808D, size: 0x8, addend: 0x0, symName: __propertyBagHolder, symObjAddr: 0x2EA8, symBinAddr: 0x8980, symSize: 0x0 } + - { offsetInCU: 0xE4, offset: 0x580B2, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x2DC4, symSize: 0x12 } + - { offsetInCU: 0x178, offset: 0x58146, size: 0x8, addend: 0x0, symName: '___38+[UIView(PropertyBag) loadPropertyBag]_block_invoke', symObjAddr: 0x82, symBinAddr: 0x2E46, symSize: 0x46 } + - { offsetInCU: 0x22A, offset: 0x581F8, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyValueForKey:]', symObjAddr: 0xC8, symBinAddr: 0x2E8C, symSize: 0x7A } + - { offsetInCU: 0x2C6, offset: 0x58294, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyValue:forKey:]', symObjAddr: 0x142, symBinAddr: 0x2F06, symSize: 0x8B } + - { offsetInCU: 0x3A5, offset: 0x58373, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag]', symObjAddr: 0x1CD, symBinAddr: 0x2F91, symSize: 0xEA } + - { offsetInCU: 0x460, offset: 0x5842E, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyBag:]', symObjAddr: 0x2B7, symBinAddr: 0x307B, symSize: 0xC1 } + - { offsetInCU: 0x52F, offset: 0x584FD, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) removePropertyBag]', symObjAddr: 0x378, symBinAddr: 0x313C, symSize: 0x76 } + - { offsetInCU: 0x59E, offset: 0x5856C, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag_dealloc]', symObjAddr: 0x3EE, symBinAddr: 0x31B2, symSize: 0x2E } + - { offsetInCU: 0x27, offset: 0x586BF, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x31E0, symSize: 0x12 } + - { offsetInCU: 0x41, offset: 0x586D9, size: 0x8, addend: 0x0, symName: _TLKPassThroughParentKey, symObjAddr: 0x1F8, symBinAddr: 0x4178, symSize: 0x0 } + - { offsetInCU: 0x55, offset: 0x586ED, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) loadHitTest]', symObjAddr: 0x12, symBinAddr: 0x31F2, symSize: 0x70 } + - { offsetInCU: 0x7B, offset: 0x58713, size: 0x8, addend: 0x0, symName: _loadHitTest.onceToken, symObjAddr: 0x2758, symBinAddr: 0x8978, symSize: 0x0 } + - { offsetInCU: 0xE8, offset: 0x58780, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x31E0, symSize: 0x12 } + - { offsetInCU: 0x17D, offset: 0x58815, size: 0x8, addend: 0x0, symName: '___40+[UIView(PassThroughParent) loadHitTest]_block_invoke', symObjAddr: 0x82, symBinAddr: 0x3262, symSize: 0x3B } + - { offsetInCU: 0x1D7, offset: 0x5886F, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThroughParent]', symObjAddr: 0xBD, symBinAddr: 0x329D, symSize: 0x54 } + - { offsetInCU: 0x24E, offset: 0x588E6, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) setPassThroughParent:]', symObjAddr: 0x111, symBinAddr: 0x32F1, symSize: 0x5A } + - { offsetInCU: 0x2C5, offset: 0x5895D, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThrough_hitTest:withEvent:]', symObjAddr: 0x16B, symBinAddr: 0x334B, symSize: 0x55 } +... diff --git a/packages/core/ui/action-bar/index.ios.ts b/packages/core/ui/action-bar/index.ios.ts index f5f83e65e..737153296 100644 --- a/packages/core/ui/action-bar/index.ios.ts +++ b/packages/core/ui/action-bar/index.ios.ts @@ -204,6 +204,10 @@ export class ActionBar extends ActionBarBase { } const viewController = page.ios; + // visionOS may init with different nav stack setup + if (!viewController) { + return; + } const navigationItem: UINavigationItem = viewController.navigationItem; const navController = viewController.navigationController; diff --git a/packages/core/ui/core/view/view-helper/index.ios.ts b/packages/core/ui/core/view/view-helper/index.ios.ts index eb5edcb37..53d8f214b 100644 --- a/packages/core/ui/core/view/view-helper/index.ios.ts +++ b/packages/core/ui/core/view/view-helper/index.ios.ts @@ -199,9 +199,12 @@ export class IOSHelper { } static updateConstraints(controller: UIViewController, owner: View): void { - if (iOSUtils.MajorVersion <= 10) { - const layoutGuide = IOSHelper.initLayoutGuide(controller); - (controller.view).safeAreaLayoutGuide = layoutGuide; + // Not needed on visionOS + if (!__VISIONOS__) { + if (iOSUtils.MajorVersion <= 10) { + const layoutGuide = IOSHelper.initLayoutGuide(controller); + (controller.view).safeAreaLayoutGuide = layoutGuide; + } } } diff --git a/packages/core/ui/page/index.ios.ts b/packages/core/ui/page/index.ios.ts index e6360f1ba..421c63459 100644 --- a/packages/core/ui/page/index.ios.ts +++ b/packages/core/ui/page/index.ios.ts @@ -209,17 +209,19 @@ class UIViewControllerImpl extends UIViewController { frame._processNavigationQueue(owner); - // _processNavigationQueue will shift navigationQueue. Check canGoBack after that. - // Workaround for disabled backswipe on second custom native transition - if (frame.canGoBack()) { - const transitionState = SharedTransition.getState(owner.transitionId); - if (!transitionState?.interactive) { - // only consider when interactive transitions are not enabled - navigationController.interactivePopGestureRecognizer.delegate = navigationController; - navigationController.interactivePopGestureRecognizer.enabled = owner.enableSwipeBackNavigation; + if (!__VISIONOS__) { + // _processNavigationQueue will shift navigationQueue. Check canGoBack after that. + // Workaround for disabled backswipe on second custom native transition + if (frame.canGoBack()) { + const transitionState = SharedTransition.getState(owner.transitionId); + if (!transitionState?.interactive) { + // only consider when interactive transitions are not enabled + navigationController.interactivePopGestureRecognizer.delegate = navigationController; + navigationController.interactivePopGestureRecognizer.enabled = owner.enableSwipeBackNavigation; + } + } else { + navigationController.interactivePopGestureRecognizer.enabled = false; } - } else { - navigationController.interactivePopGestureRecognizer.enabled = false; } } diff --git a/packages/core/utils/android/index.ts b/packages/core/utils/android/index.ts index 6ce42f554..fc32ddbf1 100644 --- a/packages/core/utils/android/index.ts +++ b/packages/core/utils/android/index.ts @@ -68,7 +68,7 @@ export function dismissSoftInput(nativeView?: android.view.View): void { } windowToken = nativeView.getWindowToken(); } else if (getCurrentActivity() instanceof androidx.appcompat.app.AppCompatActivity) { - const modalDialog = (topmost()?._modalParent ?? topmost())?.modal?._dialogFragment?.getDialog(); + const modalDialog = (topmost()?._modalParent ?? (topmost()?.modal as any))?._dialogFragment?.getDialog(); const window = (modalDialog ?? getCurrentActivity()).getWindow(); const decorView = window.getDecorView(); if (decorView) { diff --git a/packages/core/utils/index.android.ts b/packages/core/utils/index.android.ts index 4f68331ad..b66d6bbda 100644 --- a/packages/core/utils/index.android.ts +++ b/packages/core/utils/index.android.ts @@ -179,7 +179,7 @@ export function dismissSoftInput(nativeView?: any): void { export function dismissKeyboard() { dismissSoftInput(); - const modalDialog = (topmost()?._modalParent ?? topmost())?.modal?._dialogFragment?.getDialog(); + const modalDialog = (topmost()?._modalParent ?? (topmost()?.modal as any))?._dialogFragment?.getDialog(); const view = modalDialog ?? AndroidUtils.getCurrentActivity(); if (view) { const focus = view.getCurrentFocus(); diff --git a/packages/types-ios/src/lib/ios/ios.d.ts b/packages/types-ios/src/lib/ios/ios.d.ts index 14fbe2828..852f14e7f 100644 --- a/packages/types-ios/src/lib/ios/ios.d.ts +++ b/packages/types-ios/src/lib/ios/ios.d.ts @@ -64,7 +64,6 @@ /// /// /// -/// /// /// /// diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts index 30014484d..5af0845ba 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts @@ -1036,6 +1036,8 @@ declare class AVAssetWriter extends NSObject { readonly error: NSError; + initialMovieFragmentInterval: CMTime; + initialMovieFragmentSequenceNumber: number; initialSegmentStartTime: CMTime; @@ -1515,7 +1517,9 @@ declare const enum AVCaptureColorSpace { P3_D65 = 1, - HLG_BT2020 = 2 + HLG_BT2020 = 2, + + AppleLog = 3 } declare class AVCaptureConnection extends NSObject { @@ -2094,6 +2098,8 @@ declare var AVCaptureDeviceTypeBuiltInUltraWideCamera: string; declare var AVCaptureDeviceTypeBuiltInWideAngleCamera: string; +declare var AVCaptureDeviceTypeContinuityCamera: string; + declare var AVCaptureDeviceTypeExternal: string; declare var AVCaptureDeviceTypeMicrophone: string; @@ -3062,7 +3068,9 @@ declare const enum AVCaptureSystemPressureFactors { PeakPower = 2, - DepthModuleTemperature = 4 + DepthModuleTemperature = 4, + + CameraTemperature = 8 } declare var AVCaptureSystemPressureLevelCritical: string; @@ -3132,6 +3140,8 @@ declare class AVCaptureVideoDataOutput extends AVCaptureOutput { recommendedVideoSettingsForVideoCodecTypeAssetWriterOutputFileType(videoCodecType: string, outputFileType: string): NSDictionary; + recommendedVideoSettingsForVideoCodecTypeAssetWriterOutputFileTypeOutputFileURL(videoCodecType: string, outputFileType: string, outputFileURL: NSURL): NSDictionary; + setSampleBufferDelegateQueue(sampleBufferDelegate: AVCaptureVideoDataOutputSampleBufferDelegate, sampleBufferCallbackQueue: interop.Pointer | interop.Reference): void; } @@ -3218,6 +3228,8 @@ declare const enum AVCaptureVideoStabilizationMode { CinematicExtended = 3, + PreviewOptimized = 4, + Auto = -1 } @@ -3906,6 +3918,44 @@ declare var AVErrorRecordingSuccessfullyFinishedKey: string; declare var AVErrorTimeKey: string; +declare class AVExternalStorageDevice extends NSObject { + + static alloc(): AVExternalStorageDevice; // inherited from NSObject + + static new(): AVExternalStorageDevice; // inherited from NSObject + + static requestAccessWithCompletionHandler(handler: (p1: boolean) => void): void; + + readonly connected: boolean; + + readonly displayName: string; + + readonly freeSize: number; + + readonly notRecommendedForCaptureUse: boolean; + + readonly totalSize: number; + + readonly uuid: NSUUID; + + static readonly authorizationStatus: AVAuthorizationStatus; + + nextAvailableURLsWithPathExtensionsError(extensionArray: NSArray | string[]): NSArray; +} + +declare class AVExternalStorageDeviceDiscoverySession extends NSObject { + + static alloc(): AVExternalStorageDeviceDiscoverySession; // inherited from NSObject + + static new(): AVExternalStorageDeviceDiscoverySession; // inherited from NSObject + + readonly externalStorageDevices: NSArray; + + static readonly sharedSession: AVExternalStorageDeviceDiscoverySession; + + static readonly supported: boolean; +} + declare var AVFileType3GPP: string; declare var AVFileType3GPP2: string; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Accessibility.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Accessibility.d.ts index ce19bca38..d7f6db8f7 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Accessibility.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Accessibility.d.ts @@ -336,4 +336,8 @@ declare const enum AXNumericDataAxisDescriptorScale { ScaleTypeLn = 2 } +declare function AXPrefersHorizontalTextLayout(): boolean; + +declare var AXPrefersHorizontalTextLayoutDidChangeNotification: string; + declare function AXSupportsBidirectionalAXMFiHearingDeviceStreaming(): boolean; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts index 261e634b7..cc9fe032e 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts @@ -2820,6 +2820,8 @@ declare const kAudioFileNotOpenError: number; declare const kAudioFileNotOptimizedError: number; +declare const kAudioFileOpenUsingHintError: number; + declare const kAudioFileOperationNotSupportedError: number; declare const kAudioFilePermissionsError: number; @@ -2918,6 +2920,8 @@ declare const kAudioFileStreamError_InvalidPacketOffset: number; declare const kAudioFileStreamError_NotOptimized: number; +declare const kAudioFileStreamError_OpenUsingHint: number; + declare const kAudioFileStreamError_UnspecifiedError: number; declare const kAudioFileStreamError_UnsupportedDataFormat: number; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!AuthenticationServices.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!AuthenticationServices.d.ts index 86b064b90..19ac237c0 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!AuthenticationServices.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!AuthenticationServices.d.ts @@ -454,6 +454,8 @@ declare class ASAuthorizationPlatformPublicKeyCredentialAssertion extends NSObje readonly attachment: ASAuthorizationPublicKeyCredentialAttachment; + readonly largeBlob: ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput; + readonly credentialID: NSData; // inherited from ASPublicKeyCredential readonly debugDescription: string; // inherited from NSObjectProtocol @@ -515,6 +517,8 @@ declare class ASAuthorizationPlatformPublicKeyCredentialAssertionRequest extends static new(): ASAuthorizationPlatformPublicKeyCredentialAssertionRequest; // inherited from NSObject + largeBlob: ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput; + allowedCredentials: NSArray; // inherited from ASAuthorizationPublicKeyCredentialAssertionRequest challenge: NSData; // inherited from ASAuthorizationPublicKeyCredentialAssertionRequest @@ -684,6 +688,8 @@ declare class ASAuthorizationPlatformPublicKeyCredentialRegistration extends NSO readonly attachment: ASAuthorizationPublicKeyCredentialAttachment; + readonly largeBlob: ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput; + readonly credentialID: NSData; // inherited from ASPublicKeyCredential readonly debugDescription: string; // inherited from NSObjectProtocol @@ -741,6 +747,8 @@ declare class ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest exte static new(): ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest; // inherited from NSObject + largeBlob: ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput; + attestationPreference: string; // inherited from ASAuthorizationPublicKeyCredentialRegistrationRequest challenge: NSData; // inherited from ASAuthorizationPublicKeyCredentialRegistrationRequest @@ -944,6 +952,68 @@ declare var ASAuthorizationPublicKeyCredentialDescriptor: { prototype: ASAuthorizationPublicKeyCredentialDescriptor; }; +declare class ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput extends NSObject { + + static alloc(): ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput; // inherited from NSObject + + static new(): ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput; // inherited from NSObject + + dataToWrite: NSData; + + readonly operation: ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation; + + constructor(o: { operation: ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation; }); + + initWithOperation(operation: ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation): this; +} + +declare const enum ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation { + + Read = 0, + + Write = 1 +} + +declare class ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput extends NSObject { + + static alloc(): ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput; // inherited from NSObject + + static new(): ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput; // inherited from NSObject + + readonly didWrite: boolean; + + readonly readData: NSData; +} + +declare class ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput extends NSObject { + + static alloc(): ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput; // inherited from NSObject + + static new(): ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput; // inherited from NSObject + + supportRequirement: ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement; + + constructor(o: { supportRequirement: ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement; }); + + initWithSupportRequirement(requirement: ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement): this; +} + +declare class ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput extends NSObject { + + static alloc(): ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput; // inherited from NSObject + + static new(): ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput; // inherited from NSObject + + readonly isSupported: boolean; +} + +declare const enum ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement { + + Required = 0, + + Preferred = 1 +} + declare class ASAuthorizationPublicKeyCredentialParameters extends NSObject implements NSCopying, NSSecureCoding { static alloc(): ASAuthorizationPublicKeyCredentialParameters; // inherited from NSObject @@ -1619,6 +1689,8 @@ declare class ASCredentialProviderViewController extends UIViewController { prepareCredentialListForServiceIdentifiers(serviceIdentifiers: NSArray | ASCredentialServiceIdentifier[]): void; + prepareCredentialListForServiceIdentifiersRequestParameters(serviceIdentifiers: NSArray | ASCredentialServiceIdentifier[], requestParameters: ASPasskeyCredentialRequestParameters): void; + prepareInterfaceForExtensionConfiguration(): void; prepareInterfaceForPasskeyRegistration(registrationRequest: ASCredentialRequest): void; @@ -1845,10 +1917,12 @@ declare class ASPasskeyCredentialRequest extends NSObject implements ASCredentia static new(): ASPasskeyCredentialRequest; // inherited from NSObject - static requestWithCredentialIdentityClientDataHashUserVerificationPreference(credentialIdentity: ASPasskeyCredentialIdentity, clientDataHash: NSData, userVerificationPreference: string): ASPasskeyCredentialRequest; + static requestWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithms(credentialIdentity: ASPasskeyCredentialIdentity, clientDataHash: NSData, userVerificationPreference: string, supportedAlgorithms: NSArray | number[]): ASPasskeyCredentialRequest; readonly clientDataHash: NSData; + readonly supportedAlgorithms: NSArray; + userVerificationPreference: string; readonly credentialIdentity: ASCredentialIdentity; // inherited from ASCredentialRequest @@ -1871,7 +1945,7 @@ declare class ASPasskeyCredentialRequest extends NSObject implements ASCredentia constructor(o: { coder: NSCoder; }); // inherited from NSCoding - constructor(o: { credentialIdentity: ASPasskeyCredentialIdentity; clientDataHash: NSData; userVerificationPreference: string; }); + constructor(o: { credentialIdentity: ASPasskeyCredentialIdentity; clientDataHash: NSData; userVerificationPreference: string; supportedAlgorithms: NSArray | number[]; }); class(): typeof NSObject; @@ -1883,7 +1957,7 @@ declare class ASPasskeyCredentialRequest extends NSObject implements ASCredentia initWithCoder(coder: NSCoder): this; - initWithCredentialIdentityClientDataHashUserVerificationPreference(credentialIdentity: ASPasskeyCredentialIdentity, clientDataHash: NSData, userVerificationPreference: string): this; + initWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithms(credentialIdentity: ASPasskeyCredentialIdentity, clientDataHash: NSData, userVerificationPreference: string, supportedAlgorithms: NSArray | number[]): this; isEqual(object: any): boolean; @@ -1904,6 +1978,31 @@ declare class ASPasskeyCredentialRequest extends NSObject implements ASCredentia self(): this; } +declare class ASPasskeyCredentialRequestParameters extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): ASPasskeyCredentialRequestParameters; // inherited from NSObject + + static new(): ASPasskeyCredentialRequestParameters; // inherited from NSObject + + readonly allowedCredentials: NSArray; + + readonly clientDataHash: NSData; + + readonly relyingPartyIdentifier: string; + + readonly userVerificationPreference: string; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + declare class ASPasskeyRegistrationCredential extends NSObject implements ASAuthorizationCredential { static alloc(): ASPasskeyRegistrationCredential; // inherited from NSObject diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!BackgroundAssets.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!BackgroundAssets.d.ts index a735fed36..1d58de81f 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!BackgroundAssets.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!BackgroundAssets.d.ts @@ -136,6 +136,43 @@ declare var BADownloaderPriorityMax: number; declare var BADownloaderPriorityMin: number; +declare const enum BAErrorCode { + + DownloadInvalid = 0, + + CallFromExtensionNotAllowed = 50, + + CallFromInactiveProcessNotAllowed = 51, + + CallerConnectionNotAccepted = 55, + + CallerConnectionInvalid = 56, + + DownloadAlreadyScheduled = 100, + + DownloadNotScheduled = 101, + + DownloadFailedToStart = 102, + + DownloadAlreadyFailed = 103, + + DownloadEssentialDownloadNotPermitted = 109, + + DownloadBackgroundActivityProhibited = 111, + + DownloadWouldExceedAllowance = 112, + + SessionDownloadDisallowedByDomain = 202, + + SessionDownloadDisallowedByAllowance = 203, + + SessionDownloadAllowanceExceeded = 204, + + SessionDownloadNotPermittedBeforeAppLaunch = 206 +} + +declare var BAErrorDomain: string; + declare class BAURLDownload extends BADownload implements NSCopying { static alloc(): BAURLDownload; // inherited from NSObject diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CloudKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CloudKit.d.ts index fb3f51411..078d9b922 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CloudKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CloudKit.d.ts @@ -1819,9 +1819,9 @@ interface CKSyncEngineDelegate extends NSObjectProtocol { syncEngineHandleEvent(syncEngine: CKSyncEngine, event: CKSyncEngineEvent): void; - syncEngineNextRecordZoneChangeBatchForContext(syncEngine: CKSyncEngine, context: CKSyncEngineSendChangesContext): CKSyncEngineRecordZoneChangeBatch; + syncEngineNextFetchChangesOptionsForContext?(syncEngine: CKSyncEngine, context: CKSyncEngineFetchChangesContext): CKSyncEngineFetchChangesOptions; - syncEngineShouldFetchChangesForZoneID?(syncEngine: CKSyncEngine, zoneID: CKRecordZoneID): boolean; + syncEngineNextRecordZoneChangeBatchForContext(syncEngine: CKSyncEngine, context: CKSyncEngineSendChangesContext): CKSyncEngineRecordZoneChangeBatch; } declare var CKSyncEngineDelegate: { @@ -1937,7 +1937,18 @@ declare class CKSyncEngineFailedZoneSave extends NSObject { readonly recordZone: CKRecordZone; } -declare class CKSyncEngineFetchChangesOptions extends NSObject { +declare class CKSyncEngineFetchChangesContext extends NSObject { + + static alloc(): CKSyncEngineFetchChangesContext; // inherited from NSObject + + static new(): CKSyncEngineFetchChangesContext; // inherited from NSObject + + readonly options: CKSyncEngineFetchChangesOptions; + + readonly reason: CKSyncEngineSyncReason; +} + +declare class CKSyncEngineFetchChangesOptions extends NSObject implements NSCopying { static alloc(): CKSyncEngineFetchChangesOptions; // inherited from NSObject @@ -1945,11 +1956,36 @@ declare class CKSyncEngineFetchChangesOptions extends NSObject { operationGroup: CKOperationGroup; - zoneIDs: NSArray; + prioritizedZoneIDs: NSArray; - constructor(o: { zoneIDs: NSArray | CKRecordZoneID[]; operationGroup: CKOperationGroup; }); + scope: CKSyncEngineFetchChangesScope; - initWithZoneIDsOperationGroup(zoneIDs: NSArray | CKRecordZoneID[], operationGroup: CKOperationGroup): this; + constructor(o: { scope: CKSyncEngineFetchChangesScope; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithScope(scope: CKSyncEngineFetchChangesScope): this; +} + +declare class CKSyncEngineFetchChangesScope extends NSObject implements NSCopying { + + static alloc(): CKSyncEngineFetchChangesScope; // inherited from NSObject + + static new(): CKSyncEngineFetchChangesScope; // inherited from NSObject + + readonly excludedZoneIDs: NSSet; + + readonly zoneIDs: NSSet; + + constructor(o: { excludedZoneIDs: NSSet; }); + + constructor(o: { zoneIDs: NSSet; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithExcludedZoneIDs(zoneIDs: NSSet): this; + + initWithZoneIDs(zoneIDs: NSSet): this; } declare class CKSyncEngineFetchedDatabaseChangesEvent extends CKSyncEngineEvent { @@ -1993,8 +2029,6 @@ declare class CKSyncEngineFetchedZoneDeletion extends NSObject { readonly reason: CKSyncEngineZoneDeletionReason; - readonly type: CKSyncEngineZoneDeletionType; - readonly zoneID: CKRecordZoneID; } @@ -2011,9 +2045,9 @@ declare class CKSyncEnginePendingDatabaseChange extends NSObject { declare const enum CKSyncEnginePendingDatabaseChangeType { - Save = 0, + SaveZone = 0, - Delete = 1 + DeleteZone = 1 } declare class CKSyncEnginePendingRecordZoneChange extends NSObject { @@ -2033,9 +2067,9 @@ declare class CKSyncEnginePendingRecordZoneChange extends NSObject { declare const enum CKSyncEnginePendingRecordZoneChangeType { - Save = 0, + SaveRecord = 0, - Delete = 1 + DeleteRecord = 1 } declare class CKSyncEnginePendingZoneDelete extends CKSyncEnginePendingDatabaseChange { @@ -2094,7 +2128,7 @@ declare class CKSyncEngineSendChangesContext extends NSObject { readonly reason: CKSyncEngineSyncReason; } -declare class CKSyncEngineSendChangesOptions extends NSObject { +declare class CKSyncEngineSendChangesOptions extends NSObject implements NSCopying { static alloc(): CKSyncEngineSendChangesOptions; // inherited from NSObject @@ -2102,11 +2136,44 @@ declare class CKSyncEngineSendChangesOptions extends NSObject { operationGroup: CKOperationGroup; - zoneIDs: NSArray; + scope: CKSyncEngineSendChangesScope; - constructor(o: { zoneIDs: NSArray | CKRecordZoneID[]; operationGroup: CKOperationGroup; }); + constructor(o: { scope: CKSyncEngineSendChangesScope; }); - initWithZoneIDsOperationGroup(zoneIDs: NSArray | CKRecordZoneID[], operationGroup: CKOperationGroup): this; + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithScope(scope: CKSyncEngineSendChangesScope): this; +} + +declare class CKSyncEngineSendChangesScope extends NSObject implements NSCopying { + + static alloc(): CKSyncEngineSendChangesScope; // inherited from NSObject + + static new(): CKSyncEngineSendChangesScope; // inherited from NSObject + + readonly excludedZoneIDs: NSSet; + + readonly recordIDs: NSSet; + + readonly zoneIDs: NSSet; + + constructor(o: { excludedZoneIDs: NSSet; }); + + constructor(o: { recordIDs: NSSet; }); + + constructor(o: { zoneIDs: NSSet; }); + + containsPendingRecordZoneChange(pendingRecordZoneChange: CKSyncEnginePendingRecordZoneChange): boolean; + + containsRecordID(recordID: CKRecordID): boolean; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithExcludedZoneIDs(excludedZoneIDs: NSSet): this; + + initWithRecordIDs(recordIDs: NSSet): this; + + initWithZoneIDs(zoneIDs: NSSet): this; } declare class CKSyncEngineSentDatabaseChangesEvent extends CKSyncEngineEvent { @@ -2151,6 +2218,8 @@ declare class CKSyncEngineState extends NSObject { readonly pendingRecordZoneChanges: NSArray; + readonly zoneIDsWithUnfetchedServerChanges: NSArray; + addPendingDatabaseChanges(changes: NSArray | CKSyncEnginePendingDatabaseChange[]): void; addPendingRecordZoneChanges(changes: NSArray | CKSyncEnginePendingRecordZoneChange[]): void; @@ -2225,15 +2294,6 @@ declare const enum CKSyncEngineZoneDeletionReason { EncryptedDataReset = 2 } -declare const enum CKSyncEngineZoneDeletionType { - - Deleted = 0, - - UserDeleted = 1, - - EncryptedDataReset = 2 -} - declare class CKSystemSharingUIObserver extends NSObject { static alloc(): CKSystemSharingUIObserver; // inherited from NSObject diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreAudioTypes.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreAudioTypes.d.ts index 4dfd1fee9..d49742b41 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreAudioTypes.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreAudioTypes.d.ts @@ -1040,6 +1040,8 @@ declare const kAudio_FilePermissionError: number; declare const kAudio_MemFullError: number; +declare const kAudio_NoError: number; + declare const kAudio_ParamError: number; declare const kAudio_TooManyFilesOpenError: number; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreData.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreData.d.ts index e4d75c313..befc5587a 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreData.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreData.d.ts @@ -302,7 +302,7 @@ declare class NSCompositeAttributeDescription extends NSAttributeDescription { static new(): NSCompositeAttributeDescription; // inherited from NSObject - elements: NSArray; + elements: NSArray; } declare class NSConstraintConflict extends NSObject { @@ -1199,6 +1199,8 @@ declare class NSManagedObjectModel extends NSObject implements NSCoding, NSCopyi static alloc(): NSManagedObjectModel; // inherited from NSObject + static checksumsForVersionedModelAtURLError(modelURL: NSURL): NSDictionary; + static mergedModelFromBundles(bundles: NSArray | NSBundle[]): NSManagedObjectModel; static mergedModelFromBundlesForStoreMetadata(bundles: NSArray | NSBundle[], metadata: NSDictionary): NSManagedObjectModel; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreFoundation.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreFoundation.d.ts index de9a3ccef..cb07924b6 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreFoundation.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreFoundation.d.ts @@ -3201,6 +3201,8 @@ declare var kCFURLCreationDateKey: string; declare var kCFURLCustomIconKey: string; +declare var kCFURLDirectoryEntryCountKey: string; + declare var kCFURLDocumentIdentifierKey: string; declare var kCFURLEffectiveIconKey: string; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreImage.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreImage.d.ts index 568c07c8c..3db627d7c 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreImage.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreImage.d.ts @@ -390,6 +390,21 @@ declare var CIBloom: { customAttributes?(): NSDictionary; }; +interface CIBlurredRectangleGenerator extends CIFilterProtocol { + + color: CIColor; + + extent: CGRect; + + sigma: number; +} +declare var CIBlurredRectangleGenerator: { + + prototype: CIBlurredRectangleGenerator; + + customAttributes?(): NSDictionary; +}; + interface CIBokehBlur extends CIFilterProtocol { inputImage: CIImage; @@ -1610,6 +1625,8 @@ declare class CIFilter extends NSObject implements NSCopying, NSSecureCoding { static bloomFilter(): CIFilter; + static blurredRectangleGeneratorFilter(): CIFilter; + static bokehBlurFilter(): CIFilter; static boxBlurFilter(): CIFilter; @@ -3600,6 +3617,8 @@ declare var CIPerspectiveTransformWithExtent: { interface CIPhotoEffect extends CIFilterProtocol { + extrapolate: boolean; + inputImage: CIImage; } declare var CIPhotoEffect: { diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreLocation.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreLocation.d.ts index f98a5db36..0b1d66408 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreLocation.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreLocation.d.ts @@ -712,10 +712,6 @@ declare class CLLocationUpdater extends NSObject { static alloc(): CLLocationUpdater; // inherited from NSObject - static historicalUpdaterWithCenterRadiusDateIntervalSampleCountQueueHandler(center: CLLocationCoordinate2D, radius: number, interestInterval: NSDateInterval, maxCount: number, queue: interop.Pointer | interop.Reference, handler: (p1: CLUpdate) => void): CLLocationUpdater; - - static historicalUpdaterWithDateIntervalSampleCountQueueHandler(interestInterval: NSDateInterval, maxCount: number, queue: interop.Pointer | interop.Reference, handler: (p1: CLUpdate) => void): CLLocationUpdater; - static liveUpdaterWithConfigurationQueueHandler(configuration: CLLiveUpdateConfiguration, queue: interop.Pointer | interop.Reference, handler: (p1: CLUpdate) => void): CLLocationUpdater; static liveUpdaterWithQueueHandler(queue: interop.Pointer | interop.Reference, handler: (p1: CLUpdate) => void): CLLocationUpdater; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreML.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreML.d.ts index 442fb38ad..e83a19fd7 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreML.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreML.d.ts @@ -757,6 +757,8 @@ declare class MLNeuralEngineComputeDevice extends NSObject implements MLComputeD static new(): MLNeuralEngineComputeDevice; // inherited from NSObject + readonly totalCoreCount: number; + readonly debugDescription: string; // inherited from NSObjectProtocol readonly description: string; // inherited from NSObjectProtocol diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreSpotlight.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreSpotlight.d.ts index b611e4171..d8a91f57f 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreSpotlight.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreSpotlight.d.ts @@ -323,6 +323,8 @@ declare class CSSearchableIndex extends NSObject { constructor(o: { name: string; protectionClass: string; }); + constructor(o: { name: string; protectionClass: string; bundleIdentifier: string; options: number; }); + beginIndexBatch(): void; deleteAllSearchableItemsWithCompletionHandler(completionHandler: (p1: NSError) => void): void; @@ -342,6 +344,8 @@ declare class CSSearchableIndex extends NSObject { initWithName(name: string): this; initWithNameProtectionClass(name: string, protectionClass: string): this; + + initWithNameProtectionClassBundleIdentifierOptions(name: string, protectionClass: string, bundleIdentifier: string, options: number): this; } interface CSSearchableIndexDelegate extends NSObjectProtocol { @@ -824,6 +828,10 @@ declare class CSSuggestion extends NSObject implements NSCopying, NSSecureCoding encodeWithCoder(coder: NSCoder): void; initWithCoder(coder: NSCoder): this; + + score(): number; + + suggestionDataSources(): NSArray; } declare var CSSuggestionHighlightAttributeName: string; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Darwin.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Darwin.d.ts index 04e3e1905..618b09657 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Darwin.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Darwin.d.ts @@ -6020,7 +6020,9 @@ declare const enum cryptex_auth_type_t { CRYPTEX1_AUTH_ENV_GENERIC_SUPPLEMENTAL = 5, - CRYPTEX_AUTH_PDI_NONCE = 6 + CRYPTEX_AUTH_PDI_NONCE = 6, + + CRYPTEX_AUTH_MAX = 7 } declare function ctermid(p1: string | interop.Pointer | interop.Reference): string; @@ -7044,7 +7046,9 @@ declare const enum graftdmg_type_t { GRAFTDMG_CRYPTEX_PDI_NONCE = 6, - GRAFTDMG_CRYPTEX_EFFECTIVE_AP = 7 + GRAFTDMG_CRYPTEX_EFFECTIVE_AP = 7, + + GRAFTDMG_CRYPTEX_MAX = 7 } declare function grantpt(p1: number): number; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!DeviceDiscoveryExtension.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!DeviceDiscoveryExtension.d.ts index 2f0cdfee3..211034ecb 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!DeviceDiscoveryExtension.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!DeviceDiscoveryExtension.d.ts @@ -11,8 +11,6 @@ declare class DDDevice extends NSObject { displayName: string; - groupIdentifier: string; - identifier: string; mediaContentSubtitle: string; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!ExtensionKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!ExtensionKit.d.ts deleted file mode 100644 index b442d2ca1..000000000 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!ExtensionKit.d.ts +++ /dev/null @@ -1,24 +0,0 @@ - -declare class EXHostViewController extends UIViewController { - - static alloc(): EXHostViewController; // inherited from NSObject - - static new(): EXHostViewController; // inherited from NSObject - - delegate: EXHostViewControllerDelegate; - - placeholderView: UIView; - - makeXPCConnectionWithError(): NSXPCConnection; -} - -interface EXHostViewControllerDelegate extends NSObjectProtocol { - - hostViewControllerDidActivate?(viewController: EXHostViewController): void; - - hostViewControllerWillDeactivateError?(viewController: EXHostViewController, error: NSError): void; -} -declare var EXHostViewControllerDelegate: { - - prototype: EXHostViewControllerDelegate; -}; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Foundation.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Foundation.d.ts index e0dd543a9..7728b1c42 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Foundation.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Foundation.d.ts @@ -3341,6 +3341,8 @@ declare class NSFileHandle extends NSObject implements NSSecureCoding { static fileHandleForWritingToURLError(url: NSURL): NSFileHandle; + static fileHandleWithDataCompletion(path: string, data: NSData, callback: (p1: NSFileHandle, p2: NSError) => void): void; + static new(): NSFileHandle; // inherited from NSObject readonly availableData: NSData; @@ -3373,6 +3375,8 @@ declare class NSFileHandle extends NSObject implements NSSecureCoding { acceptConnectionInBackgroundAndNotifyForModes(modes: NSArray | string[]): void; + appendDataCompletion(data: NSData, callback: (p1: NSError) => void): void; + closeAndReturnError(): boolean; closeFile(): void; @@ -10966,6 +10970,8 @@ declare var NSURLCredentialStorageRemoveSynchronizableCredentials: string; declare var NSURLCustomIconKey: string; +declare var NSURLDirectoryEntryCountKey: string; + declare var NSURLDocumentIdentifierKey: string; declare var NSURLEffectiveIconKey: string; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!GameKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!GameKit.d.ts index 90a148dd3..186a2543a 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!GameKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!GameKit.d.ts @@ -65,8 +65,6 @@ declare class GKAchievement extends NSObject implements NSCoding, NSSecureCoding readonly playerID: string; - readonly rarityPercent: number; - showsCompletionBanner: boolean; static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding @@ -137,6 +135,8 @@ declare class GKAchievementDescription extends NSObject implements NSCoding, NSS readonly maximumPoints: number; + readonly rarityPercent: number; + readonly replayable: boolean; readonly title: string; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!HealthKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!HealthKit.d.ts index 0a2b29202..6a677bfb2 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!HealthKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!HealthKit.d.ts @@ -1148,7 +1148,9 @@ declare const enum HKErrorCode { ErrorWorkoutActivityNotAllowed = 12, - ErrorDataSizeExceeded = 13 + ErrorDataSizeExceeded = 13, + + ErrorBackgroundWorkoutSessionNotAllowed = 14 } declare var HKErrorDomain: string; @@ -1514,8 +1516,6 @@ declare var HKMetadataKeyAudioExposureDuration: string; declare var HKMetadataKeyAudioExposureLevel: string; -declare var HKMetadataKeyAverageLightIntensity: string; - declare var HKMetadataKeyAverageMETs: string; declare var HKMetadataKeyAverageSpeed: string; @@ -1584,6 +1584,8 @@ declare var HKMetadataKeyLapLength: string; declare var HKMetadataKeyLowCardioFitnessEventThreshold: string; +declare var HKMetadataKeyMaximumLightIntensity: string; + declare var HKMetadataKeyMaximumSpeed: string; declare var HKMetadataKeyMenstrualCycleStart: string; @@ -3598,7 +3600,7 @@ interface HKWorkoutSessionDelegate extends NSObjectProtocol { workoutSessionDidGenerateEvent?(workoutSession: HKWorkoutSession, event: HKWorkoutEvent): void; - workoutSessionDidReceiveDataFromRemoteDevice?(workoutSession: HKWorkoutSession, data: NSData): void; + workoutSessionDidReceiveDataFromRemoteWorkoutSession?(workoutSession: HKWorkoutSession, data: NSArray | NSData[]): void; } declare var HKWorkoutSessionDelegate: { diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Intents.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Intents.d.ts index 7d0fa12c0..f8091c937 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Intents.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Intents.d.ts @@ -2398,7 +2398,9 @@ declare const enum INEditMessageIntentResponseCode { FailureUnsupportedOnService = 9, - FailureMessageServiceNotAvailable = 10 + FailureMessageServiceNotAvailable = 10, + + FailureRequiringInAppAuthentication = 11 } declare class INEndWorkoutIntent extends INIntent { @@ -7610,7 +7612,9 @@ declare const enum INSearchForMessagesIntentResponseCode { FailureMessageServiceNotAvailable = 6, - FailureMessageTooManyResults = 7 + FailureMessageTooManyResults = 7, + + FailureRequiringInAppAuthentication = 8 } declare class INSearchForNotebookItemsIntent extends INIntent { @@ -7989,7 +7993,9 @@ declare const enum INSendMessageIntentResponseCode { FailureRequiringAppLaunch = 5, - FailureMessageServiceNotAvailable = 6 + FailureMessageServiceNotAvailable = 6, + + FailureRequiringInAppAuthentication = 7 } declare class INSendMessageRecipientResolutionResult extends INPersonResolutionResult { @@ -8033,7 +8039,9 @@ declare const enum INSendMessageRecipientUnsupportedReason { RequestedHandleInvalid = 5, - NoHandleForLabel = 6 + NoHandleForLabel = 6, + + RequiringInAppAuthentication = 7 } declare class INSendPaymentCurrencyAmountResolutionResult extends INCurrencyAmountResolutionResult { @@ -9548,7 +9556,9 @@ declare const enum INStartCallContactUnsupportedReason { NoCallHistoryForRedial = 6, - NoUsableHandleForRedial = 7 + NoUsableHandleForRedial = 7, + + RequiringInAppAuthentication = 8 } declare class INStartCallIntent extends INIntent implements UNNotificationContentProviding { @@ -9674,7 +9684,9 @@ declare const enum INStartCallIntentResponseCode { FailureCallInProgress = 11, - FailureCallRinging = 12 + FailureCallRinging = 12, + + FailureRequiringInAppAuthentication = 13 } declare class INStartPhotoPlaybackIntent extends INIntent { @@ -10580,7 +10592,9 @@ declare const enum INUnsendMessagesIntentResponseCode { FailureUnsupportedOnService = 9, - FailureMessageServiceNotAvailable = 10 + FailureMessageServiceNotAvailable = 10, + + FailureRequiringInAppAuthentication = 11 } declare class INUpcomingMediaManager extends NSObject { diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!LocalAuthentication.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!LocalAuthentication.d.ts index 899b3f82c..80288e110 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!LocalAuthentication.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!LocalAuthentication.d.ts @@ -48,7 +48,9 @@ declare const enum LABiometryType { TypeTouchID = 1, - TypeFaceID = 2 + TypeFaceID = 2, + + TypeOpticID = 4 } declare class LAContext extends NSObject { diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!MapKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!MapKit.d.ts index af732853c..c94316347 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!MapKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!MapKit.d.ts @@ -1396,6 +1396,8 @@ declare class MKMapView extends UIView implements NSCoding { readonly overlays: NSArray; + pitchButtonVisibility: MKFeatureVisibility; + pitchEnabled: boolean; pointOfInterestFilter: MKPointOfInterestFilter; @@ -1424,6 +1426,8 @@ declare class MKMapView extends UIView implements NSCoding { showsUserLocation: boolean; + showsUserTrackingButton: boolean; + readonly userLocation: MKUserLocation; readonly userLocationVisible: boolean; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts index 167d86026..0d34b43bf 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts @@ -140,18 +140,11 @@ declare class MTRAccessControlClusterAccessControlExtensionStruct extends NSObje copyWithZone(zone: interop.Pointer | interop.Reference): any; } -declare class MTRAccessControlClusterExtensionEntry extends MTRAccessControlClusterAccessControlExtensionStruct { +declare class MTRAccessControlClusterAccessControlTargetStruct extends NSObject implements NSCopying { - static alloc(): MTRAccessControlClusterExtensionEntry; // inherited from NSObject + static alloc(): MTRAccessControlClusterAccessControlTargetStruct; // inherited from NSObject - static new(): MTRAccessControlClusterExtensionEntry; // inherited from NSObject -} - -declare class MTRAccessControlClusterTarget extends NSObject implements NSCopying { - - static alloc(): MTRAccessControlClusterTarget; // inherited from NSObject - - static new(): MTRAccessControlClusterTarget; // inherited from NSObject + static new(): MTRAccessControlClusterAccessControlTargetStruct; // inherited from NSObject cluster: number; @@ -162,6 +155,20 @@ declare class MTRAccessControlClusterTarget extends NSObject implements NSCopyin copyWithZone(zone: interop.Pointer | interop.Reference): any; } +declare class MTRAccessControlClusterExtensionEntry extends MTRAccessControlClusterAccessControlExtensionStruct { + + static alloc(): MTRAccessControlClusterExtensionEntry; // inherited from NSObject + + static new(): MTRAccessControlClusterExtensionEntry; // inherited from NSObject +} + +declare class MTRAccessControlClusterTarget extends MTRAccessControlClusterAccessControlTargetStruct { + + static alloc(): MTRAccessControlClusterTarget; // inherited from NSObject + + static new(): MTRAccessControlClusterTarget; // inherited from NSObject +} + declare const enum MTRAccessControlEntryAuthMode { PASE = 1, @@ -222,7 +229,11 @@ declare class MTRAccountLoginClusterGetSetupPINResponseParams extends NSObject i timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRAccountLoginClusterLoginParams extends NSObject implements NSCopying { @@ -804,7 +815,11 @@ declare class MTRApplicationLauncherClusterLauncherResponseParams extends NSObje timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRApplicationLauncherClusterStopAppParams extends NSObject implements NSCopying { @@ -2403,8 +2418,12 @@ declare const enum MTRAttributeIDType { AttributeIDTypeClusterTimeSynchronizationAttributeTimeSourceID = 2, + AttributeIDTypeClusterTimeSynchronizationAttributeTrustedTimeSourceID = 3, + AttributeIDTypeClusterTimeSynchronizationAttributeTrustedTimeNodeIdID = 3, + AttributeIDTypeClusterTimeSynchronizationAttributeDefaultNTPID = 4, + AttributeIDTypeClusterTimeSynchronizationAttributeDefaultNtpID = 4, AttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneID = 5, @@ -2417,6 +2436,8 @@ declare const enum MTRAttributeIDType { AttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneDatabaseID = 8, + AttributeIDTypeClusterTimeSynchronizationAttributeNTPServerAvailableID = 9, + AttributeIDTypeClusterTimeSynchronizationAttributeNtpServerPortID = 9, AttributeIDTypeClusterTimeSynchronizationAttributeGeneratedCommandListID = 65528, @@ -5446,6 +5467,10 @@ declare class MTRAttributeReport extends NSObject { readonly path: MTRAttributePath; readonly value: any; + + constructor(o: { responseValue: NSDictionary; }); + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRAttributeRequestPath extends NSObject implements NSCopying { @@ -12900,6 +12925,8 @@ declare class MTRBaseClusterGroupKeyManagement extends MTRCluster { initWithDeviceEndpointQueue(device: MTRBaseDevice, endpoint: number, queue: interop.Pointer | interop.Reference): this; + keySetReadAllIndicesWithCompletion(completion: (p1: MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams, p2: NSError) => void): void; + keySetReadAllIndicesWithParamsCompletion(params: MTRGroupKeyManagementClusterKeySetReadAllIndicesParams, completion: (p1: MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams, p2: NSError) => void): void; keySetReadAllIndicesWithParamsCompletionHandler(params: MTRGroupKeyManagementClusterKeySetReadAllIndicesParams, completionHandler: (p1: MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams, p2: NSError) => void): void; @@ -22753,10 +22780,16 @@ declare class MTRCertificates extends NSObject { static createIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIDFabricIDError(rootKeypair: MTRKeypair, rootCertificate: NSData, intermediatePublicKey: any, issuerID: number, fabricID: number): NSData; + static createIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIDFabricIDValidityPeriodError(rootKeypair: MTRKeypair, rootCertificate: NSData, intermediatePublicKey: any, issuerID: number, fabricID: number, validityPeriod: NSDateInterval): NSData; + static createOperationalCertificateSigningCertificateOperationalPublicKeyFabricIDNodeIDCaseAuthenticatedTagsError(signingKeypair: MTRKeypair, signingCertificate: NSData, operationalPublicKey: any, fabricID: number, nodeID: number, caseAuthenticatedTags: NSSet): NSData; + static createOperationalCertificateSigningCertificateOperationalPublicKeyFabricIDNodeIDCaseAuthenticatedTagsValidityPeriodError(signingKeypair: MTRKeypair, signingCertificate: NSData, operationalPublicKey: any, fabricID: number, nodeID: number, caseAuthenticatedTags: NSSet, validityPeriod: NSDateInterval): NSData; + static createRootCertificateIssuerIDFabricIDError(keypair: MTRKeypair, issuerID: number, fabricID: number): NSData; + static createRootCertificateIssuerIDFabricIDValidityPeriodError(keypair: MTRKeypair, issuerID: number, fabricID: number, validityPeriod: NSDateInterval): NSData; + static generateCertificateSigningRequestError(keypair: MTRKeypair): NSData; static generateIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIdFabricIdError(rootKeypair: MTRKeypair, rootCertificate: NSData, intermediatePublicKey: any, issuerId: number, fabricId: number): NSData; @@ -22818,7 +22851,11 @@ declare class MTRChannelClusterChangeChannelResponseParams extends NSObject impl timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRChannelClusterChannelInfo extends MTRChannelClusterChannelInfoStruct { @@ -24989,6 +25026,8 @@ declare class MTRClusterGroupKeyManagement extends MTRCluster { initWithDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: interop.Pointer | interop.Reference): this; + keySetReadAllIndicesWithExpectedValuesExpectedValueIntervalCompletion(expectedValues: NSArray> | NSDictionary[], expectedValueIntervalMs: number, completion: (p1: MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams, p2: NSError) => void): void; + keySetReadAllIndicesWithParamsExpectedValuesExpectedValueIntervalCompletion(params: MTRGroupKeyManagementClusterKeySetReadAllIndicesParams, expectedDataValueDictionaries: NSArray> | NSDictionary[], expectedValueIntervalMs: number, completion: (p1: MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams, p2: NSError) => void): void; keySetReadAllIndicesWithParamsExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRGroupKeyManagementClusterKeySetReadAllIndicesParams, expectedDataValueDictionaries: NSArray> | NSDictionary[], expectedValueIntervalMs: number, completionHandler: (p1: MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams, p2: NSError) => void): void; @@ -29782,6 +29821,34 @@ declare class MTRCommandPath extends MTRClusterPath { declare var MTRCommandPathKey: string; +interface MTRCommissionableBrowserDelegate extends NSObjectProtocol { + + controllerDidFindCommissionableDevice(controller: MTRDeviceController, device: MTRCommissionableBrowserResult): void; + + controllerDidRemoveCommissionableDevice(controller: MTRDeviceController, device: MTRCommissionableBrowserResult): void; +} +declare var MTRCommissionableBrowserDelegate: { + + prototype: MTRCommissionableBrowserDelegate; +}; + +declare class MTRCommissionableBrowserResult extends NSObject { + + static alloc(): MTRCommissionableBrowserResult; // inherited from NSObject + + static new(): MTRCommissionableBrowserResult; // inherited from NSObject + + readonly commissioningMode: boolean; + + readonly discriminator: number; + + readonly instanceName: string; + + readonly productID: number; + + readonly vendorID: number; +} + declare const enum MTRCommissioningFlow { Standard = 0, @@ -29803,6 +29870,8 @@ declare class MTRCommissioningParameters extends NSObject { attestationNonce: NSData; + countryCode: string; + csrNonce: NSData; deviceAttestationDelegate: MTRDeviceAttestationDelegate; @@ -29976,7 +30045,11 @@ declare class MTRContentLauncherClusterLauncherResponseParams extends NSObject i timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRContentLauncherClusterParameter extends MTRContentLauncherClusterParameterStruct { @@ -30200,6 +30273,10 @@ declare class MTRDeviceAttestationDeviceInfo extends NSObject { static new(): MTRDeviceAttestationDeviceInfo; // inherited from NSObject + readonly basicInformationProductID: number; + + readonly basicInformationVendorID: number; + readonly certificateDeclaration: NSData; readonly dacCertificate: NSData; @@ -30310,10 +30387,16 @@ declare class MTRDeviceController extends NSObject { setPairingDelegateQueue(delegate: MTRDevicePairingDelegate, queue: interop.Pointer | interop.Reference): void; + setupCommissioningSessionWithDiscoveredDevicePayloadNewNodeIDError(discoveredDevice: MTRCommissionableBrowserResult, payload: MTRSetupPayload, newNodeID: number): boolean; + setupCommissioningSessionWithPayloadNewNodeIDError(payload: MTRSetupPayload, newNodeID: number): boolean; shutdown(): void; + startBrowseForCommissionablesQueue(delegate: MTRCommissionableBrowserDelegate, queue: interop.Pointer | interop.Reference): boolean; + + stopBrowseForCommissionables(): boolean; + stopDevicePairingError(deviceID: number): boolean; } @@ -30541,7 +30624,11 @@ declare class MTRDiagnosticLogsClusterRetrieveLogsResponseParams extends NSObjec utcTimeStamp: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare const enum MTRDiagnosticLogsIntent { @@ -30809,7 +30896,11 @@ declare class MTRDoorLockClusterGetCredentialStatusResponseParams extends NSObje userIndex: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRDoorLockClusterGetHolidayScheduleParams extends NSObject implements NSCopying { @@ -30845,7 +30936,11 @@ declare class MTRDoorLockClusterGetHolidayScheduleResponseParams extends NSObjec timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRDoorLockClusterGetUserParams extends NSObject implements NSCopying { @@ -30893,7 +30988,11 @@ declare class MTRDoorLockClusterGetUserResponseParams extends NSObject implement userUniqueId: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRDoorLockClusterGetWeekDayScheduleParams extends NSObject implements NSCopying { @@ -30937,7 +31036,11 @@ declare class MTRDoorLockClusterGetWeekDayScheduleResponseParams extends NSObjec weekDayIndex: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRDoorLockClusterGetYearDayScheduleParams extends NSObject implements NSCopying { @@ -30975,7 +31078,11 @@ declare class MTRDoorLockClusterGetYearDayScheduleResponseParams extends NSObjec yearDayIndex: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRDoorLockClusterLockDoorParams extends NSObject implements NSCopying { @@ -31099,7 +31206,11 @@ declare class MTRDoorLockClusterSetCredentialResponseParams extends NSObject imp userIndex: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRDoorLockClusterSetHolidayScheduleParams extends NSObject implements NSCopying { @@ -32002,7 +32113,11 @@ declare class MTRElectricalMeasurementClusterGetMeasurementProfileResponseComman timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRElectricalMeasurementClusterGetProfileInfoCommandParams extends NSObject implements NSCopying { @@ -32034,7 +32149,11 @@ declare class MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare const enum MTRErrorCode { @@ -32059,7 +32178,13 @@ declare const enum MTRErrorCode { BufferTooSmall = 10, - FabricExists = 11 + FabricExists = 11, + + UnknownSchema = 12, + + SchemaMismatch = 13, + + TLVDecodeFailed = 14 } declare var MTRErrorDomain: string; @@ -32420,6 +32545,10 @@ declare class MTREventReport extends NSObject { readonly timestampDate: Date; readonly value: any; + + constructor(o: { responseValue: NSDictionary; }); + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTREventRequestPath extends NSObject implements NSCopying { @@ -32483,6 +32612,38 @@ declare class MTRFabricInfo extends NSObject { readonly vendorID: number; } +declare const enum MTRFanControlFanMode { + + Off = 0, + + Low = 1, + + Medium = 2, + + High = 3, + + On = 4, + + Auto = 5, + + Smart = 6 +} + +declare const enum MTRFanControlFanModeSequence { + + OffLowMedHigh = 0, + + OffLowHigh = 1, + + OffLowMedHighAuto = 2, + + OffLowHighAuto = 3, + + OffOnAuto = 4, + + OffOn = 5 +} + declare const enum MTRFanControlFanModeSequenceType { OffLowMedHigh = 0, @@ -32526,6 +32687,15 @@ declare const enum MTRFanControlFeature { Wind = 8 } +declare const enum MTRFanControlRockBitmap { + + RockLeftRight = 1, + + RockUpDown = 2, + + RockRound = 4 +} + declare const enum MTRFanControlRockSupportMask { RockLeftRight = 1, @@ -32535,6 +32705,13 @@ declare const enum MTRFanControlRockSupportMask { RockRound = 4 } +declare const enum MTRFanControlWindBitmap { + + SleepWind = 1, + + NaturalWind = 2 +} + declare const enum MTRFanControlWindSettingMask { SleepWind = 1, @@ -32648,7 +32825,11 @@ declare class MTRGeneralCommissioningClusterArmFailSafeResponseParams extends NS timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRGeneralCommissioningClusterBasicCommissioningInfo extends NSObject implements NSCopying { @@ -32689,7 +32870,11 @@ declare class MTRGeneralCommissioningClusterCommissioningCompleteResponseParams timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRGeneralCommissioningClusterSetRegulatoryConfigParams extends NSObject implements NSCopying { @@ -32723,7 +32908,11 @@ declare class MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams ex timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare const enum MTRGeneralCommissioningCommissioningError { @@ -33084,7 +33273,11 @@ declare class MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams ext timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRGroupKeyManagementClusterKeySetReadParams extends NSObject implements NSCopying { @@ -33112,7 +33305,11 @@ declare class MTRGroupKeyManagementClusterKeySetReadResponseParams extends NSObj timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRGroupKeyManagementClusterKeySetRemoveParams extends NSObject implements NSCopying { @@ -33204,7 +33401,11 @@ declare class MTRGroupsClusterAddGroupResponseParams extends NSObject implements timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRGroupsClusterGetGroupMembershipParams extends NSObject implements NSCopying { @@ -33234,7 +33435,11 @@ declare class MTRGroupsClusterGetGroupMembershipResponseParams extends NSObject timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRGroupsClusterRemoveAllGroupsParams extends NSObject implements NSCopying { @@ -33281,7 +33486,11 @@ declare class MTRGroupsClusterRemoveGroupResponseParams extends NSObject impleme timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRGroupsClusterViewGroupParams extends NSObject implements NSCopying { @@ -33317,7 +33526,11 @@ declare class MTRGroupsClusterViewGroupResponseParams extends NSObject implement timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare const enum MTRGroupsFeature { @@ -33330,6 +33543,11 @@ declare const enum MTRGroupsGroupClusterFeature { GroupNames = 1 } +declare const enum MTRGroupsNameSupportBitmap { + + GroupNames = 128 +} + declare class MTRIdentifyClusterIdentifyParams extends NSObject implements NSCopying { static alloc(): MTRIdentifyClusterIdentifyParams; // inherited from NSObject @@ -33386,8 +33604,12 @@ declare const enum MTRIdentifyType { None = 0, + LightOutput = 1, + VisibleLight = 1, + VisibleIndicator = 2, + VisibleLED = 2, AudibleBeep = 3, @@ -33659,7 +33881,11 @@ declare class MTRKeypadInputClusterSendKeyResponseParams extends NSObject implem timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare const enum MTRKeypadInputFeature { @@ -34141,7 +34367,11 @@ declare class MTRMediaPlaybackClusterPlaybackResponseParams extends NSObject imp timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRMediaPlaybackClusterPreviousParams extends NSObject implements NSCopying { @@ -34333,6 +34563,8 @@ declare class MTRModeSelectClusterSemanticTagStruct extends NSObject implements declare const enum MTRModeSelectFeature { + OnOff = 1, + DEPONOFF = 1 } @@ -34412,7 +34644,11 @@ declare class MTRNetworkCommissioningClusterConnectNetworkResponseParams extends timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRNetworkCommissioningClusterNetworkConfigResponseParams extends NSObject implements NSCopying { @@ -34429,14 +34665,25 @@ declare class MTRNetworkCommissioningClusterNetworkConfigResponseParams extends timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } -declare class MTRNetworkCommissioningClusterNetworkInfo extends NSObject implements NSCopying { +declare class MTRNetworkCommissioningClusterNetworkInfo extends MTRNetworkCommissioningClusterNetworkInfoStruct { static alloc(): MTRNetworkCommissioningClusterNetworkInfo; // inherited from NSObject static new(): MTRNetworkCommissioningClusterNetworkInfo; // inherited from NSObject +} + +declare class MTRNetworkCommissioningClusterNetworkInfoStruct extends NSObject implements NSCopying { + + static alloc(): MTRNetworkCommissioningClusterNetworkInfoStruct; // inherited from NSObject + + static new(): MTRNetworkCommissioningClusterNetworkInfoStruct; // inherited from NSObject connected: number; @@ -34514,14 +34761,25 @@ declare class MTRNetworkCommissioningClusterScanNetworksResponseParams extends N wiFiScanResults: NSArray; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } -declare class MTRNetworkCommissioningClusterThreadInterfaceScanResult extends NSObject implements NSCopying { +declare class MTRNetworkCommissioningClusterThreadInterfaceScanResult extends MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct { static alloc(): MTRNetworkCommissioningClusterThreadInterfaceScanResult; // inherited from NSObject static new(): MTRNetworkCommissioningClusterThreadInterfaceScanResult; // inherited from NSObject +} + +declare class MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct extends NSObject implements NSCopying { + + static alloc(): MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct; // inherited from NSObject + + static new(): MTRNetworkCommissioningClusterThreadInterfaceScanResultStruct; // inherited from NSObject channel: number; @@ -34542,11 +34800,18 @@ declare class MTRNetworkCommissioningClusterThreadInterfaceScanResult extends NS copyWithZone(zone: interop.Pointer | interop.Reference): any; } -declare class MTRNetworkCommissioningClusterWiFiInterfaceScanResult extends NSObject implements NSCopying { +declare class MTRNetworkCommissioningClusterWiFiInterfaceScanResult extends MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct { static alloc(): MTRNetworkCommissioningClusterWiFiInterfaceScanResult; // inherited from NSObject static new(): MTRNetworkCommissioningClusterWiFiInterfaceScanResult; // inherited from NSObject +} + +declare class MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct extends NSObject implements NSCopying { + + static alloc(): MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct; // inherited from NSObject + + static new(): MTRNetworkCommissioningClusterWiFiInterfaceScanResultStruct; // inherited from NSObject bssid: NSData; @@ -34611,7 +34876,9 @@ declare const enum MTRNetworkCommissioningWiFiBand { Band6G = 3, - Band60G = 4 + Band60G = 4, + + Band1G = 5 } declare const enum MTRNetworkCommissioningWiFiSecurity { @@ -34635,6 +34902,19 @@ declare const enum MTRNetworkCommissioningWiFiSecurity { Wpa3Personal = 16 } +declare const enum MTRNetworkCommissioningWiFiSecurityBitmap { + + Unencrypted = 1, + + WEP = 2, + + WPAPersonal = 4, + + WPA2Personal = 8, + + WPA3Personal = 16 +} + declare var MTRNullValueType: string; declare class MTROTAHeader extends NSObject { @@ -34762,7 +35042,11 @@ declare class MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams exten timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams extends NSObject implements NSCopying { @@ -34839,7 +35123,11 @@ declare class MTROTASoftwareUpdateProviderClusterQueryImageResponseParams extend userConsentNeeded: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare const enum MTROTASoftwareUpdateProviderOTAApplyUpdateAction { @@ -35317,7 +35605,11 @@ declare class MTROperationalCredentialsClusterAttestationResponseParams extends timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTROperationalCredentialsClusterCSRRequestParams extends NSObject implements NSCopying { @@ -35349,7 +35641,11 @@ declare class MTROperationalCredentialsClusterCSRResponseParams extends NSObject timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTROperationalCredentialsClusterCertificateChainRequestParams extends NSObject implements NSCopying { @@ -35377,7 +35673,11 @@ declare class MTROperationalCredentialsClusterCertificateChainResponseParams ext timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTROperationalCredentialsClusterFabricDescriptor extends MTROperationalCredentialsClusterFabricDescriptorStruct { @@ -35428,7 +35728,11 @@ declare class MTROperationalCredentialsClusterNOCResponseParams extends NSObject timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTROperationalCredentialsClusterNOCStruct extends NSObject implements NSCopying { @@ -36535,7 +36839,11 @@ declare class MTRScenesClusterAddSceneResponseParams extends NSObject implements timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRScenesClusterAttributeValuePair extends NSObject implements NSCopying { @@ -36548,7 +36856,7 @@ declare class MTRScenesClusterAttributeValuePair extends NSObject implements NSC attributeId: number; - attributeValue: NSArray; + attributeValue: number; copyWithZone(zone: interop.Pointer | interop.Reference): any; } @@ -36602,7 +36910,11 @@ declare class MTRScenesClusterCopySceneResponseParams extends NSObject implement timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRScenesClusterEnhancedAddSceneParams extends NSObject implements NSCopying { @@ -36650,7 +36962,11 @@ declare class MTRScenesClusterEnhancedAddSceneResponseParams extends NSObject im timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRScenesClusterEnhancedViewSceneParams extends NSObject implements NSCopying { @@ -36698,7 +37014,11 @@ declare class MTRScenesClusterEnhancedViewSceneResponseParams extends NSObject i transitionTime: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRScenesClusterExtensionFieldSet extends NSObject implements NSCopying { @@ -36751,7 +37071,11 @@ declare class MTRScenesClusterGetSceneMembershipResponseParams extends NSObject timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRScenesClusterRecallSceneParams extends NSObject implements NSCopying { @@ -36808,7 +37132,11 @@ declare class MTRScenesClusterRemoveAllScenesResponseParams extends NSObject imp timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRScenesClusterRemoveSceneParams extends NSObject implements NSCopying { @@ -36850,7 +37178,11 @@ declare class MTRScenesClusterRemoveSceneResponseParams extends NSObject impleme timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRScenesClusterStoreSceneParams extends NSObject implements NSCopying { @@ -36892,7 +37224,11 @@ declare class MTRScenesClusterStoreSceneResponseParams extends NSObject implemen timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRScenesClusterViewSceneParams extends NSObject implements NSCopying { @@ -36940,7 +37276,11 @@ declare class MTRScenesClusterViewSceneResponseParams extends NSObject implement transitionTime: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare const enum MTRScenesCopyMode { @@ -37246,7 +37586,11 @@ declare class MTRTargetNavigatorClusterNavigateTargetResponseParams extends NSOb timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRTargetNavigatorClusterTargetInfo extends MTRTargetNavigatorClusterTargetInfoStruct { @@ -37341,6 +37685,8 @@ declare class MTRTestClusterClusterNestedStruct extends MTRUnitTestingClusterNes static alloc(): MTRTestClusterClusterNestedStruct; // inherited from NSObject static new(): MTRTestClusterClusterNestedStruct; // inherited from NSObject + + c: MTRTestClusterClusterSimpleStruct; } declare class MTRTestClusterClusterNestedStructList extends MTRUnitTestingClusterNestedStructList { @@ -37348,6 +37694,8 @@ declare class MTRTestClusterClusterNestedStructList extends MTRUnitTestingCluste static alloc(): MTRTestClusterClusterNestedStructList; // inherited from NSObject static new(): MTRTestClusterClusterNestedStructList; // inherited from NSObject + + c: MTRTestClusterClusterSimpleStruct; } declare class MTRTestClusterClusterNullablesAndOptionalsStruct extends MTRUnitTestingClusterNullablesAndOptionalsStruct { @@ -37355,6 +37703,12 @@ declare class MTRTestClusterClusterNullablesAndOptionalsStruct extends MTRUnitTe static alloc(): MTRTestClusterClusterNullablesAndOptionalsStruct; // inherited from NSObject static new(): MTRTestClusterClusterNullablesAndOptionalsStruct; // inherited from NSObject + + nullableOptionalStruct: MTRTestClusterClusterSimpleStruct; + + nullableStruct: MTRTestClusterClusterSimpleStruct; + + optionalStruct: MTRTestClusterClusterSimpleStruct; } declare class MTRTestClusterClusterSimpleStruct extends MTRUnitTestingClusterSimpleStruct { @@ -37453,6 +37807,8 @@ declare class MTRTestClusterClusterTestEventEvent extends MTRUnitTestingClusterT static alloc(): MTRTestClusterClusterTestEventEvent; // inherited from NSObject static new(): MTRTestClusterClusterTestEventEvent; // inherited from NSObject + + arg4: MTRTestClusterClusterSimpleStruct; } declare class MTRTestClusterClusterTestFabricScoped extends MTRUnitTestingClusterTestFabricScoped { @@ -37460,6 +37816,8 @@ declare class MTRTestClusterClusterTestFabricScoped extends MTRUnitTestingCluste static alloc(): MTRTestClusterClusterTestFabricScoped; // inherited from NSObject static new(): MTRTestClusterClusterTestFabricScoped; // inherited from NSObject + + fabricSensitiveStruct: MTRTestClusterClusterSimpleStruct; } declare class MTRTestClusterClusterTestFabricScopedEventEvent extends MTRUnitTestingClusterTestFabricScopedEventEvent { @@ -37689,7 +38047,11 @@ declare class MTRThermostatClusterGetWeeklyScheduleResponseParams extends NSObje transitions: NSArray; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRThermostatClusterSetWeeklyScheduleParams extends NSObject implements NSCopying { @@ -37797,7 +38159,9 @@ declare const enum MTRThermostatFeature { AutoMode = 32, - Automode = 32 + Automode = 32, + + LocalTemperatureNotExposed = 64 } declare const enum MTRThermostatModeForSequence { @@ -37869,11 +38233,18 @@ declare class MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent extends NS copyWithZone(zone: interop.Pointer | interop.Reference): any; } -declare class MTRThreadNetworkDiagnosticsClusterNeighborTable extends NSObject implements NSCopying { +declare class MTRThreadNetworkDiagnosticsClusterNeighborTable extends MTRThreadNetworkDiagnosticsClusterNeighborTableStruct { static alloc(): MTRThreadNetworkDiagnosticsClusterNeighborTable; // inherited from NSObject static new(): MTRThreadNetworkDiagnosticsClusterNeighborTable; // inherited from NSObject +} + +declare class MTRThreadNetworkDiagnosticsClusterNeighborTableStruct extends NSObject implements NSCopying { + + static alloc(): MTRThreadNetworkDiagnosticsClusterNeighborTableStruct; // inherited from NSObject + + static new(): MTRThreadNetworkDiagnosticsClusterNeighborTableStruct; // inherited from NSObject age: number; @@ -37965,11 +38336,18 @@ declare class MTRThreadNetworkDiagnosticsClusterResetCountsParams extends NSObje copyWithZone(zone: interop.Pointer | interop.Reference): any; } -declare class MTRThreadNetworkDiagnosticsClusterRouteTable extends NSObject implements NSCopying { +declare class MTRThreadNetworkDiagnosticsClusterRouteTable extends MTRThreadNetworkDiagnosticsClusterRouteTableStruct { static alloc(): MTRThreadNetworkDiagnosticsClusterRouteTable; // inherited from NSObject static new(): MTRThreadNetworkDiagnosticsClusterRouteTable; // inherited from NSObject +} + +declare class MTRThreadNetworkDiagnosticsClusterRouteTableStruct extends NSObject implements NSCopying { + + static alloc(): MTRThreadNetworkDiagnosticsClusterRouteTableStruct; // inherited from NSObject + + static new(): MTRThreadNetworkDiagnosticsClusterRouteTableStruct; // inherited from NSObject age: number; @@ -38325,7 +38703,11 @@ declare class MTRUnitTestingClusterBooleanResponseParams extends NSObject implem value: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterDoubleNestedStructList extends NSObject implements NSCopying { @@ -38460,7 +38842,11 @@ declare class MTRUnitTestingClusterSimpleStructResponseParams extends NSObject i timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestAddArgumentsParams extends NSObject implements NSCopying { @@ -38490,7 +38876,11 @@ declare class MTRUnitTestingClusterTestAddArgumentsResponseParams extends NSObje timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestComplexNullableOptionalRequestParams extends NSObject implements NSCopying { @@ -38594,7 +38984,11 @@ declare class MTRUnitTestingClusterTestComplexNullableOptionalResponseParams ext timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestEmitTestEventRequestParams extends NSObject implements NSCopying { @@ -38626,7 +39020,11 @@ declare class MTRUnitTestingClusterTestEmitTestEventResponseParams extends NSObj value: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams extends NSObject implements NSCopying { @@ -38654,7 +39052,11 @@ declare class MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams e value: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestEnumsRequestParams extends NSObject implements NSCopying { @@ -38686,7 +39088,11 @@ declare class MTRUnitTestingClusterTestEnumsResponseParams extends NSObject impl timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestEventEvent extends NSObject implements NSCopying { @@ -38786,7 +39192,11 @@ declare class MTRUnitTestingClusterTestListInt8UReverseResponseParams extends NS timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams extends NSObject implements NSCopying { @@ -38906,7 +39316,11 @@ declare class MTRUnitTestingClusterTestNullableOptionalResponseParams extends NS wasPresent: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestParams extends NSObject implements NSCopying { @@ -38947,7 +39361,11 @@ declare class MTRUnitTestingClusterTestSimpleArgumentResponseParams extends NSOb timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams extends NSObject implements NSCopying { @@ -38988,7 +39406,11 @@ declare class MTRUnitTestingClusterTestSpecificResponseParams extends NSObject i timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestStructArgumentRequestParams extends NSObject implements NSCopying { @@ -39051,7 +39473,11 @@ declare class MTRUnitTestingClusterTestStructArrayArgumentResponseParams extends timedInvokeTimeoutMs: number; + constructor(o: { responseValue: NSDictionary; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithResponseValueError(responseValue: NSDictionary): this; } declare class MTRUnitTestingClusterTestUnknownCommandParams extends NSObject implements NSCopying { @@ -39224,7 +39650,9 @@ declare const enum MTRWiFiNetworkDiagnosticsWiFiVersion { Ac = 4, - Ax = 5 + Ax = 5, + + Ah = 6 } declare const enum MTRWiFiNetworkDiagnosticsWiFiVersionType { diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Messages.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Messages.d.ts index 39d1c662f..70cd4ec04 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Messages.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Messages.d.ts @@ -232,7 +232,11 @@ declare class MSSticker extends NSObject { constructor(o: { contentsOfFileURL: NSURL; localizedDescription: string; }); + constructor(o: { fileURL: NSURL; identifier: NSUUID; localizedDescription: string; }); + initWithContentsOfFileURLLocalizedDescriptionError(fileURL: NSURL, localizedDescription: string): this; + + initWithFileURLIdentifierLocalizedDescription(url: NSURL, identifier: NSUUID, localizedDescription: string): this; } declare class MSStickerBrowserView extends UIView { diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Metal.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Metal.d.ts index f1d68a311..07ea5337d 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Metal.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Metal.d.ts @@ -82,9 +82,9 @@ declare class MTLAccelerationStructureCurveGeometryDescriptor extends MTLAcceler curveBasis: MTLCurveBasis; - curveType: MTLCurveType; + curveEndCaps: MTLCurveEndCaps; - endCaps: MTLCurveEndCaps; + curveType: MTLCurveType; indexBuffer: MTLBuffer; @@ -200,9 +200,9 @@ declare class MTLAccelerationStructureMotionCurveGeometryDescriptor extends MTLA curveBasis: MTLCurveBasis; - curveType: MTLCurveType; + curveEndCaps: MTLCurveEndCaps; - endCaps: MTLCurveEndCaps; + curveType: MTLCurveType; indexBuffer: MTLBuffer; @@ -2055,6 +2055,8 @@ interface MTLDevice extends NSObjectProtocol { readWriteTextureSupport: MTLReadWriteTextureTier; + recommendedMaxWorkingSetSize: number; + registryID: number; sparseTileSizeInBytes: number; @@ -2745,6 +2747,8 @@ declare const enum MTLGPUFamily { Apple8 = 1008, + Apple9 = 1009, + Mac1 = 2001, Mac2 = 2002, @@ -2907,6 +2911,12 @@ declare class MTLIndirectCommandBufferDescriptor extends NSObject implements NSC maxKernelThreadgroupMemoryBindCount: number; + maxMeshBufferBindCount: number; + + maxObjectBufferBindCount: number; + + maxObjectThreadgroupMemoryBindCount: number; + maxVertexBufferBindCount: number; supportDynamicAttributeStride: boolean; @@ -2934,7 +2944,11 @@ declare const enum MTLIndirectCommandType { ConcurrentDispatch = 32, - ConcurrentDispatchThreads = 64 + ConcurrentDispatchThreads = 64, + + DrawMeshThreadgroups = 128, + + DrawMeshThreads = 256 } interface MTLIndirectComputeCommand extends NSObjectProtocol { @@ -3001,18 +3015,32 @@ declare class MTLIndirectInstanceAccelerationStructureDescriptor extends MTLAcce interface MTLIndirectRenderCommand extends NSObjectProtocol { + clearBarrier(): void; + drawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(numberOfPatchControlPoints: number, patchStart: number, patchCount: number, patchIndexBuffer: MTLBuffer, patchIndexBufferOffset: number, controlPointIndexBuffer: MTLBuffer, controlPointIndexBufferOffset: number, instanceCount: number, baseInstance: number, buffer: MTLBuffer, offset: number, instanceStride: number): void; drawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(primitiveType: MTLPrimitiveType, indexCount: number, indexType: MTLIndexType, indexBuffer: MTLBuffer, indexBufferOffset: number, instanceCount: number, baseVertex: number, baseInstance: number): void; + drawMeshThreadgroupsThreadsPerObjectThreadgroupThreadsPerMeshThreadgroup(threadgroupsPerGrid: MTLSize, threadsPerObjectThreadgroup: MTLSize, threadsPerMeshThreadgroup: MTLSize): void; + + drawMeshThreadsThreadsPerObjectThreadgroupThreadsPerMeshThreadgroup(threadsPerGrid: MTLSize, threadsPerObjectThreadgroup: MTLSize, threadsPerMeshThreadgroup: MTLSize): void; + drawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(numberOfPatchControlPoints: number, patchStart: number, patchCount: number, patchIndexBuffer: MTLBuffer, patchIndexBufferOffset: number, instanceCount: number, baseInstance: number, buffer: MTLBuffer, offset: number, instanceStride: number): void; drawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(primitiveType: MTLPrimitiveType, vertexStart: number, vertexCount: number, instanceCount: number, baseInstance: number): void; reset(): void; + setBarrier(): void; + setFragmentBufferOffsetAtIndex(buffer: MTLBuffer, offset: number, index: number): void; + setMeshBufferOffsetAtIndex(buffer: MTLBuffer, offset: number, index: number): void; + + setObjectBufferOffsetAtIndex(buffer: MTLBuffer, offset: number, index: number): void; + + setObjectThreadgroupMemoryLengthAtIndex(length: number, index: number): void; + setRenderPipelineState(pipelineState: MTLRenderPipelineState): void; setVertexBufferOffsetAtIndex(buffer: MTLBuffer, offset: number, index: number): void; @@ -3076,7 +3104,9 @@ declare const enum MTLIntersectionFunctionSignature { ExtendedLimits = 32, - MaxLevels = 64 + MaxLevels = 64, + + CurveData = 128 } interface MTLIntersectionFunctionTable extends MTLResource { @@ -3091,6 +3121,10 @@ interface MTLIntersectionFunctionTable extends MTLResource { setFunctionsWithRange(functions: interop.Reference, range: NSRange): void; + setOpaqueCurveIntersectionFunctionWithSignatureAtIndex(signature: MTLIntersectionFunctionSignature, index: number): void; + + setOpaqueCurveIntersectionFunctionWithSignatureWithRange(signature: MTLIntersectionFunctionSignature, range: NSRange): void; + setOpaqueTriangleIntersectionFunctionWithSignatureAtIndex(signature: MTLIntersectionFunctionSignature, index: number): void; setOpaqueTriangleIntersectionFunctionWithSignatureWithRange(signature: MTLIntersectionFunctionSignature, range: NSRange): void; @@ -3303,6 +3337,8 @@ declare class MTLMeshRenderPipelineDescriptor extends NSObject implements NSCopy stencilAttachmentPixelFormat: MTLPixelFormat; + supportIndirectCommandBuffers: boolean; + copyWithZone(zone: interop.Pointer | interop.Reference): any; reset(): void; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!MetalPerformanceShadersGraph.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!MetalPerformanceShadersGraph.d.ts index eda5777be..4db744d66 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!MetalPerformanceShadersGraph.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!MetalPerformanceShadersGraph.d.ts @@ -371,6 +371,10 @@ declare class MPSGraph extends MPSGraphObject { negativeWithTensorName(tensor: MPSGraphTensor, name: string): MPSGraphTensor; + nonMaximumSuppressionWithBoxesTensorScoresTensorClassIndicesTensorIOUThresholdScoreThresholdPerClassSuppressionCoordinateModeName(boxesTensor: MPSGraphTensor, scoresTensor: MPSGraphTensor, classIndicesTensor: MPSGraphTensor, IOUThreshold: number, scoreThreshold: number, perClassSuppression: boolean, coordinateMode: MPSGraphNonMaximumSuppressionCoordinateMode, name: string): MPSGraphTensor; + + nonMaximumSuppressionWithBoxesTensorScoresTensorIOUThresholdScoreThresholdPerClassSuppressionCoordinateModeName(boxesTensor: MPSGraphTensor, scoresTensor: MPSGraphTensor, IOUThreshold: number, scoreThreshold: number, perClassSuppression: boolean, coordinateMode: MPSGraphNonMaximumSuppressionCoordinateMode, name: string): MPSGraphTensor; + nonZeroIndicesOfTensorName(tensor: MPSGraphTensor, name: string): MPSGraphTensor; normalizationBetaGradientWithIncomingGradientTensorSourceTensorReductionAxesName(incomingGradientTensor: MPSGraphTensor, sourceTensor: MPSGraphTensor, axes: NSArray | number[], name: string): MPSGraphTensor; @@ -1118,6 +1122,17 @@ declare const enum MPSGraphLossReductionType { Mean = 2 } +declare const enum MPSGraphNonMaximumSuppressionCoordinateMode { + + CornersHeightFirst = 0, + + CornersWidthFirst = 1, + + CentersHeightFirst = 2, + + CentersWidthFirst = 3 +} + declare class MPSGraphObject extends NSObject { static alloc(): MPSGraphObject; // inherited from NSObject diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!NaturalLanguage.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!NaturalLanguage.d.ts index 41fef5d8f..0cc27cb45 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!NaturalLanguage.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!NaturalLanguage.d.ts @@ -19,6 +19,8 @@ declare class NLContextualEmbedding extends NSObject { readonly languages: NSArray; + readonly maximumSequenceLength: number; + readonly modelIdentifier: string; readonly revision: number; @@ -57,6 +59,8 @@ declare class NLContextualEmbeddingResult extends NSObject { readonly language: string; + readonly sequenceLength: number; + readonly string: string; enumerateTokenVectorsInRangeUsingBlock(range: NSRange, block: (p1: NSArray, p2: NSRange, p3: interop.Pointer | interop.Reference) => void): void; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!NearbyInteraction.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!NearbyInteraction.d.ts index c2b169833..29cd853c8 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!NearbyInteraction.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!NearbyInteraction.d.ts @@ -62,6 +62,8 @@ interface NIDeviceCapability { supportsDirectionMeasurement: boolean; + supportsExtendedDistanceMeasurement: boolean; + supportsPreciseDistanceMeasurement: boolean; } declare var NIDeviceCapability: { @@ -75,6 +77,8 @@ declare class NIDiscoveryToken extends NSObject implements NSCopying, NSSecureCo static new(): NIDiscoveryToken; // inherited from NSObject + readonly deviceCapabilities: NIDeviceCapability; + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding constructor(o: { coder: NSCoder; }); // inherited from NSCoding @@ -102,7 +106,11 @@ declare const enum NIErrorCode { InvalidARConfiguration = -5883, - AccessoryPeerDeviceUnavailable = -5882 + AccessoryPeerDeviceUnavailable = -5882, + + IncompatiblePeerDevice = -5881, + + ActiveExtendedDistanceSessionsLimitExceeded = -5880 } declare var NIErrorDomain: string; @@ -189,6 +197,8 @@ declare class NINearbyPeerConfiguration extends NIConfiguration { cameraAssistanceEnabled: boolean; + extendedDistanceMeasurementEnabled: boolean; + readonly peerDiscoveryToken: NIDiscoveryToken; constructor(o: { peerToken: NIDiscoveryToken; }); diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Network.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Network.d.ts index a22b34b32..73ca6c636 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Network.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Network.d.ts @@ -865,6 +865,14 @@ declare function nw_protocol_stack_prepend_application_protocol(stack: interop.P declare function nw_protocol_stack_set_transport_protocol(stack: interop.Pointer | interop.Reference, protocol: interop.Pointer | interop.Reference): void; +declare function nw_proxy_config_add_excluded_domain(config: interop.Pointer | interop.Reference, excluded_domain: string | interop.Pointer | interop.Reference): void; + +declare function nw_proxy_config_add_match_domain(config: interop.Pointer | interop.Reference, match_domain: string | interop.Pointer | interop.Reference): void; + +declare function nw_proxy_config_clear_excluded_domains(config: interop.Pointer | interop.Reference): void; + +declare function nw_proxy_config_clear_match_domains(config: interop.Pointer | interop.Reference): void; + declare function nw_proxy_config_create_http_connect(proxy_endpoint: interop.Pointer | interop.Reference, proxy_tls_options: interop.Pointer | interop.Reference): interop.Pointer | interop.Reference; declare function nw_proxy_config_create_oblivious_http(relay: interop.Pointer | interop.Reference, relay_resource_path: string | interop.Pointer | interop.Reference, gateway_key_config: string | interop.Pointer | interop.Reference, gateway_key_config_length: number): interop.Pointer | interop.Reference; @@ -873,6 +881,10 @@ declare function nw_proxy_config_create_relay(first_hop: interop.Pointer | inter declare function nw_proxy_config_create_socksv5(proxy_endpoint: interop.Pointer | interop.Reference): interop.Pointer | interop.Reference; +declare function nw_proxy_config_enumerate_excluded_domains(config: interop.Pointer | interop.Reference, enumerator: (p1: string) => void): void; + +declare function nw_proxy_config_enumerate_match_domains(config: interop.Pointer | interop.Reference, enumerator: (p1: string) => void): void; + declare function nw_proxy_config_get_failover_allowed(proxy_config: interop.Pointer | interop.Reference): boolean; declare function nw_proxy_config_set_failover_allowed(proxy_config: interop.Pointer | interop.Reference, failover_allowed: boolean): void; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!NetworkExtension.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!NetworkExtension.d.ts index c1c2cbd22..adf6dfe34 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!NetworkExtension.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!NetworkExtension.d.ts @@ -1581,12 +1581,18 @@ declare class NERelay extends NSObject implements NSCopying, NSSecureCoding { additionalHTTPHeaderFields: NSDictionary; + dnsOverHTTPSURL: NSURL; + identityData: NSData; identityDataPassword: string; rawPublicKeys: NSArray; + syntheticDNSAnswerIPv4Prefix: string; + + syntheticDNSAnswerIPv6Prefix: string; + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding constructor(o: { coder: NSCoder; }); // inherited from NSCoding @@ -1606,6 +1612,8 @@ declare class NERelayManager extends NSObject { static alloc(): NERelayManager; // inherited from NSObject + static loadAllManagersFromPreferencesWithCompletionHandler(completionHandler: (p1: NSArray, p2: NSError) => void): void; + static new(): NERelayManager; // inherited from NSObject static sharedManager(): NERelayManager; @@ -1618,6 +1626,8 @@ declare class NERelayManager extends NSObject { matchDomains: NSArray; + onDemandRules: NSArray; + relays: NSArray; loadFromPreferencesWithCompletionHandler(completionHandler: (p1: NSError) => void): void; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!PassKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!PassKit.d.ts index 3ebcbbff0..9f8bfb144 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!PassKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!PassKit.d.ts @@ -1070,14 +1070,7 @@ declare const enum PKPayLaterDisplayStyle { Price = 3 } -declare class PKPayLaterUtilities extends NSObject { - - static alloc(): PKPayLaterUtilities; // inherited from NSObject - - static new(): PKPayLaterUtilities; // inherited from NSObject - - static validateWithAmountLocaleCompletion(amount: NSDecimalNumber, locale: NSLocale, completion: (p1: boolean) => void): void; -} +declare function PKPayLaterValidateAmount(amount: NSDecimalNumber, currencyCode: string, completion: (p1: boolean) => void): void; declare class PKPayLaterView extends UIView { @@ -1101,15 +1094,15 @@ declare class PKPayLaterView extends UIView { amount: NSDecimalNumber; + currencyCode: string; + delegate: PKPayLaterViewDelegate; displayStyle: PKPayLaterDisplayStyle; - locale: NSLocale; + constructor(o: { amount: NSDecimalNumber; currencyCode: string; }); - constructor(o: { amount: NSDecimalNumber; locale: NSLocale; }); - - initWithAmountLocale(amount: NSDecimalNumber, locale: NSLocale): this; + initWithAmountCurrencyCode(amount: NSDecimalNumber, currencyCode: string): this; } interface PKPayLaterViewDelegate extends NSObjectProtocol { @@ -1519,6 +1512,8 @@ declare var PKPaymentNetworkMir: string; declare var PKPaymentNetworkNanaco: string; +declare var PKPaymentNetworkPagoBancomat: string; + declare var PKPaymentNetworkPostFinance: string; declare var PKPaymentNetworkPrivateLabel: string; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Speech.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Speech.d.ts index 74157c909..4877a4afa 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Speech.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Speech.d.ts @@ -20,27 +20,12 @@ declare class SFAcousticFeature extends NSObject implements NSCopying, NSSecureC initWithCoder(coder: NSCoder): this; } -declare var SFAnalysisContextTagContextualNamedEntities: string; - -declare var SFAnalysisContextTagGeoLMRegionID: string; - declare var SFAnalysisContextTagLeftContext: string; declare var SFAnalysisContextTagRightContext: string; declare var SFAnalysisContextTagSelectedText: string; -declare const enum SFCommandRecognizerArgumentPresence { - - PresentAndDelimited = 0, - - PresentMaybeIncomplete = 1, - - MissingMaybeExpected = 2, - - Missing = 3 -} - declare class SFSpeechAudioBufferRecognitionRequest extends SFSpeechRecognitionRequest { static alloc(): SFSpeechAudioBufferRecognitionRequest; // inherited from NSObject @@ -58,25 +43,11 @@ declare class SFSpeechAudioBufferRecognitionRequest extends SFSpeechRecognitionR declare const enum SFSpeechErrorCode { - InternalServiceError = 0, + InternalServiceError = 1, - AudioDisordered = 1, + UndefinedTemplateClassName = 7, - UnexpectedAudioFormat = 2, - - NoModel = 3, - - IncompatibleAudioFormats = 4, - - InvalidJitProfile = 5, - - UndefinedTemplateClassName = 6, - - MalformedSupplementalModel = 7, - - UnimplementedFunctionality = 8, - - ModuleOutputFailed = 9 + MalformedSupplementalModel = 8 } declare var SFSpeechErrorDomain: string; @@ -414,6 +385,16 @@ declare class _SFAnalysisContext extends NSObject { userDataForKey(key: string): any; } +declare var _SFAnalysisContextTagContextualNamedEntities: string; + +declare var _SFAnalysisContextTagGeoLMRegionID: string; + +declare var _SFAnalysisContextTagLeftContext: string; + +declare var _SFAnalysisContextTagRightContext: string; + +declare var _SFAnalysisContextTagSelectedText: string; + declare class _SFAnalyzerTranscriptionSegment extends NSObject { static alloc(): _SFAnalyzerTranscriptionSegment; // inherited from NSObject @@ -439,11 +420,30 @@ declare class _SFCommandRecognizerArgument extends NSObject { readonly indexes: NSIndexSet; - readonly presence: SFCommandRecognizerArgumentPresence; + readonly presence: _SFCommandRecognizerArgumentPresence; - constructor(o: { presence: SFCommandRecognizerArgumentPresence; indexes: NSIndexSet; adpositionIndexes: NSIndexSet; }); + constructor(o: { presence: _SFCommandRecognizerArgumentPresence; indexes: NSIndexSet; adpositionIndexes: NSIndexSet; }); - initWithPresenceIndexesAdpositionIndexes(presence: SFCommandRecognizerArgumentPresence, indexes: NSIndexSet, adpositionIndexes: NSIndexSet): this; + initWithPresenceIndexesAdpositionIndexes(presence: _SFCommandRecognizerArgumentPresence, indexes: NSIndexSet, adpositionIndexes: NSIndexSet): this; +} + +declare const enum _SFCommandRecognizerArgumentPresence { + + _SFCommandRecognizerArgumentPresencePresentAndDelimited = 0, + + _SFCommandRecognizerArgumentPresencePresentMaybeIncomplete = 1, + + _SFCommandRecognizerArgumentPresenceMissingMaybeExpected = 2, + + _SFCommandRecognizerArgumentPresenceMissing = 3, + + SFCommandRecognizerArgumentPresencePresentAndDelimited = 0, + + SFCommandRecognizerArgumentPresencePresentMaybeIncomplete = 1, + + SFCommandRecognizerArgumentPresenceMissingMaybeExpected = 2, + + SFCommandRecognizerArgumentPresenceMissing = 3 } declare class _SFCommandRecognizerInterpretation extends NSObject { @@ -550,12 +550,6 @@ declare class _SFSpeechAnalyzer extends NSObject { constructor(o: { clientIdentifier: string; inputSequence: _SFInputSequencer; audioFormat: AVAudioFormat; transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate; endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate; queue: NSOperationQueue; transcriberOptions: _SFSpeechAnalyzerTranscriberOptions; commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions; options: _SFSpeechAnalyzerOptions; restrictedLogging: boolean; geoLMRegionID: string; contextualNamedEntities: NSArray<_SFContextualNamedEntity> | _SFContextualNamedEntity[]; didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void; }); - constructor(o: { clientIdentifier: string; inputSequence: _SFInputSequencer; audioFormat: AVAudioFormat; transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate; endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate; queue: NSOperationQueue; transcriberOptions: _SFSpeechAnalyzerTranscriberOptions; commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions; options: _SFSpeechAnalyzerOptions; restrictedLogging: boolean; geoLMRegionID: string; contextualNamedEntities: NSArray<_SFContextualNamedEntity> | _SFContextualNamedEntity[]; personalizedLMPath: string; didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void; }); - - constructor(o: { clientIdentifier: string; inputSequence: _SFInputSequencer; audioFormat: AVAudioFormat; transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate; endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate; queue: NSOperationQueue; transcriberOptions: _SFSpeechAnalyzerTranscriberOptions; commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions; options: _SFSpeechAnalyzerOptions; restrictedLogging: boolean; geoLMRegionID: string; personalizedLMPath: string; didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void; }); - - cancelInputTask(): void; - cancelPendingResultsAndPauseWithCompletion(completion: (p1: NSError) => void): void; finalizeAndFinishThroughCompletion(time: CMTime, completion: (p1: NSError) => void): void; @@ -582,10 +576,6 @@ declare class _SFSpeechAnalyzer extends NSObject { initWithClientIdentifierInputSequenceAudioFormatTranscriberResultDelegateEndpointingResultDelegateQueueTranscriberOptionsCommandRecognizerOptionsOptionsRestrictedLoggingGeoLMRegionIDContextualNamedEntitiesDidChangeVolatileRange(clientIdentifier: string, inputSequence: _SFInputSequencer, audioFormat: AVAudioFormat, transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate, endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate, queue: NSOperationQueue, transcriberOptions: _SFSpeechAnalyzerTranscriberOptions, commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions, options: _SFSpeechAnalyzerOptions, restrictedLogging: boolean, geoLMRegionID: string, contextualNamedEntities: NSArray<_SFContextualNamedEntity> | _SFContextualNamedEntity[], didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void): this; - initWithClientIdentifierInputSequenceAudioFormatTranscriberResultDelegateEndpointingResultDelegateQueueTranscriberOptionsCommandRecognizerOptionsOptionsRestrictedLoggingGeoLMRegionIDContextualNamedEntitiesPersonalizedLMPathDidChangeVolatileRange(clientIdentifier: string, inputSequence: _SFInputSequencer, audioFormat: AVAudioFormat, transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate, endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate, queue: NSOperationQueue, transcriberOptions: _SFSpeechAnalyzerTranscriberOptions, commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions, options: _SFSpeechAnalyzerOptions, restrictedLogging: boolean, geoLMRegionID: string, contextualNamedEntities: NSArray<_SFContextualNamedEntity> | _SFContextualNamedEntity[], personalizedLMPath: string, didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void): this; - - initWithClientIdentifierInputSequenceAudioFormatTranscriberResultDelegateEndpointingResultDelegateQueueTranscriberOptionsCommandRecognizerOptionsOptionsRestrictedLoggingGeoLMRegionIDPersonalizedLMPathDidChangeVolatileRange(clientIdentifier: string, inputSequence: _SFInputSequencer, audioFormat: AVAudioFormat, transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate, endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate, queue: NSOperationQueue, transcriberOptions: _SFSpeechAnalyzerTranscriberOptions, commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions, options: _SFSpeechAnalyzerOptions, restrictedLogging: boolean, geoLMRegionID: string, personalizedLMPath: string, didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void): this; - prepareToAnalyzeReportingIntoCompletion(progress: NSProgress, completion: (p1: NSError) => void): void; requestResultAtEndpointTimes(times: NSArray | NSValue[]): void; @@ -737,13 +727,9 @@ declare class _SFTranscriberModelOptions extends NSObject implements NSCopying { constructor(o: { supplementalModelURL: NSURL; farField: boolean; modelOverrideURL: NSURL; speechProfileURLs: NSArray | NSURL[]; taskForMemoryLock: string; }); - constructor(o: { supplementalModelURL: NSURL; farField: boolean; modelOverrideURL: NSURL; taskForMemoryLock: string; }); - copyWithZone(zone: interop.Pointer | interop.Reference): any; initWithSupplementalModelURLFarFieldModelOverrideURLSpeechProfileURLsTaskForMemoryLock(supplementalModelURL: NSURL, farField: boolean, modelOverrideURL: NSURL, speechProfileURLs: NSArray | NSURL[], taskForMemoryLock: string): this; - - initWithSupplementalModelURLFarFieldModelOverrideURLTaskForMemoryLock(supplementalModelURL: NSURL, farField: boolean, modelOverrideURL: NSURL, taskForMemoryLock: string): this; } declare class _SFTranscriberResult extends NSObject { diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts index f757d6b91..9262e1703 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts @@ -416,6 +416,8 @@ declare var NSDefaultAttributesDocumentAttribute: string; declare var NSDefaultAttributesDocumentOption: string; +declare var NSDefaultFontExcludedDocumentAttribute: string; + declare var NSDefaultTabIntervalDocumentAttribute: string; declare class NSDiffableDataSourceSectionSnapshot extends NSObject implements NSCopying { @@ -11941,6 +11943,8 @@ declare class UIHoverAutomaticEffect extends NSObject implements UIHoverEffect { static alloc(): UIHoverAutomaticEffect; // inherited from NSObject + static effect(): UIHoverAutomaticEffect; + static new(): UIHoverAutomaticEffect; // inherited from NSObject readonly debugDescription: string; // inherited from NSObjectProtocol @@ -12006,6 +12010,8 @@ declare class UIHoverHighlightEffect extends NSObject implements UIHoverEffect { static alloc(): UIHoverHighlightEffect; // inherited from NSObject + static effect(): UIHoverHighlightEffect; + static new(): UIHoverHighlightEffect; // inherited from NSObject readonly debugDescription: string; // inherited from NSObjectProtocol @@ -12049,6 +12055,8 @@ declare class UIHoverLiftEffect extends NSObject implements UIHoverEffect { static alloc(): UIHoverLiftEffect; // inherited from NSObject + static effect(): UIHoverLiftEffect; + static new(): UIHoverLiftEffect; // inherited from NSObject readonly debugDescription: string; // inherited from NSObjectProtocol @@ -12092,6 +12100,8 @@ declare class UIHoverStyle extends NSObject implements NSCopying { static alloc(): UIHoverStyle; // inherited from NSObject + static automaticStyle(): UIHoverStyle; + static new(): UIHoverStyle; // inherited from NSObject static styleWithEffectShape(effect: UIHoverEffect, shape: UIShape): UIHoverStyle; @@ -12100,6 +12110,8 @@ declare class UIHoverStyle extends NSObject implements NSCopying { effect: UIHoverEffect; + enabled: boolean; + shape: UIShape; copyWithZone(zone: interop.Pointer | interop.Reference): any; @@ -14594,6 +14606,8 @@ declare var UIMenuAlignment: string; declare var UIMenuApplication: string; +declare var UIMenuAutoFill: string; + declare var UIMenuBringAllToFront: string; interface UIMenuBuilder { @@ -14761,7 +14775,9 @@ declare const enum UIMenuElementSize { Medium = 1, - Large = 2 + Large = 2, + + Automatic = -1 } declare const enum UIMenuElementState { @@ -14787,8 +14803,6 @@ declare var UIMenuHelp: string; declare var UIMenuHide: string; -declare var UIMenuInsert: string; - declare class UIMenuItem extends NSObject { static alloc(): UIMenuItem; // inherited from NSObject @@ -15024,6 +15038,8 @@ interface UIMutableTraits extends NSObjectProtocol { preferredContentSizeCategory: string; + sceneCaptureState: UISceneCaptureState; + toolbarItemPresentationSize: UINSToolbarItemPresentationSize; typesettingLanguage: string; @@ -16616,6 +16632,8 @@ declare class UIPointerStyle extends UIHoverStyle implements NSCopying { static alloc(): UIPointerStyle; // inherited from NSObject + static automaticStyle(): UIPointerStyle; // inherited from UIHoverStyle + static hiddenPointerStyle(): UIPointerStyle; static new(): UIPointerStyle; // inherited from NSObject @@ -17817,7 +17835,7 @@ declare const enum UIRemoteNotificationType { NewsstandContentAvailability = 8 } -declare class UIResolvedShape extends NSObject { +declare class UIResolvedShape extends NSObject implements NSCopying { static alloc(): UIResolvedShape; // inherited from NSObject @@ -17828,6 +17846,12 @@ declare class UIResolvedShape extends NSObject { readonly path: UIBezierPath; readonly shape: UIShape; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + shapeByApplyingInset(inset: number): UIResolvedShape; + + shapeByApplyingInsets(insets: UIEdgeInsets): UIResolvedShape; } declare class UIResponder extends NSObject implements UIActivityItemsConfigurationProviding, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UIUserActivityRestoring { @@ -18178,6 +18202,15 @@ declare const enum UISceneActivationState { Background = 2 } +declare const enum UISceneCaptureState { + + Unspecified = -1, + + Inactive = 0, + + Active = 1 +} + declare class UISceneConfiguration extends NSObject implements NSCopying, NSSecureCoding { static alloc(): UISceneConfiguration; // inherited from NSObject @@ -19695,39 +19728,86 @@ declare const enum UISemanticContentAttribute { ForceRightToLeft = 4 } -declare class UIShape extends NSObject implements NSCopying { +declare class UIShape extends NSObject implements NSCopying, UIShapeProvider { static alloc(): UIShape; // inherited from NSObject - static dynamicShapeWithProvider(provider: (p1: UIShapeResolutionContext) => UIResolvedShape): UIShape; - static fixedRectShapeWithRect(rect: CGRect): UIShape; + static fixedRectShapeWithRectCornerRadius(rect: CGRect, cornerRadius: number): UIShape; + + static fixedRectShapeWithRectCornerRadiusCornerCurveMaskedCorners(rect: CGRect, cornerRadius: number, cornerCurve: UICornerCurve, maskedCorners: UIRectCorner): UIShape; + static new(): UIShape; // inherited from NSObject - static roundedRectShapeWithCornerRadius(cornerRadius: number): UIShape; + static rectShapeWithCornerRadius(cornerRadius: number): UIShape; - static roundedRectShapeWithCornerRadiusCornerCurve(cornerRadius: number, cornerCurve: UICornerCurve): UIShape; + static rectShapeWithCornerRadiusCornerCurve(cornerRadius: number, cornerCurve: UICornerCurve): UIShape; - static roundedRectShapeWithCornerRadiusCornerCurveMaskedCorners(cornerRadius: number, cornerCurve: UICornerCurve, maskedCorners: UIRectCorner): UIShape; + static rectShapeWithCornerRadiusCornerCurveMaskedCorners(cornerRadius: number, cornerCurve: UICornerCurve, maskedCorners: UIRectCorner): UIShape; static shapeWithBezierPath(path: UIBezierPath): UIShape; + static shapeWithProvider(provider: UIShapeProvider): UIShape; + static readonly capsuleShape: UIShape; static readonly circleShape: UIShape; static readonly rectShape: UIShape; + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + copyWithZone(zone: interop.Pointer | interop.Reference): any; + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + resolvedShapeInContext(context: UIShapeResolutionContext): UIResolvedShape; + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + shapeByApplyingInset(inset: number): UIShape; shapeByApplyingInsets(insets: UIEdgeInsets): UIShape; } +interface UIShapeProvider extends NSObjectProtocol { + + resolvedShapeInContext(context: UIShapeResolutionContext): UIResolvedShape; +} +declare var UIShapeProvider: { + + prototype: UIShapeProvider; +}; + declare class UIShapeResolutionContext extends NSObject { static alloc(): UIShapeResolutionContext; // inherited from NSObject @@ -24746,6 +24826,8 @@ declare class UITraitCollection extends NSObject implements NSCopying, NSSecureC static traitCollectionWithPreferredContentSizeCategory(preferredContentSizeCategory: string): UITraitCollection; + static traitCollectionWithSceneCaptureState(sceneCaptureState: UISceneCaptureState): UITraitCollection; + static traitCollectionWithToolbarItemPresentationSize(toolbarItemPresentationSize: UINSToolbarItemPresentationSize): UITraitCollection; static traitCollectionWithTraits(mutations: (p1: UIMutableTraits) => void): UITraitCollection; @@ -24784,6 +24866,8 @@ declare class UITraitCollection extends NSObject implements NSCopying, NSSecureC readonly preferredContentSizeCategory: string; + readonly sceneCaptureState: UISceneCaptureState; + readonly toolbarItemPresentationSize: UINSToolbarItemPresentationSize; readonly typesettingLanguage: string; @@ -24993,6 +25077,21 @@ declare class UITraitPreferredContentSizeCategory extends NSObject implements UI static readonly name: string; // inherited from UITraitDefinition } +declare class UITraitSceneCaptureState extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitSceneCaptureState; // inherited from NSObject + + static new(): UITraitSceneCaptureState; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + declare class UITraitToolbarItemPresentationSize extends NSObject implements UINSIntegerTraitDefinition { static alloc(): UITraitToolbarItemPresentationSize; // inherited from NSObject @@ -25123,7 +25222,7 @@ declare const enum UIUserInterfaceIdiom { Mac = 5, - Reality = 6 + Vision = 6 } declare const enum UIUserInterfaceLayoutDirection { @@ -25819,6 +25918,8 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U updateFocusIfNeeded(): void; + updateTraitsIfNeeded(): void; + viewForBaselineLayout(): UIView; viewPrintFormatter(): UIViewPrintFormatter; @@ -26435,6 +26536,8 @@ declare class UIViewController extends UIResponder implements NSCoding, NSExtens updateFocusIfNeeded(): void; + updateTraitsIfNeeded(): void; + updateViewConstraints(): void; viewControllerForUnwindSegueActionFromViewControllerWithSender(action: string, fromViewController: UIViewController, sender: any): UIViewController; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!VideoToolbox.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!VideoToolbox.d.ts index 4ff3dfe35..e3c8b8af6 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!VideoToolbox.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!VideoToolbox.d.ts @@ -399,7 +399,7 @@ declare var kVTEncodeFrameOptionKey_ForceKeyFrame: string; declare var kVTEncodeFrameOptionKey_ForceLTRRefresh: string; -declare const kVTFigAudioSessionInitializationErr: number; +declare const kVTExtensionDisabledErr: number; declare const kVTFormatDescriptionChangeNotSupportedErr: number; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!WebKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!WebKit.d.ts index 5c40558d8..996138433 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!WebKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!WebKit.d.ts @@ -962,6 +962,8 @@ declare class WKWebViewConfiguration extends NSObject implements NSCopying, NSSe allowsInlineMediaPlayback: boolean; + allowsInlinePredictions: boolean; + allowsPictureInPictureMediaPlayback: boolean; applicationNameForUserAgent: string; @@ -1059,6 +1061,8 @@ declare class WKWebsiteDataStore extends NSObject implements NSSecureCoding { readonly persistent: boolean; + proxyConfigurations: NSArray; + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding constructor(o: { coder: NSCoder; }); // inherited from NSCoding diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!ARKit.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!ARKit.d.ts index 4af805740..8f1afadb2 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!ARKit.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!ARKit.d.ts @@ -1720,8 +1720,6 @@ declare class ARSession extends NSObject { delegate: ARSessionDelegate; - delegateQueue: NSObject; - readonly identifier: NSUUID; addAnchor(anchor: ARAnchor): void; diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AVFAudio.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AVFAudio.d.ts index 191151302..4baaa0cf6 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AVFAudio.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AVFAudio.d.ts @@ -94,6 +94,36 @@ interface AVAudio3DVectorOrientation { } declare var AVAudio3DVectorOrientation: interop.StructType; +declare class AVAudioApplication extends NSObject { + + static alloc(): AVAudioApplication; // inherited from NSObject + + static new(): AVAudioApplication; // inherited from NSObject + + static requestRecordPermissionWithCompletionHandler(response: (p1: boolean) => void): void; + + readonly inputMuted: boolean; + + readonly recordPermission: AVAudioApplicationRecordPermission; + + static readonly sharedInstance: AVAudioApplication; + + setInputMutedError(muted: boolean): boolean; +} + +declare var AVAudioApplicationInputMuteStateChangeNotification: string; + +declare var AVAudioApplicationMuteStateKey: string; + +declare const enum AVAudioApplicationRecordPermission { + + Undetermined = 1970168948, + + Denied = 1684369017, + + Granted = 1735552628 +} + declare var AVAudioBitRateStrategy_Constant: string; declare var AVAudioBitRateStrategy_LongTermAverage: string; @@ -679,6 +709,8 @@ declare class AVAudioInputNode extends AVAudioIONode implements AVAudioMixing { voiceProcessingInputMuted: boolean; + voiceProcessingOtherAudioDuckingConfiguration: AVAudioVoiceProcessingOtherAudioDuckingConfiguration; + readonly debugDescription: string; // inherited from NSObjectProtocol readonly description: string; // inherited from NSObjectProtocol @@ -736,6 +768,8 @@ declare class AVAudioInputNode extends AVAudioIONode implements AVAudioMixing { self(): this; setManualRenderingInputPCMFormatInputBlock(format: AVAudioFormat, block: (p1: number) => interop.Pointer | interop.Reference): boolean; + + setMutedSpeechActivityEventListener(listenerBlock: (p1: AVAudioVoiceProcessingSpeechActivityEvent) => void): boolean; } declare class AVAudioMixerNode extends AVAudioNode implements AVAudioMixing { @@ -1434,6 +1468,8 @@ declare class AVAudioSession extends NSObject { readonly preferredSampleRate: number; + readonly prefersInterruptionOnRouteDisconnect: boolean; + readonly prefersNoInterruptionsFromSystemAlerts: boolean; readonly promptStyle: AVAudioSessionPromptStyle; @@ -1494,6 +1530,8 @@ declare class AVAudioSession extends NSObject { setPreferredSampleRateError(sampleRate: number): boolean; + setPrefersInterruptionOnRouteDisconnectError(inValue: boolean): boolean; + setPrefersNoInterruptionsFromSystemAlertsError(inValue: boolean): boolean; setSupportsMultichannelContentError(inValue: boolean): boolean; @@ -1614,7 +1652,9 @@ declare const enum AVAudioSessionInterruptionReason { AppWasSuspended = 1, - BuiltInMicMuted = 2 + BuiltInMicMuted = 2, + + RouteDisconnected = 4 } declare var AVAudioSessionInterruptionReasonKey: string; @@ -1694,6 +1734,8 @@ declare var AVAudioSessionPortBuiltInSpeaker: string; declare var AVAudioSessionPortCarAudio: string; +declare var AVAudioSessionPortContinuityMicrophone: string; + declare class AVAudioSessionPortDescription extends NSObject { static alloc(): AVAudioSessionPortDescription; // inherited from NSObject @@ -2287,72 +2329,16 @@ declare class AVAudioUnitGenerator extends AVAudioUnit implements AVAudioMixing self(): this; } -declare class AVAudioUnitMIDIInstrument extends AVAudioUnit implements AVAudioMixing { +declare class AVAudioUnitMIDIInstrument extends AVAudioUnit { static alloc(): AVAudioUnitMIDIInstrument; // inherited from NSObject static new(): AVAudioUnitMIDIInstrument; // inherited from NSObject - readonly debugDescription: string; // inherited from NSObjectProtocol - - readonly description: string; // inherited from NSObjectProtocol - - readonly hash: number; // inherited from NSObjectProtocol - - readonly isProxy: boolean; // inherited from NSObjectProtocol - - obstruction: number; // inherited from AVAudio3DMixing - - occlusion: number; // inherited from AVAudio3DMixing - - pan: number; // inherited from AVAudioStereoMixing - - pointSourceInHeadMode: AVAudio3DMixingPointSourceInHeadMode; // inherited from AVAudio3DMixing - - position: AVAudio3DPoint; // inherited from AVAudio3DMixing - - rate: number; // inherited from AVAudio3DMixing - - renderingAlgorithm: AVAudio3DMixingRenderingAlgorithm; // inherited from AVAudio3DMixing - - reverbBlend: number; // inherited from AVAudio3DMixing - - sourceMode: AVAudio3DMixingSourceMode; // inherited from AVAudio3DMixing - - readonly superclass: typeof NSObject; // inherited from NSObjectProtocol - - volume: number; // inherited from AVAudioMixing - - readonly // inherited from NSObjectProtocol - constructor(o: { audioComponentDescription: AudioComponentDescription; }); - class(): typeof NSObject; - - conformsToProtocol(aProtocol: any /* Protocol */): boolean; - - destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination; - initWithAudioComponentDescription(description: AudioComponentDescription): this; - isEqual(object: any): boolean; - - isKindOfClass(aClass: typeof NSObject): boolean; - - isMemberOfClass(aClass: typeof NSObject): boolean; - - performSelector(aSelector: string): any; - - performSelectorWithObject(aSelector: string, object: any): any; - - performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; - - respondsToSelector(aSelector: string): boolean; - - retainCount(): number; - - self(): this; - sendControllerWithValueOnChannel(controller: number, value: number, channel: number): void; sendMIDIEventData1(midiStatus: number, data1: number): void; @@ -2496,6 +2482,30 @@ declare class AVAudioUnitVarispeed extends AVAudioUnitTimeEffect { rate: number; } +interface AVAudioVoiceProcessingOtherAudioDuckingConfiguration { + enableAdvancedDucking: boolean; + duckingLevel: AVAudioVoiceProcessingOtherAudioDuckingLevel; +} +declare var AVAudioVoiceProcessingOtherAudioDuckingConfiguration: interop.StructType; + +declare const enum AVAudioVoiceProcessingOtherAudioDuckingLevel { + + Default = 0, + + Min = 10, + + Mid = 20, + + Max = 30 +} + +declare const enum AVAudioVoiceProcessingSpeechActivityEvent { + + Started = 0, + + Ended = 1 +} + interface AVBeatRange { start: number; length: number; @@ -2943,6 +2953,8 @@ declare const enum AVSpeechBoundary { Word = 1 } +declare var AVSpeechSynthesisAvailableVoicesDidChangeNotification: string; + declare var AVSpeechSynthesisIPANotationAttribute: string; declare class AVSpeechSynthesisMarker extends NSObject implements NSCopying, NSSecureCoding { @@ -2951,25 +2963,49 @@ declare class AVSpeechSynthesisMarker extends NSObject implements NSCopying, NSS static new(): AVSpeechSynthesisMarker; // inherited from NSObject + bookmarkName: string; + byteSampleOffset: number; mark: AVSpeechSynthesisMarkerMark; + phoneme: string; + textRange: NSRange; static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + constructor(o: { bookmarkName: string; atByteSampleOffset: number; }); + constructor(o: { coder: NSCoder; }); // inherited from NSCoding constructor(o: { markerType: AVSpeechSynthesisMarkerMark; forTextRange: NSRange; atByteSampleOffset: number; }); + constructor(o: { paragraphRange: NSRange; atByteSampleOffset: number; }); + + constructor(o: { phonemeString: string; atByteSampleOffset: number; }); + + constructor(o: { sentenceRange: NSRange; atByteSampleOffset: number; }); + + constructor(o: { wordRange: NSRange; atByteSampleOffset: number; }); + copyWithZone(zone: interop.Pointer | interop.Reference): any; encodeWithCoder(coder: NSCoder): void; + initWithBookmarkNameAtByteSampleOffset(mark: string, byteSampleOffset: number): this; + initWithCoder(coder: NSCoder): this; initWithMarkerTypeForTextRangeAtByteSampleOffset(type: AVSpeechSynthesisMarkerMark, range: NSRange, byteSampleOffset: number): this; + + initWithParagraphRangeAtByteSampleOffset(range: NSRange, byteSampleOffset: number): this; + + initWithPhonemeStringAtByteSampleOffset(phoneme: string, byteSampleOffset: number): this; + + initWithSentenceRangeAtByteSampleOffset(range: NSRange, byteSampleOffset: number): this; + + initWithWordRangeAtByteSampleOffset(range: NSRange, byteSampleOffset: number): this; } declare const enum AVSpeechSynthesisMarkerMark { @@ -2980,7 +3016,20 @@ declare const enum AVSpeechSynthesisMarkerMark { Sentence = 2, - Paragraph = 3 + Paragraph = 3, + + Bookmark = 4 +} + +declare const enum AVSpeechSynthesisPersonalVoiceAuthorizationStatus { + + NotDetermined = 0, + + Denied = 1, + + Unsupported = 2, + + Authorized = 3 } declare class AVSpeechSynthesisProviderAudioUnit extends AUAudioUnit { @@ -3088,6 +3137,8 @@ declare class AVSpeechSynthesisVoice extends NSObject implements NSSecureCoding readonly quality: AVSpeechSynthesisVoiceQuality; + readonly voiceTraits: AVSpeechSynthesisVoiceTraits; + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding constructor(o: { coder: NSCoder; }); // inherited from NSCoding @@ -3117,12 +3168,23 @@ declare const enum AVSpeechSynthesisVoiceQuality { Premium = 3 } +declare const enum AVSpeechSynthesisVoiceTraits { + + None = 0, + + IsNoveltyVoice = 1, + + IsPersonalVoice = 2 +} + declare class AVSpeechSynthesizer extends NSObject { static alloc(): AVSpeechSynthesizer; // inherited from NSObject static new(): AVSpeechSynthesizer; // inherited from NSObject + static requestPersonalVoiceAuthorizationWithCompletionHandler(handler: (p1: AVSpeechSynthesisPersonalVoiceAuthorizationStatus) => void): void; + delegate: AVSpeechSynthesizerDelegate; mixToTelephonyUplink: boolean; @@ -3135,6 +3197,8 @@ declare class AVSpeechSynthesizer extends NSObject { usesApplicationAudioSession: boolean; + static readonly personalVoiceAuthorizationStatus: AVSpeechSynthesisPersonalVoiceAuthorizationStatus; + continueSpeaking(): boolean; pauseSpeakingAtBoundary(boundary: AVSpeechBoundary): boolean; @@ -3160,6 +3224,8 @@ interface AVSpeechSynthesizerDelegate extends NSObjectProtocol { speechSynthesizerDidStartSpeechUtterance?(synthesizer: AVSpeechSynthesizer, utterance: AVSpeechUtterance): void; + speechSynthesizerWillSpeakMarkerUtterance?(synthesizer: AVSpeechSynthesizer, marker: AVSpeechSynthesisMarker, utterance: AVSpeechUtterance): void; + speechSynthesizerWillSpeakRangeOfSpeechStringUtterance?(synthesizer: AVSpeechSynthesizer, characterRange: NSRange, utterance: AVSpeechUtterance): void; } declare var AVSpeechSynthesizerDelegate: { diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts index 29142d02d..5af0845ba 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts @@ -291,6 +291,10 @@ declare var AVAssetExportPresetHighestQuality: string; declare var AVAssetExportPresetLowQuality: string; +declare var AVAssetExportPresetMVHEVC1440x1440: string; + +declare var AVAssetExportPresetMVHEVC960x960: string; + declare var AVAssetExportPresetMediumQuality: string; declare var AVAssetExportPresetPassthrough: string; @@ -633,11 +637,11 @@ declare class AVAssetResourceLoader extends NSObject { readonly delegate: AVAssetResourceLoaderDelegate; - readonly delegateQueue: NSObject; + readonly delegateQueue: interop.Pointer | interop.Reference; preloadsEligibleContentKeys: boolean; - setDelegateQueue(delegate: AVAssetResourceLoaderDelegate, delegateQueue: NSObject): void; + setDelegateQueue(delegate: AVAssetResourceLoaderDelegate, delegateQueue: interop.Pointer | interop.Reference): void; } interface AVAssetResourceLoaderDelegate extends NSObjectProtocol { @@ -954,7 +958,13 @@ declare class AVAssetVariantAudioRenditionSpecificAttributes extends NSObject { static new(): AVAssetVariantAudioRenditionSpecificAttributes; // inherited from NSObject + readonly binaural: boolean; + readonly channelCount: number; + + readonly downmix: boolean; + + readonly immersive: boolean; } declare class AVAssetVariantQualifier extends NSObject implements NSCopying { @@ -967,8 +977,14 @@ declare class AVAssetVariantQualifier extends NSObject implements NSCopying { static new(): AVAssetVariantQualifier; // inherited from NSObject + static predicateForBinauralAudioMediaSelectionOption(isBinauralAudio: boolean, mediaSelectionOption: AVMediaSelectionOption): NSPredicate; + static predicateForChannelCountMediaSelectionOptionOperatorType(channelCount: number, mediaSelectionOption: AVMediaSelectionOption, operatorType: NSPredicateOperatorType): NSPredicate; + static predicateForDownmixAudioMediaSelectionOption(isDownmixAudio: boolean, mediaSelectionOption: AVMediaSelectionOption): NSPredicate; + + static predicateForImmersiveAudioMediaSelectionOption(isImmersiveAudio: boolean, mediaSelectionOption: AVMediaSelectionOption): NSPredicate; + static predicateForPresentationHeightOperatorType(height: number, operatorType: NSPredicateOperatorType): NSPredicate; static predicateForPresentationWidthOperatorType(width: number, operatorType: NSPredicateOperatorType): NSPredicate; @@ -988,9 +1004,20 @@ declare class AVAssetVariantVideoAttributes extends NSObject { readonly presentationSize: CGSize; + readonly videoLayoutAttributes: NSArray; + readonly videoRange: string; } +declare class AVAssetVariantVideoLayoutAttributes extends NSObject { + + static alloc(): AVAssetVariantVideoLayoutAttributes; // inherited from NSObject + + static new(): AVAssetVariantVideoLayoutAttributes; // inherited from NSObject + + readonly stereoViewComponents: CMStereoViewComponents; +} + declare var AVAssetWasDefragmentedNotification: string; declare class AVAssetWriter extends NSObject { @@ -1009,6 +1036,8 @@ declare class AVAssetWriter extends NSObject { readonly error: NSError; + initialMovieFragmentInterval: CMTime; + initialMovieFragmentSequenceNumber: number; initialSegmentStartTime: CMTime; @@ -1151,9 +1180,9 @@ declare class AVAssetWriterInput extends NSObject { markCurrentPassAsFinished(): void; - requestMediaDataWhenReadyOnQueueUsingBlock(queue: NSObject, block: () => void): void; + requestMediaDataWhenReadyOnQueueUsingBlock(queue: interop.Pointer | interop.Reference, block: () => void): void; - respondToEachPassDescriptionOnQueueUsingBlock(queue: NSObject, block: () => void): void; + respondToEachPassDescriptionOnQueueUsingBlock(queue: interop.Pointer | interop.Reference, block: () => void): void; } declare class AVAssetWriterInputGroup extends AVMediaSelectionGroup { @@ -1224,6 +1253,27 @@ declare class AVAssetWriterInputPixelBufferAdaptor extends NSObject { initWithAssetWriterInputSourcePixelBufferAttributes(input: AVAssetWriterInput, sourcePixelBufferAttributes: NSDictionary): this; } +declare class AVAssetWriterInputTaggedPixelBufferGroupAdaptor extends NSObject { + + static alloc(): AVAssetWriterInputTaggedPixelBufferGroupAdaptor; // inherited from NSObject + + static assetWriterInputTaggedPixelBufferGroupAdaptorWithAssetWriterInputSourcePixelBufferAttributes(input: AVAssetWriterInput, sourcePixelBufferAttributes: NSDictionary): AVAssetWriterInputTaggedPixelBufferGroupAdaptor; + + static new(): AVAssetWriterInputTaggedPixelBufferGroupAdaptor; // inherited from NSObject + + readonly assetWriterInput: AVAssetWriterInput; + + readonly pixelBufferPool: any; + + readonly sourcePixelBufferAttributes: NSDictionary; + + constructor(o: { assetWriterInput: AVAssetWriterInput; sourcePixelBufferAttributes: NSDictionary; }); + + appendTaggedPixelBufferGroupWithPresentationTime(taggedPixelBufferGroup: any, presentationTime: CMTime): boolean; + + initWithAssetWriterInputSourcePixelBufferAttributes(input: AVAssetWriterInput, sourcePixelBufferAttributes: NSDictionary): this; +} + declare const enum AVAssetWriterStatus { Unknown = 0, @@ -1398,13 +1448,13 @@ declare class AVCaptureAudioDataOutput extends AVCaptureOutput { static new(): AVCaptureAudioDataOutput; // inherited from NSObject - readonly sampleBufferCallbackQueue: NSObject; + readonly sampleBufferCallbackQueue: interop.Pointer | interop.Reference; readonly sampleBufferDelegate: AVCaptureAudioDataOutputSampleBufferDelegate; recommendedAudioSettingsForAssetWriterWithOutputFileType(outputFileType: string): NSDictionary; - setSampleBufferDelegateQueue(sampleBufferDelegate: AVCaptureAudioDataOutputSampleBufferDelegate, sampleBufferCallbackQueue: NSObject): void; + setSampleBufferDelegateQueue(sampleBufferDelegate: AVCaptureAudioDataOutputSampleBufferDelegate, sampleBufferCallbackQueue: interop.Pointer | interop.Reference): void; } interface AVCaptureAudioDataOutputSampleBufferDelegate extends NSObjectProtocol { @@ -1467,7 +1517,9 @@ declare const enum AVCaptureColorSpace { P3_D65 = 1, - HLG_BT2020 = 2 + HLG_BT2020 = 2, + + AppleLog = 3 } declare class AVCaptureConnection extends NSObject { @@ -1524,6 +1576,8 @@ declare class AVCaptureConnection extends NSObject { readonly videoPreviewLayer: AVCaptureVideoPreviewLayer; + videoRotationAngle: number; + videoScaleAndCropFactor: number; readonly videoStabilizationEnabled: boolean; @@ -1535,6 +1589,8 @@ declare class AVCaptureConnection extends NSObject { initWithInputPortVideoPreviewLayer(port: AVCaptureInputPort, layer: AVCaptureVideoPreviewLayer): this; initWithInputPortsOutput(ports: NSArray | AVCaptureInputPort[], output: AVCaptureOutput): this; + + isVideoRotationAngleSupported(videoRotationAngle: number): boolean; } declare class AVCaptureDataOutputSynchronizer extends NSObject { @@ -1547,13 +1603,13 @@ declare class AVCaptureDataOutputSynchronizer extends NSObject { readonly delegate: AVCaptureDataOutputSynchronizerDelegate; - readonly delegateCallbackQueue: NSObject; + readonly delegateCallbackQueue: interop.Pointer | interop.Reference; constructor(o: { dataOutputs: NSArray | AVCaptureOutput[]; }); initWithDataOutputs(dataOutputs: NSArray | AVCaptureOutput[]): this; - setDelegateQueue(delegate: AVCaptureDataOutputSynchronizerDelegate, delegateCallbackQueue: NSObject): void; + setDelegateQueue(delegate: AVCaptureDataOutputSynchronizerDelegate, delegateCallbackQueue: interop.Pointer | interop.Reference): void; } interface AVCaptureDataOutputSynchronizerDelegate extends NSObjectProtocol { @@ -1565,6 +1621,13 @@ declare var AVCaptureDataOutputSynchronizerDelegate: { prototype: AVCaptureDataOutputSynchronizerDelegate; }; +declare class AVCaptureDeferredPhotoProxy extends AVCapturePhoto { + + static alloc(): AVCaptureDeferredPhotoProxy; // inherited from NSObject + + static new(): AVCaptureDeferredPhotoProxy; // inherited from NSObject +} + declare class AVCaptureDepthDataOutput extends AVCaptureOutput { static alloc(): AVCaptureDepthDataOutput; // inherited from NSObject @@ -1575,11 +1638,11 @@ declare class AVCaptureDepthDataOutput extends AVCaptureOutput { readonly delegate: AVCaptureDepthDataOutputDelegate; - readonly delegateCallbackQueue: NSObject; + readonly delegateCallbackQueue: interop.Pointer | interop.Reference; filteringEnabled: boolean; - setDelegateCallbackQueue(delegate: AVCaptureDepthDataOutputDelegate, callbackQueue: NSObject): void; + setDelegateCallbackQueue(delegate: AVCaptureDepthDataOutputDelegate, callbackQueue: interop.Pointer | interop.Reference): void; } interface AVCaptureDepthDataOutputDelegate extends NSObjectProtocol { @@ -1657,6 +1720,10 @@ declare class AVCaptureDevice extends NSObject { automaticallyEnablesLowLightBoostWhenAvailable: boolean; + readonly availableReactionTypes: NSSet; + + readonly canPerformReactionEffects: boolean; + readonly centerStageActive: boolean; centerStageRectOfInterest: CGRect; @@ -1759,6 +1826,8 @@ declare class AVCaptureDevice extends NSObject { readonly rampingVideoZoom: boolean; + readonly reactionEffectsInProgress: NSArray; + smoothAutoFocusEnabled: boolean; readonly smoothAutoFocusSupported: boolean; @@ -1803,8 +1872,16 @@ declare class AVCaptureDevice extends NSObject { static readonly preferredMicrophoneMode: AVCaptureMicrophoneMode; + static readonly reactionEffectGesturesEnabled: boolean; + + static readonly reactionEffectsEnabled: boolean; + static readonly studioLightEnabled: boolean; + static readonly systemPreferredCamera: AVCaptureDevice; + + static userPreferredCamera: AVCaptureDevice; + cancelVideoZoomRamp(): void; chromaticityValuesForDeviceWhiteBalanceGains(whiteBalanceGains: AVCaptureWhiteBalanceGains): AVCaptureWhiteBalanceChromaticityValues; @@ -1827,6 +1904,8 @@ declare class AVCaptureDevice extends NSObject { lockForConfiguration(): boolean; + performEffectForReaction(reactionType: string): void; + rampToVideoZoomFactorWithRate(factor: number, rate: number): void; setExposureModeCustomWithDurationISOCompletionHandler(duration: CMTime, ISO: number, handler: (p1: CMTime) => void): void; @@ -1899,6 +1978,8 @@ declare class AVCaptureDeviceFormat extends NSObject { readonly portraitEffectsMatteStillImageDeliverySupported: boolean; + readonly reactionEffectsSupported: boolean; + readonly secondaryNativeResolutionZoomFactors: NSArray; readonly studioLightSupported: boolean; @@ -1921,6 +2002,8 @@ declare class AVCaptureDeviceFormat extends NSObject { readonly videoFrameRateRangeForPortraitEffect: AVFrameRateRange; + readonly videoFrameRateRangeForReactionEffectsInProgress: AVFrameRateRange; + readonly videoFrameRateRangeForStudioLight: AVFrameRateRange; readonly videoHDRSupported: boolean; @@ -1974,6 +2057,25 @@ declare const enum AVCaptureDevicePosition { Front = 2 } +declare class AVCaptureDeviceRotationCoordinator extends NSObject { + + static alloc(): AVCaptureDeviceRotationCoordinator; // inherited from NSObject + + static new(): AVCaptureDeviceRotationCoordinator; // inherited from NSObject + + readonly device: AVCaptureDevice; + + readonly previewLayer: CALayer; + + readonly videoRotationAngleForHorizonLevelCapture: number; + + readonly videoRotationAngleForHorizonLevelPreview: number; + + constructor(o: { device: AVCaptureDevice; previewLayer: CALayer; }); + + initWithDevicePreviewLayer(device: AVCaptureDevice, previewLayer: CALayer): this; +} + declare var AVCaptureDeviceSubjectAreaDidChangeNotification: string; declare var AVCaptureDeviceTypeBuiltInDualCamera: string; @@ -1996,6 +2098,12 @@ declare var AVCaptureDeviceTypeBuiltInUltraWideCamera: string; declare var AVCaptureDeviceTypeBuiltInWideAngleCamera: string; +declare var AVCaptureDeviceTypeContinuityCamera: string; + +declare var AVCaptureDeviceTypeExternal: string; + +declare var AVCaptureDeviceTypeMicrophone: string; + declare var AVCaptureDeviceWasConnectedNotification: string; declare var AVCaptureDeviceWasDisconnectedNotification: string; @@ -2158,13 +2266,13 @@ declare class AVCaptureMetadataOutput extends AVCaptureOutput { metadataObjectTypes: NSArray; - readonly metadataObjectsCallbackQueue: NSObject; + readonly metadataObjectsCallbackQueue: interop.Pointer | interop.Reference; readonly metadataObjectsDelegate: AVCaptureMetadataOutputObjectsDelegate; rectOfInterest: CGRect; - setMetadataObjectsDelegateQueue(objectsDelegate: AVCaptureMetadataOutputObjectsDelegate, objectsCallbackQueue: NSObject): void; + setMetadataObjectsDelegateQueue(objectsDelegate: AVCaptureMetadataOutputObjectsDelegate, objectsCallbackQueue: interop.Pointer | interop.Reference): void; } interface AVCaptureMetadataOutputObjectsDelegate extends NSObjectProtocol { @@ -2337,6 +2445,8 @@ interface AVCapturePhotoCaptureDelegate extends NSObjectProtocol { captureOutputDidFinishCaptureForResolvedSettingsError?(output: AVCapturePhotoOutput, resolvedSettings: AVCaptureResolvedPhotoSettings, error: NSError): void; + captureOutputDidFinishCapturingDeferredPhotoProxyError?(output: AVCapturePhotoOutput, deferredPhotoProxy: AVCaptureDeferredPhotoProxy, error: NSError): void; + captureOutputDidFinishProcessingLivePhotoToMovieFileAtURLDurationPhotoDisplayTimeResolvedSettingsError?(output: AVCapturePhotoOutput, outputFileURL: NSURL, duration: CMTime, photoDisplayTime: CMTime, resolvedSettings: AVCaptureResolvedPhotoSettings, error: NSError): void; captureOutputDidFinishProcessingPhotoError?(output: AVCapturePhotoOutput, photo: AVCapturePhoto, error: NSError): void; @@ -2393,6 +2503,10 @@ declare class AVCapturePhotoOutput extends AVCaptureOutput { readonly appleProRAWSupported: boolean; + autoDeferredPhotoDeliveryEnabled: boolean; + + readonly autoDeferredPhotoDeliverySupported: boolean; + readonly autoRedEyeReductionSupported: boolean; readonly availableLivePhotoVideoCodecTypes: NSArray; @@ -2411,6 +2525,8 @@ declare class AVCapturePhotoOutput extends AVCaptureOutput { readonly cameraCalibrationDataDeliverySupported: boolean; + readonly captureReadiness: AVCapturePhotoOutputCaptureReadiness; + contentAwareDistortionCorrectionEnabled: boolean; readonly contentAwareDistortionCorrectionSupported: boolean; @@ -2427,6 +2543,10 @@ declare class AVCapturePhotoOutput extends AVCaptureOutput { enabledSemanticSegmentationMatteTypes: NSArray; + fastCapturePrioritizationEnabled: boolean; + + fastCapturePrioritizationSupported: boolean; + highResolutionCaptureEnabled: boolean; readonly isFlashScene: boolean; @@ -2459,6 +2579,10 @@ declare class AVCapturePhotoOutput extends AVCaptureOutput { preservesLivePhotoCaptureSuspendedOnSessionStop: boolean; + responsiveCaptureEnabled: boolean; + + readonly responsiveCaptureSupported: boolean; + readonly stillImageStabilizationSupported: boolean; readonly supportedFlashModes: NSArray; @@ -2469,6 +2593,10 @@ declare class AVCapturePhotoOutput extends AVCaptureOutput { readonly virtualDeviceFusionSupported: boolean; + zeroShutterLagEnabled: boolean; + + readonly zeroShutterLagSupported: boolean; + capturePhotoWithSettingsDelegate(settings: AVCapturePhotoSettings, delegate: AVCapturePhotoCaptureDelegate): void; setPreparedPhotoSettingsArrayCompletionHandler(preparedPhotoSettingsArray: NSArray | AVCapturePhotoSettings[], completionHandler: (p1: boolean, p2: NSError) => void): void; @@ -2480,6 +2608,47 @@ declare class AVCapturePhotoOutput extends AVCaptureOutput { supportedRawPhotoPixelFormatTypesForFileType(fileType: string): NSArray; } +declare const enum AVCapturePhotoOutputCaptureReadiness { + + SessionNotRunning = 0, + + Ready = 1, + + NotReadyMomentarily = 2, + + NotReadyWaitingForCapture = 3, + + NotReadyWaitingForProcessing = 4 +} + +declare class AVCapturePhotoOutputReadinessCoordinator extends NSObject { + + static alloc(): AVCapturePhotoOutputReadinessCoordinator; // inherited from NSObject + + static new(): AVCapturePhotoOutputReadinessCoordinator; // inherited from NSObject + + readonly captureReadiness: AVCapturePhotoOutputCaptureReadiness; + + delegate: AVCapturePhotoOutputReadinessCoordinatorDelegate; + + constructor(o: { photoOutput: AVCapturePhotoOutput; }); + + initWithPhotoOutput(photoOutput: AVCapturePhotoOutput): this; + + startTrackingCaptureRequestUsingPhotoSettings(settings: AVCapturePhotoSettings): void; + + stopTrackingCaptureRequestUsingPhotoSettingsUniqueID(settingsUniqueID: number): void; +} + +interface AVCapturePhotoOutputReadinessCoordinatorDelegate extends NSObjectProtocol { + + readinessCoordinatorCaptureReadinessDidChange?(coordinator: AVCapturePhotoOutputReadinessCoordinator, captureReadiness: AVCapturePhotoOutputCaptureReadiness): void; +} +declare var AVCapturePhotoOutputReadinessCoordinatorDelegate: { + + prototype: AVCapturePhotoOutputReadinessCoordinatorDelegate; +}; + declare const enum AVCapturePhotoQualityPrioritization { Speed = 1, @@ -2600,6 +2769,37 @@ declare const enum AVCapturePrimaryConstituentDeviceSwitchingBehavior { Locked = 3 } +declare class AVCaptureReactionEffectState extends NSObject { + + static alloc(): AVCaptureReactionEffectState; // inherited from NSObject + + static new(): AVCaptureReactionEffectState; // inherited from NSObject + + readonly endTime: CMTime; + + readonly reactionType: string; + + readonly startTime: CMTime; +} + +declare function AVCaptureReactionSystemImageNameForType(reactionType: string): string; + +declare var AVCaptureReactionTypeBalloons: string; + +declare var AVCaptureReactionTypeConfetti: string; + +declare var AVCaptureReactionTypeFireworks: string; + +declare var AVCaptureReactionTypeHeart: string; + +declare var AVCaptureReactionTypeLasers: string; + +declare var AVCaptureReactionTypeRain: string; + +declare var AVCaptureReactionTypeThumbsDown: string; + +declare var AVCaptureReactionTypeThumbsUp: string; + declare class AVCaptureResolvedPhotoSettings extends NSObject { static alloc(): AVCaptureResolvedPhotoSettings; // inherited from NSObject @@ -2608,12 +2808,16 @@ declare class AVCaptureResolvedPhotoSettings extends NSObject { readonly contentAwareDistortionCorrectionEnabled: boolean; + readonly deferredPhotoProxyDimensions: CMVideoDimensions; + readonly dualCameraFusionEnabled: boolean; readonly embeddedThumbnailDimensions: CMVideoDimensions; readonly expectedPhotoCount: number; + readonly fastCapturePrioritizationEnabled: boolean; + readonly flashEnabled: boolean; readonly livePhotoMovieDimensions: CMVideoDimensions; @@ -2864,7 +3068,9 @@ declare const enum AVCaptureSystemPressureFactors { PeakPower = 2, - DepthModuleTemperature = 4 + DepthModuleTemperature = 4, + + CameraTemperature = 8 } declare var AVCaptureSystemPressureLevelCritical: string; @@ -2922,7 +3128,7 @@ declare class AVCaptureVideoDataOutput extends AVCaptureOutput { minFrameDuration: CMTime; - readonly sampleBufferCallbackQueue: NSObject; + readonly sampleBufferCallbackQueue: interop.Pointer | interop.Reference; readonly sampleBufferDelegate: AVCaptureVideoDataOutputSampleBufferDelegate; @@ -2934,7 +3140,9 @@ declare class AVCaptureVideoDataOutput extends AVCaptureOutput { recommendedVideoSettingsForVideoCodecTypeAssetWriterOutputFileType(videoCodecType: string, outputFileType: string): NSDictionary; - setSampleBufferDelegateQueue(sampleBufferDelegate: AVCaptureVideoDataOutputSampleBufferDelegate, sampleBufferCallbackQueue: NSObject): void; + recommendedVideoSettingsForVideoCodecTypeAssetWriterOutputFileTypeOutputFileURL(videoCodecType: string, outputFileType: string, outputFileURL: NSURL): NSDictionary; + + setSampleBufferDelegateQueue(sampleBufferDelegate: AVCaptureVideoDataOutputSampleBufferDelegate, sampleBufferCallbackQueue: interop.Pointer | interop.Reference): void; } interface AVCaptureVideoDataOutputSampleBufferDelegate extends NSObjectProtocol { @@ -3020,6 +3228,8 @@ declare const enum AVCaptureVideoStabilizationMode { CinematicExtended = 3, + PreviewOptimized = 4, + Auto = -1 } @@ -3236,7 +3446,7 @@ declare class AVContentKeySession extends NSObject { readonly delegate: AVContentKeySessionDelegate; - readonly delegateQueue: NSObject; + readonly delegateQueue: interop.Pointer | interop.Reference; readonly keySystem: string; @@ -3258,7 +3468,7 @@ declare class AVContentKeySession extends NSObject { renewExpiringResponseDataForContentKeyRequest(contentKeyRequest: AVContentKeyRequest): void; - setDelegateQueue(delegate: AVContentKeySessionDelegate, delegateQueue: NSObject): void; + setDelegateQueue(delegate: AVContentKeySessionDelegate, delegateQueue: interop.Pointer | interop.Reference): void; } interface AVContentKeySessionDelegate extends NSObjectProtocol { @@ -3708,12 +3918,52 @@ declare var AVErrorRecordingSuccessfullyFinishedKey: string; declare var AVErrorTimeKey: string; +declare class AVExternalStorageDevice extends NSObject { + + static alloc(): AVExternalStorageDevice; // inherited from NSObject + + static new(): AVExternalStorageDevice; // inherited from NSObject + + static requestAccessWithCompletionHandler(handler: (p1: boolean) => void): void; + + readonly connected: boolean; + + readonly displayName: string; + + readonly freeSize: number; + + readonly notRecommendedForCaptureUse: boolean; + + readonly totalSize: number; + + readonly uuid: NSUUID; + + static readonly authorizationStatus: AVAuthorizationStatus; + + nextAvailableURLsWithPathExtensionsError(extensionArray: NSArray | string[]): NSArray; +} + +declare class AVExternalStorageDeviceDiscoverySession extends NSObject { + + static alloc(): AVExternalStorageDeviceDiscoverySession; // inherited from NSObject + + static new(): AVExternalStorageDeviceDiscoverySession; // inherited from NSObject + + readonly externalStorageDevices: NSArray; + + static readonly sharedSession: AVExternalStorageDeviceDiscoverySession; + + static readonly supported: boolean; +} + declare var AVFileType3GPP: string; declare var AVFileType3GPP2: string; declare var AVFileTypeAC3: string; +declare var AVFileTypeAHAP: string; + declare var AVFileTypeAIFC: string; declare var AVFileTypeAIFF: string; @@ -3909,12 +4159,16 @@ declare function AVMakeRectWithAspectRatioInsideRect(aspectRatio: CGSize, boundi declare var AVMediaCharacteristicAudible: string; +declare var AVMediaCharacteristicCarriesVideoStereoMetadata: string; + declare var AVMediaCharacteristicContainsAlphaChannel: string; declare var AVMediaCharacteristicContainsHDRVideo: string; declare var AVMediaCharacteristicContainsOnlyForcedSubtitles: string; +declare var AVMediaCharacteristicContainsStereoMultiviewVideo: string; + declare var AVMediaCharacteristicDescribesMusicAndSoundForAccessibility: string; declare var AVMediaCharacteristicDescribesVideoForAccessibility: string; @@ -3923,8 +4177,12 @@ declare var AVMediaCharacteristicDubbedTranslation: string; declare var AVMediaCharacteristicEasyToRead: string; +declare var AVMediaCharacteristicEnhancesSpeechIntelligibility: string; + declare var AVMediaCharacteristicFrameBased: string; +declare var AVMediaCharacteristicIndicatesHorizontalFieldOfView: string; + declare var AVMediaCharacteristicIsAuxiliaryContent: string; declare var AVMediaCharacteristicIsMainProgramContent: string; @@ -3935,6 +4193,8 @@ declare var AVMediaCharacteristicLanguageTranslation: string; declare var AVMediaCharacteristicLegible: string; +declare var AVMediaCharacteristicTactileMinimal: string; + declare var AVMediaCharacteristicTranscribesSpokenDialogForAccessibility: string; declare var AVMediaCharacteristicUsesWideGamutColorSpace: string; @@ -4045,6 +4305,8 @@ declare var AVMediaTypeClosedCaption: string; declare var AVMediaTypeDepthData: string; +declare var AVMediaTypeHaptic: string; + declare var AVMediaTypeMetadata: string; declare var AVMediaTypeMetadataObject: string; @@ -4275,6 +4537,15 @@ declare class AVMetadataHumanBodyObject extends AVMetadataBodyObject implements copyWithZone(zone: interop.Pointer | interop.Reference): any; } +declare class AVMetadataHumanFullBodyObject extends AVMetadataBodyObject implements NSCopying { + + static alloc(): AVMetadataHumanFullBodyObject; // inherited from NSObject + + static new(): AVMetadataHumanFullBodyObject; // inherited from NSObject + + copyWithZone(zone: interop.Pointer | interop.Reference): any; +} + declare var AVMetadataID3MetadataKeyAlbumSortOrder: string; declare var AVMetadataID3MetadataKeyAlbumTitle: string; @@ -5152,6 +5423,8 @@ declare var AVMetadataObjectTypeGS1DataBarLimitedCode: string; declare var AVMetadataObjectTypeHumanBody: string; +declare var AVMetadataObjectTypeHumanFullBody: string; + declare var AVMetadataObjectTypeITF14Code: string; declare var AVMetadataObjectTypeInterleaved2of5Code: string; @@ -5855,6 +6128,8 @@ declare class AVMutableVideoComposition extends AVVideoComposition { instructions: NSArray; + perFrameHDRDisplayMetadataPolicy: string; + renderScale: number; renderSize: CGSize; @@ -5951,6 +6226,10 @@ declare var AVOutputSettingsPresetHEVC3840x2160: string; declare var AVOutputSettingsPresetHEVC3840x2160WithAlpha: string; +declare var AVOutputSettingsPresetMVHEVC1440x1440: string; + +declare var AVOutputSettingsPresetMVHEVC960x960: string; + declare class AVPersistableContentKeyRequest extends AVContentKeyRequest { static alloc(): AVPersistableContentKeyRequest; // inherited from NSObject @@ -6078,9 +6357,9 @@ declare class AVPlayer extends NSObject { constructor(o: { URL: NSURL; }); - addBoundaryTimeObserverForTimesQueueUsingBlock(times: NSArray | NSValue[], queue: NSObject, block: () => void): any; + addBoundaryTimeObserverForTimesQueueUsingBlock(times: NSArray | NSValue[], queue: interop.Pointer | interop.Reference, block: () => void): any; - addPeriodicTimeObserverForIntervalQueueUsingBlock(interval: CMTime, queue: NSObject, block: (p1: CMTime) => void): any; + addPeriodicTimeObserverForIntervalQueueUsingBlock(interval: CMTime, queue: interop.Pointer | interop.Reference, block: (p1: CMTime) => void): any; cancelPendingPrerolls(): void; @@ -6572,7 +6851,7 @@ declare class AVPlayerItemLegibleOutput extends AVPlayerItemOutput { readonly delegate: AVPlayerItemLegibleOutputPushDelegate; - readonly delegateQueue: NSObject; + readonly delegateQueue: interop.Pointer | interop.Reference; textStylingResolution: string; @@ -6580,7 +6859,7 @@ declare class AVPlayerItemLegibleOutput extends AVPlayerItemOutput { initWithMediaSubtypesForNativeRepresentation(subtypes: NSArray | number[]): this; - setDelegateQueue(delegate: AVPlayerItemLegibleOutputPushDelegate, delegateQueue: NSObject): void; + setDelegateQueue(delegate: AVPlayerItemLegibleOutputPushDelegate, delegateQueue: interop.Pointer | interop.Reference): void; } interface AVPlayerItemLegibleOutputPushDelegate extends AVPlayerItemOutputPushDelegate { @@ -6613,13 +6892,13 @@ declare class AVPlayerItemMetadataCollector extends AVPlayerItemMediaDataCollect readonly delegate: AVPlayerItemMetadataCollectorPushDelegate; - readonly delegateQueue: NSObject; + readonly delegateQueue: interop.Pointer | interop.Reference; constructor(o: { identifiers: NSArray | string[]; classifyingLabels: NSArray | string[]; }); initWithIdentifiersClassifyingLabels(identifiers: NSArray | string[], classifyingLabels: NSArray | string[]): this; - setDelegateQueue(delegate: AVPlayerItemMetadataCollectorPushDelegate, delegateQueue: NSObject): void; + setDelegateQueue(delegate: AVPlayerItemMetadataCollectorPushDelegate, delegateQueue: interop.Pointer | interop.Reference): void; } interface AVPlayerItemMetadataCollectorPushDelegate extends NSObjectProtocol { @@ -6641,13 +6920,13 @@ declare class AVPlayerItemMetadataOutput extends AVPlayerItemOutput { readonly delegate: AVPlayerItemMetadataOutputPushDelegate; - readonly delegateQueue: NSObject; + readonly delegateQueue: interop.Pointer | interop.Reference; constructor(o: { identifiers: NSArray | string[]; }); initWithIdentifiers(identifiers: NSArray | string[]): this; - setDelegateQueue(delegate: AVPlayerItemMetadataOutputPushDelegate, delegateQueue: NSObject): void; + setDelegateQueue(delegate: AVPlayerItemMetadataOutputPushDelegate, delegateQueue: interop.Pointer | interop.Reference): void; } interface AVPlayerItemMetadataOutputPushDelegate extends AVPlayerItemOutputPushDelegate { @@ -6734,7 +7013,7 @@ declare class AVPlayerItemVideoOutput extends AVPlayerItemOutput { readonly delegate: AVPlayerItemOutputPullDelegate; - readonly delegateQueue: NSObject; + readonly delegateQueue: interop.Pointer | interop.Reference; constructor(o: { outputSettings: NSDictionary; }); @@ -6750,7 +7029,7 @@ declare class AVPlayerItemVideoOutput extends AVPlayerItemOutput { requestNotificationOfMediaDataChangeWithAdvanceInterval(interval: number): void; - setDelegateQueue(delegate: AVPlayerItemOutputPullDelegate, delegateQueue: NSObject): void; + setDelegateQueue(delegate: AVPlayerItemOutputPullDelegate, delegateQueue: interop.Pointer | interop.Reference): void; } declare class AVPlayerLayer extends CALayer { @@ -6796,9 +7075,20 @@ declare class AVPlayerLooper extends NSObject { constructor(o: { player: AVQueuePlayer; templateItem: AVPlayerItem; timeRange: CMTimeRange; }); + constructor(o: { player: AVQueuePlayer; templateItem: AVPlayerItem; timeRange: CMTimeRange; existingItemsOrdering: AVPlayerLooperItemOrdering; }); + disableLooping(): void; initWithPlayerTemplateItemTimeRange(player: AVQueuePlayer, itemToLoop: AVPlayerItem, loopRange: CMTimeRange): this; + + initWithPlayerTemplateItemTimeRangeExistingItemsOrdering(player: AVQueuePlayer, itemToLoop: AVPlayerItem, loopRange: CMTimeRange, itemOrdering: AVPlayerLooperItemOrdering): this; +} + +declare const enum AVPlayerLooperItemOrdering { + + LoopingItemsPrecedeExistingItems = 0, + + LoopingItemsFollowExistingItems = 1 } declare const enum AVPlayerLooperStatus { @@ -6957,7 +7247,7 @@ interface AVQueuedSampleBufferRendering extends NSObjectProtocol { flush(): void; - requestMediaDataWhenReadyOnQueueUsingBlock(queue: NSObject, block: () => void): void; + requestMediaDataWhenReadyOnQueueUsingBlock(queue: interop.Pointer | interop.Reference, block: () => void): void; stopRequestingMediaData(): void; } @@ -7050,7 +7340,7 @@ declare class AVSampleBufferAudioRenderer extends NSObject implements AVQueuedSa performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; - requestMediaDataWhenReadyOnQueueUsingBlock(queue: NSObject, block: () => void): void; + requestMediaDataWhenReadyOnQueueUsingBlock(queue: interop.Pointer | interop.Reference, block: () => void): void; respondsToSelector(aSelector: string): boolean; @@ -7087,6 +7377,8 @@ declare class AVSampleBufferDisplayLayer extends CALayer implements AVQueuedSamp readonly requiresFlushToResumeDecoding: boolean; + readonly sampleBufferRenderer: AVSampleBufferVideoRenderer; + readonly status: AVQueuedSampleBufferRenderingStatus; videoGravity: string; @@ -7131,7 +7423,7 @@ declare class AVSampleBufferDisplayLayer extends CALayer implements AVQueuedSamp performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; - requestMediaDataWhenReadyOnQueueUsingBlock(queue: NSObject, block: () => void): void; + requestMediaDataWhenReadyOnQueueUsingBlock(queue: interop.Pointer | interop.Reference, block: () => void): void; respondsToSelector(aSelector: string): boolean; @@ -7194,9 +7486,9 @@ declare class AVSampleBufferRenderSynchronizer extends NSObject { readonly timebase: any; - addBoundaryTimeObserverForTimesQueueUsingBlock(times: NSArray | NSValue[], queue: NSObject, block: () => void): any; + addBoundaryTimeObserverForTimesQueueUsingBlock(times: NSArray | NSValue[], queue: interop.Pointer | interop.Reference, block: () => void): any; - addPeriodicTimeObserverForIntervalQueueUsingBlock(interval: CMTime, queue: NSObject, block: (p1: CMTime) => void): any; + addPeriodicTimeObserverForIntervalQueueUsingBlock(interval: CMTime, queue: interop.Pointer | interop.Reference, block: (p1: CMTime) => void): any; addRenderer(renderer: AVQueuedSampleBufferRendering): void; @@ -7256,6 +7548,75 @@ declare const enum AVSampleBufferRequestMode { Opportunistic = 2 } +declare class AVSampleBufferVideoRenderer extends NSObject implements AVQueuedSampleBufferRendering { + + static alloc(): AVSampleBufferVideoRenderer; // inherited from NSObject + + static new(): AVSampleBufferVideoRenderer; // inherited from NSObject + + readonly error: NSError; + + readonly requiresFlushToResumeDecoding: boolean; + + readonly status: AVQueuedSampleBufferRenderingStatus; + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hasSufficientMediaDataForReliablePlaybackStart: boolean; // inherited from AVQueuedSampleBufferRendering + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly readyForMoreMediaData: boolean; // inherited from AVQueuedSampleBufferRendering + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly timebase: any; // inherited from AVQueuedSampleBufferRendering + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + enqueueSampleBuffer(sampleBuffer: any): void; + + flush(): void; + + flushWithRemovalOfDisplayedImageCompletionHandler(removeDisplayedImage: boolean, handler: () => void): void; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + requestMediaDataWhenReadyOnQueueUsingBlock(queue: interop.Pointer | interop.Reference, block: () => void): void; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + + stopRequestingMediaData(): void; +} + +declare var AVSampleBufferVideoRendererDidFailToDecodeNotification: string; + +declare var AVSampleBufferVideoRendererDidFailToDecodeNotificationErrorKey: string; + +declare var AVSampleBufferVideoRendererRequiresFlushToResumeDecodingDidChangeNotification: string; + declare class AVSampleCursor extends NSObject implements NSCopying { static alloc(): AVSampleCursor; // inherited from NSObject @@ -7551,6 +7912,8 @@ declare var AVURLAssetHTTPCookiesKey: string; declare var AVURLAssetHTTPUserAgentKey: string; +declare var AVURLAssetOverrideMIMETypeKey: string; + declare var AVURLAssetPreferPreciseDurationAndTimingKey: string; declare var AVURLAssetPrimarySessionIdentifierKey: string; @@ -7685,6 +8048,8 @@ declare class AVVideoComposition extends NSObject implements NSCopying, NSMutabl readonly instructions: NSArray; + readonly perFrameHDRDisplayMetadataPolicy: string; + readonly renderScale: number; readonly renderSize: CGSize; @@ -7830,6 +8195,10 @@ declare class AVVideoCompositionLayerInstruction extends NSObject implements NSC mutableCopyWithZone(zone: interop.Pointer | interop.Reference): any; } +declare var AVVideoCompositionPerFrameHDRDisplayMetadataPolicyGenerate: string; + +declare var AVVideoCompositionPerFrameHDRDisplayMetadataPolicyPropagate: string; + declare class AVVideoCompositionRenderContext extends NSObject { static alloc(): AVVideoCompositionRenderContext; // inherited from NSObject diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts index 6298cc007..cc9fe032e 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts @@ -99,7 +99,7 @@ declare class AUAudioUnit extends NSObject { musicalContextBlock: (p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference, p3: interop.Pointer | interop.Reference, p4: interop.Pointer | interop.Reference, p5: interop.Pointer | interop.Reference, p6: interop.Pointer | interop.Reference) => boolean; - readonly osWorkgroup: OS_os_workgroup; + readonly osWorkgroup: interop.Pointer | interop.Reference; readonly outputBusses: AUAudioUnitBusArray; @@ -393,7 +393,7 @@ declare function AUListenerAddParameter(inListener: interop.Pointer | interop.Re declare function AUListenerCreate(inProc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference, p3: interop.Pointer | interop.Reference, p4: number) => void>, inUserData: interop.Pointer | interop.Reference, inRunLoop: any, inRunLoopMode: string, inNotificationInterval: number, outListener: interop.Pointer | interop.Reference>): number; -declare function AUListenerCreateWithDispatchQueue(outListener: interop.Pointer | interop.Reference>, inNotificationInterval: number, inDispatchQueue: NSObject, inBlock: (p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference, p3: number) => void): number; +declare function AUListenerCreateWithDispatchQueue(outListener: interop.Pointer | interop.Reference>, inNotificationInterval: number, inDispatchQueue: interop.Pointer | interop.Reference, inBlock: (p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference, p3: number) => void): number; declare function AUListenerDispose(inListener: interop.Pointer | interop.Reference): number; @@ -756,6 +756,23 @@ declare const enum AUSpatializationAlgorithm { kSpatializationAlgorithm_UseOutputType = 7 } +interface AUVoiceIOOtherAudioDuckingConfiguration { + mEnableAdvancedDucking: boolean; + mDuckingLevel: AUVoiceIOOtherAudioDuckingLevel; +} +declare var AUVoiceIOOtherAudioDuckingConfiguration: interop.StructType; + +declare const enum AUVoiceIOOtherAudioDuckingLevel { + + kAUVoiceIOOtherAudioDuckingLevelDefault = 0, + + kAUVoiceIOOtherAudioDuckingLevelMin = 10, + + kAUVoiceIOOtherAudioDuckingLevelMid = 20, + + kAUVoiceIOOtherAudioDuckingLevelMax = 30 +} + declare const enum AUVoiceIOSpeechActivityEvent { kAUVoiceIOSpeechActivityHasStarted = 0, @@ -960,8 +977,12 @@ declare function AudioFileGetPropertyInfo(inAudioFile: interop.Pointer | interop declare function AudioFileGetUserData(inAudioFile: interop.Pointer | interop.Reference, inUserDataID: number, inIndex: number, ioUserDataSize: interop.Pointer | interop.Reference, outUserData: interop.Pointer | interop.Reference): number; +declare function AudioFileGetUserDataAtOffset(inAudioFile: interop.Pointer | interop.Reference, inUserDataID: number, inIndex: number, inOffset: number, ioUserDataSize: interop.Pointer | interop.Reference, outUserData: interop.Pointer | interop.Reference): number; + declare function AudioFileGetUserDataSize(inAudioFile: interop.Pointer | interop.Reference, inUserDataID: number, inIndex: number, outUserDataSize: interop.Pointer | interop.Reference): number; +declare function AudioFileGetUserDataSize64(inAudioFile: interop.Pointer | interop.Reference, inUserDataID: number, inIndex: number, outUserDataSize: interop.Pointer | interop.Reference): number; + declare function AudioFileInitializeWithCallbacks(inClientData: interop.Pointer | interop.Reference, inReadFunc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference, p2: number, p3: number, p4: interop.Pointer | interop.Reference, p5: interop.Pointer | interop.Reference) => number>, inWriteFunc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference, p2: number, p3: number, p4: interop.Pointer | interop.Reference, p5: interop.Pointer | interop.Reference) => number>, inGetSizeFunc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference) => number>, inSetSizeFunc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference, p2: number) => number>, inFileType: number, inFormat: interop.Pointer | interop.Reference, inFlags: AudioFileFlags, outAudioFile: interop.Pointer | interop.Reference>): number; interface AudioFileMarker { @@ -1231,11 +1252,11 @@ declare var AudioQueueLevelMeterState: interop.StructType, inCallbackProc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference, p3: interop.Pointer | interop.Reference, p4: interop.Pointer | interop.Reference, p5: number, p6: interop.Pointer | interop.Reference) => void>, inUserData: interop.Pointer | interop.Reference, inCallbackRunLoop: any, inCallbackRunLoopMode: string, inFlags: number, outAQ: interop.Pointer | interop.Reference>): number; -declare function AudioQueueNewInputWithDispatchQueue(outAQ: interop.Pointer | interop.Reference>, inFormat: interop.Pointer | interop.Reference, inFlags: number, inCallbackDispatchQueue: NSObject, inCallbackBlock: (p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference, p3: interop.Pointer | interop.Reference, p4: number, p5: interop.Pointer | interop.Reference) => void): number; +declare function AudioQueueNewInputWithDispatchQueue(outAQ: interop.Pointer | interop.Reference>, inFormat: interop.Pointer | interop.Reference, inFlags: number, inCallbackDispatchQueue: interop.Pointer | interop.Reference, inCallbackBlock: (p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference, p3: interop.Pointer | interop.Reference, p4: number, p5: interop.Pointer | interop.Reference) => void): number; declare function AudioQueueNewOutput(inFormat: interop.Pointer | interop.Reference, inCallbackProc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference, p3: interop.Pointer | interop.Reference) => void>, inUserData: interop.Pointer | interop.Reference, inCallbackRunLoop: any, inCallbackRunLoopMode: string, inFlags: number, outAQ: interop.Pointer | interop.Reference>): number; -declare function AudioQueueNewOutputWithDispatchQueue(outAQ: interop.Pointer | interop.Reference>, inFormat: interop.Pointer | interop.Reference, inFlags: number, inCallbackDispatchQueue: NSObject, inCallbackBlock: (p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference) => void): number; +declare function AudioQueueNewOutputWithDispatchQueue(outAQ: interop.Pointer | interop.Reference>, inFormat: interop.Pointer | interop.Reference, inFlags: number, inCallbackDispatchQueue: interop.Pointer | interop.Reference, inCallbackBlock: (p1: interop.Pointer | interop.Reference, p2: interop.Pointer | interop.Reference) => void): number; declare function AudioQueueOfflineRender(inAQ: interop.Pointer | interop.Reference, inTimestamp: interop.Pointer | interop.Reference, ioBuffer: interop.Pointer | interop.Reference, inNumberFrames: number): number; @@ -1597,7 +1618,7 @@ declare const enum AudioUnitRenderActionFlags { } interface AudioUnitRenderContext { - workgroup: OS_os_workgroup; + workgroup: interop.Pointer | interop.Reference; reserved: interop.Reference; } declare var AudioUnitRenderContext: interop.StructType; @@ -1610,7 +1631,7 @@ declare function AudioUnitSetProperty(inUnit: interop.Pointer | interop.Referenc declare function AudioUnitUninitialize(inUnit: interop.Pointer | interop.Reference): number; -declare function AudioWorkIntervalCreate(name: string | interop.Pointer | interop.Reference, clock: os_clockid_t, attr: interop.Pointer | interop.Reference): OS_os_workgroup; +declare function AudioWorkIntervalCreate(name: string | interop.Pointer | interop.Reference, clock: os_clockid_t, attr: interop.Pointer | interop.Reference): interop.Pointer | interop.Reference; interface CABarBeatTime { bar: number; @@ -2331,6 +2352,8 @@ declare const kAUVoiceIOProperty_MuteOutput: number; declare const kAUVoiceIOProperty_MutedSpeechActivityEventListener: number; +declare const kAUVoiceIOProperty_OtherAudioDuckingConfiguration: number; + declare const kAUVoiceIOProperty_VoiceProcessingEnableAGC: number; declare const kAUVoiceIOProperty_VoiceProcessingQuality: number; @@ -2797,6 +2820,8 @@ declare const kAudioFileNotOpenError: number; declare const kAudioFileNotOptimizedError: number; +declare const kAudioFileOpenUsingHintError: number; + declare const kAudioFileOperationNotSupportedError: number; declare const kAudioFilePermissionsError: number; @@ -2895,6 +2920,8 @@ declare const kAudioFileStreamError_InvalidPacketOffset: number; declare const kAudioFileStreamError_NotOptimized: number; +declare const kAudioFileStreamError_OpenUsingHint: number; + declare const kAudioFileStreamError_UnspecifiedError: number; declare const kAudioFileStreamError_UnsupportedDataFormat: number; @@ -3441,6 +3468,8 @@ declare const kAudioUnitComplexRenderSelect: number; declare const kAudioUnitErr_CannotDoInCurrentContext: number; +declare const kAudioUnitErr_ComponentManagerNotSupported: number; + declare const kAudioUnitErr_ExtensionNotFound: number; declare const kAudioUnitErr_FailedInitialization: number; diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreGraphics.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreGraphics.d.ts index 8f5613857..e916f8662 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreGraphics.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreGraphics.d.ts @@ -365,6 +365,8 @@ declare function CGContextConvertSizeToUserSpace(c: any, size: CGSize): CGSize; declare function CGContextCopyPath(c: any): any; +declare function CGContextDrawConicGradient(c: any, gradient: any, center: CGPoint, angle: number): void; + declare function CGContextDrawImage(c: any, rect: CGRect, image: any): void; declare function CGContextDrawLayerAtPoint(context: any, point: CGPoint, layer: any): void; diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreMIDI.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreMIDI.d.ts index 854e3433f..d70659524 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreMIDI.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreMIDI.d.ts @@ -342,6 +342,8 @@ interface MIDIEventPacket { } declare var MIDIEventPacket: interop.StructType; +declare function MIDIEventPacketSysexBytesForGroup(pkt: interop.Pointer | interop.Reference, groupIndex: number, outData: interop.Pointer | interop.Reference): number; + declare function MIDIExternalDeviceCreate(name: string, manufacturer: string, model: string, outDevice: interop.Pointer | interop.Reference): number; declare function MIDIFlushOutput(dest: number): number; @@ -656,6 +658,10 @@ declare function MIDISendEventList(port: number, dest: number, evtlist: interop. declare function MIDISendSysex(request: interop.Pointer | interop.Reference): number; +declare function MIDISendUMPSysex(umpRequest: interop.Pointer | interop.Reference): number; + +declare function MIDISendUMPSysex8(umpRequest: interop.Pointer | interop.Reference): number; + declare function MIDISetupAddDevice(device: number): number; declare function MIDISetupAddExternalDevice(device: number): number; @@ -694,6 +700,16 @@ interface MIDISysexSendRequest { } declare var MIDISysexSendRequest: interop.StructType; +interface MIDISysexSendRequestUMP { + destination: number; + words: interop.Pointer | interop.Reference; + wordsToSend: number; + complete: boolean; + completionProc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference) => void>; + completionRefCon: interop.Pointer | interop.Reference; +} +declare var MIDISysexSendRequestUMP: interop.StructType; + declare const enum MIDISystemStatus { kMIDIStatusStartOfExclusive = 240, @@ -936,6 +952,10 @@ declare var kMIDIPropertyTransmitsNotes: string; declare var kMIDIPropertyTransmitsProgramChanges: string; +declare var kMIDIPropertyUMPActiveGroupBitmap: string; + +declare var kMIDIPropertyUMPCanTransmitGroupless: string; + declare var kMIDIPropertyUniqueID: string; declare const kMIDIServerStartErr: number; diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreMotion.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreMotion.d.ts index 315091568..257fc025f 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreMotion.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!CoreMotion.d.ts @@ -122,6 +122,43 @@ declare const enum CMAuthorizationStatus { Authorized = 3 } +declare class CMBatchedSensorManager extends NSObject { + + static alloc(): CMBatchedSensorManager; // inherited from NSObject + + static new(): CMBatchedSensorManager; // inherited from NSObject + + readonly accelerometerActive: boolean; + + readonly accelerometerBatch: NSArray; + + readonly accelerometerDataFrequency: number; + + readonly deviceMotionActive: boolean; + + readonly deviceMotionBatch: NSArray; + + readonly deviceMotionDataFrequency: number; + + static readonly accelerometerSupported: boolean; + + static readonly authorizationStatus: CMAuthorizationStatus; + + static readonly deviceMotionSupported: boolean; + + startAccelerometerUpdates(): void; + + startAccelerometerUpdatesWithHandler(handler: (p1: NSArray, p2: NSError) => void): void; + + startDeviceMotionUpdates(): void; + + startDeviceMotionUpdatesWithHandler(handler: (p1: NSArray, p2: NSError) => void): void; + + stopAccelerometerUpdates(): void; + + stopDeviceMotionUpdates(): void; +} + interface CMCalibratedMagneticField { field: CMMagneticField; accuracy: CMMagneticFieldCalibrationAccuracy; @@ -270,6 +307,30 @@ declare var CMHeadphoneMotionManagerDelegate: { prototype: CMHeadphoneMotionManagerDelegate; }; +declare class CMHighFrequencyHeartRateData extends CMLogItem { + + static alloc(): CMHighFrequencyHeartRateData; // inherited from NSObject + + static new(): CMHighFrequencyHeartRateData; // inherited from NSObject + + readonly confidence: CMHighFrequencyHeartRateDataConfidence; + + readonly date: Date; + + readonly heartRate: number; +} + +declare const enum CMHighFrequencyHeartRateDataConfidence { + + Low = 0, + + Medium = 1, + + High = 2, + + Highest = 3 +} + declare class CMLogItem extends NSObject implements NSCopying, NSSecureCoding { static alloc(): CMLogItem; // inherited from NSObject @@ -438,6 +499,56 @@ declare class CMMotionManager extends NSObject { stopMagnetometerUpdates(): void; } +declare class CMOdometerData extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): CMOdometerData; // inherited from NSObject + + static new(): CMOdometerData; // inherited from NSObject + + readonly deltaAltitude: number; + + readonly deltaDistance: number; + + readonly deltaDistanceAccuracy: number; + + readonly endDate: Date; + + readonly gpsDate: Date; + + readonly maxAbsSlope: number; + + readonly originDevice: CMOdometerOriginDevice; + + readonly slope: number; + + readonly speed: number; + + readonly speedAccuracy: number; + + readonly startDate: Date; + + readonly verticalAccuracy: number; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + +declare const enum CMOdometerOriginDevice { + + Unknown = 0, + + Local = 1, + + Remote = 2 +} + declare class CMPedometer extends NSObject { static alloc(): CMPedometer; // inherited from NSObject @@ -719,6 +830,8 @@ declare class CMWaterSubmersionManager extends NSObject { delegate: CMWaterSubmersionManagerDelegate; + readonly maximumDepth: NSMeasurement; + static readonly authorizationStatus: CMAuthorizationStatus; static readonly waterSubmersionAvailable: boolean; diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Foundation.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Foundation.d.ts index 3dc8caa29..7728b1c42 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Foundation.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Foundation.d.ts @@ -1948,6 +1948,8 @@ declare const enum NSDataWritingOptions { DataWritingFileProtectionCompleteUntilFirstUserAuthentication = 1073741824, + DataWritingFileProtectionCompleteWhenUserInactive = 1342177280, + DataWritingFileProtectionMask = 4026531840, AtomicWrite = 1 @@ -3339,6 +3341,8 @@ declare class NSFileHandle extends NSObject implements NSSecureCoding { static fileHandleForWritingToURLError(url: NSURL): NSFileHandle; + static fileHandleWithDataCompletion(path: string, data: NSData, callback: (p1: NSFileHandle, p2: NSError) => void): void; + static new(): NSFileHandle; // inherited from NSObject readonly availableData: NSData; @@ -3371,6 +3375,8 @@ declare class NSFileHandle extends NSObject implements NSSecureCoding { acceptConnectionInBackgroundAndNotifyForModes(modes: NSArray | string[]): void; + appendDataCompletion(data: NSData, callback: (p1: NSError) => void): void; + closeAndReturnError(): boolean; closeFile(): void; @@ -3690,6 +3696,8 @@ declare var NSFileProtectionCompleteUnlessOpen: string; declare var NSFileProtectionCompleteUntilFirstUserAuthentication: string; +declare var NSFileProtectionCompleteWhenUserInactive: string; + declare var NSFileProtectionKey: string; declare var NSFileProtectionNone: string; @@ -3997,6 +4005,57 @@ declare function NSGetUncaughtExceptionHandler(): interop.Pointer | interop.Refe declare var NSGlobalDomain: string; +declare const enum NSGrammaticalCase { + + NotSet = 0, + + Nominative = 1, + + Accusative = 2, + + Dative = 3, + + Genitive = 4, + + Prepositional = 5, + + Ablative = 6, + + Adessive = 7, + + Allative = 8, + + Elative = 9, + + Illative = 10, + + Essive = 11, + + Inessive = 12, + + Locative = 13, + + Translative = 14 +} + +declare const enum NSGrammaticalDefiniteness { + + NotSet = 0, + + Indefinite = 1, + + Definite = 2 +} + +declare const enum NSGrammaticalDetermination { + + NotSet = 0, + + Independent = 1, + + Dependent = 2 +} + declare const enum NSGrammaticalGender { NotSet = 0, @@ -4058,6 +4117,28 @@ declare const enum NSGrammaticalPartOfSpeech { Abbreviation = 14 } +declare const enum NSGrammaticalPerson { + + NotSet = 0, + + First = 1, + + Second = 2, + + Third = 3 +} + +declare const enum NSGrammaticalPronounType { + + NotSet = 0, + + Personal = 1, + + Reflexive = 2, + + Possessive = 3 +} + declare var NSGregorianCalendar: string; declare const NSHPUXOperatingSystem: number; @@ -4522,8 +4603,16 @@ declare class NSIndexSet extends NSObject implements NSCopying, NSMutableCopying declare var NSIndianCalendar: string; +declare var NSInflectionAgreementArgumentAttributeName: string; + +declare var NSInflectionAgreementConceptAttributeName: string; + declare var NSInflectionAlternativeAttributeName: string; +declare var NSInflectionConceptsKey: string; + +declare var NSInflectionReferentConceptAttributeName: string; + declare class NSInflectionRule extends NSObject implements NSCopying, NSSecureCoding { static alloc(): NSInflectionRule; // inherited from NSObject @@ -5314,12 +5403,16 @@ declare class NSLocale extends NSObject implements NSCopying, NSSecureCoding { readonly languageCode: string; + readonly languageIdentifier: string; + readonly localeIdentifier: string; readonly quotationBeginDelimiter: string; readonly quotationEndDelimiter: string; + readonly regionCode: string; + readonly scriptCode: string; readonly usesMetricSystem: boolean; @@ -6001,12 +6094,22 @@ declare class NSMorphology extends NSObject implements NSCopying, NSSecureCoding static new(): NSMorphology; // inherited from NSObject + definiteness: NSGrammaticalDefiniteness; + + determination: NSGrammaticalDetermination; + + grammaticalCase: NSGrammaticalCase; + grammaticalGender: NSGrammaticalGender; + grammaticalPerson: NSGrammaticalPerson; + number: NSGrammaticalNumber; partOfSpeech: NSGrammaticalPartOfSpeech; + pronounType: NSGrammaticalPronounType; + readonly unspecified: boolean; static readonly userMorphology: NSMorphology; @@ -6059,6 +6162,33 @@ declare class NSMorphologyCustomPronoun extends NSObject implements NSCopying, N initWithCoder(coder: NSCoder): this; } +declare class NSMorphologyPronoun extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): NSMorphologyPronoun; // inherited from NSObject + + static new(): NSMorphologyPronoun; // inherited from NSObject + + readonly dependentMorphology: NSMorphology; + + readonly morphology: NSMorphology; + + readonly pronoun: string; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + constructor(o: { pronoun: string; morphology: NSMorphology; dependentMorphology: NSMorphology; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; + + initWithPronounMorphologyDependentMorphology(pronoun: string, morphology: NSMorphology, dependentMorphology: NSMorphology): this; +} + declare var NSMultipleUnderlyingErrorsKey: string; declare class NSMutableArray extends NSArray { @@ -7337,7 +7467,7 @@ declare class NSOperationQueue extends NSObject implements NSProgressReporting { suspended: boolean; - underlyingQueue: NSObject; + underlyingQueue: interop.Pointer | interop.Reference; static readonly currentQueue: NSOperationQueue; @@ -9794,6 +9924,35 @@ declare var NSSystemTimeZoneDidChangeNotification: string; declare function NSTemporaryDirectory(): string; +declare class NSTermOfAddress extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): NSTermOfAddress; // inherited from NSObject + + static feminine(): NSTermOfAddress; + + static localizedForLanguageIdentifierWithPronouns(language: string, pronouns: NSArray | NSMorphologyPronoun[]): NSTermOfAddress; + + static masculine(): NSTermOfAddress; + + static neutral(): NSTermOfAddress; + + static new(): NSTermOfAddress; // inherited from NSObject + + readonly languageIdentifier: string; + + readonly pronouns: NSArray; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + declare var NSTextCheckingAirlineKey: string; declare const NSTextCheckingAllCustomTypes: number; @@ -10144,6 +10303,8 @@ declare class NSURL extends NSObject implements NSCopying, NSItemProviderReading static URLWithString(URLString: string): NSURL; + static URLWithStringEncodingInvalidCharacters(URLString: string, encodingInvalidCharacters: boolean): NSURL; + static URLWithStringRelativeToURL(URLString: string, baseURL: NSURL): NSURL; static absoluteURLWithDataRepresentationRelativeToURL(data: NSData, baseURL: NSURL): NSURL; @@ -10276,6 +10437,8 @@ declare class NSURL extends NSObject implements NSCopying, NSItemProviderReading constructor(o: { string: string; }); + constructor(o: { string: string; encodingInvalidCharacters: boolean; }); + constructor(o: { string: string; relativeToURL: NSURL; }); URLByAppendingPathComponent(pathComponent: string): NSURL; @@ -10332,6 +10495,8 @@ declare class NSURL extends NSObject implements NSCopying, NSItemProviderReading initWithString(URLString: string): this; + initWithStringEncodingInvalidCharacters(URLString: string, encodingInvalidCharacters: boolean): this; + initWithStringRelativeToURL(URLString: string, baseURL: NSURL): this; isEqual(object: any): boolean; @@ -10533,6 +10698,8 @@ declare class NSURLComponents extends NSObject implements NSCopying { static componentsWithString(URLString: string): NSURLComponents; + static componentsWithStringEncodingInvalidCharacters(URLString: string, encodingInvalidCharacters: boolean): NSURLComponents; + static componentsWithURLResolvingAgainstBaseURL(url: NSURL, resolve: boolean): NSURLComponents; static new(): NSURLComponents; // inherited from NSObject @@ -10593,6 +10760,8 @@ declare class NSURLComponents extends NSObject implements NSCopying { constructor(o: { string: string; }); + constructor(o: { string: string; encodingInvalidCharacters: boolean; }); + constructor(o: { URL: NSURL; resolvingAgainstBaseURL: boolean; }); URLRelativeToURL(baseURL: NSURL): NSURL; @@ -10601,6 +10770,8 @@ declare class NSURLComponents extends NSObject implements NSCopying { initWithString(URLString: string): this; + initWithStringEncodingInvalidCharacters(URLString: string, encodingInvalidCharacters: boolean): this; + initWithURLResolvingAgainstBaseURL(url: NSURL, resolve: boolean): this; } @@ -10620,8 +10791,6 @@ declare class NSURLConnection extends NSObject { readonly currentRequest: NSURLRequest; - readonly newsstandAssetDownload: NKAssetDownload; - readonly originalRequest: NSURLRequest; constructor(o: { request: NSURLRequest; delegate: any; }); @@ -10801,6 +10970,8 @@ declare var NSURLCredentialStorageRemoveSynchronizableCredentials: string; declare var NSURLCustomIconKey: string; +declare var NSURLDirectoryEntryCountKey: string; + declare var NSURLDocumentIdentifierKey: string; declare var NSURLEffectiveIconKey: string; @@ -10944,6 +11115,8 @@ declare var NSURLFileProtectionCompleteUnlessOpen: string; declare var NSURLFileProtectionCompleteUntilFirstUserAuthentication: string; +declare var NSURLFileProtectionCompleteWhenUserInactive: string; + declare var NSURLFileProtectionKey: string; declare var NSURLFileProtectionNone: string; @@ -11410,6 +11583,10 @@ declare class NSURLSession extends NSObject { uploadTaskWithRequestFromFileCompletionHandler(request: NSURLRequest, fileURL: NSURL, completionHandler: (p1: NSData, p2: NSURLResponse, p3: NSError) => void): NSURLSessionUploadTask; + uploadTaskWithResumeData(resumeData: NSData): NSURLSessionUploadTask; + + uploadTaskWithResumeDataCompletionHandler(resumeData: NSData, completionHandler: (p1: NSData, p2: NSURLResponse, p3: NSError) => void): NSURLSessionUploadTask; + uploadTaskWithStreamedRequest(request: NSURLRequest): NSURLSessionUploadTask; webSocketTaskWithRequest(request: NSURLRequest): NSURLSessionWebSocketTask; @@ -11482,6 +11659,8 @@ declare class NSURLSessionConfiguration extends NSObject implements NSCopying { protocolClasses: NSArray; + proxyConfigurations: NSArray; + requestCachePolicy: NSURLRequestCachePolicy; requiresDNSSECValidation: boolean; @@ -11728,12 +11907,16 @@ interface NSURLSessionTaskDelegate extends NSURLSessionDelegate { URLSessionTaskDidReceiveChallengeCompletionHandler?(session: NSURLSession, task: NSURLSessionTask, challenge: NSURLAuthenticationChallenge, completionHandler: (p1: NSURLSessionAuthChallengeDisposition, p2: NSURLCredential) => void): void; + URLSessionTaskDidReceiveInformationalResponse?(session: NSURLSession, task: NSURLSessionTask, response: NSHTTPURLResponse): void; + URLSessionTaskDidSendBodyDataTotalBytesSentTotalBytesExpectedToSend?(session: NSURLSession, task: NSURLSessionTask, bytesSent: number, totalBytesSent: number, totalBytesExpectedToSend: number): void; URLSessionTaskIsWaitingForConnectivity?(session: NSURLSession, task: NSURLSessionTask): void; URLSessionTaskNeedNewBodyStream?(session: NSURLSession, task: NSURLSessionTask, completionHandler: (p1: NSInputStream) => void): void; + URLSessionTaskNeedNewBodyStreamFromOffsetCompletionHandler?(session: NSURLSession, task: NSURLSessionTask, offset: number, completionHandler: (p1: NSInputStream) => void): void; + URLSessionTaskWillBeginDelayedRequestCompletionHandler?(session: NSURLSession, task: NSURLSessionTask, request: NSURLRequest, completionHandler: (p1: NSURLSessionDelayedRequestDisposition, p2: NSURLRequest) => void): void; URLSessionTaskWillPerformHTTPRedirectionNewRequestCompletionHandler?(session: NSURLSession, task: NSURLSessionTask, response: NSHTTPURLResponse, request: NSURLRequest, completionHandler: (p1: NSURLRequest) => void): void; @@ -11879,8 +12062,12 @@ declare class NSURLSessionUploadTask extends NSURLSessionDataTask { static alloc(): NSURLSessionUploadTask; // inherited from NSObject static new(): NSURLSessionUploadTask; // inherited from NSObject + + cancelByProducingResumeData(completionHandler: (p1: NSData) => void): void; } +declare var NSURLSessionUploadTaskResumeData: string; + declare const enum NSURLSessionWebSocketCloseCode { Invalid = 0, diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!ObjectiveC.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!ObjectiveC.d.ts index 96d4ff512..5929e078b 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!ObjectiveC.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!ObjectiveC.d.ts @@ -51,64 +51,134 @@ declare class NSObject implements NSObjectProtocol { static superclass(): typeof NSObject; + static useStoredAccessor(): boolean; + static version(): number; + accessibilityActivateBlock: () => boolean; + accessibilityActivationPoint: CGPoint; + accessibilityActivationPointBlock: () => CGPoint; + accessibilityAttributedHint: NSAttributedString; + accessibilityAttributedHintBlock: () => NSAttributedString; + accessibilityAttributedLabel: NSAttributedString; + accessibilityAttributedLabelBlock: () => NSAttributedString; + accessibilityAttributedUserInputLabels: NSArray; + accessibilityAttributedUserInputLabelsBlock: () => NSArray; + accessibilityAttributedValue: NSAttributedString; + accessibilityAttributedValueBlock: () => NSAttributedString; + accessibilityContainerType: UIAccessibilityContainerType; + accessibilityContainerTypeBlock: () => UIAccessibilityContainerType; + accessibilityCustomActions: NSArray; + accessibilityCustomActionsBlock: () => NSArray; + accessibilityCustomRotors: NSArray; + accessibilityCustomRotorsBlock: () => NSArray; + + accessibilityDecrementBlock: () => void; + + accessibilityDirectTouchOptions: UIAccessibilityDirectTouchOptions; + accessibilityDragSourceDescriptors: NSArray; accessibilityDropPointDescriptors: NSArray; accessibilityElements: NSArray; + accessibilityElementsBlock: () => NSArray; + accessibilityElementsHidden: boolean; + accessibilityElementsHiddenBlock: () => boolean; + accessibilityFrame: CGRect; + accessibilityFrameBlock: () => CGRect; + + accessibilityHeaderElementsBlock: () => NSArray; + accessibilityHint: string; + accessibilityHintBlock: () => string; + + accessibilityIdentifierBlock: () => string; + + accessibilityIncrementBlock: () => void; + accessibilityLabel: string; + accessibilityLabelBlock: () => string; + accessibilityLanguage: string; + accessibilityLanguageBlock: () => string; + + accessibilityMagicTapBlock: () => boolean; + accessibilityNavigationStyle: UIAccessibilityNavigationStyle; + accessibilityNavigationStyleBlock: () => UIAccessibilityNavigationStyle; + accessibilityPath: UIBezierPath; + accessibilityPathBlock: () => UIBezierPath; + + accessibilityPerformEscapeBlock: () => boolean; + accessibilityRespondsToUserInteraction: boolean; + accessibilityRespondsToUserInteractionBlock: () => boolean; + + accessibilityShouldGroupAccessibilityChildrenBlock: () => boolean; + accessibilityTextualContext: string; + accessibilityTextualContextBlock: () => string; + accessibilityTraits: number; + accessibilityTraitsBlock: () => number; + accessibilityUserInputLabels: NSArray; + accessibilityUserInputLabelsBlock: () => NSArray; + accessibilityValue: string; + accessibilityValueBlock: () => string; + accessibilityViewIsModal: boolean; + accessibilityViewIsModalBlock: () => boolean; + readonly autoContentAccessingProxy: any; + automationElements: NSArray; + + automationElementsBlock: () => NSArray; + readonly classForCoder: typeof NSObject; readonly classForKeyedArchiver: typeof NSObject; isAccessibilityElement: boolean; + isAccessibilityElementBlock: () => boolean; + observationInfo: interop.Pointer | interop.Reference; shouldGroupAccessibilityChildren: boolean; @@ -153,6 +223,10 @@ declare class NSObject implements NSObjectProtocol { accessibilityScroll(direction: UIAccessibilityScrollDirection): boolean; + accessibilityZoomInAtPoint(point: CGPoint): boolean; + + accessibilityZoomOutAtPoint(point: CGPoint): boolean; + addObserverForKeyPathOptionsContext(observer: NSObject, keyPath: string, options: NSKeyValueObservingOptions, context: interop.Pointer | interop.Reference): void; attemptRecoveryFromErrorOptionIndex(error: NSError, recoveryOptionIndex: number): boolean; @@ -191,6 +265,10 @@ declare class NSObject implements NSObjectProtocol { forwardingTargetForSelector(aSelector: string): any; + handleQueryWithUnboundKey(key: string): any; + + handleTakeValueForUnboundKey(value: any, key: string): void; + indexOfAccessibilityElement(element: any): number; init(): this; @@ -269,6 +347,18 @@ declare class NSObject implements NSObjectProtocol { setValuesForKeysWithDictionary(keyedValues: NSDictionary): void; + storedValueForKey(key: string): any; + + takeStoredValueForKey(value: any, key: string): void; + + takeValueForKey(value: any, key: string): void; + + takeValueForKeyPath(value: any, keyPath: string): void; + + takeValuesFromDictionary(properties: NSDictionary): void; + + unableToSetNilForKey(key: string): void; + validateValueForKeyError(ioValue: interop.Pointer | interop.Reference, inKey: string): boolean; validateValueForKeyPathError(ioValue: interop.Pointer | interop.Reference, inKeyPath: string): boolean; @@ -279,6 +369,8 @@ declare class NSObject implements NSObjectProtocol { valueForUndefinedKey(key: string): any; + valuesForKeys(keys: NSArray | any[]): NSDictionary; + willChangeValueForKey(key: string): void; willChangeValueForKeyWithSetMutationUsingObjects(key: string, mutationKind: NSKeyValueSetMutationKind, objects: NSSet): void; diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!PDFKit.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!PDFKit.d.ts index bf4329713..97f369df4 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!PDFKit.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!PDFKit.d.ts @@ -147,6 +147,8 @@ declare class PDFAnnotation extends NSObject implements NSCoding, NSCopying { action: PDFAction; + readonly activatableTextField: boolean; + alignment: NSTextAlignment; allowsToggleToOff: boolean; diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Speech.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Speech.d.ts index ef800920c..4877a4afa 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Speech.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Speech.d.ts @@ -20,6 +20,12 @@ declare class SFAcousticFeature extends NSObject implements NSCopying, NSSecureC initWithCoder(coder: NSCoder): this; } +declare var SFAnalysisContextTagLeftContext: string; + +declare var SFAnalysisContextTagRightContext: string; + +declare var SFAnalysisContextTagSelectedText: string; + declare class SFSpeechAudioBufferRecognitionRequest extends SFSpeechRecognitionRequest { static alloc(): SFSpeechAudioBufferRecognitionRequest; // inherited from NSObject @@ -35,6 +41,49 @@ declare class SFSpeechAudioBufferRecognitionRequest extends SFSpeechRecognitionR endAudio(): void; } +declare const enum SFSpeechErrorCode { + + InternalServiceError = 1, + + UndefinedTemplateClassName = 7, + + MalformedSupplementalModel = 8 +} + +declare var SFSpeechErrorDomain: string; + +declare class SFSpeechLanguageModel extends NSObject { + + static alloc(): SFSpeechLanguageModel; // inherited from NSObject + + static new(): SFSpeechLanguageModel; // inherited from NSObject + + static prepareCustomLanguageModelForUrlClientIdentifierConfigurationCompletion(asset: NSURL, clientIdentifier: string, configuration: SFSpeechLanguageModelConfiguration, completion: (p1: NSError) => void): void; + + static prepareCustomLanguageModelForUrlClientIdentifierConfigurationIgnoresCacheCompletion(asset: NSURL, clientIdentifier: string, configuration: SFSpeechLanguageModelConfiguration, ignoresCache: boolean, completion: (p1: NSError) => void): void; +} + +declare class SFSpeechLanguageModelConfiguration extends NSObject implements NSCopying { + + static alloc(): SFSpeechLanguageModelConfiguration; // inherited from NSObject + + static new(): SFSpeechLanguageModelConfiguration; // inherited from NSObject + + readonly languageModel: NSURL; + + readonly vocabulary: NSURL; + + constructor(o: { languageModel: NSURL; }); + + constructor(o: { languageModel: NSURL; vocabulary: NSURL; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithLanguageModel(languageModel: NSURL): this; + + initWithLanguageModelVocabulary(languageModel: NSURL, vocabulary: NSURL): this; +} + declare class SFSpeechRecognitionMetadata extends NSObject implements NSCopying, NSSecureCoding { static alloc(): SFSpeechRecognitionMetadata; // inherited from NSObject @@ -72,6 +121,8 @@ declare class SFSpeechRecognitionRequest extends NSObject { contextualStrings: NSArray; + customizedLanguageModel: SFSpeechLanguageModelConfiguration; + interactionIdentifier: string; requiresOnDeviceRecognition: boolean; @@ -314,3 +365,448 @@ declare class SFVoiceAnalytics extends NSObject implements NSCopying, NSSecureCo initWithCoder(coder: NSCoder): this; } + +declare class _SFAnalysisContext extends NSObject { + + static alloc(): _SFAnalysisContext; // inherited from NSObject + + static new(): _SFAnalysisContext; // inherited from NSObject + + contextualNamedEntities: NSArray<_SFContextualNamedEntity>; + + geoLMRegionID: string; + + contextualStringsForKey(key: string): NSArray; + + setContextualStringsForKey(contextualStrings: NSArray | string[], key: string): void; + + setUserDataForKey(userData: any, key: string): void; + + userDataForKey(key: string): any; +} + +declare var _SFAnalysisContextTagContextualNamedEntities: string; + +declare var _SFAnalysisContextTagGeoLMRegionID: string; + +declare var _SFAnalysisContextTagLeftContext: string; + +declare var _SFAnalysisContextTagRightContext: string; + +declare var _SFAnalysisContextTagSelectedText: string; + +declare class _SFAnalyzerTranscriptionSegment extends NSObject { + + static alloc(): _SFAnalyzerTranscriptionSegment; // inherited from NSObject + + static new(): _SFAnalyzerTranscriptionSegment; // inherited from NSObject + + readonly alternatives: NSArray>; + + readonly text: NSArray<_SFToken>; + + constructor(o: { text: NSArray<_SFToken> | _SFToken[]; alternatives: NSArray> | NSArray<_SFToken>[]; }); + + initWithTextAlternatives(text: NSArray<_SFToken> | _SFToken[], alternatives: NSArray> | NSArray<_SFToken>[]): this; +} + +declare class _SFCommandRecognizerArgument extends NSObject { + + static alloc(): _SFCommandRecognizerArgument; // inherited from NSObject + + static new(): _SFCommandRecognizerArgument; // inherited from NSObject + + readonly adpositionIndexes: NSIndexSet; + + readonly indexes: NSIndexSet; + + readonly presence: _SFCommandRecognizerArgumentPresence; + + constructor(o: { presence: _SFCommandRecognizerArgumentPresence; indexes: NSIndexSet; adpositionIndexes: NSIndexSet; }); + + initWithPresenceIndexesAdpositionIndexes(presence: _SFCommandRecognizerArgumentPresence, indexes: NSIndexSet, adpositionIndexes: NSIndexSet): this; +} + +declare const enum _SFCommandRecognizerArgumentPresence { + + _SFCommandRecognizerArgumentPresencePresentAndDelimited = 0, + + _SFCommandRecognizerArgumentPresencePresentMaybeIncomplete = 1, + + _SFCommandRecognizerArgumentPresenceMissingMaybeExpected = 2, + + _SFCommandRecognizerArgumentPresenceMissing = 3, + + SFCommandRecognizerArgumentPresencePresentAndDelimited = 0, + + SFCommandRecognizerArgumentPresencePresentMaybeIncomplete = 1, + + SFCommandRecognizerArgumentPresenceMissingMaybeExpected = 2, + + SFCommandRecognizerArgumentPresenceMissing = 3 +} + +declare class _SFCommandRecognizerInterpretation extends NSObject { + + static alloc(): _SFCommandRecognizerInterpretation; // inherited from NSObject + + static new(): _SFCommandRecognizerInterpretation; // inherited from NSObject + + readonly arguments: NSArray<_SFCommandRecognizerArgument>; + + readonly commandIdentifier: string; + + readonly range: NSRange; + + readonly suiteIdentifiers: NSSet; + + readonly verbIndexes: NSIndexSet; + + constructor(o: { commandIdentifier: string; suiteIdentifiers: NSSet; range: NSRange; verbIndexes: NSIndexSet; arguments: NSArray<_SFCommandRecognizerArgument> | _SFCommandRecognizerArgument[]; }); + + initWithCommandIdentifierSuiteIdentifiersRangeVerbIndexesArguments(commandIdentifier: string, suiteIdentifiers: NSSet, range: NSRange, verbIndexes: NSIndexSet, _arguments: NSArray<_SFCommandRecognizerArgument> | _SFCommandRecognizerArgument[]): this; +} + +declare class _SFContextualNamedEntity extends NSObject { + + static alloc(): _SFContextualNamedEntity; // inherited from NSObject + + static new(): _SFContextualNamedEntity; // inherited from NSObject + + constructor(o: { peopleSuggesterRecipientDisplayName: string; }); + + constructor(o: { personalizationPortraitName: string; score: number; category: number; language: string; }); + + initWithPeopleSuggesterRecipientDisplayName(displayName: string): this; + + initWithPersonalizationPortraitNameScoreCategoryLanguage(name: string, score: number, category: number, language: string): this; +} + +declare const enum _SFEARResultType { + + Partial = 0, + + Candidate = 1, + + Final = 2, + + FinalAndTerminal = 3, + + PauseConfirmation = 4 +} + +declare class _SFEndpointingResult extends NSObject { + + static alloc(): _SFEndpointingResult; // inherited from NSObject + + static new(): _SFEndpointingResult; // inherited from NSObject + + readonly eosLikelihood: number; + + readonly pauseCounts: NSArray; + + readonly range: CMTimeRange; + + readonly silencePosterior: number; + + readonly wordCount: number; + + constructor(o: { range: CMTimeRange; wordCount: number; eosLikelihood: number; pauseCounts: NSArray | number[]; silencePosterior: number; }); + + initWithRangeWordCountEosLikelihoodPauseCountsSilencePosterior(range: CMTimeRange, wordCount: number, eosLikelihood: number, pauseCounts: NSArray | number[], silencePosterior: number): this; +} + +declare class _SFInputSequencer extends NSObject { + + static alloc(): _SFInputSequencer; // inherited from NSObject + + static new(): _SFInputSequencer; // inherited from NSObject + + addAudio(audioBuffer: AVAudioPCMBuffer): void; + + finishAudio(): void; +} + +declare class _SFModelDownloadRequest extends NSObject { + + static alloc(): _SFModelDownloadRequest; // inherited from NSObject + + static new(): _SFModelDownloadRequest; // inherited from NSObject + + readonly progress: NSProgress; + + downloadWithCompletion(completion: (p1: NSError) => void): void; +} + +declare class _SFSpeechAnalyzer extends NSObject { + + static alloc(): _SFSpeechAnalyzer; // inherited from NSObject + + static modelDownloadRequestForClientIdentifierTranscriberOptions(clientIdentifier: string, transcriberOptions: _SFSpeechAnalyzerTranscriberOptions): _SFModelDownloadRequest; + + static new(): _SFSpeechAnalyzer; // inherited from NSObject + + readonly inputSequence: _SFInputSequencer; + + constructor(o: { clientIdentifier: string; inputSequence: _SFInputSequencer; audioFormat: AVAudioFormat; transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate; endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate; queue: NSOperationQueue; transcriberOptions: _SFSpeechAnalyzerTranscriberOptions; commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions; options: _SFSpeechAnalyzerOptions; restrictedLogging: boolean; geoLMRegionID: string; contextualNamedEntities: NSArray<_SFContextualNamedEntity> | _SFContextualNamedEntity[]; didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void; }); + + cancelPendingResultsAndPauseWithCompletion(completion: (p1: NSError) => void): void; + + finalizeAndFinishThroughCompletion(time: CMTime, completion: (p1: NSError) => void): void; + + finalizeAndFinishThroughEndOfInputWithCompletion(completion: (p1: NSError) => void): void; + + finalizeAndFinishWithCompletion(completion: (p1: NSError) => void): void; + + finalizeThroughCompletion(time: CMTime, completion: (p1: NSError) => void): void; + + finalizeWithCompletion(completion: (p1: NSError) => void): void; + + getContextWithCompletion(completion: (p1: _SFAnalysisContext) => void): void; + + getModelInfoLanguageWithCompletion(completion: (p1: string) => void): void; + + getModelInfoTasksWithCompletion(completion: (p1: NSSet) => void): void; + + getNextBufferStartTimeWithCompletion(completion: (p1: CMTime) => void): void; + + getRecognitionStatisticsWithCompletion(completion: (p1: NSDictionary) => void): void; + + getRecognitionUtterenceStatisticsWithCompletion(completion: (p1: NSDictionary) => void): void; + + initWithClientIdentifierInputSequenceAudioFormatTranscriberResultDelegateEndpointingResultDelegateQueueTranscriberOptionsCommandRecognizerOptionsOptionsRestrictedLoggingGeoLMRegionIDContextualNamedEntitiesDidChangeVolatileRange(clientIdentifier: string, inputSequence: _SFInputSequencer, audioFormat: AVAudioFormat, transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate, endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate, queue: NSOperationQueue, transcriberOptions: _SFSpeechAnalyzerTranscriberOptions, commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions, options: _SFSpeechAnalyzerOptions, restrictedLogging: boolean, geoLMRegionID: string, contextualNamedEntities: NSArray<_SFContextualNamedEntity> | _SFContextualNamedEntity[], didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void): this; + + prepareToAnalyzeReportingIntoCompletion(progress: NSProgress, completion: (p1: NSError) => void): void; + + requestResultAtEndpointTimes(times: NSArray | NSValue[]): void; + + resumeWithCompletion(completion: (p1: NSError) => void): void; + + setDidChangeVolatileRangeCompletion(handler: (p1: CMTimeRange, p2: boolean, p3: boolean) => void, completion: () => void): void; +} + +declare class _SFSpeechAnalyzerCommandRecognizerOptions extends NSObject { + + static alloc(): _SFSpeechAnalyzerCommandRecognizerOptions; // inherited from NSObject + + static new(): _SFSpeechAnalyzerCommandRecognizerOptions; // inherited from NSObject +} + +interface _SFSpeechAnalyzerEndpointingResultDelegate { + + speechAnalyzerDidProduceEndpointingResult(speechAnalyzer: _SFSpeechAnalyzer, endpointingResult: _SFEndpointingResult): void; + + speechAnalyzerDidStopEndpointingWithError(speechAnalyzer: _SFSpeechAnalyzer, error: NSError): void; +} +declare var _SFSpeechAnalyzerEndpointingResultDelegate: { + + prototype: _SFSpeechAnalyzerEndpointingResultDelegate; +}; + +declare class _SFSpeechAnalyzerOptions extends NSObject implements NSCopying { + + static alloc(): _SFSpeechAnalyzerOptions; // inherited from NSObject + + static new(): _SFSpeechAnalyzerOptions; // inherited from NSObject + + readonly highPriority: boolean; + + readonly loggingInfo: _SFSpeechAnalyzerOptionsLoggingInfo; + + readonly powerContext: _SFSpeechAnalyzerOptionsPowerContext; + + constructor(o: { highPriority: boolean; loggingInfo: _SFSpeechAnalyzerOptionsLoggingInfo; powerContext: _SFSpeechAnalyzerOptionsPowerContext; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithHighPriorityLoggingInfoPowerContext(highPriority: boolean, loggingInfo: _SFSpeechAnalyzerOptionsLoggingInfo, powerContext: _SFSpeechAnalyzerOptionsPowerContext): this; +} + +declare class _SFSpeechAnalyzerOptionsLoggingInfo extends NSObject implements NSCopying { + + static alloc(): _SFSpeechAnalyzerOptionsLoggingInfo; // inherited from NSObject + + static new(): _SFSpeechAnalyzerOptionsLoggingInfo; // inherited from NSObject + + readonly asrID: NSUUID; + + readonly requestID: NSUUID; + + constructor(o: { asrID: NSUUID; requestID: NSUUID; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithAsrIDRequestID(asrID: NSUUID, requestID: NSUUID): this; +} + +declare class _SFSpeechAnalyzerOptionsPowerContext extends NSObject implements NSCopying { + + static alloc(): _SFSpeechAnalyzerOptionsPowerContext; // inherited from NSObject + + static new(): _SFSpeechAnalyzerOptionsPowerContext; // inherited from NSObject + + readonly ane: string; + + readonly cpu: string; + + readonly gpu: string; + + constructor(o: { ane: string; cpu: string; gpu: string; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithAneCpuGpu(ane: string, cpu: string, gpu: string): this; +} + +declare class _SFSpeechAnalyzerTranscriberOptions extends NSObject { + + static alloc(): _SFSpeechAnalyzerTranscriberOptions; // inherited from NSObject + + static new(): _SFSpeechAnalyzerTranscriberOptions; // inherited from NSObject + + attributeOptions: _SFTranscriptionResultAttributeOptions; + + locale: NSLocale; + + modelOptions: _SFTranscriberModelOptions; + + taskHint: SFSpeechRecognitionTaskHint; + + transcriptionOptions: _SFTranscriptionOptions; +} + +interface _SFSpeechAnalyzerTranscriberResultDelegate { + + speechAnalyzerDidProduceAllTranscriberResults?(speechAnalyzer: _SFSpeechAnalyzer): void; + + speechAnalyzerDidProduceTranscriberResult(speechAnalyzer: _SFSpeechAnalyzer, transcriberResult: _SFTranscriberResult): void; + + speechAnalyzerDidStopTranscriptionWithError(speechAnalyzer: _SFSpeechAnalyzer, error: NSError): void; +} +declare var _SFSpeechAnalyzerTranscriberResultDelegate: { + + prototype: _SFSpeechAnalyzerTranscriberResultDelegate; +}; + +declare class _SFToken extends NSObject implements NSCopying { + + static alloc(): _SFToken; // inherited from NSObject + + static new(): _SFToken; // inherited from NSObject + + readonly confidence: number; + + readonly duration: number; + + readonly startTime: number; + + readonly text: string; + + constructor(o: { text: string; confidence: number; startTime: number; duration: number; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithTextConfidenceStartTimeDuration(text: string, confidence: number, startTime: number, duration: number): this; +} + +declare class _SFTranscriberModelOptions extends NSObject implements NSCopying { + + static alloc(): _SFTranscriberModelOptions; // inherited from NSObject + + static new(): _SFTranscriberModelOptions; // inherited from NSObject + + readonly farField: boolean; + + readonly modelOverrideURL: NSURL; + + readonly speechProfileURLs: NSArray; + + readonly supplementalModelURL: NSURL; + + readonly taskForMemoryLock: string; + + constructor(o: { supplementalModelURL: NSURL; farField: boolean; modelOverrideURL: NSURL; speechProfileURLs: NSArray | NSURL[]; taskForMemoryLock: string; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithSupplementalModelURLFarFieldModelOverrideURLSpeechProfileURLsTaskForMemoryLock(supplementalModelURL: NSURL, farField: boolean, modelOverrideURL: NSURL, speechProfileURLs: NSArray | NSURL[], taskForMemoryLock: string): this; +} + +declare class _SFTranscriberResult extends NSObject { + + static alloc(): _SFTranscriberResult; // inherited from NSObject + + static new(): _SFTranscriberResult; // inherited from NSObject + + readonly contextualizedCommandRecognizerResult: _STCommandRecognizerResult; + + readonly contextualizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult; + + readonly normalizedCommandRecognizerResult: _STCommandRecognizerResult; + + readonly normalizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult; + + readonly range: CMTimeRange; + + constructor(o: { range: CMTimeRange; normalizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult; normalizedCommandRecognizerResult: _STCommandRecognizerResult; contextualizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult; contextualizedCommandRecognizerResult: _STCommandRecognizerResult; }); + + initWithRangeNormalizedTranscriberMultisegmentResultNormalizedCommandRecognizerResultContextualizedTranscriberMultisegmentResultContextualizedCommandRecognizerResult(range: CMTimeRange, normalizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult, normalizedCommandRecognizerResult: _STCommandRecognizerResult, contextualizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult, contextualizedCommandRecognizerResult: _STCommandRecognizerResult): this; +} + +declare const enum _SFTranscriptionOptions { + + NormalizedTranscription = 1, + + ContextualizedTranscription = 2, + + Punctuation = 4, + + Emoji = 8, + + EtiquetteReplacements = 16 +} + +declare const enum _SFTranscriptionResultAttributeOptions { + + Confidence = 1, + + CmTime = 2 +} + +declare class _STCommandRecognizerResult extends NSObject implements NSCopying { + + static alloc(): _STCommandRecognizerResult; // inherited from NSObject + + static new(): _STCommandRecognizerResult; // inherited from NSObject + + readonly transcriptionCommands: NSArray>; + + constructor(o: { transcriptionCommands: NSArray> | NSArray<_SFCommandRecognizerInterpretation>[]; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithTranscriptionCommands(transcriptionCommands: NSArray> | NSArray<_SFCommandRecognizerInterpretation>[]): this; +} + +declare class _STTranscriberMultisegmentResult extends NSObject implements NSCopying { + + static alloc(): _STTranscriberMultisegmentResult; // inherited from NSObject + + static new(): _STTranscriberMultisegmentResult; // inherited from NSObject + + readonly earResultType: _SFEARResultType; + + readonly nBestChoices: NSArray; + + readonly recognitionAudioRange: CMTimeRange; + + readonly segments: NSArray<_SFAnalyzerTranscriptionSegment>; + + readonly transcriptions: NSArray>; + + constructor(o: { segments: NSArray<_SFAnalyzerTranscriptionSegment> | _SFAnalyzerTranscriptionSegment[]; transcriptions: NSArray> | NSArray<_SFToken>[]; earResultType: _SFEARResultType; nBestChoices: NSArray | NSIndexPath[]; recognitionAudioRange: CMTimeRange; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + initWithSegmentsTranscriptionsEarResultTypeNBestChoicesRecognitionAudioRange(segments: NSArray<_SFAnalyzerTranscriptionSegment> | _SFAnalyzerTranscriptionSegment[], transcriptions: NSArray> | NSArray<_SFToken>[], earResultType: _SFEARResultType, nBestChoices: NSArray | NSIndexPath[], recognitionAudioRange: CMTimeRange): this; +} diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!UIKit.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!UIKit.d.ts index 1138d41ad..9262e1703 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!UIKit.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!UIKit.d.ts @@ -125,6 +125,8 @@ declare class NSCollectionLayoutDimension extends NSObject implements NSCopying static new(): NSCollectionLayoutDimension; // inherited from NSObject + static uniformAcrossSiblingsWithEstimate(estimatedDimension: number): NSCollectionLayoutDimension; + readonly dimension: number; readonly isAbsolute: boolean; @@ -135,6 +137,8 @@ declare class NSCollectionLayoutDimension extends NSObject implements NSCopying readonly isFractionalWidth: boolean; + readonly isUniformAcrossSiblings: boolean; + copyWithZone(zone: interop.Pointer | interop.Reference): any; } @@ -263,6 +267,8 @@ declare class NSCollectionLayoutSection extends NSObject implements NSCopying { orthogonalScrollingBehavior: UICollectionLayoutSectionOrthogonalScrollingBehavior; + readonly orthogonalScrollingProperties: UICollectionLayoutSectionOrthogonalScrollingProperties; + supplementariesFollowContentInsets: boolean; supplementaryContentInsetsReference: UIContentInsetsReference; @@ -410,6 +416,8 @@ declare var NSDefaultAttributesDocumentAttribute: string; declare var NSDefaultAttributesDocumentOption: string; +declare var NSDefaultFontExcludedDocumentAttribute: string; + declare var NSDefaultTabIntervalDocumentAttribute: string; declare class NSDiffableDataSourceSectionSnapshot extends NSObject implements NSCopying { @@ -620,14 +628,12 @@ declare var NSHyphenationFactorDocumentAttribute: string; declare var NSKernAttributeName: string; -declare class NSLayoutAnchor extends NSObject implements NSCoding, NSCopying { +declare class NSLayoutAnchor extends NSObject { static alloc(): NSLayoutAnchor; // inherited from NSObject static new(): NSLayoutAnchor; // inherited from NSObject - constructor(o: { coder: NSCoder; }); // inherited from NSCoding - constraintEqualToAnchor(anchor: NSLayoutAnchor): NSLayoutConstraint; constraintEqualToAnchorConstant(anchor: NSLayoutAnchor, c: number): NSLayoutConstraint; @@ -639,12 +645,6 @@ declare class NSLayoutAnchor extends NSObject implements NSCoding, N constraintLessThanOrEqualToAnchor(anchor: NSLayoutAnchor): NSLayoutConstraint; constraintLessThanOrEqualToAnchorConstant(anchor: NSLayoutAnchor, c: number): NSLayoutConstraint; - - copyWithZone(zone: interop.Pointer | interop.Reference): any; - - encodeWithCoder(coder: NSCoder): void; - - initWithCoder(coder: NSCoder): this; } declare const enum NSLayoutAttribute { @@ -1784,6 +1784,10 @@ declare class NSTextLayoutFragment extends NSObject implements NSSecureCoding { initWithTextElementRange(textElement: NSTextElement, rangeInElement: NSTextRange): this; invalidateLayout(): void; + + textLineFragmentForTextLocationIsUpstreamAffinity(textLocation: NSTextLocation, isUpstreamAffinity: boolean): NSTextLineFragment; + + textLineFragmentForVerticalOffsetRequiresExactMatch(verticalOffset: number, requiresExactMatch: boolean): NSTextLineFragment; } declare const enum NSTextLayoutFragmentEnumerationOptions { @@ -2877,6 +2881,15 @@ declare function UIAccessibilityDarkerSystemColorsEnabled(): boolean; declare var UIAccessibilityDarkerSystemColorsStatusDidChangeNotification: string; +declare const enum UIAccessibilityDirectTouchOptions { + + None = 0, + + SilentOnTouch = 1, + + RequiresActivation = 2 +} + declare class UIAccessibilityElement extends UIResponder implements UIAccessibilityIdentification { static alloc(): UIAccessibilityElement; // inherited from NSObject @@ -3052,6 +3065,12 @@ declare function UIAccessibilityPrefersCrossFadeTransitions(): boolean; declare var UIAccessibilityPrefersCrossFadeTransitionsStatusDidChangeNotification: string; +declare var UIAccessibilityPriorityDefault: string; + +declare var UIAccessibilityPriorityHigh: string; + +declare var UIAccessibilityPriorityLow: string; + interface UIAccessibilityReadingContent { accessibilityAttributedContentForLineNumber?(lineNumber: number): NSAttributedString; @@ -3108,6 +3127,8 @@ declare var UIAccessibilitySpeakScreenStatusDidChangeNotification: string; declare var UIAccessibilitySpeakSelectionStatusDidChangeNotification: string; +declare var UIAccessibilitySpeechAttributeAnnouncementPriority: string; + declare var UIAccessibilitySpeechAttributeIPANotation: string; declare var UIAccessibilitySpeechAttributeLanguage: string; @@ -3174,8 +3195,12 @@ declare var UIAccessibilityTraitStaticText: number; declare var UIAccessibilityTraitSummaryElement: number; +declare var UIAccessibilityTraitSupportsZoom: number; + declare var UIAccessibilityTraitTabBar: number; +declare var UIAccessibilityTraitToggleButton: number; + declare var UIAccessibilityTraitUpdatesFrequently: number; declare var UIAccessibilityUnfocusedElementKey: string; @@ -3223,6 +3248,8 @@ declare class UIAction extends UIMenuElement implements UIMenuLeaf { readonly presentationSourceItem: UIPopoverPresentationControllerSourceItem; // inherited from UIMenuLeaf + selectedImage: UIImage; // inherited from UIMenuLeaf + readonly sender: any; // inherited from UIMenuLeaf state: UIMenuElementState; // inherited from UIMenuLeaf @@ -4038,6 +4065,8 @@ declare class UIApplication extends UIResponder { static readonly sharedApplication: UIApplication; + activateSceneSessionForRequestErrorHandler(request: UISceneSessionActivationRequest, errorHandler: (p1: NSError) => void): void; + beginBackgroundTaskWithExpirationHandler(handler: () => void): number; beginBackgroundTaskWithNameExpirationHandler(taskName: string, handler: () => void): number; @@ -4761,6 +4790,8 @@ declare class UIBarButtonItem extends UIBarItem implements NSCoding, UIPopoverPr style: UIBarButtonItemStyle; + symbolAnimationEnabled: boolean; + target: any; tintColor: UIColor; @@ -4809,6 +4840,12 @@ declare class UIBarButtonItem extends UIBarItem implements NSCoding, UIPopoverPr constructor(o: { title: string; style: UIBarButtonItemStyle; target: any; action: string; }); + addSymbolEffect(symbolEffect: NSSymbolEffect): void; + + addSymbolEffectOptions(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions): void; + + addSymbolEffectOptionsAnimated(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions, animated: boolean): void; + backButtonBackgroundImageForStateBarMetrics(state: UIControlState, barMetrics: UIBarMetrics): UIImage; backButtonBackgroundVerticalPositionAdjustmentForBarMetrics(barMetrics: UIBarMetrics): number; @@ -4833,6 +4870,8 @@ declare class UIBarButtonItem extends UIBarItem implements NSCoding, UIPopoverPr encodeWithCoder(coder: NSCoder): void; + frameInView(referenceView: UIView): CGRect; + initWithBarButtonSystemItemMenu(systemItem: UIBarButtonSystemItem, menu: UIMenu): this; initWithBarButtonSystemItemPrimaryAction(systemItem: UIBarButtonSystemItem, primaryAction: UIAction): this; @@ -4873,6 +4912,18 @@ declare class UIBarButtonItem extends UIBarItem implements NSCoding, UIPopoverPr performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + removeAllSymbolEffects(): void; + + removeAllSymbolEffectsWithOptions(options: NSSymbolEffectOptions): void; + + removeAllSymbolEffectsWithOptionsAnimated(options: NSSymbolEffectOptions, animated: boolean): void; + + removeSymbolEffectOfType(symbolEffect: NSSymbolEffect): void; + + removeSymbolEffectOfTypeOptions(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions): void; + + removeSymbolEffectOfTypeOptionsAnimated(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions, animated: boolean): void; + respondsToSelector(aSelector: string): boolean; retainCount(): number; @@ -4891,6 +4942,10 @@ declare class UIBarButtonItem extends UIBarItem implements NSCoding, UIPopoverPr setBackgroundVerticalPositionAdjustmentForBarMetrics(adjustment: number, barMetrics: UIBarMetrics): void; + setSymbolImageWithContentTransition(symbolImage: UIImage, transition: NSSymbolContentTransition): void; + + setSymbolImageWithContentTransitionOptions(symbolImage: UIImage, transition: NSSymbolContentTransition, options: NSSymbolEffectOptions): void; + setTitlePositionAdjustmentForBarMetrics(adjustment: UIOffset, barMetrics: UIBarMetrics): void; titlePositionAdjustmentForBarMetrics(barMetrics: UIBarMetrics): UIOffset; @@ -5699,6 +5754,13 @@ declare const enum UIButtonType { RoundedRect = 1 } +interface UICGFloatTraitDefinition extends UITraitDefinition { +} +declare var UICGFloatTraitDefinition: { + + prototype: UICGFloatTraitDefinition; +}; + declare class UICalendarSelection extends NSObject { static alloc(): UICalendarSelection; // inherited from NSObject @@ -6215,6 +6277,34 @@ declare const enum UICollectionLayoutSectionOrthogonalScrollingBehavior { GroupPagingCentered = 5 } +declare const enum UICollectionLayoutSectionOrthogonalScrollingBounce { + + Automatic = 0, + + Always = 1, + + Never = 2 +} + +declare var UICollectionLayoutSectionOrthogonalScrollingDecelerationRateAutomatic: number; + +declare var UICollectionLayoutSectionOrthogonalScrollingDecelerationRateFast: number; + +declare var UICollectionLayoutSectionOrthogonalScrollingDecelerationRateNormal: number; + +declare class UICollectionLayoutSectionOrthogonalScrollingProperties extends NSObject implements NSCopying { + + static alloc(): UICollectionLayoutSectionOrthogonalScrollingProperties; // inherited from NSObject + + static new(): UICollectionLayoutSectionOrthogonalScrollingProperties; // inherited from NSObject + + bounce: UICollectionLayoutSectionOrthogonalScrollingBounce; + + decelerationRate: number; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; +} + declare class UICollectionReusableView extends UIView { static alloc(): UICollectionReusableView; // inherited from NSObject @@ -7960,6 +8050,8 @@ declare class UICommand extends UIMenuElement implements UIMenuLeaf { readonly presentationSourceItem: UIPopoverPresentationControllerSourceItem; // inherited from UIMenuLeaf + selectedImage: UIImage; // inherited from UIMenuLeaf + readonly sender: any; // inherited from UIMenuLeaf state: UIMenuElementState; // inherited from UIMenuLeaf @@ -8133,6 +8225,327 @@ declare var UIContentSizeCategorySmall: string; declare var UIContentSizeCategoryUnspecified: string; +declare const enum UIContentUnavailableAlignment { + + Center = 0, + + Natural = 1 +} + +declare class UIContentUnavailableButtonProperties extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): UIContentUnavailableButtonProperties; // inherited from NSObject + + static new(): UIContentUnavailableButtonProperties; // inherited from NSObject + + enabled: boolean; + + menu: UIMenu; + + primaryAction: UIAction; + + role: UIButtonRole; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + +declare class UIContentUnavailableConfiguration extends NSObject implements NSSecureCoding, UIContentConfiguration { + + static alloc(): UIContentUnavailableConfiguration; // inherited from NSObject + + static emptyConfiguration(): UIContentUnavailableConfiguration; + + static loadingConfiguration(): UIContentUnavailableConfiguration; + + static new(): UIContentUnavailableConfiguration; // inherited from NSObject + + static searchConfiguration(): UIContentUnavailableConfiguration; + + alignment: UIContentUnavailableAlignment; + + attributedText: NSAttributedString; + + axesPreservingSuperviewLayoutMargins: UIAxis; + + background: UIBackgroundConfiguration; + + button: UIButtonConfiguration; + + readonly buttonProperties: UIContentUnavailableButtonProperties; + + buttonToSecondaryButtonPadding: number; + + directionalLayoutMargins: NSDirectionalEdgeInsets; + + image: UIImage; + + readonly imageProperties: UIContentUnavailableImageProperties; + + imageToTextPadding: number; + + secondaryAttributedText: NSAttributedString; + + secondaryButton: UIButtonConfiguration; + + readonly secondaryButtonProperties: UIContentUnavailableButtonProperties; + + secondaryText: string; + + readonly secondaryTextProperties: UIContentUnavailableTextProperties; + + text: string; + + readonly textProperties: UIContentUnavailableTextProperties; + + textToButtonPadding: number; + + textToSecondaryTextPadding: number; + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly // inherited from NSObjectProtocol + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + makeContentView(): UIView; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + + updatedConfigurationForState(state: UIConfigurationState): this; +} + +declare class UIContentUnavailableConfigurationState extends NSObject implements UIConfigurationState { + + static alloc(): UIContentUnavailableConfigurationState; // inherited from NSObject + + static new(): UIContentUnavailableConfigurationState; // inherited from NSObject + + searchText: string; + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + traitCollection: UITraitCollection; // inherited from UIConfigurationState + + readonly // inherited from NSObjectProtocol + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + constructor(o: { traitCollection: UITraitCollection; }); // inherited from UIConfigurationState + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + customStateForKey(key: string): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; + + initWithTraitCollection(traitCollection: UITraitCollection): this; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + objectForKeyedSubscript(key: string): any; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + + setCustomStateForKey(customState: any, key: string): void; + + setObjectForKeyedSubscript(obj: any, key: string): void; +} + +declare class UIContentUnavailableImageProperties extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): UIContentUnavailableImageProperties; // inherited from NSObject + + static new(): UIContentUnavailableImageProperties; // inherited from NSObject + + accessibilityIgnoresInvertColors: boolean; + + cornerRadius: number; + + maximumSize: CGSize; + + preferredSymbolConfiguration: UIImageSymbolConfiguration; + + tintColor: UIColor; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + +declare class UIContentUnavailableTextProperties extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): UIContentUnavailableTextProperties; // inherited from NSObject + + static new(): UIContentUnavailableTextProperties; // inherited from NSObject + + adjustsFontSizeToFitWidth: boolean; + + allowsDefaultTighteningForTruncation: boolean; + + color: UIColor; + + font: UIFont; + + lineBreakMode: NSLineBreakMode; + + minimumScaleFactor: number; + + numberOfLines: number; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + +declare class UIContentUnavailableView extends UIView implements UIContentView { + + static alloc(): UIContentUnavailableView; // inherited from NSObject + + static appearance(): UIContentUnavailableView; // inherited from UIAppearance + + static appearanceForTraitCollection(trait: UITraitCollection): UIContentUnavailableView; // inherited from UIAppearance + + static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): UIContentUnavailableView; // inherited from UIAppearance + + static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray | typeof NSObject[]): UIContentUnavailableView; // inherited from UIAppearance + + static appearanceWhenContainedIn(ContainerClass: typeof NSObject): UIContentUnavailableView; // inherited from UIAppearance + + static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray | typeof NSObject[]): UIContentUnavailableView; // inherited from UIAppearance + + static new(): UIContentUnavailableView; // inherited from NSObject + + configuration: UIContentUnavailableConfiguration; + + scrollEnabled: boolean; + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly // inherited from NSObjectProtocol + + constructor(o: { configuration: UIContentUnavailableConfiguration; }); + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + initWithConfiguration(configuration: UIContentUnavailableConfiguration): this; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + + supportsConfiguration(configuration: UIContentConfiguration): boolean; +} + interface UIContentView extends NSObjectProtocol { configuration: UIContentConfiguration; @@ -8360,6 +8773,8 @@ declare class UIControl extends UIView implements UIContextMenuInteractionDelega readonly state: UIControlState; + symbolAnimationEnabled: boolean; + toolTip: string; readonly toolTipInteraction: UIToolTipInteraction; @@ -8558,6 +8973,15 @@ declare var UICoordinateSpace: { prototype: UICoordinateSpace; }; +declare const enum UICornerCurve { + + Automatic = 0, + + Circular = 1, + + Continuous = 2 +} + declare class UICubicTimingParameters extends NSObject implements UITimingCurveProvider { static alloc(): UICubicTimingParameters; // inherited from NSObject @@ -8846,7 +9270,7 @@ declare const enum UIDisplayGamut { P3 = 1 } -declare class UIDocument extends NSObject implements NSFilePresenter, NSProgressReporting, UIUserActivityRestoring { +declare class UIDocument extends NSObject implements NSFilePresenter, NSProgressReporting, UINavigationItemRenameDelegate, UIUserActivityRestoring { static alloc(): UIDocument; // inherited from NSObject @@ -8930,6 +9354,14 @@ declare class UIDocument extends NSObject implements NSFilePresenter, NSProgress loadFromContentsOfTypeError(contents: any, typeName: string): boolean; + navigationItemDidEndRenamingWithTitle(navigationItem: UINavigationItem, title: string): void; + + navigationItemShouldBeginRenaming(navigationItem: UINavigationItem): boolean; + + navigationItemShouldEndRenamingWithTitle(navigationItem: UINavigationItem, title: string): boolean; + + navigationItemWillBeginRenamingWithSuggestedTitleSelectedRange(navigationItem: UINavigationItem, title: string, selectedRange: interop.Pointer | interop.Reference): string; + openWithCompletionHandler(completionHandler: (p1: boolean) => void): void; performAsynchronousFileAccessUsingBlock(block: () => void): void; @@ -9486,6 +9918,27 @@ declare const enum UIDocumentState { declare var UIDocumentStateChangedNotification: string; +declare class UIDocumentViewController extends UIViewController { + + static alloc(): UIDocumentViewController; // inherited from NSObject + + static new(): UIDocumentViewController; // inherited from NSObject + + document: UIDocument; + + readonly undoRedoItemGroup: UIBarButtonItemGroup; + + constructor(o: { document: UIDocument; }); + + documentDidOpen(): void; + + initWithDocument(document: UIDocument): this; + + navigationItemDidUpdate(): void; + + openDocumentWithCompletionHandler(completionHandler: (p1: boolean) => void): void; +} + interface UIDragAnimating extends NSObjectProtocol { addAnimations(animations: () => void): void; @@ -11019,6 +11472,10 @@ declare var UIFontTextStyleCaption1: string; declare var UIFontTextStyleCaption2: string; +declare var UIFontTextStyleExtraLargeTitle: string; + +declare var UIFontTextStyleExtraLargeTitle2: string; + declare var UIFontTextStyleFootnote: string; declare var UIFontTextStyleHeadline: string; @@ -11276,6 +11733,8 @@ declare class UIGraphicsImageRendererFormat extends UIGraphicsRendererFormat { prefersExtendedRange: boolean; scale: number; + + readonly supportsHighDynamicRange: boolean; } declare const enum UIGraphicsImageRendererFormatRange { @@ -11480,6 +11939,58 @@ declare const enum UIGuidedAccessRestrictionState { declare function UIGuidedAccessRestrictionStateForIdentifier(restrictionIdentifier: string): UIGuidedAccessRestrictionState; +declare class UIHoverAutomaticEffect extends NSObject implements UIHoverEffect { + + static alloc(): UIHoverAutomaticEffect; // inherited from NSObject + + static effect(): UIHoverAutomaticEffect; + + static new(): UIHoverAutomaticEffect; // inherited from NSObject + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; +} + +interface UIHoverEffect extends NSCopying, NSObjectProtocol { +} +declare var UIHoverEffect: { + + prototype: UIHoverEffect; +}; + declare class UIHoverGestureRecognizer extends UIGestureRecognizer { static alloc(): UIHoverGestureRecognizer; // inherited from NSObject @@ -11495,6 +12006,117 @@ declare class UIHoverGestureRecognizer extends UIGestureRecognizer { azimuthUnitVectorInView(view: UIView): CGVector; } +declare class UIHoverHighlightEffect extends NSObject implements UIHoverEffect { + + static alloc(): UIHoverHighlightEffect; // inherited from NSObject + + static effect(): UIHoverHighlightEffect; + + static new(): UIHoverHighlightEffect; // inherited from NSObject + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; +} + +declare class UIHoverLiftEffect extends NSObject implements UIHoverEffect { + + static alloc(): UIHoverLiftEffect; // inherited from NSObject + + static effect(): UIHoverLiftEffect; + + static new(): UIHoverLiftEffect; // inherited from NSObject + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; +} + +declare class UIHoverStyle extends NSObject implements NSCopying { + + static alloc(): UIHoverStyle; // inherited from NSObject + + static automaticStyle(): UIHoverStyle; + + static new(): UIHoverStyle; // inherited from NSObject + + static styleWithEffectShape(effect: UIHoverEffect, shape: UIShape): UIHoverStyle; + + static styleWithShape(shape: UIShape): UIHoverStyle; + + effect: UIHoverEffect; + + enabled: boolean; + + shape: UIShape; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; +} + declare class UIImage extends NSObject implements NSItemProviderReading, NSItemProviderWriting, NSSecureCoding, UIAccessibilityIdentification, UIItemProviderPresentationSizeProviding { static alloc(): UIImage; // inherited from NSObject @@ -11577,6 +12199,8 @@ declare class UIImage extends NSObject implements NSItemProviderReading, NSItemP readonly images: NSArray; + readonly isHighDynamicRange: boolean; + readonly leftCapWidth: number; readonly renderingMode: UIImageRenderingMode; @@ -11669,6 +12293,8 @@ declare class UIImage extends NSObject implements NSItemProviderReading, NSItemP imageFlippedForRightToLeftLayoutDirection(): UIImage; + imageRestrictedToStandardDynamicRange(): UIImage; + imageWithAlignmentRectInsets(alignmentInsets: UIEdgeInsets): UIImage; imageWithBaselineOffsetFromBottom(baselineOffset: number): UIImage; @@ -11765,8 +12391,14 @@ declare class UIImageConfiguration extends NSObject implements NSCopying, NSSecu static alloc(): UIImageConfiguration; // inherited from NSObject + static configurationWithLocale(locale: NSLocale): UIImageConfiguration; + + static configurationWithTraitCollection(traitCollection: UITraitCollection): UIImageConfiguration; + static new(): UIImageConfiguration; // inherited from NSObject + readonly locale: NSLocale; + readonly traitCollection: UITraitCollection; static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding @@ -11775,6 +12407,8 @@ declare class UIImageConfiguration extends NSObject implements NSCopying, NSSecu configurationByApplyingConfiguration(otherConfiguration: UIImageConfiguration): this; + configurationWithLocale(locale: NSLocale): this; + configurationWithTraitCollection(traitCollection: UITraitCollection): this; copyWithZone(zone: interop.Pointer | interop.Reference): any; @@ -11784,6 +12418,19 @@ declare class UIImageConfiguration extends NSObject implements NSCopying, NSSecu initWithCoder(coder: NSCoder): this; } +declare const enum UIImageDynamicRange { + + Unspecified = -1, + + Standard = 0, + + ConstrainedHigh = 1, + + High = 2 +} + +declare function UIImageHEICRepresentation(image: UIImage): NSData; + declare function UIImageJPEGRepresentation(image: UIImage, compressionQuality: number): NSData; declare const enum UIImageOrientation { @@ -11953,6 +12600,44 @@ declare const enum UIImagePickerControllerSourceType { SavedPhotosAlbum = 2 } +declare class UIImageReader extends NSObject { + + static alloc(): UIImageReader; // inherited from NSObject + + static new(): UIImageReader; // inherited from NSObject + + static readerWithConfiguration(configuration: UIImageReaderConfiguration): UIImageReader; + + readonly configuration: UIImageReaderConfiguration; + + static readonly defaultReader: UIImageReader; + + imageWithContentsOfFileURL(url: NSURL): UIImage; + + imageWithContentsOfFileURLCompletion(url: NSURL, completion: (p1: UIImage) => void): void; + + imageWithData(data: NSData): UIImage; + + imageWithDataCompletion(data: NSData, completion: (p1: UIImage) => void): void; +} + +declare class UIImageReaderConfiguration extends NSObject implements NSCopying { + + static alloc(): UIImageReaderConfiguration; // inherited from NSObject + + static new(): UIImageReaderConfiguration; // inherited from NSObject + + pixelsPerInch: number; + + preferredThumbnailSize: CGSize; + + prefersHighDynamicRange: boolean; + + preparesImagesForDisplay: boolean; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; +} + declare const enum UIImageRenderingMode { Automatic = 0, @@ -11983,6 +12668,8 @@ declare class UIImageSymbolConfiguration extends UIImageConfiguration { static configurationWithHierarchicalColor(hierarchicalColor: UIColor): UIImageSymbolConfiguration; + static configurationWithLocale(locale: NSLocale): UIImageSymbolConfiguration; // inherited from UIImageConfiguration + static configurationWithPaletteColors(paletteColors: NSArray | UIColor[]): UIImageSymbolConfiguration; static configurationWithPointSize(pointSize: number): UIImageSymbolConfiguration; @@ -11997,6 +12684,8 @@ declare class UIImageSymbolConfiguration extends UIImageConfiguration { static configurationWithTextStyleScale(textStyle: string, scale: UIImageSymbolScale): UIImageSymbolConfiguration; + static configurationWithTraitCollection(traitCollection: UITraitCollection): UIImageSymbolConfiguration; // inherited from UIImageConfiguration + static configurationWithWeight(weight: UIImageSymbolWeight): UIImageSymbolConfiguration; static new(): UIImageSymbolConfiguration; // inherited from NSObject @@ -12086,6 +12775,10 @@ declare class UIImageView extends UIView implements UIAccessibilityContentSizeCa image: UIImage; + readonly imageDynamicRange: UIImageDynamicRange; + + preferredImageDynamicRange: UIImageDynamicRange; + preferredSymbolConfiguration: UIImageSymbolConfiguration; adjustsImageSizeForAccessibilityContentSizeCategory: boolean; // inherited from UIAccessibilityContentSizeCategoryImageAdjusting @@ -12106,6 +12799,14 @@ declare class UIImageView extends UIView implements UIAccessibilityContentSizeCa constructor(o: { image: UIImage; highlightedImage: UIImage; }); + addSymbolEffect(symbolEffect: NSSymbolEffect): void; + + addSymbolEffectOptions(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions): void; + + addSymbolEffectOptionsAnimated(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions, animated: boolean): void; + + addSymbolEffectOptionsAnimatedCompletion(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions, animated: boolean, completionHandler: (p1: UISymbolEffectCompletionContext) => void): void; + class(): typeof NSObject; conformsToProtocol(aProtocol: any /* Protocol */): boolean; @@ -12126,12 +12827,32 @@ declare class UIImageView extends UIView implements UIAccessibilityContentSizeCa performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + removeAllSymbolEffects(): void; + + removeAllSymbolEffectsWithOptions(options: NSSymbolEffectOptions): void; + + removeAllSymbolEffectsWithOptionsAnimated(options: NSSymbolEffectOptions, animated: boolean): void; + + removeSymbolEffectOfType(symbolEffect: NSSymbolEffect): void; + + removeSymbolEffectOfTypeOptions(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions): void; + + removeSymbolEffectOfTypeOptionsAnimated(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions, animated: boolean): void; + + removeSymbolEffectOfTypeOptionsAnimatedCompletion(symbolEffect: NSSymbolEffect, options: NSSymbolEffectOptions, animated: boolean, completionHandler: (p1: UISymbolEffectCompletionContext) => void): void; + respondsToSelector(aSelector: string): boolean; retainCount(): number; self(): this; + setSymbolImageWithContentTransition(symbolImage: UIImage, transition: NSSymbolContentTransition): void; + + setSymbolImageWithContentTransitionOptions(symbolImage: UIImage, transition: NSSymbolContentTransition, options: NSSymbolEffectOptions): void; + + setSymbolImageWithContentTransitionOptionsCompletion(symbolImage: UIImage, transition: NSSymbolContentTransition, options: NSSymbolEffectOptions, completionHandler: (p1: UISymbolEffectCompletionContext) => void): void; + startAnimating(): void; stopAnimating(): void; @@ -12962,6 +13683,10 @@ declare class UIKeyboardLayoutGuide extends UITrackingLayoutGuide { static new(): UIKeyboardLayoutGuide; // inherited from NSObject followsUndockedKeyboard: boolean; + + keyboardDismissPadding: number; + + usesBottomSafeArea: boolean; } declare const enum UIKeyboardType { @@ -12999,7 +13724,7 @@ declare var UIKeyboardWillHideNotification: string; declare var UIKeyboardWillShowNotification: string; -declare class UILabel extends UIView implements NSCoding, UIContentSizeCategoryAdjusting { +declare class UILabel extends UIView implements NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting { static alloc(): UILabel; // inherited from NSObject @@ -13047,6 +13772,8 @@ declare class UILabel extends UIView implements NSCoding, UIContentSizeCategoryA preferredMaxLayoutWidth: number; + preferredVibrancy: UILabelVibrancy; + shadowColor: UIColor; shadowOffset: CGSize; @@ -13069,6 +13796,8 @@ declare class UILabel extends UIView implements NSCoding, UIContentSizeCategoryA readonly isProxy: boolean; // inherited from NSObjectProtocol + sizingRule: UILetterformAwareSizingRule; // inherited from UILetterformAwareAdjusting + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol readonly // inherited from NSObjectProtocol @@ -13106,6 +13835,13 @@ declare class UILabel extends UIView implements NSCoding, UIContentSizeCategoryA textRectForBoundsLimitedToNumberOfLines(bounds: CGRect, numberOfLines: number): CGRect; } +declare const enum UILabelVibrancy { + + None = 0, + + Automatic = 1 +} + declare class UILargeContentViewerInteraction extends NSObject implements UIInteraction { static alloc(): UILargeContentViewerInteraction; // inherited from NSObject @@ -13262,6 +13998,8 @@ declare class UILayoutGuide extends NSObject implements NSCoding, UIPopoverPrese encodeWithCoder(coder: NSCoder): void; + frameInView(referenceView: UIView): CGRect; + initWithCoder(coder: NSCoder): this; isEqual(object: any): boolean; @@ -13330,6 +14068,22 @@ declare const enum UILegibilityWeight { Bold = 1 } +interface UILetterformAwareAdjusting extends NSObjectProtocol { + + sizingRule: UILetterformAwareSizingRule; +} +declare var UILetterformAwareAdjusting: { + + prototype: UILetterformAwareAdjusting; +}; + +declare const enum UILetterformAwareSizingRule { + + Typographic = 0, + + Oversize = 1 +} + declare class UILexicon extends NSObject implements NSCopying { static alloc(): UILexicon; // inherited from NSObject @@ -13772,6 +14526,15 @@ declare class UILongPressGestureRecognizer extends UIGestureRecognizer { numberOfTouchesRequired: number; } +interface UILookToDictateCapable extends NSObjectProtocol { + + lookToDictateEnabled: boolean; +} +declare var UILookToDictateCapable: { + + prototype: UILookToDictateCapable; +}; + declare class UIManagedDocument extends UIDocument { static alloc(): UIManagedDocument; // inherited from NSObject @@ -13843,6 +14606,8 @@ declare var UIMenuAlignment: string; declare var UIMenuApplication: string; +declare var UIMenuAutoFill: string; + declare var UIMenuBringAllToFront: string; interface UIMenuBuilder { @@ -14010,7 +14775,9 @@ declare const enum UIMenuElementSize { Medium = 1, - Large = 2 + Large = 2, + + Automatic = -1 } declare const enum UIMenuElementState { @@ -14061,6 +14828,8 @@ interface UIMenuLeaf extends NSObjectProtocol { presentationSourceItem: UIPopoverPresentationControllerSourceItem; + selectedImage: UIImage; + sender: any; state: UIMenuElementState; @@ -14090,7 +14859,9 @@ declare const enum UIMenuOptions { Destructive = 2, - SingleSelection = 32 + SingleSelection = 32, + + DisplayAsPalette = 128 } declare var UIMenuPreferences: string; @@ -14245,6 +15016,59 @@ declare class UIMutableApplicationShortcutItem extends UIApplicationShortcutItem userInfo: NSDictionary; } +interface UIMutableTraits extends NSObjectProtocol { + + accessibilityContrast: UIAccessibilityContrast; + + activeAppearance: UIUserInterfaceActiveAppearance; + + displayGamut: UIDisplayGamut; + + displayScale: number; + + forceTouchCapability: UIForceTouchCapability; + + horizontalSizeClass: UIUserInterfaceSizeClass; + + imageDynamicRange: UIImageDynamicRange; + + layoutDirection: UITraitEnvironmentLayoutDirection; + + legibilityWeight: UILegibilityWeight; + + preferredContentSizeCategory: string; + + sceneCaptureState: UISceneCaptureState; + + toolbarItemPresentationSize: UINSToolbarItemPresentationSize; + + typesettingLanguage: string; + + userInterfaceIdiom: UIUserInterfaceIdiom; + + userInterfaceLevel: UIUserInterfaceLevel; + + userInterfaceStyle: UIUserInterfaceStyle; + + verticalSizeClass: UIUserInterfaceSizeClass; + + objectForTrait(trait: typeof NSObject): NSObjectProtocol; + + setCGFloatValueForTrait(value: number, trait: typeof NSObject): void; + + setNSIntegerValueForTrait(value: number, trait: typeof NSObject): void; + + setObjectForTrait(object: NSObjectProtocol, trait: typeof NSObject): void; + + valueForCGFloatTrait(trait: typeof NSObject): number; + + valueForNSIntegerTrait(trait: typeof NSObject): number; +} +declare var UIMutableTraits: { + + prototype: UIMutableTraits; +}; + declare class UIMutableUserNotificationAction extends UIUserNotificationAction { static alloc(): UIMutableUserNotificationAction; // inherited from NSObject @@ -14277,6 +15101,13 @@ declare class UIMutableUserNotificationCategory extends UIUserNotificationCatego setActionsForContext(actions: NSArray | UIUserNotificationAction[], context: UIUserNotificationActionContext): void; } +interface UINSIntegerTraitDefinition extends UITraitDefinition { +} +declare var UINSIntegerTraitDefinition: { + + prototype: UINSIntegerTraitDefinition; +}; + declare const enum UINSToolbarItemPresentationSize { Unspecified = -1, @@ -14657,7 +15488,9 @@ declare const enum UINavigationItemLargeTitleDisplayMode { Always = 1, - Never = 2 + Never = 2, + + Inline = 3 } interface UINavigationItemRenameDelegate extends NSObjectProtocol { @@ -14737,6 +15570,13 @@ declare var UIObjectRestoration: { objectWithRestorationIdentifierPathCoder(identifierComponents: NSArray | string[], coder: NSCoder): UIStateRestoring; }; +interface UIObjectTraitDefinition extends UITraitDefinition { +} +declare var UIObjectTraitDefinition: { + + prototype: UIObjectTraitDefinition; +}; + interface UIOffset { horizontal: number; vertical: number; @@ -14800,6 +15640,8 @@ declare class UIPageControl extends UIControl { preferredIndicatorImage: UIImage; + progress: UIPageControlProgress; + currentPageIndicatorImageForPage(page: number): UIImage; indicatorImageForPage(page: number): UIImage; @@ -14844,6 +15686,68 @@ declare const enum UIPageControlInteractionState { Continuous = 2 } +declare class UIPageControlProgress extends NSObject { + + static alloc(): UIPageControlProgress; // inherited from NSObject + + static new(): UIPageControlProgress; // inherited from NSObject + + currentProgress: number; + + delegate: UIPageControlProgressDelegate; + + readonly progressVisible: boolean; +} + +interface UIPageControlProgressDelegate extends NSObjectProtocol { + + pageControlProgressInitialProgressForPage?(progress: UIPageControlProgress, page: number): number; + + pageControlProgressVisibilityDidChange?(progress: UIPageControlProgress): void; +} +declare var UIPageControlProgressDelegate: { + + prototype: UIPageControlProgressDelegate; +}; + +declare class UIPageControlTimerProgress extends UIPageControlProgress { + + static alloc(): UIPageControlTimerProgress; // inherited from NSObject + + static new(): UIPageControlTimerProgress; // inherited from NSObject + + delegate: UIPageControlTimerProgressDelegate; + + preferredDuration: number; + + resetsToInitialPageAfterEnd: boolean; + + readonly running: boolean; + + constructor(o: { preferredDuration: number; }); + + durationForPage(page: number): number; + + initWithPreferredDuration(preferredDuration: number): this; + + pauseTimer(): void; + + resumeTimer(): void; + + setDurationForPage(duration: number, page: number): void; +} + +interface UIPageControlTimerProgressDelegate extends UIPageControlProgressDelegate { + + pageControlTimerProgressDidChange?(progress: UIPageControlTimerProgress): void; + + pageControlTimerProgressShouldAdvanceToPage?(progress: UIPageControlTimerProgress, page: number): boolean; +} +declare var UIPageControlTimerProgressDelegate: { + + prototype: UIPageControlTimerProgressDelegate; +}; + declare class UIPageViewController extends UIViewController { static alloc(): UIPageViewController; // inherited from NSObject @@ -15494,7 +16398,7 @@ declare var UIPointerAccessoryPositionTopLeft: UIPointerAccessoryPosition; declare var UIPointerAccessoryPositionTopRight: UIPointerAccessoryPosition; -declare class UIPointerEffect extends NSObject implements NSCopying { +declare class UIPointerEffect extends NSObject implements NSCopying, UIHoverEffect { static alloc(): UIPointerEffect; // inherited from NSObject @@ -15504,7 +16408,41 @@ declare class UIPointerEffect extends NSObject implements NSCopying { readonly preview: UITargetedPreview; + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; } declare const enum UIPointerEffectTintMode { @@ -15690,15 +16628,19 @@ declare class UIPointerShape extends NSObject implements NSCopying { copyWithZone(zone: interop.Pointer | interop.Reference): any; } -declare class UIPointerStyle extends NSObject implements NSCopying { +declare class UIPointerStyle extends UIHoverStyle implements NSCopying { static alloc(): UIPointerStyle; // inherited from NSObject + static automaticStyle(): UIPointerStyle; // inherited from UIHoverStyle + static hiddenPointerStyle(): UIPointerStyle; static new(): UIPointerStyle; // inherited from NSObject - static styleWithEffectShape(effect: UIPointerEffect, shape: UIPointerShape): UIPointerStyle; + static styleWithEffectShape(effect: UIHoverEffect, shape: UIShape): UIPointerStyle; // inherited from UIHoverStyle + + static styleWithShape(shape: UIShape): UIPointerStyle; // inherited from UIHoverStyle static styleWithShapeConstrainedAxes(shape: UIPointerShape, axes: UIAxis): UIPointerStyle; @@ -15903,6 +16845,8 @@ declare var UIPopoverPresentationControllerDelegate: { }; interface UIPopoverPresentationControllerSourceItem extends NSObjectProtocol { + + frameInView(referenceView: UIView): CGRect; } declare var UIPopoverPresentationControllerSourceItem: { @@ -15918,7 +16862,7 @@ declare const enum UIPreferredPresentationStyle { Attachment = 2 } -declare class UIPresentationController extends NSObject implements UIAppearanceContainer, UIContentContainer, UIFocusEnvironment, UITraitEnvironment { +declare class UIPresentationController extends NSObject implements UIAppearanceContainer, UIContentContainer, UIFocusEnvironment, UITraitChangeObservable, UITraitEnvironment { static alloc(): UIPresentationController; // inherited from NSObject @@ -15946,6 +16890,8 @@ declare class UIPresentationController extends NSObject implements UIAppearanceC readonly shouldRemovePresentersView: boolean; + readonly traitOverrides: UITraitOverrides; + readonly debugDescription: string; // inherited from NSObjectProtocol readonly description: string; // inherited from NSObjectProtocol @@ -16010,6 +16956,12 @@ declare class UIPresentationController extends NSObject implements UIAppearanceC presentationTransitionWillBegin(): void; + registerForTraitChangesWithAction(traits: NSArray | typeof NSObject[], action: string): UITraitChangeRegistration; + + registerForTraitChangesWithHandler(traits: NSArray | typeof NSObject[], handler: (p1: UITraitEnvironment, p2: UITraitCollection) => void): UITraitChangeRegistration; + + registerForTraitChangesWithTargetAction(traits: NSArray | typeof NSObject[], target: any, action: string): UITraitChangeRegistration; + respondsToSelector(aSelector: string): boolean; retainCount(): number; @@ -16026,6 +16978,8 @@ declare class UIPresentationController extends NSObject implements UIAppearanceC traitCollectionDidChange(previousTraitCollection: UITraitCollection): void; + unregisterForTraitChanges(registration: UITraitChangeRegistration): void; + updateFocusIfNeeded(): void; viewWillTransitionToSizeWithTransitionCoordinator(size: CGSize, coordinator: UIViewControllerTransitionCoordinator): void; @@ -16881,6 +17835,25 @@ declare const enum UIRemoteNotificationType { NewsstandContentAvailability = 8 } +declare class UIResolvedShape extends NSObject implements NSCopying { + + static alloc(): UIResolvedShape; // inherited from NSObject + + static new(): UIResolvedShape; // inherited from NSObject + + readonly boundingRect: CGRect; + + readonly path: UIBezierPath; + + readonly shape: UIShape; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + shapeByApplyingInset(inset: number): UIResolvedShape; + + shapeByApplyingInsets(insets: UIEdgeInsets): UIResolvedShape; +} + declare class UIResponder extends NSObject implements UIActivityItemsConfigurationProviding, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UIUserActivityRestoring { static alloc(): UIResponder; // inherited from NSObject @@ -17229,6 +18202,15 @@ declare const enum UISceneActivationState { Background = 2 } +declare const enum UISceneCaptureState { + + Unspecified = -1, + + Inactive = 0, + + Active = 1 +} + declare class UISceneConfiguration extends NSObject implements NSCopying, NSSecureCoding { static alloc(): UISceneConfiguration; // inherited from NSObject @@ -17395,6 +18377,29 @@ declare class UISceneSession extends NSObject implements NSSecureCoding { initWithCoder(coder: NSCoder): this; } +declare class UISceneSessionActivationRequest extends NSObject implements NSCopying { + + static alloc(): UISceneSessionActivationRequest; // inherited from NSObject + + static new(): UISceneSessionActivationRequest; // inherited from NSObject + + static request(): UISceneSessionActivationRequest; + + static requestWithRole(role: string): UISceneSessionActivationRequest; + + static requestWithSession(session: UISceneSession): UISceneSessionActivationRequest; + + options: UISceneActivationRequestOptions; + + readonly role: string; + + readonly session: UISceneSession; + + userActivity: NSUserActivity; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; +} + declare class UISceneSizeRestrictions extends NSObject { static alloc(): UISceneSizeRestrictions; // inherited from NSObject @@ -17708,6 +18713,8 @@ declare class UIScrollView extends UIView implements NSCoding, UIFocusItemScroll readonly adjustedContentInset: UIEdgeInsets; + allowsKeyboardScrolling: boolean; + alwaysBounceHorizontal: boolean; alwaysBounceVertical: boolean; @@ -17939,7 +18946,7 @@ declare const enum UIScrollViewKeyboardDismissMode { InteractiveWithAccessory = 4 } -declare class UISearchBar extends UIView implements UIBarPositioning, UITextInputTraits { +declare class UISearchBar extends UIView implements UIBarPositioning, UILookToDictateCapable, UITextInputTraits { static alloc(): UISearchBar; // inherited from NSObject @@ -18015,12 +19022,16 @@ declare class UISearchBar extends UIView implements UIBarPositioning, UITextInpu readonly hash: number; // inherited from NSObjectProtocol + inlinePredictionType: UITextInlinePredictionType; // inherited from UITextInputTraits + readonly isProxy: boolean; // inherited from NSObjectProtocol keyboardAppearance: UIKeyboardAppearance; // inherited from UITextInputTraits keyboardType: UIKeyboardType; // inherited from UITextInputTraits + lookToDictateEnabled: boolean; // inherited from UILookToDictateCapable + passwordRules: UITextInputPasswordRules; // inherited from UITextInputTraits returnKeyType: UIReturnKeyType; // inherited from UITextInputTraits @@ -18717,6 +19728,95 @@ declare const enum UISemanticContentAttribute { ForceRightToLeft = 4 } +declare class UIShape extends NSObject implements NSCopying, UIShapeProvider { + + static alloc(): UIShape; // inherited from NSObject + + static fixedRectShapeWithRect(rect: CGRect): UIShape; + + static fixedRectShapeWithRectCornerRadius(rect: CGRect, cornerRadius: number): UIShape; + + static fixedRectShapeWithRectCornerRadiusCornerCurveMaskedCorners(rect: CGRect, cornerRadius: number, cornerCurve: UICornerCurve, maskedCorners: UIRectCorner): UIShape; + + static new(): UIShape; // inherited from NSObject + + static rectShapeWithCornerRadius(cornerRadius: number): UIShape; + + static rectShapeWithCornerRadiusCornerCurve(cornerRadius: number, cornerCurve: UICornerCurve): UIShape; + + static rectShapeWithCornerRadiusCornerCurveMaskedCorners(cornerRadius: number, cornerCurve: UICornerCurve, maskedCorners: UIRectCorner): UIShape; + + static shapeWithBezierPath(path: UIBezierPath): UIShape; + + static shapeWithProvider(provider: UIShapeProvider): UIShape; + + static readonly capsuleShape: UIShape; + + static readonly circleShape: UIShape; + + static readonly rectShape: UIShape; + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + resolvedShapeInContext(context: UIShapeResolutionContext): UIResolvedShape; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + + shapeByApplyingInset(inset: number): UIShape; + + shapeByApplyingInsets(insets: UIEdgeInsets): UIShape; +} + +interface UIShapeProvider extends NSObjectProtocol { + + resolvedShapeInContext(context: UIShapeResolutionContext): UIResolvedShape; +} +declare var UIShapeProvider: { + + prototype: UIShapeProvider; +}; + +declare class UIShapeResolutionContext extends NSObject { + + static alloc(): UIShapeResolutionContext; // inherited from NSObject + + static new(): UIShapeResolutionContext; // inherited from NSObject + + readonly contentShape: UIResolvedShape; +} + declare class UISheetPresentationController extends UIPresentationController { static alloc(): UISheetPresentationController; // inherited from NSObject @@ -18735,6 +19835,8 @@ declare class UISheetPresentationController extends UIPresentationController { prefersGrabberVisible: boolean; + prefersPageSizing: boolean; + prefersScrollingExpandsWhenScrolledToEdge: boolean; selectedDetentIdentifier: string; @@ -19239,6 +20341,10 @@ declare class UISpringTimingParameters extends NSObject implements UITimingCurve constructor(o: { dampingRatio: number; initialVelocity: CGVector; }); + constructor(o: { duration: number; bounce: number; }); + + constructor(o: { duration: number; bounce: number; initialVelocity: CGVector; }); + constructor(o: { mass: number; stiffness: number; damping: number; initialVelocity: CGVector; }); copyWithZone(zone: interop.Pointer | interop.Reference): any; @@ -19251,6 +20357,10 @@ declare class UISpringTimingParameters extends NSObject implements UITimingCurve initWithDampingRatioInitialVelocity(ratio: number, velocity: CGVector): this; + initWithDurationBounce(duration: number, bounce: number): this; + + initWithDurationBounceInitialVelocity(duration: number, bounce: number, velocity: CGVector): this; + initWithMassStiffnessDampingInitialVelocity(mass: number, stiffness: number, damping: number, velocity: CGVector): this; } @@ -19589,6 +20699,21 @@ declare const enum UISwitchStyle { Sliding = 2 } +declare class UISymbolEffectCompletionContext extends NSObject { + + static alloc(): UISymbolEffectCompletionContext; // inherited from NSObject + + static new(): UISymbolEffectCompletionContext; // inherited from NSObject + + readonly contentTransition: NSSymbolContentTransition; + + readonly effect: NSSymbolEffect; + + readonly finished: boolean; + + readonly sender: any; +} + declare const enum UISystemAnimation { Delete = 0 @@ -19887,6 +21012,8 @@ declare class UITabBarItem extends UIBarItem implements UIPopoverPresentationCon finishedUnselectedImage(): UIImage; + frameInView(referenceView: UIView): CGRect; + initWithTabBarSystemItemTag(systemItem: UITabBarSystemItem, tag: number): this; initWithTitleImageSelectedImage(title: string, image: UIImage, selectedImage: UIImage): this; @@ -21411,10 +22538,36 @@ declare var UITextContentTypeAddressCityAndState: string; declare var UITextContentTypeAddressState: string; +declare var UITextContentTypeBirthdate: string; + +declare var UITextContentTypeBirthdateDay: string; + +declare var UITextContentTypeBirthdateMonth: string; + +declare var UITextContentTypeBirthdateYear: string; + declare var UITextContentTypeCountryName: string; +declare var UITextContentTypeCreditCardExpiration: string; + +declare var UITextContentTypeCreditCardExpirationMonth: string; + +declare var UITextContentTypeCreditCardExpirationYear: string; + +declare var UITextContentTypeCreditCardFamilyName: string; + +declare var UITextContentTypeCreditCardGivenName: string; + +declare var UITextContentTypeCreditCardMiddleName: string; + +declare var UITextContentTypeCreditCardName: string; + declare var UITextContentTypeCreditCardNumber: string; +declare var UITextContentTypeCreditCardSecurityCode: string; + +declare var UITextContentTypeCreditCardType: string; + declare var UITextContentTypeDateTime: string; declare var UITextContentTypeEmailAddress: string; @@ -21465,6 +22618,17 @@ declare var UITextContentTypeURL: string; declare var UITextContentTypeUsername: string; +interface UITextCursorView extends UICoordinateSpace { + + blinking: boolean; + + resetBlinkAnimation(): void; +} +declare var UITextCursorView: { + + prototype: UITextCursorView; +}; + interface UITextDocumentProxy extends UIKeyInput { documentContextAfterInput: string; @@ -21671,7 +22835,7 @@ declare var UITextDroppable: { prototype: UITextDroppable; }; -declare class UITextField extends UIControl implements NSCoding, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextInput, UITextPasteConfigurationSupporting { +declare class UITextField extends UIControl implements NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, UITextDraggable, UITextDroppable, UITextInput, UITextPasteConfigurationSupporting { static alloc(): UITextField; // inherited from NSObject @@ -21763,6 +22927,8 @@ declare class UITextField extends UIControl implements NSCoding, UIContentSizeCa readonly hash: number; // inherited from NSObjectProtocol + inlinePredictionType: UITextInlinePredictionType; // inherited from UITextInputTraits + inputDelegate: UITextInputDelegate; // inherited from UITextInput readonly insertDictationResultPlaceholder: any; // inherited from UITextInput @@ -21791,6 +22957,8 @@ declare class UITextField extends UIControl implements NSCoding, UIContentSizeCa selectionAffinity: UITextStorageDirection; // inherited from UITextInput + sizingRule: UILetterformAwareSizingRule; // inherited from UILetterformAwareAdjusting + smartDashesType: UITextSmartDashesType; // inherited from UITextInputTraits smartInsertDeleteType: UITextSmartInsertDeleteType; // inherited from UITextInputTraits @@ -22094,6 +23262,15 @@ declare const enum UITextGranularity { Document = 5 } +declare const enum UITextInlinePredictionType { + + Default = 0, + + No = 1, + + Yes = 2 +} + interface UITextInput extends UIKeyInput { beginningOfDocument: UITextPosition; @@ -22366,6 +23543,8 @@ interface UITextInputTraits extends NSObjectProtocol { enablesReturnKeyAutomatically?: boolean; + inlinePredictionType?: UITextInlinePredictionType; + keyboardAppearance?: UIKeyboardAppearance; keyboardType?: UIKeyboardType; @@ -22468,6 +23647,32 @@ declare const enum UITextInteractionMode { NonEditable = 1 } +declare class UITextItem extends NSObject { + + static alloc(): UITextItem; // inherited from NSObject + + static new(): UITextItem; // inherited from NSObject + + readonly contentType: UITextItemContentType; + + readonly link: NSURL; + + readonly range: NSRange; + + readonly tagIdentifier: string; + + readonly textAttachment: NSTextAttachment; +} + +declare const enum UITextItemContentType { + + Link = 0, + + TextAttachment = 1, + + Tag = 2 +} + declare const enum UITextItemInteraction { InvokeDefaultAction = 0, @@ -22477,6 +23682,32 @@ declare const enum UITextItemInteraction { Preview = 2 } +declare class UITextItemMenuConfiguration extends NSObject { + + static alloc(): UITextItemMenuConfiguration; // inherited from NSObject + + static configurationWithMenu(menu: UIMenu): UITextItemMenuConfiguration; + + static configurationWithPreviewMenu(preview: UITextItemMenuPreview, menu: UIMenu): UITextItemMenuConfiguration; + + static new(): UITextItemMenuConfiguration; // inherited from NSObject +} + +declare class UITextItemMenuPreview extends NSObject { + + static alloc(): UITextItemMenuPreview; // inherited from NSObject + + static defaultPreview(): UITextItemMenuPreview; + + static new(): UITextItemMenuPreview; // inherited from NSObject + + constructor(o: { view: UIView; }); + + initWithView(view: UIView): this; +} + +declare var UITextItemTagAttributeName: string; + declare const enum UITextLayoutDirection { Right = 2, @@ -22488,6 +23719,19 @@ declare const enum UITextLayoutDirection { Down = 5 } +declare class UITextLoupeSession extends NSObject { + + static alloc(): UITextLoupeSession; // inherited from NSObject + + static beginLoupeSessionAtPointFromSelectionWidgetViewInView(point: CGPoint, selectionWidget: UIView, interactionView: UIView): UITextLoupeSession; + + static new(): UITextLoupeSession; // inherited from NSObject + + invalidate(): void; + + moveToPointWithCaretRectTrackingCaret(point: CGPoint, caretRect: CGRect, tracksCaret: boolean): void; +} + interface UITextPasteConfigurationSupporting extends UIPasteConfigurationSupporting { pasteDelegate: UITextPasteDelegate; @@ -22656,6 +23900,106 @@ declare class UITextSearchingFindSession extends UIFindSession { initWithSearchableObject(searchableObject: UITextSearching): this; } +declare class UITextSelectionDisplayInteraction extends NSObject implements UIInteraction { + + static alloc(): UITextSelectionDisplayInteraction; // inherited from NSObject + + static new(): UITextSelectionDisplayInteraction; // inherited from NSObject + + activated: boolean; + + cursorView: UIView; + + readonly delegate: UITextSelectionDisplayInteractionDelegate; + + handleViews: NSArray; + + highlightView: UIView; + + readonly textInput: UITextInput; + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly view: UIView; // inherited from UIInteraction + + readonly // inherited from NSObjectProtocol + + constructor(o: { textInput: UITextInput; delegate: UITextSelectionDisplayInteractionDelegate; }); + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + didMoveToView(view: UIView): void; + + initWithTextInputDelegate(textInput: UITextInput, delegate: UITextSelectionDisplayInteractionDelegate): this; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + layoutManagedSubviews(): void; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + + setNeedsSelectionUpdate(): void; + + willMoveToView(view: UIView): void; +} + +interface UITextSelectionDisplayInteractionDelegate extends NSObjectProtocol { + + selectionContainerViewBelowTextForSelectionDisplayInteraction?(interaction: UITextSelectionDisplayInteraction): UIView; +} +declare var UITextSelectionDisplayInteractionDelegate: { + + prototype: UITextSelectionDisplayInteractionDelegate; +}; + +interface UITextSelectionHandleView extends UICoordinateSpace { + + customShape: UIBezierPath; + + direction: NSDirectionalRectEdge; + + vertical: boolean; + + preferredFrameForRect(rect: CGRect): CGRect; +} +declare var UITextSelectionHandleView: { + + prototype: UITextSelectionHandleView; +}; + +interface UITextSelectionHighlightView extends UICoordinateSpace { + + selectionRects: NSArray; +} +declare var UITextSelectionHighlightView: { + + prototype: UITextSelectionHighlightView; +}; + declare class UITextSelectionRect extends NSObject { static alloc(): UITextSelectionRect; // inherited from NSObject @@ -22716,7 +24060,7 @@ declare const enum UITextStorageDirection { Backward = 1 } -declare class UITextView extends UIScrollView implements UIContentSizeCategoryAdjusting, UIFindInteractionDelegate, UITextDraggable, UITextDroppable, UITextInput, UITextPasteConfigurationSupporting, UITextSearching { +declare class UITextView extends UIScrollView implements UIContentSizeCategoryAdjusting, UIFindInteractionDelegate, UILetterformAwareAdjusting, UITextDraggable, UITextDroppable, UITextInput, UITextPasteConfigurationSupporting, UITextSearching { static alloc(): UITextView; // inherited from NSObject @@ -22740,6 +24084,8 @@ declare class UITextView extends UIScrollView implements UIContentSizeCategoryAd attributedText: NSAttributedString; + borderStyle: UITextViewBorderStyle; + clearsOnInsertion: boolean; dataDetectorTypes: UIDataDetectorTypes; @@ -22806,6 +24152,8 @@ declare class UITextView extends UIScrollView implements UIContentSizeCategoryAd readonly hash: number; // inherited from NSObjectProtocol + inlinePredictionType: UITextInlinePredictionType; // inherited from UITextInputTraits + inputDelegate: UITextInputDelegate; // inherited from UITextInput readonly insertDictationResultPlaceholder: any; // inherited from UITextInput @@ -22836,6 +24184,8 @@ declare class UITextView extends UIScrollView implements UIContentSizeCategoryAd selectionAffinity: UITextStorageDirection; // inherited from UITextInput + sizingRule: UILetterformAwareSizingRule; // inherited from UILetterformAwareAdjusting + smartDashesType: UITextSmartDashesType; // inherited from UITextInputTraits smartInsertDeleteType: UITextSmartInsertDeleteType; // inherited from UITextInputTraits @@ -23009,6 +24359,13 @@ declare class UITextView extends UIScrollView implements UIContentSizeCategoryAd willPresentEditMenuWithAnimator(animator: UIEditMenuInteractionAnimating): void; } +declare const enum UITextViewBorderStyle { + + None = 0, + + RoundedRect = 1 +} + interface UITextViewDelegate extends NSObjectProtocol, UIScrollViewDelegate { textViewDidBeginEditing?(textView: UITextView): void; @@ -23021,6 +24378,10 @@ interface UITextViewDelegate extends NSObjectProtocol, UIScrollViewDelegate { textViewEditMenuForTextInRangeSuggestedActions?(textView: UITextView, range: NSRange, suggestedActions: NSArray | UIMenuElement[]): UIMenu; + textViewMenuConfigurationForTextItemDefaultMenu?(textView: UITextView, textItem: UITextItem, defaultMenu: UIMenu): UITextItemMenuConfiguration; + + textViewPrimaryActionForTextItemDefaultAction?(textView: UITextView, textItem: UITextItem, defaultAction: UIAction): UIAction; + textViewShouldBeginEditing?(textView: UITextView): boolean; textViewShouldChangeTextInRangeReplacementText?(textView: UITextView, range: NSRange, text: string): boolean; @@ -23035,6 +24396,10 @@ interface UITextViewDelegate extends NSObjectProtocol, UIScrollViewDelegate { textViewShouldInteractWithURLInRangeInteraction?(textView: UITextView, URL: NSURL, characterRange: NSRange, interaction: UITextItemInteraction): boolean; + textViewTextItemMenuWillDisplayForTextItemAnimator?(textView: UITextView, textItem: UITextItem, animator: UIContextMenuInteractionAnimating): void; + + textViewTextItemMenuWillEndForTextItemAnimator?(textView: UITextView, textItem: UITextItem, animator: UIContextMenuInteractionAnimating): void; + textViewWillDismissEditMenuWithAnimator?(textView: UITextView, animator: UIEditMenuInteractionAnimating): void; textViewWillPresentEditMenuWithAnimator?(textView: UITextView, animator: UIEditMenuInteractionAnimating): void; @@ -23377,6 +24742,58 @@ declare class UITrackingLayoutGuide extends UILayoutGuide { declare var UITrackingRunLoopMode: string; +declare class UITraitAccessibilityContrast extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitAccessibilityContrast; // inherited from NSObject + + static new(): UITraitAccessibilityContrast; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitActiveAppearance extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitActiveAppearance; // inherited from NSObject + + static new(): UITraitActiveAppearance; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +interface UITraitChangeObservable { + + registerForTraitChangesWithAction(traits: NSArray | typeof NSObject[], action: string): UITraitChangeRegistration; + + registerForTraitChangesWithHandler(traits: NSArray | typeof NSObject[], handler: (p1: UITraitEnvironment, p2: UITraitCollection) => void): UITraitChangeRegistration; + + registerForTraitChangesWithTargetAction(traits: NSArray | typeof NSObject[], target: any, action: string): UITraitChangeRegistration; + + unregisterForTraitChanges(registration: UITraitChangeRegistration): void; +} +declare var UITraitChangeObservable: { + + prototype: UITraitChangeObservable; +}; + +interface UITraitChangeRegistration extends NSCopying, NSObjectProtocol { +} +declare var UITraitChangeRegistration: { + + prototype: UITraitChangeRegistration; +}; + declare class UITraitCollection extends NSObject implements NSCopying, NSSecureCoding { static alloc(): UITraitCollection; // inherited from NSObject @@ -23387,6 +24804,8 @@ declare class UITraitCollection extends NSObject implements NSCopying, NSSecureC static traitCollectionWithActiveAppearance(userInterfaceActiveAppearance: UIUserInterfaceActiveAppearance): UITraitCollection; + static traitCollectionWithCGFloatValueForTrait(value: number, trait: typeof NSObject): UITraitCollection; + static traitCollectionWithDisplayGamut(displayGamut: UIDisplayGamut): UITraitCollection; static traitCollectionWithDisplayScale(scale: number): UITraitCollection; @@ -23395,16 +24814,28 @@ declare class UITraitCollection extends NSObject implements NSCopying, NSSecureC static traitCollectionWithHorizontalSizeClass(horizontalSizeClass: UIUserInterfaceSizeClass): UITraitCollection; + static traitCollectionWithImageDynamicRange(imageDynamicRange: UIImageDynamicRange): UITraitCollection; + static traitCollectionWithLayoutDirection(layoutDirection: UITraitEnvironmentLayoutDirection): UITraitCollection; static traitCollectionWithLegibilityWeight(legibilityWeight: UILegibilityWeight): UITraitCollection; + static traitCollectionWithNSIntegerValueForTrait(value: number, trait: typeof NSObject): UITraitCollection; + + static traitCollectionWithObjectForTrait(object: NSObjectProtocol, trait: typeof NSObject): UITraitCollection; + static traitCollectionWithPreferredContentSizeCategory(preferredContentSizeCategory: string): UITraitCollection; + static traitCollectionWithSceneCaptureState(sceneCaptureState: UISceneCaptureState): UITraitCollection; + static traitCollectionWithToolbarItemPresentationSize(toolbarItemPresentationSize: UINSToolbarItemPresentationSize): UITraitCollection; + static traitCollectionWithTraits(mutations: (p1: UIMutableTraits) => void): UITraitCollection; + static traitCollectionWithTraitsFromCollections(traitCollections: NSArray | UITraitCollection[]): UITraitCollection; + static traitCollectionWithTypesettingLanguage(language: string): UITraitCollection; + static traitCollectionWithUserInterfaceIdiom(idiom: UIUserInterfaceIdiom): UITraitCollection; static traitCollectionWithUserInterfaceLevel(userInterfaceLevel: UIUserInterfaceLevel): UITraitCollection; @@ -23427,14 +24858,20 @@ declare class UITraitCollection extends NSObject implements NSCopying, NSSecureC readonly imageConfiguration: UIImageConfiguration; + readonly imageDynamicRange: UIImageDynamicRange; + readonly layoutDirection: UITraitEnvironmentLayoutDirection; readonly legibilityWeight: UILegibilityWeight; readonly preferredContentSizeCategory: string; + readonly sceneCaptureState: UISceneCaptureState; + readonly toolbarItemPresentationSize: UINSToolbarItemPresentationSize; + readonly typesettingLanguage: string; + readonly userInterfaceIdiom: UIUserInterfaceIdiom; readonly userInterfaceLevel: UIUserInterfaceLevel; @@ -23445,10 +24882,16 @@ declare class UITraitCollection extends NSObject implements NSCopying, NSSecureC static currentTraitCollection: UITraitCollection; + static readonly systemTraitsAffectingColorAppearance: NSArray; + + static readonly systemTraitsAffectingImageLookup: NSArray; + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding constructor(o: { coder: NSCoder; }); // inherited from NSCoding + changedTraitsFromTraitCollection(traitCollection: UITraitCollection): NSSet; + containsTraitsInCollection(trait: UITraitCollection): boolean; copyWithZone(zone: interop.Pointer | interop.Reference): any; @@ -23459,7 +24902,58 @@ declare class UITraitCollection extends NSObject implements NSCopying, NSSecureC initWithCoder(coder: NSCoder): this; + objectForTrait(trait: typeof NSObject): NSObjectProtocol; + performAsCurrentTraitCollection(actions: () => void): void; + + traitCollectionByModifyingTraits(mutations: (p1: UIMutableTraits) => void): UITraitCollection; + + traitCollectionByReplacingCGFloatValueForTrait(value: number, trait: typeof NSObject): UITraitCollection; + + traitCollectionByReplacingNSIntegerValueForTrait(value: number, trait: typeof NSObject): UITraitCollection; + + traitCollectionByReplacingObjectForTrait(object: NSObjectProtocol, trait: typeof NSObject): UITraitCollection; + + valueForCGFloatTrait(trait: typeof NSObject): number; + + valueForNSIntegerTrait(trait: typeof NSObject): number; +} + +interface UITraitDefinition { +} +declare var UITraitDefinition: { + + prototype: UITraitDefinition; +}; + +declare class UITraitDisplayGamut extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitDisplayGamut; // inherited from NSObject + + static new(): UITraitDisplayGamut; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitDisplayScale extends NSObject implements UICGFloatTraitDefinition { + + static alloc(): UITraitDisplayScale; // inherited from NSObject + + static new(): UITraitDisplayScale; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UICGFloatTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition } interface UITraitEnvironment extends NSObjectProtocol { @@ -23482,6 +24976,212 @@ declare const enum UITraitEnvironmentLayoutDirection { RightToLeft = 1 } +declare class UITraitForceTouchCapability extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitForceTouchCapability; // inherited from NSObject + + static new(): UITraitForceTouchCapability; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitHorizontalSizeClass extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitHorizontalSizeClass; // inherited from NSObject + + static new(): UITraitHorizontalSizeClass; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitImageDynamicRange extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitImageDynamicRange; // inherited from NSObject + + static new(): UITraitImageDynamicRange; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitLayoutDirection extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitLayoutDirection; // inherited from NSObject + + static new(): UITraitLayoutDirection; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitLegibilityWeight extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitLegibilityWeight; // inherited from NSObject + + static new(): UITraitLegibilityWeight; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +interface UITraitOverrides extends UIMutableTraits { + + containsTrait(trait: typeof NSObject): boolean; + + removeTrait(trait: typeof NSObject): void; +} +declare var UITraitOverrides: { + + prototype: UITraitOverrides; +}; + +declare class UITraitPreferredContentSizeCategory extends NSObject implements UIObjectTraitDefinition { + + static alloc(): UITraitPreferredContentSizeCategory; // inherited from NSObject + + static new(): UITraitPreferredContentSizeCategory; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: NSObjectProtocol; // inherited from UIObjectTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitSceneCaptureState extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitSceneCaptureState; // inherited from NSObject + + static new(): UITraitSceneCaptureState; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitToolbarItemPresentationSize extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitToolbarItemPresentationSize; // inherited from NSObject + + static new(): UITraitToolbarItemPresentationSize; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitTypesettingLanguage extends NSObject implements UIObjectTraitDefinition { + + static alloc(): UITraitTypesettingLanguage; // inherited from NSObject + + static new(): UITraitTypesettingLanguage; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: NSObjectProtocol; // inherited from UIObjectTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitUserInterfaceIdiom extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitUserInterfaceIdiom; // inherited from NSObject + + static new(): UITraitUserInterfaceIdiom; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitUserInterfaceLevel extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitUserInterfaceLevel; // inherited from NSObject + + static new(): UITraitUserInterfaceLevel; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitUserInterfaceStyle extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitUserInterfaceStyle; // inherited from NSObject + + static new(): UITraitUserInterfaceStyle; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + +declare class UITraitVerticalSizeClass extends NSObject implements UINSIntegerTraitDefinition { + + static alloc(): UITraitVerticalSizeClass; // inherited from NSObject + + static new(): UITraitVerticalSizeClass; // inherited from NSObject + + static readonly affectsColorAppearance: boolean; // inherited from UITraitDefinition + + static readonly defaultValue: number; // inherited from UINSIntegerTraitDefinition + + static readonly identifier: string; // inherited from UITraitDefinition + + static readonly name: string; // inherited from UITraitDefinition +} + declare var UITransitionContextFromViewControllerKey: string; declare var UITransitionContextFromViewKey: string; @@ -23520,7 +25220,9 @@ declare const enum UIUserInterfaceIdiom { CarPlay = 3, - Mac = 5 + Mac = 5, + + Vision = 6 } declare const enum UIUserInterfaceLayoutDirection { @@ -23732,7 +25434,7 @@ declare var UIVideoEditorControllerDelegate: { prototype: UIVideoEditorControllerDelegate; }; -declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, UIAccessibilityIdentification, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPopoverPresentationControllerSourceItem, UITraitEnvironment { +declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, UIAccessibilityIdentification, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPopoverPresentationControllerSourceItem, UITraitChangeObservable, UITraitEnvironment { static addKeyframeWithRelativeStartTimeRelativeDurationAnimations(frameStartTime: number, frameDuration: number, animations: () => void): void; @@ -23748,6 +25450,8 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U static animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(duration: number, delay: number, dampingRatio: number, velocity: number, options: UIViewAnimationOptions, animations: () => void, completion: (p1: boolean) => void): void; + static animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(duration: number, bounce: number, velocity: number, delay: number, options: UIViewAnimationOptions, animations: () => void, completion: (p1: boolean) => void): void; + static appearance(): UIView; static appearanceForTraitCollection(trait: UITraitCollection): UIView; @@ -23866,6 +25570,8 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U hidden: boolean; + hoverStyle: UIHoverStyle; + insetsLayoutMarginsFromSafeArea: boolean; interactions: NSArray; @@ -23940,6 +25646,8 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U readonly trailingAnchor: NSLayoutXAxisAnchor; + readonly traitOverrides: UITraitOverrides; + transform3D: CATransform3D; translatesAutoresizingMaskIntoConstraints: boolean; @@ -24086,6 +25794,8 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U frameForAlignmentRect(alignmentRect: CGRect): CGRect; + frameInView(referenceView: UIView): CGRect; + gestureRecognizerShouldBegin(gestureRecognizer: UIGestureRecognizer): boolean; hitTestWithEvent(point: CGPoint, event: _UIEvent): UIView; @@ -24136,6 +25846,12 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U pointInsideWithEvent(point: CGPoint, event: _UIEvent): boolean; + registerForTraitChangesWithAction(traits: NSArray | typeof NSObject[], action: string): UITraitChangeRegistration; + + registerForTraitChangesWithHandler(traits: NSArray | typeof NSObject[], handler: (p1: UITraitEnvironment, p2: UITraitCollection) => void): UITraitChangeRegistration; + + registerForTraitChangesWithTargetAction(traits: NSArray | typeof NSObject[], target: any, action: string): UITraitChangeRegistration; + removeConstraint(constraint: NSLayoutConstraint): void; removeConstraints(constraints: NSArray | NSLayoutConstraint[]): void; @@ -24194,12 +25910,16 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U traitCollectionDidChange(previousTraitCollection: UITraitCollection): void; + unregisterForTraitChanges(registration: UITraitChangeRegistration): void; + updateConstraints(): void; updateConstraintsIfNeeded(): void; updateFocusIfNeeded(): void; + updateTraitsIfNeeded(): void; + viewForBaselineLayout(): UIView; viewPrintFormatter(): UIViewPrintFormatter; @@ -24454,7 +26174,7 @@ declare const enum UIViewContentMode { BottomRight = 12 } -declare class UIViewController extends UIResponder implements NSCoding, NSExtensionRequestHandling, UIAppearanceContainer, UIContentContainer, UIFocusEnvironment, UIStateRestoring, UITraitEnvironment { +declare class UIViewController extends UIResponder implements NSCoding, NSExtensionRequestHandling, UIAppearanceContainer, UIContentContainer, UIFocusEnvironment, UIStateRestoring, UITraitChangeObservable, UITraitEnvironment { static alloc(): UIViewController; // inherited from NSObject @@ -24488,6 +26208,10 @@ declare class UIViewController extends UIResponder implements NSCoding, NSExtens contentSizeForViewInPopover: CGSize; + contentUnavailableConfiguration: UIContentConfiguration; + + readonly contentUnavailableConfigurationState: UIContentUnavailableConfigurationState; + definesPresentationContext: boolean; readonly disablesAutomaticKeyboardDismissal: boolean; @@ -24600,6 +26324,8 @@ declare class UIViewController extends UIResponder implements NSCoding, NSExtens readonly topLayoutGuide: UILayoutSupport; + readonly traitOverrides: UITraitOverrides; + readonly transitionCoordinator: UIViewControllerTransitionCoordinator; transitioningDelegate: UIViewControllerTransitioningDelegate; @@ -24732,6 +26458,12 @@ declare class UIViewController extends UIResponder implements NSCoding, NSExtens registerForPreviewingWithDelegateSourceView(delegate: UIViewControllerPreviewingDelegate, sourceView: UIView): UIViewControllerPreviewing; + registerForTraitChangesWithAction(traits: NSArray | typeof NSObject[], action: string): UITraitChangeRegistration; + + registerForTraitChangesWithHandler(traits: NSArray | typeof NSObject[], handler: (p1: UITraitEnvironment, p2: UITraitCollection) => void): UITraitChangeRegistration; + + registerForTraitChangesWithTargetAction(traits: NSArray | typeof NSObject[], target: any, action: string): UITraitChangeRegistration; + removeFromParentViewController(): void; removeKeyCommand(keyCommand: UIKeyCommand): void; @@ -24758,6 +26490,8 @@ declare class UIViewController extends UIResponder implements NSCoding, NSExtens setNeedsStatusBarAppearanceUpdate(): void; + setNeedsUpdateContentUnavailableConfiguration(): void; + setNeedsUpdateOfHomeIndicatorAutoHidden(): void; setNeedsUpdateOfPrefersPointerLocked(): void; @@ -24794,10 +26528,16 @@ declare class UIViewController extends UIResponder implements NSCoding, NSExtens unregisterForPreviewingWithContext(previewing: UIViewControllerPreviewing): void; + unregisterForTraitChanges(registration: UITraitChangeRegistration): void; + unwindForSegueTowardsViewController(unwindSegue: UIStoryboardSegue, subsequentVC: UIViewController): void; + updateContentUnavailableConfigurationUsingState(state: UIContentUnavailableConfigurationState): void; + updateFocusIfNeeded(): void; + updateTraitsIfNeeded(): void; + updateViewConstraints(): void; viewControllerForUnwindSegueActionFromViewControllerWithSender(action: string, fromViewController: UIViewController, sender: any): UIViewController; @@ -24812,6 +26552,8 @@ declare class UIViewController extends UIResponder implements NSCoding, NSExtens viewDidUnload(): void; + viewIsAppearing(animated: boolean): void; + viewLayoutMarginsDidChange(): void; viewSafeAreaInsetsDidChange(): void; @@ -25497,7 +27239,7 @@ declare var UIWindowLevelNormal: number; declare var UIWindowLevelStatusBar: number; -declare class UIWindowScene extends UIScene { +declare class UIWindowScene extends UIScene implements UITraitChangeObservable, UITraitEnvironment { static alloc(): UIWindowScene; // inherited from NSObject @@ -25525,13 +27267,59 @@ declare class UIWindowScene extends UIScene { readonly statusBarManager: UIStatusBarManager; - readonly traitCollection: UITraitCollection; + readonly traitOverrides: UITraitOverrides; readonly windowingBehaviors: UISceneWindowingBehaviors; readonly windows: NSArray; + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly traitCollection: UITraitCollection; // inherited from UITraitEnvironment + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + registerForTraitChangesWithAction(traits: NSArray | typeof NSObject[], action: string): UITraitChangeRegistration; + + registerForTraitChangesWithHandler(traits: NSArray | typeof NSObject[], handler: (p1: UITraitEnvironment, p2: UITraitCollection) => void): UITraitChangeRegistration; + + registerForTraitChangesWithTargetAction(traits: NSArray | typeof NSObject[], target: any, action: string): UITraitChangeRegistration; + requestGeometryUpdateWithPreferencesErrorHandler(geometryPreferences: UIWindowSceneGeometryPreferences, errorHandler: (p1: NSError) => void): void; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + + traitCollectionDidChange(previousTraitCollection: UITraitCollection): void; + + unregisterForTraitChanges(registration: UITraitChangeRegistration): void; } declare class UIWindowSceneActivationAction extends UIAction { @@ -25623,6 +27411,8 @@ declare class UIWindowSceneActivationRequestOptions extends UISceneActivationReq static new(): UIWindowSceneActivationRequestOptions; // inherited from NSObject + placement: UIWindowScenePlacement; + preferredPresentationStyle: UIWindowScenePresentationStyle; } @@ -25659,6 +27449,55 @@ declare const enum UIWindowSceneDismissalAnimation { Decline = 3 } +declare class UIWindowSceneDragInteraction extends NSObject implements UIInteraction { + + static alloc(): UIWindowSceneDragInteraction; // inherited from NSObject + + static new(): UIWindowSceneDragInteraction; // inherited from NSObject + + readonly gestureForFailureRelationships: UIGestureRecognizer; + + readonly debugDescription: string; // inherited from NSObjectProtocol + + readonly description: string; // inherited from NSObjectProtocol + + readonly hash: number; // inherited from NSObjectProtocol + + readonly isProxy: boolean; // inherited from NSObjectProtocol + + readonly superclass: typeof NSObject; // inherited from NSObjectProtocol + + readonly view: UIView; // inherited from UIInteraction + + readonly // inherited from NSObjectProtocol + + class(): typeof NSObject; + + conformsToProtocol(aProtocol: any /* Protocol */): boolean; + + didMoveToView(view: UIView): void; + + isEqual(object: any): boolean; + + isKindOfClass(aClass: typeof NSObject): boolean; + + isMemberOfClass(aClass: typeof NSObject): boolean; + + performSelector(aSelector: string): any; + + performSelectorWithObject(aSelector: string, object: any): any; + + performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; + + respondsToSelector(aSelector: string): boolean; + + retainCount(): number; + + self(): this; + + willMoveToView(view: UIView): void; +} + declare class UIWindowSceneGeometry extends NSObject implements NSCopying { static alloc(): UIWindowSceneGeometry; // inherited from NSObject @@ -25703,6 +27542,15 @@ declare class UIWindowSceneGeometryPreferencesMac extends UIWindowSceneGeometryP initWithSystemFrame(systemFrame: CGRect): this; } +declare class UIWindowScenePlacement extends NSObject implements NSCopying { + + static alloc(): UIWindowScenePlacement; // inherited from NSObject + + static new(): UIWindowScenePlacement; // inherited from NSObject + + copyWithZone(zone: interop.Pointer | interop.Reference): any; +} + declare const enum UIWindowScenePresentationStyle { Automatic = 0, @@ -25712,8 +27560,26 @@ declare const enum UIWindowScenePresentationStyle { Prominent = 2 } +declare class UIWindowSceneProminentPlacement extends UIWindowScenePlacement { + + static alloc(): UIWindowSceneProminentPlacement; // inherited from NSObject + + static new(): UIWindowSceneProminentPlacement; // inherited from NSObject + + static prominentPlacement(): UIWindowSceneProminentPlacement; +} + declare var UIWindowSceneSessionRoleApplication: string; declare var UIWindowSceneSessionRoleExternalDisplay: string; declare var UIWindowSceneSessionRoleExternalDisplayNonInteractive: string; + +declare class UIWindowSceneStandardPlacement extends UIWindowScenePlacement { + + static alloc(): UIWindowSceneStandardPlacement; // inherited from NSObject + + static new(): UIWindowSceneStandardPlacement; // inherited from NSObject + + static standardPlacement(): UIWindowSceneStandardPlacement; +} diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Vision.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Vision.d.ts index d5fc90bf9..65b8ac05c 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Vision.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!Vision.d.ts @@ -1,8 +1,98 @@ +declare class VNAnimalBodyPoseObservation extends VNRecognizedPointsObservation { + + static alloc(): VNAnimalBodyPoseObservation; // inherited from NSObject + + static new(): VNAnimalBodyPoseObservation; // inherited from NSObject + + readonly availableJointGroupNames: NSArray; + + readonly availableJointNames: NSArray; + + recognizedPointForJointNameError(jointName: string): VNRecognizedPoint; + + recognizedPointsForJointsGroupNameError(jointsGroupName: string): NSDictionary; +} + +declare var VNAnimalBodyPoseObservationJointNameLeftBackElbow: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftBackKnee: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftBackPaw: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftEarBottom: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftEarMiddle: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftEarTop: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftEye: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftFrontElbow: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftFrontKnee: string; + +declare var VNAnimalBodyPoseObservationJointNameLeftFrontPaw: string; + +declare var VNAnimalBodyPoseObservationJointNameNeck: string; + +declare var VNAnimalBodyPoseObservationJointNameNose: string; + +declare var VNAnimalBodyPoseObservationJointNameRightBackElbow: string; + +declare var VNAnimalBodyPoseObservationJointNameRightBackKnee: string; + +declare var VNAnimalBodyPoseObservationJointNameRightBackPaw: string; + +declare var VNAnimalBodyPoseObservationJointNameRightEarBottom: string; + +declare var VNAnimalBodyPoseObservationJointNameRightEarMiddle: string; + +declare var VNAnimalBodyPoseObservationJointNameRightEarTop: string; + +declare var VNAnimalBodyPoseObservationJointNameRightEye: string; + +declare var VNAnimalBodyPoseObservationJointNameRightFrontElbow: string; + +declare var VNAnimalBodyPoseObservationJointNameRightFrontKnee: string; + +declare var VNAnimalBodyPoseObservationJointNameRightFrontPaw: string; + +declare var VNAnimalBodyPoseObservationJointNameTailBottom: string; + +declare var VNAnimalBodyPoseObservationJointNameTailMiddle: string; + +declare var VNAnimalBodyPoseObservationJointNameTailTop: string; + +declare var VNAnimalBodyPoseObservationJointsGroupNameAll: string; + +declare var VNAnimalBodyPoseObservationJointsGroupNameForelegs: string; + +declare var VNAnimalBodyPoseObservationJointsGroupNameHead: string; + +declare var VNAnimalBodyPoseObservationJointsGroupNameHindlegs: string; + +declare var VNAnimalBodyPoseObservationJointsGroupNameTail: string; + +declare var VNAnimalBodyPoseObservationJointsGroupNameTrunk: string; + declare var VNAnimalIdentifierCat: string; declare var VNAnimalIdentifierDog: string; +declare const enum VNBarcodeCompositeType { + + None = 0, + + Linked = 1, + + GS1TypeA = 2, + + GS1TypeB = 3, + + GS1TypeC = 4 +} + declare class VNBarcodeObservation extends VNRectangleObservation { static alloc(): VNBarcodeObservation; // inherited from NSObject @@ -15,10 +105,24 @@ declare class VNBarcodeObservation extends VNRectangleObservation { static rectangleObservationWithRequestRevisionTopLeftBottomLeftBottomRightTopRight(requestRevision: number, topLeft: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint, topRight: CGPoint): VNBarcodeObservation; // inherited from VNRectangleObservation + static rectangleObservationWithRequestRevisionTopLeftTopRightBottomRightBottomLeft(requestRevision: number, topLeft: CGPoint, topRight: CGPoint, bottomRight: CGPoint, bottomLeft: CGPoint): VNBarcodeObservation; // inherited from VNRectangleObservation + readonly barcodeDescriptor: CIBarcodeDescriptor; + readonly isColorInverted: boolean; + + readonly isGS1DataCarrier: boolean; + + readonly payloadData: NSData; + readonly payloadStringValue: string; + readonly supplementalCompositeType: VNBarcodeCompositeType; + + readonly supplementalPayloadData: NSData; + + readonly supplementalPayloadString: string; + readonly symbology: string; } @@ -58,6 +162,8 @@ declare var VNBarcodeSymbologyI2of5Checksum: string; declare var VNBarcodeSymbologyITF14: string; +declare var VNBarcodeSymbologyMSIPlessey: string; + declare var VNBarcodeSymbologyMicroPDF417: string; declare var VNBarcodeSymbologyMicroQR: string; @@ -192,6 +298,12 @@ declare class VNClassifyImageRequest extends VNImageBasedRequest { declare var VNClassifyImageRequestRevision1: number; +declare var VNClassifyImageRequestRevision2: number; + +declare var VNComputeStageMain: string; + +declare var VNComputeStagePostProcessing: string; + declare class VNContour extends NSObject implements NSCopying, VNRequestRevisionProviding { static alloc(): VNContour; // inherited from NSObject @@ -285,12 +397,27 @@ declare class VNCoreMLRequest extends VNImageBasedRequest { declare var VNCoreMLRequestRevision1: number; +declare class VNDetectAnimalBodyPoseRequest extends VNImageBasedRequest { + + static alloc(): VNDetectAnimalBodyPoseRequest; // inherited from NSObject + + static new(): VNDetectAnimalBodyPoseRequest; // inherited from NSObject + + supportedJointNamesAndReturnError(): NSArray; + + supportedJointsGroupNamesAndReturnError(): NSArray; +} + +declare var VNDetectAnimalBodyPoseRequestRevision1: number; + declare class VNDetectBarcodesRequest extends VNImageBasedRequest { static alloc(): VNDetectBarcodesRequest; // inherited from NSObject static new(): VNDetectBarcodesRequest; // inherited from NSObject + coalesceCompositeSymbologies: boolean; + symbologies: NSArray; static readonly supportedSymbologies: NSArray; @@ -304,6 +431,8 @@ declare var VNDetectBarcodesRequestRevision2: number; declare var VNDetectBarcodesRequestRevision3: number; +declare var VNDetectBarcodesRequestRevision4: number; + declare var VNDetectContourRequestRevision1: number; declare class VNDetectContoursRequest extends VNImageBasedRequest { @@ -379,6 +508,8 @@ declare var VNDetectFaceCaptureQualityRequestRevision1: number; declare var VNDetectFaceCaptureQualityRequestRevision2: number; +declare var VNDetectFaceCaptureQualityRequestRevision3: number; + declare class VNDetectFaceLandmarksRequest extends VNImageBasedRequest implements VNFaceObservationAccepting { static alloc(): VNDetectFaceLandmarksRequest; // inherited from NSObject @@ -454,6 +585,19 @@ declare class VNDetectHorizonRequest extends VNImageBasedRequest { declare var VNDetectHorizonRequestRevision1: number; +declare class VNDetectHumanBodyPose3DRequest extends VNStatefulRequest { + + static alloc(): VNDetectHumanBodyPose3DRequest; // inherited from NSObject + + static new(): VNDetectHumanBodyPose3DRequest; // inherited from NSObject + + supportedJointNamesAndReturnError(): NSArray; + + supportedJointsGroupNamesAndReturnError(): NSArray; +} + +declare var VNDetectHumanBodyPose3DRequestRevision1: number; + declare class VNDetectHumanBodyPoseRequest extends VNImageBasedRequest { static alloc(): VNDetectHumanBodyPoseRequest; // inherited from NSObject @@ -463,6 +607,10 @@ declare class VNDetectHumanBodyPoseRequest extends VNImageBasedRequest { static supportedJointNamesForRevisionError(revision: number): NSArray; static supportedJointsGroupNamesForRevisionError(revision: number): NSArray; + + supportedJointNamesAndReturnError(): NSArray; + + supportedJointsGroupNamesAndReturnError(): NSArray; } declare var VNDetectHumanBodyPoseRequestRevision1: number; @@ -478,6 +626,10 @@ declare class VNDetectHumanHandPoseRequest extends VNImageBasedRequest { static supportedJointsGroupNamesForRevisionError(revision: number): NSArray; maximumHandCount: number; + + supportedJointNamesAndReturnError(): NSArray; + + supportedJointsGroupNamesAndReturnError(): NSArray; } declare var VNDetectHumanHandPoseRequestRevision1: number; @@ -631,7 +783,11 @@ declare const enum VNErrorCode { UnsupportedRequest = 19, - Timeout = 20 + Timeout = 20, + + UnsupportedComputeStage = 21, + + UnsupportedComputeDevice = 22 } declare var VNErrorDomain: string; @@ -784,6 +940,17 @@ declare class VNGenerateAttentionBasedSaliencyImageRequest extends VNImageBasedR declare var VNGenerateAttentionBasedSaliencyImageRequestRevision1: number; +declare var VNGenerateAttentionBasedSaliencyImageRequestRevision2: number; + +declare class VNGenerateForegroundInstanceMaskRequest extends VNImageBasedRequest { + + static alloc(): VNGenerateForegroundInstanceMaskRequest; // inherited from NSObject + + static new(): VNGenerateForegroundInstanceMaskRequest; // inherited from NSObject +} + +declare var VNGenerateForegroundInstanceMaskRequestRevision1: number; + declare class VNGenerateImageFeaturePrintRequest extends VNImageBasedRequest { static alloc(): VNGenerateImageFeaturePrintRequest; // inherited from NSObject @@ -795,6 +962,8 @@ declare class VNGenerateImageFeaturePrintRequest extends VNImageBasedRequest { declare var VNGenerateImageFeaturePrintRequestRevision1: number; +declare var VNGenerateImageFeaturePrintRequestRevision2: number; + declare class VNGenerateObjectnessBasedSaliencyImageRequest extends VNImageBasedRequest { static alloc(): VNGenerateObjectnessBasedSaliencyImageRequest; // inherited from NSObject @@ -804,6 +973,8 @@ declare class VNGenerateObjectnessBasedSaliencyImageRequest extends VNImageBased declare var VNGenerateObjectnessBasedSaliencyImageRequestRevision1: number; +declare var VNGenerateObjectnessBasedSaliencyImageRequestRevision2: number; + declare class VNGenerateOpticalFlowRequest extends VNTargetedImageRequest { static alloc(): VNGenerateOpticalFlowRequest; // inherited from NSObject @@ -832,6 +1003,15 @@ declare var VNGenerateOpticalFlowRequestRevision1: number; declare var VNGenerateOpticalFlowRequestRevision2: number; +declare class VNGeneratePersonInstanceMaskRequest extends VNImageBasedRequest { + + static alloc(): VNGeneratePersonInstanceMaskRequest; // inherited from NSObject + + static new(): VNGeneratePersonInstanceMaskRequest; // inherited from NSObject +} + +declare var VNGeneratePersonInstanceMaskRequestRevision1: number; + declare class VNGeneratePersonSegmentationRequest extends VNStatefulRequest { static alloc(): VNGeneratePersonSegmentationRequest; // inherited from NSObject @@ -893,6 +1073,88 @@ declare class VNHorizonObservation extends VNObservation { transformForImageWidthHeight(width: number, height: number): CGAffineTransform; } +declare class VNHumanBodyPose3DObservation extends VNRecognizedPoints3DObservation { + + static alloc(): VNHumanBodyPose3DObservation; // inherited from NSObject + + static new(): VNHumanBodyPose3DObservation; // inherited from NSObject + + readonly availableJointNames: NSArray; + + readonly availableJointsGroupNames: NSArray; + + readonly bodyHeight: number; + + readonly cameraOriginMatrix: simd_float4x4; + + readonly heightEstimation: VNHumanBodyPose3DObservationHeightEstimation; + + getCameraRelativePositionForJointNameError(modelPositionOut: interop.Pointer | interop.Reference, jointName: string): boolean; + + parentJointNameForJointName(jointName: string): string; + + pointInImageForJointNameError(jointName: string): VNPoint; + + recognizedPointForJointNameError(jointName: string): VNHumanBodyRecognizedPoint3D; + + recognizedPointsForJointsGroupNameError(jointsGroupName: string): NSDictionary; +} + +declare const enum VNHumanBodyPose3DObservationHeightEstimation { + + Reference = 0, + + Measured = 1 +} + +declare var VNHumanBodyPose3DObservationJointNameCenterHead: string; + +declare var VNHumanBodyPose3DObservationJointNameCenterShoulder: string; + +declare var VNHumanBodyPose3DObservationJointNameLeftAnkle: string; + +declare var VNHumanBodyPose3DObservationJointNameLeftElbow: string; + +declare var VNHumanBodyPose3DObservationJointNameLeftHip: string; + +declare var VNHumanBodyPose3DObservationJointNameLeftKnee: string; + +declare var VNHumanBodyPose3DObservationJointNameLeftShoulder: string; + +declare var VNHumanBodyPose3DObservationJointNameLeftWrist: string; + +declare var VNHumanBodyPose3DObservationJointNameRightAnkle: string; + +declare var VNHumanBodyPose3DObservationJointNameRightElbow: string; + +declare var VNHumanBodyPose3DObservationJointNameRightHip: string; + +declare var VNHumanBodyPose3DObservationJointNameRightKnee: string; + +declare var VNHumanBodyPose3DObservationJointNameRightShoulder: string; + +declare var VNHumanBodyPose3DObservationJointNameRightWrist: string; + +declare var VNHumanBodyPose3DObservationJointNameRoot: string; + +declare var VNHumanBodyPose3DObservationJointNameSpine: string; + +declare var VNHumanBodyPose3DObservationJointNameTopHead: string; + +declare var VNHumanBodyPose3DObservationJointsGroupNameAll: string; + +declare var VNHumanBodyPose3DObservationJointsGroupNameHead: string; + +declare var VNHumanBodyPose3DObservationJointsGroupNameLeftArm: string; + +declare var VNHumanBodyPose3DObservationJointsGroupNameLeftLeg: string; + +declare var VNHumanBodyPose3DObservationJointsGroupNameRightArm: string; + +declare var VNHumanBodyPose3DObservationJointsGroupNameRightLeg: string; + +declare var VNHumanBodyPose3DObservationJointsGroupNameTorso: string; + declare class VNHumanBodyPoseObservation extends VNRecognizedPointsObservation { static alloc(): VNHumanBodyPoseObservation; // inherited from NSObject @@ -960,6 +1222,17 @@ declare var VNHumanBodyPoseObservationJointsGroupNameRightLeg: string; declare var VNHumanBodyPoseObservationJointsGroupNameTorso: string; +declare class VNHumanBodyRecognizedPoint3D extends VNRecognizedPoint3D { + + static alloc(): VNHumanBodyRecognizedPoint3D; // inherited from NSObject + + static new(): VNHumanBodyRecognizedPoint3D; // inherited from NSObject + + readonly localPosition: simd_float4x4; + + readonly parentJoint: string; +} + declare class VNHumanHandPoseObservation extends VNRecognizedPointsObservation { static alloc(): VNHumanHandPoseObservation; // inherited from NSObject @@ -1119,10 +1392,14 @@ declare class VNImageRequestHandler extends NSObject { constructor(o: { CIImage: CIImage; orientation: CGImagePropertyOrientation; options: NSDictionary; }); + constructor(o: { CMSampleBuffer: any; depthData: AVDepthData; orientation: CGImagePropertyOrientation; options: NSDictionary; }); + constructor(o: { CMSampleBuffer: any; options: NSDictionary; }); constructor(o: { CMSampleBuffer: any; orientation: CGImagePropertyOrientation; options: NSDictionary; }); + constructor(o: { CVPixelBuffer: any; depthData: AVDepthData; orientation: CGImagePropertyOrientation; options: NSDictionary; }); + constructor(o: { CVPixelBuffer: any; options: NSDictionary; }); constructor(o: { CVPixelBuffer: any; orientation: CGImagePropertyOrientation; options: NSDictionary; }); @@ -1143,10 +1420,14 @@ declare class VNImageRequestHandler extends NSObject { initWithCIImageOrientationOptions(image: CIImage, orientation: CGImagePropertyOrientation, options: NSDictionary): this; + initWithCMSampleBufferDepthDataOrientationOptions(sampleBuffer: any, depthData: AVDepthData, orientation: CGImagePropertyOrientation, options: NSDictionary): this; + initWithCMSampleBufferOptions(sampleBuffer: any, options: NSDictionary): this; initWithCMSampleBufferOrientationOptions(sampleBuffer: any, orientation: CGImagePropertyOrientation, options: NSDictionary): this; + initWithCVPixelBufferDepthDataOrientationOptions(pixelBuffer: any, depthData: AVDepthData, orientation: CGImagePropertyOrientation, options: NSDictionary): this; + initWithCVPixelBufferOptions(pixelBuffer: any, options: NSDictionary): this; initWithCVPixelBufferOrientationOptions(pixelBuffer: any, orientation: CGImagePropertyOrientation, options: NSDictionary): this; @@ -1171,6 +1452,23 @@ declare class VNImageTranslationAlignmentObservation extends VNImageAlignmentObs readonly alignmentTransform: CGAffineTransform; } +declare class VNInstanceMaskObservation extends VNObservation { + + static alloc(): VNInstanceMaskObservation; // inherited from NSObject + + static new(): VNInstanceMaskObservation; // inherited from NSObject + + readonly allInstances: NSIndexSet; + + readonly instanceMask: any; + + generateMaskForInstancesError(instances: NSIndexSet): any; + + generateMaskedImageOfInstancesFromRequestHandlerCroppedToInstancesExtentError(instances: NSIndexSet, requestHandler: VNImageRequestHandler, cropResult: boolean): any; + + generateScaledMaskForImageForInstancesFromRequestHandlerError(instances: NSIndexSet, requestHandler: VNImageRequestHandler): any; +} + declare function VNNormalizedFaceBoundingBoxPointForLandmarkPoint(faceLandmarkPoint: interop.Reference, faceBoundingBox: CGRect, imageWidth: number, imageHeight: number): CGPoint; declare var VNNormalizedIdentityRect: CGRect; @@ -1260,6 +1558,29 @@ declare class VNPoint extends NSObject implements NSCopying, NSSecureCoding { initWithXY(x: number, y: number): this; } +declare class VNPoint3D extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): VNPoint3D; // inherited from NSObject + + static new(): VNPoint3D; // inherited from NSObject + + readonly position: simd_float4x4; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + constructor(o: { position: simd_float4x4; }); + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; + + initWithPosition(position: simd_float4x4): this; +} + declare const enum VNPointsClassification { Disconnected = 0, @@ -1373,8 +1694,34 @@ declare class VNRecognizedPoint extends VNDetectedPoint { readonly identifier: string; } +declare class VNRecognizedPoint3D extends VNPoint3D { + + static alloc(): VNRecognizedPoint3D; // inherited from NSObject + + static new(): VNRecognizedPoint3D; // inherited from NSObject + + readonly identifier: string; +} + +declare var VNRecognizedPoint3DGroupKeyAll: string; + declare var VNRecognizedPointGroupKeyAll: string; +declare class VNRecognizedPoints3DObservation extends VNObservation { + + static alloc(): VNRecognizedPoints3DObservation; // inherited from NSObject + + static new(): VNRecognizedPoints3DObservation; // inherited from NSObject + + readonly availableGroupKeys: NSArray; + + readonly availableKeys: NSArray; + + recognizedPointForKeyError(pointKey: string): VNRecognizedPoint3D; + + recognizedPointsForGroupKeyError(groupKey: string): NSDictionary; +} + declare class VNRecognizedPointsObservation extends VNObservation { static alloc(): VNRecognizedPointsObservation; // inherited from NSObject @@ -1429,6 +1776,8 @@ declare class VNRecognizedTextObservation extends VNRectangleObservation { static rectangleObservationWithRequestRevisionTopLeftBottomLeftBottomRightTopRight(requestRevision: number, topLeft: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint, topRight: CGPoint): VNRecognizedTextObservation; // inherited from VNRectangleObservation + static rectangleObservationWithRequestRevisionTopLeftTopRightBottomRightBottomLeft(requestRevision: number, topLeft: CGPoint, topRight: CGPoint, bottomRight: CGPoint, bottomLeft: CGPoint): VNRecognizedTextObservation; // inherited from VNRectangleObservation + topCandidates(maxCandidateCount: number): NSArray; } @@ -1444,6 +1793,8 @@ declare class VNRectangleObservation extends VNDetectedObjectObservation { static rectangleObservationWithRequestRevisionTopLeftBottomLeftBottomRightTopRight(requestRevision: number, topLeft: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint, topRight: CGPoint): VNRectangleObservation; + static rectangleObservationWithRequestRevisionTopLeftTopRightBottomRightBottomLeft(requestRevision: number, topLeft: CGPoint, topRight: CGPoint, bottomRight: CGPoint, bottomLeft: CGPoint): VNRectangleObservation; + readonly bottomLeft: CGPoint; readonly bottomRight: CGPoint; @@ -1479,9 +1830,15 @@ declare class VNRequest extends NSObject implements NSCopying { cancel(): void; + computeDeviceForComputeStage(computeStage: string): MLComputeDeviceProtocol; + copyWithZone(zone: interop.Pointer | interop.Reference): any; initWithCompletionHandler(completionHandler: (p1: VNRequest, p2: NSError) => void): this; + + setComputeDeviceForComputeStage(computeDevice: MLComputeDeviceProtocol, computeStage: string): void; + + supportedComputeStageDevicesAndReturnError(): NSDictionary>; } declare const enum VNRequestFaceLandmarksConstellation { @@ -1579,8 +1936,6 @@ declare class VNStatefulRequest extends VNImageBasedRequest { readonly minimumLatencyFrameCount: number; - readonly requestFrameAnalysisSpacing: CMTime; - constructor(o: { frameAnalysisSpacing: CMTime; completionHandler: (p1: VNRequest, p2: NSError) => void; }); initWithFrameAnalysisSpacingCompletionHandler(frameAnalysisSpacing: CMTime, completionHandler: (p1: VNRequest, p2: NSError) => void): this; @@ -1701,9 +2056,20 @@ declare class VNTextObservation extends VNRectangleObservation { static rectangleObservationWithRequestRevisionTopLeftBottomLeftBottomRightTopRight(requestRevision: number, topLeft: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint, topRight: CGPoint): VNTextObservation; // inherited from VNRectangleObservation + static rectangleObservationWithRequestRevisionTopLeftTopRightBottomRightBottomLeft(requestRevision: number, topLeft: CGPoint, topRight: CGPoint, bottomRight: CGPoint, bottomLeft: CGPoint): VNTextObservation; // inherited from VNRectangleObservation + readonly characterBoxes: NSArray; } +declare class VNTrackHomographicImageRegistrationRequest extends VNStatefulRequest { + + static alloc(): VNTrackHomographicImageRegistrationRequest; // inherited from NSObject + + static new(): VNTrackHomographicImageRegistrationRequest; // inherited from NSObject +} + +declare var VNTrackHomographicImageRegistrationRequestRevision1: number; + declare class VNTrackObjectRequest extends VNTrackingRequest { static alloc(): VNTrackObjectRequest; // inherited from NSObject @@ -1723,6 +2089,32 @@ declare var VNTrackObjectRequestRevision1: number; declare var VNTrackObjectRequestRevision2: number; +declare class VNTrackOpticalFlowRequest extends VNStatefulRequest { + + static alloc(): VNTrackOpticalFlowRequest; // inherited from NSObject + + static new(): VNTrackOpticalFlowRequest; // inherited from NSObject + + computationAccuracy: VNTrackOpticalFlowRequestComputationAccuracy; + + keepNetworkOutput: boolean; + + outputPixelFormat: number; +} + +declare const enum VNTrackOpticalFlowRequestComputationAccuracy { + + Low = 0, + + Medium = 1, + + High = 2, + + VeryHigh = 3 +} + +declare var VNTrackOpticalFlowRequestRevision1: number; + declare class VNTrackRectangleRequest extends VNTrackingRequest { static alloc(): VNTrackRectangleRequest; // inherited from NSObject @@ -1740,6 +2132,15 @@ declare class VNTrackRectangleRequest extends VNTrackingRequest { declare var VNTrackRectangleRequestRevision1: number; +declare class VNTrackTranslationalImageRegistrationRequest extends VNStatefulRequest { + + static alloc(): VNTrackTranslationalImageRegistrationRequest; // inherited from NSObject + + static new(): VNTrackTranslationalImageRegistrationRequest; // inherited from NSObject +} + +declare var VNTrackTranslationalImageRegistrationRequestRevision1: number; + declare class VNTrackingRequest extends VNImageBasedRequest { static alloc(): VNTrackingRequest; // inherited from NSObject @@ -1751,6 +2152,8 @@ declare class VNTrackingRequest extends VNImageBasedRequest { lastFrame: boolean; trackingLevel: VNRequestTrackingLevel; + + supportedNumberOfTrackersAndReturnError(): number; } declare class VNTrajectoryObservation extends VNObservation { diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!WebKit.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!WebKit.d.ts index fb7b53627..996138433 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!WebKit.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!WebKit.d.ts @@ -105,6 +105,13 @@ declare class WKContextMenuElementInfo extends NSObject { readonly linkURL: NSURL; } +declare const enum WKCookiePolicy { + + Allow = 0, + + Disallow = 1 +} + declare const enum WKDataDetectorTypes { None = 0, @@ -317,9 +324,13 @@ declare class WKHTTPCookieStore extends NSObject { getAllCookies(completionHandler: (p1: NSArray) => void): void; + getCookiePolicy(completionHandler: (p1: WKCookiePolicy) => void): void; + removeObserver(observer: WKHTTPCookieStoreObserver): void; setCookieCompletionHandler(cookie: NSHTTPCookie, completionHandler: () => void): void; + + setCookiePolicyCompletionHandler(policy: WKCookiePolicy, completionHandler: () => void): void; } interface WKHTTPCookieStoreObserver extends NSObjectProtocol { @@ -331,6 +342,15 @@ declare var WKHTTPCookieStoreObserver: { prototype: WKHTTPCookieStoreObserver; }; +declare const enum WKInactiveSchedulingPolicy { + + Suspend = 0, + + Throttle = 1, + + None = 2 +} + declare const enum WKMediaCaptureState { None = 0, @@ -473,6 +493,8 @@ declare class WKPDFConfiguration extends NSObject implements NSCopying { static new(): WKPDFConfiguration; // inherited from NSObject + allowTransparentBackground: boolean; + rect: CGRect; copyWithZone(zone: interop.Pointer | interop.Reference): any; @@ -497,6 +519,8 @@ declare class WKPreferences extends NSObject implements NSSecureCoding { fraudulentWebsiteWarningEnabled: boolean; + inactiveSchedulingPolicy: WKInactiveSchedulingPolicy; + javaScriptCanOpenWindowsAutomatically: boolean; javaScriptEnabled: boolean; @@ -938,6 +962,8 @@ declare class WKWebViewConfiguration extends NSObject implements NSCopying, NSSe allowsInlineMediaPlayback: boolean; + allowsInlinePredictions: boolean; + allowsPictureInPictureMediaPlayback: boolean; applicationNameForUserAgent: string; @@ -1017,16 +1043,26 @@ declare class WKWebsiteDataStore extends NSObject implements NSSecureCoding { static alloc(): WKWebsiteDataStore; // inherited from NSObject + static dataStoreForIdentifier(identifier: NSUUID): WKWebsiteDataStore; + static defaultDataStore(): WKWebsiteDataStore; + static fetchAllDataStoreIdentifiers(completionHandler: (p1: NSArray) => void): void; + static new(): WKWebsiteDataStore; // inherited from NSObject static nonPersistentDataStore(): WKWebsiteDataStore; + static removeDataStoreForIdentifierCompletionHandler(identifier: NSUUID, completionHandler: (p1: NSError) => void): void; + readonly httpCookieStore: WKHTTPCookieStore; + readonly identifier: NSUUID; + readonly persistent: boolean; + proxyConfigurations: NSArray; + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding constructor(o: { coder: NSCoder; }); // inherited from NSCoding @@ -1050,14 +1086,20 @@ declare var WKWebsiteDataTypeFetchCache: string; declare var WKWebsiteDataTypeFileSystem: string; +declare var WKWebsiteDataTypeHashSalt: string; + declare var WKWebsiteDataTypeIndexedDBDatabases: string; declare var WKWebsiteDataTypeLocalStorage: string; +declare var WKWebsiteDataTypeMediaKeys: string; + declare var WKWebsiteDataTypeMemoryCache: string; declare var WKWebsiteDataTypeOfflineWebApplicationCache: string; +declare var WKWebsiteDataTypeSearchFieldRecentSearches: string; + declare var WKWebsiteDataTypeServiceWorkerRegistrations: string; declare var WKWebsiteDataTypeSessionStorage: string; diff --git a/packages/ui-mobile-base/ios/TNSWidgets/TNSWidgets.xcodeproj/project.pbxproj b/packages/ui-mobile-base/ios/TNSWidgets/TNSWidgets.xcodeproj/project.pbxproj index 0ffb8818d..8295a65f1 100644 --- a/packages/ui-mobile-base/ios/TNSWidgets/TNSWidgets.xcodeproj/project.pbxproj +++ b/packages/ui-mobile-base/ios/TNSWidgets/TNSWidgets.xcodeproj/project.pbxproj @@ -344,6 +344,7 @@ TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; + XROS_DEPLOYMENT_TARGET = 1.0; }; name = Debug; }; @@ -397,6 +398,7 @@ VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; + XROS_DEPLOYMENT_TARGET = 1.0; }; name = Release; }; @@ -416,6 +418,11 @@ PRODUCT_BUNDLE_IDENTIFIER = org.nativescript.TNSWidgets; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = "1,2,7"; }; name = Debug; }; @@ -435,6 +442,11 @@ PRODUCT_BUNDLE_IDENTIFIER = org.nativescript.TNSWidgets; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = "1,2,7"; }; name = Release; }; diff --git a/packages/ui-mobile-base/ios/build.sh b/packages/ui-mobile-base/ios/build.sh index 3b51e8984..107fa5724 100755 --- a/packages/ui-mobile-base/ios/build.sh +++ b/packages/ui-mobile-base/ios/build.sh @@ -17,6 +17,20 @@ xcodebuild \ SKIP_INSTALL=NO \ -quiet +# This needs to stay on 'vision' tag of core until Xcode releases final with it +# Only available in Xcode beta so far +# echo "Build for visionOS" +# xcodebuild \ +# -project TNSWidgets/TNSWidgets.xcodeproj \ +# -scheme TNSWidgets \ +# -sdk xrsimulator \ +# -configuration Release \ +# -destination "generic/platform=xrsimulator" \ +# clean build \ +# BUILD_DIR=$(PWD)/TNSWidgets/build \ +# SKIP_INSTALL=NO \ +# -quiet + echo "Build for iphoneos" xcodebuild \ -project TNSWidgets/TNSWidgets.xcodeproj \ @@ -54,3 +68,7 @@ xcodebuild \ -framework $(PWD)/TNSWidgets/build/Release-maccatalyst/TNSWidgets.framework \ -debug-symbols $(PWD)/TNSWidgets/build/Release-maccatalyst/TNSWidgets.framework.dSYM \ -output $(PWD)/TNSWidgets/build/TNSWidgets.xcframework + +# Add back for 'vision' tag of core +# -framework $(PWD)/TNSWidgets/build/Release-xrsimulator/TNSWidgets.framework \ +# -debug-symbols $(PWD)/TNSWidgets/build/Release-xrsimulator/TNSWidgets.framework.dSYM \ \ No newline at end of file diff --git a/packages/webpack5/__tests__/configuration/__snapshots__/angular.spec.ts.snap b/packages/webpack5/__tests__/configuration/__snapshots__/angular.spec.ts.snap index 8277481bf..209c654fe 100644 --- a/packages/webpack5/__tests__/configuration/__snapshots__/angular.spec.ts.snap +++ b/packages/webpack5/__tests__/configuration/__snapshots__/angular.spec.ts.snap @@ -338,7 +338,9 @@ exports[`angular configuration for android 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'android' + extensions: [ + 'android' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -347,7 +349,7 @@ exports[`angular configuration for android 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(ios)\\.(\\w+)$/ + /\\.(ios|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -361,8 +363,10 @@ exports[`angular configuration for android 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: true, __IOS__: false, + __VISIONOS__: false, 'global.isAndroid': true, 'global.isIOS': false, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } @@ -767,7 +771,9 @@ exports[`angular configuration for ios 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'ios' + extensions: [ + 'ios' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -776,7 +782,7 @@ exports[`angular configuration for ios 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(android)\\.(\\w+)$/ + /\\.(android|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -790,8 +796,10 @@ exports[`angular configuration for ios 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: false, __IOS__: true, + __VISIONOS__: false, 'global.isAndroid': false, 'global.isIOS': true, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } diff --git a/packages/webpack5/__tests__/configuration/__snapshots__/base.spec.ts.snap b/packages/webpack5/__tests__/configuration/__snapshots__/base.spec.ts.snap index 45cea7b2f..bdb96879f 100644 --- a/packages/webpack5/__tests__/configuration/__snapshots__/base.spec.ts.snap +++ b/packages/webpack5/__tests__/configuration/__snapshots__/base.spec.ts.snap @@ -240,7 +240,9 @@ exports[`base configuration for android 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'android' + extensions: [ + 'android' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -249,7 +251,7 @@ exports[`base configuration for android 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(ios)\\.(\\w+)$/ + /\\.(ios|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -263,8 +265,10 @@ exports[`base configuration for android 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: true, __IOS__: false, + __VISIONOS__: false, 'global.isAndroid': true, 'global.isIOS': false, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } @@ -564,7 +568,9 @@ exports[`base configuration for ios 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'ios' + extensions: [ + 'ios' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -573,7 +579,7 @@ exports[`base configuration for ios 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(android)\\.(\\w+)$/ + /\\.(android|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -587,8 +593,10 @@ exports[`base configuration for ios 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: false, __IOS__: true, + __VISIONOS__: false, 'global.isAndroid': false, 'global.isIOS': true, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } diff --git a/packages/webpack5/__tests__/configuration/__snapshots__/javascript.spec.ts.snap b/packages/webpack5/__tests__/configuration/__snapshots__/javascript.spec.ts.snap index 2c95c5366..5341c1e17 100644 --- a/packages/webpack5/__tests__/configuration/__snapshots__/javascript.spec.ts.snap +++ b/packages/webpack5/__tests__/configuration/__snapshots__/javascript.spec.ts.snap @@ -240,7 +240,9 @@ exports[`javascript configuration for android 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'android' + extensions: [ + 'android' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -249,7 +251,7 @@ exports[`javascript configuration for android 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(ios)\\.(\\w+)$/ + /\\.(ios|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -263,8 +265,10 @@ exports[`javascript configuration for android 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: true, __IOS__: false, + __VISIONOS__: false, 'global.isAndroid': true, 'global.isIOS': false, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } @@ -563,7 +567,9 @@ exports[`javascript configuration for ios 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'ios' + extensions: [ + 'ios' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -572,7 +578,7 @@ exports[`javascript configuration for ios 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(android)\\.(\\w+)$/ + /\\.(android|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -586,8 +592,10 @@ exports[`javascript configuration for ios 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: false, __IOS__: true, + __VISIONOS__: false, 'global.isAndroid': false, 'global.isIOS': true, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } diff --git a/packages/webpack5/__tests__/configuration/__snapshots__/react.spec.ts.snap b/packages/webpack5/__tests__/configuration/__snapshots__/react.spec.ts.snap index 6c2f49d62..1fdd9b35b 100644 --- a/packages/webpack5/__tests__/configuration/__snapshots__/react.spec.ts.snap +++ b/packages/webpack5/__tests__/configuration/__snapshots__/react.spec.ts.snap @@ -262,7 +262,9 @@ exports[`react configuration > android > adds ReactRefreshWebpackPlugin when HMR /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'android' + extensions: [ + 'android' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -271,7 +273,7 @@ exports[`react configuration > android > adds ReactRefreshWebpackPlugin when HMR ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(ios)\\.(\\w+)$/ + /\\.(ios|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -285,8 +287,10 @@ exports[`react configuration > android > adds ReactRefreshWebpackPlugin when HMR __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: true, __IOS__: false, + __VISIONOS__: false, 'global.isAndroid': true, 'global.isIOS': false, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false, __TEST__: false, @@ -597,7 +601,9 @@ exports[`react configuration > android > base config 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'android' + extensions: [ + 'android' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -606,7 +612,7 @@ exports[`react configuration > android > base config 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(ios)\\.(\\w+)$/ + /\\.(ios|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -620,8 +626,10 @@ exports[`react configuration > android > base config 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: true, __IOS__: false, + __VISIONOS__: false, 'global.isAndroid': true, 'global.isIOS': false, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false, __TEST__: false, @@ -939,7 +947,9 @@ exports[`react configuration > ios > adds ReactRefreshWebpackPlugin when HMR ena /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'ios' + extensions: [ + 'ios' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -948,7 +958,7 @@ exports[`react configuration > ios > adds ReactRefreshWebpackPlugin when HMR ena ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(android)\\.(\\w+)$/ + /\\.(android|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -962,8 +972,10 @@ exports[`react configuration > ios > adds ReactRefreshWebpackPlugin when HMR ena __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: false, __IOS__: true, + __VISIONOS__: false, 'global.isAndroid': false, 'global.isIOS': true, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false, __TEST__: false, @@ -1275,7 +1287,9 @@ exports[`react configuration > ios > base config 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'ios' + extensions: [ + 'ios' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -1284,7 +1298,7 @@ exports[`react configuration > ios > base config 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(android)\\.(\\w+)$/ + /\\.(android|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -1298,8 +1312,10 @@ exports[`react configuration > ios > base config 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: false, __IOS__: true, + __VISIONOS__: false, 'global.isAndroid': false, 'global.isIOS': true, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false, __TEST__: false, diff --git a/packages/webpack5/__tests__/configuration/__snapshots__/svelte.spec.ts.snap b/packages/webpack5/__tests__/configuration/__snapshots__/svelte.spec.ts.snap index a6aa87a6e..1fd6be11a 100644 --- a/packages/webpack5/__tests__/configuration/__snapshots__/svelte.spec.ts.snap +++ b/packages/webpack5/__tests__/configuration/__snapshots__/svelte.spec.ts.snap @@ -267,7 +267,9 @@ exports[`svelte configuration for android 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'android' + extensions: [ + 'android' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -276,7 +278,7 @@ exports[`svelte configuration for android 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(ios)\\.(\\w+)$/ + /\\.(ios|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -290,8 +292,10 @@ exports[`svelte configuration for android 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: true, __IOS__: false, + __VISIONOS__: false, 'global.isAndroid': true, 'global.isIOS': false, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } @@ -612,7 +616,9 @@ exports[`svelte configuration for ios 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'ios' + extensions: [ + 'ios' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -621,7 +627,7 @@ exports[`svelte configuration for ios 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(android)\\.(\\w+)$/ + /\\.(android|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -635,8 +641,10 @@ exports[`svelte configuration for ios 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: false, __IOS__: true, + __VISIONOS__: false, 'global.isAndroid': false, 'global.isIOS': true, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } diff --git a/packages/webpack5/__tests__/configuration/__snapshots__/typescript.spec.ts.snap b/packages/webpack5/__tests__/configuration/__snapshots__/typescript.spec.ts.snap index 80b35cbed..46b6beeef 100644 --- a/packages/webpack5/__tests__/configuration/__snapshots__/typescript.spec.ts.snap +++ b/packages/webpack5/__tests__/configuration/__snapshots__/typescript.spec.ts.snap @@ -240,7 +240,9 @@ exports[`typescript configuration for android 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'android' + extensions: [ + 'android' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -249,7 +251,7 @@ exports[`typescript configuration for android 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(ios)\\.(\\w+)$/ + /\\.(ios|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -263,8 +265,10 @@ exports[`typescript configuration for android 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: true, __IOS__: false, + __VISIONOS__: false, 'global.isAndroid': true, 'global.isIOS': false, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } @@ -563,7 +567,9 @@ exports[`typescript configuration for ios 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'ios' + extensions: [ + 'ios' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -572,7 +578,7 @@ exports[`typescript configuration for ios 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(android)\\.(\\w+)$/ + /\\.(android|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -586,8 +592,10 @@ exports[`typescript configuration for ios 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: false, __IOS__: true, + __VISIONOS__: false, 'global.isAndroid': false, 'global.isIOS': true, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } diff --git a/packages/webpack5/__tests__/configuration/__snapshots__/vue.spec.ts.snap b/packages/webpack5/__tests__/configuration/__snapshots__/vue.spec.ts.snap index 0d5c03ec9..9d756f755 100644 --- a/packages/webpack5/__tests__/configuration/__snapshots__/vue.spec.ts.snap +++ b/packages/webpack5/__tests__/configuration/__snapshots__/vue.spec.ts.snap @@ -280,7 +280,9 @@ exports[`vue configuration for android 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'android' + extensions: [ + 'android' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -289,7 +291,7 @@ exports[`vue configuration for android 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(ios)\\.(\\w+)$/ + /\\.(ios|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -303,8 +305,10 @@ exports[`vue configuration for android 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: true, __IOS__: false, + __VISIONOS__: false, 'global.isAndroid': true, 'global.isIOS': false, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } @@ -638,7 +642,9 @@ exports[`vue configuration for ios 1`] = ` /* config.plugin('PlatformSuffixPlugin') */ new PlatformSuffixPlugin( { - platform: 'ios' + extensions: [ + 'ios' + ] } ), /* config.plugin('ContextExclusionPlugin|App_Resources') */ @@ -647,7 +653,7 @@ exports[`vue configuration for ios 1`] = ` ), /* config.plugin('ContextExclusionPlugin|Other_Platforms') */ new ContextExclusionPlugin( - /\\.(android)\\.(\\w+)$/ + /\\.(android|visionos)\\.(\\w+)$/ ), /* config.plugin('DefinePlugin') */ new DefinePlugin( @@ -661,8 +667,10 @@ exports[`vue configuration for ios 1`] = ` __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: false, __IOS__: true, + __VISIONOS__: false, 'global.isAndroid': false, 'global.isIOS': true, + 'global.isVisionOS': false, process: 'global.process', __USE_TEST_ID__: false } diff --git a/packages/webpack5/package.json b/packages/webpack5/package.json index 392329b0d..6ebbade31 100644 --- a/packages/webpack5/package.json +++ b/packages/webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@nativescript/webpack", - "version": "5.0.17", + "version": "5.0.18-vision.0", "private": false, "main": "dist/index.js", "files": [ diff --git a/packages/webpack5/src/configuration/base.ts b/packages/webpack5/src/configuration/base.ts index 5df26fe9c..16472530f 100644 --- a/packages/webpack5/src/configuration/base.ts +++ b/packages/webpack5/src/configuration/base.ts @@ -391,7 +391,7 @@ export default function (config: Config, env: IWebpackEnv = _env): Config { config.plugin('PlatformSuffixPlugin').use(PlatformSuffixPlugin, [ { - platform, + extensions: platform === 'visionos' ? [platform, 'ios'] : [platform], }, ]); @@ -442,8 +442,11 @@ export default function (config: Config, env: IWebpackEnv = _env): Config { __UI_USE_EXTERNAL_RENDERER__: false, __ANDROID__: platform === 'android', __IOS__: platform === 'ios', + __VISIONOS__: platform === 'visionos', /* for compat only */ 'global.isAndroid': platform === 'android', - /* for compat only */ 'global.isIOS': platform === 'ios', + /* for compat only */ 'global.isIOS': + platform === 'ios' || platform === 'visionos', + /* for compat only */ 'global.isVisionOS': platform === 'visionos', process: 'global.process', // enable testID when using --env.e2e diff --git a/packages/webpack5/src/helpers/platform.ts b/packages/webpack5/src/helpers/platform.ts index f077416d7..b60e5925b 100644 --- a/packages/webpack5/src/helpers/platform.ts +++ b/packages/webpack5/src/helpers/platform.ts @@ -7,6 +7,7 @@ import { env } from '../'; import AndroidPlatform from '../platforms/android'; import iOSPlatform from '../platforms/ios'; +import visionOSPlatform from '../platforms/visionos'; export interface INativeScriptPlatform { getEntryPath?(): string; @@ -21,6 +22,7 @@ const platforms: { } = { android: AndroidPlatform, ios: iOSPlatform, + visionos: visionOSPlatform, }; /** @@ -60,6 +62,10 @@ export function getPlatformName(): Platform { return 'ios'; } + if (env?.visionos) { + return 'visionos'; + } + // support custom platforms if (env?.platform) { if (platforms[env.platform]) { @@ -80,7 +86,7 @@ export function getPlatformName(): Platform { Available platforms: ${Object.keys(platforms).join(', ')} - Use --env.platform= or --env.android, --env.ios to specify the target platform. + Use --env.platform= or --env.android, --env.ios, --env.visionos to specify the target platform. Defaulting to "ios". ` diff --git a/packages/webpack5/src/platforms/visionos.ts b/packages/webpack5/src/platforms/visionos.ts new file mode 100644 index 000000000..9e8a4e4ce --- /dev/null +++ b/packages/webpack5/src/platforms/visionos.ts @@ -0,0 +1,20 @@ +import { basename } from "path"; + +import { INativeScriptPlatform } from "../helpers/platform"; +import { getProjectRootPath } from "../helpers/project"; + +function sanitizeName(appName: string): string { + return appName.split("").filter((c) => + /[a-zA-Z0-9]/.test(c) + ).join(""); +} +function getDistPath() { + const appName = sanitizeName(basename(getProjectRootPath())); + return `platforms/visionos/${appName}/app`; +} + +const visionOSPlatform: INativeScriptPlatform = { + getDistPath, +} + +export default visionOSPlatform; diff --git a/packages/webpack5/src/plugins/PlatformSuffixPlugin.ts b/packages/webpack5/src/plugins/PlatformSuffixPlugin.ts index 2e4a298c4..d6b59483d 100644 --- a/packages/webpack5/src/plugins/PlatformSuffixPlugin.ts +++ b/packages/webpack5/src/plugins/PlatformSuffixPlugin.ts @@ -4,8 +4,7 @@ import { existsSync } from 'fs'; const id = 'PlatformSuffixPlugin'; interface PlatformSuffixPluginOptions { - platform: string; - // extensions: string[] | (() => string[]) + extensions: Array; } /** @@ -20,11 +19,10 @@ interface PlatformSuffixPluginOptions { * */ export class PlatformSuffixPlugin { - private readonly platform: string; - // private readonly extensions: string[] + private readonly extensions: string[]; constructor(options: PlatformSuffixPluginOptions) { - this.platform = options.platform; + this.extensions = options.extensions; // if (typeof options.extensions === "function") { // this.extensions = options.extensions() @@ -34,7 +32,7 @@ export class PlatformSuffixPlugin { } apply(compiler: any) { - const platformRE = new RegExp(`\\.${this.platform}\\.`); + const platformRE = new RegExp(`\\.${this.extensions.join('|')}\\.`); // require.context compiler.hooks.contextModuleFactory.tap(id, (cmf) => { @@ -78,47 +76,49 @@ export class PlatformSuffixPlugin { resolver.hooks.normalResolve.tapAsync( id, (request_, resolveContext, callback) => { - const { path, request } = request_; - const ext = request && extname(request); - const platformExt = ext ? `.${this.platform}${ext}` : ''; + for (const platform of this.extensions) { + const { path, request } = request_; + const ext = request && extname(request); + const platformExt = ext ? `.${platform}${ext}` : ''; - if (path && request && ext && !request.includes(platformExt)) { - const platformRequest = request.replace(ext, platformExt); - const extPath = resolve(path, platformRequest); + if (path && request && ext && !request.includes(platformExt)) { + const platformRequest = request.replace(ext, platformExt); + const extPath = resolve(path, platformRequest); - // console.log({ - // path, - // request, - // ext, - // extPath - // }) + // console.log({ + // path, + // request, + // ext, + // extPath + // }) - // if a file with the same + a platform suffix exists - // we want to resolve that file instead - if (existsSync(extPath)) { - const message = `resolving "${request}" to "${platformRequest}"`; - const hook = resolver.ensureHook('normalResolve'); - console.log(message); + // if a file with the same + a platform suffix exists + // we want to resolve that file instead + if (existsSync(extPath)) { + const message = `resolving "${request}" to "${platformRequest}"`; + const hook = resolver.ensureHook('normalResolve'); + console.log(message); - // here we are creating a new resolve object and replacing the path - // with the .. suffix - const obj = { - ...request_, - path: resolver.join(path, platformRequest), - relativePath: - request_.relativePath && - resolver.join(request_.relativePath, platformRequest), - request: undefined, - }; + // here we are creating a new resolve object and replacing the path + // with the .. suffix + const obj = { + ...request_, + path: resolver.join(path, platformRequest), + relativePath: + request_.relativePath && + resolver.join(request_.relativePath, platformRequest), + request: undefined, + }; - // we call to the actual resolver to do the resolving of this new file - return resolver.doResolve( - hook, - obj, - message, - resolveContext, - callback - ); + // we call to the actual resolver to do the resolving of this new file + return resolver.doResolve( + hook, + obj, + message, + resolveContext, + callback + ); + } } } callback();