@nativescript/core 8.6.0-vision.8 → 8.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessibility/accessibility-properties.js +1 -1
- package/accessibility/accessibility-properties.js.map +1 -1
- package/application/application.ios.js +14 -23
- package/application/application.ios.js.map +1 -1
- package/global-types.d.ts +0 -2
- package/package.json +1 -11
- package/platform/common.d.ts +0 -1
- package/platform/common.js +0 -1
- package/platform/common.js.map +1 -1
- package/platform/index.d.ts +0 -5
- package/platform/index.ios.d.ts +2 -2
- package/platform/index.ios.js +5 -15
- package/platform/index.ios.js.map +1 -1
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/ios/TNSWidgets.xcframework/Info.plist +4 -23
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +3 -3
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +3 -3
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +77 -77
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +77 -77
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +1 -1
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +77 -77
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +77 -77
- package/platforms/ios/src/NativeScriptEmbedder.h +0 -2
- package/platforms/ios/src/NativeScriptEmbedder.m +0 -5
- package/platforms/ios/src/UIView+NativeScript.h +2 -0
- package/platforms/ios/src/UIView+NativeScript.m +15 -0
- package/ui/action-bar/index.ios.js +1 -1
- package/ui/action-bar/index.ios.js.map +1 -1
- package/ui/builder/index.js +0 -1
- package/ui/builder/index.js.map +1 -1
- package/ui/builder/xml2ui.js +2 -2
- package/ui/builder/xml2ui.js.map +1 -1
- package/ui/core/view/index.ios.js +2 -2
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-common.d.ts +1 -7
- package/ui/core/view/view-common.js +2 -23
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view/view-helper/index.ios.js +7 -4
- package/ui/core/view/view-helper/index.ios.js.map +1 -1
- package/ui/date-picker/index.ios.js +2 -2
- package/ui/date-picker/index.ios.js.map +1 -1
- package/ui/frame/frame-common.js +7 -9
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/gestures/touch-manager.d.ts +0 -29
- package/ui/gestures/touch-manager.js +0 -64
- package/ui/gestures/touch-manager.js.map +1 -1
- package/ui/image/image-common.js +1 -4
- package/ui/image/image-common.js.map +1 -1
- package/ui/index.d.ts +2 -2
- package/ui/index.js +1 -1
- package/ui/index.js.map +1 -1
- package/ui/label/index.android.d.ts +3 -3
- package/ui/label/index.android.js +1 -5
- package/ui/label/index.android.js.map +1 -1
- package/ui/page/index.ios.js +1 -1
- package/ui/page/index.ios.js.map +1 -1
- package/ui/styling/css-shadow.d.ts +5 -0
- package/ui/styling/css-shadow.js +24 -50
- package/ui/styling/css-shadow.js.map +1 -1
- package/ui/styling/css-stroke.d.ts +12 -0
- package/ui/styling/css-stroke.js +16 -0
- package/ui/styling/css-stroke.js.map +1 -0
- package/ui/styling/style/index.d.ts +2 -0
- package/ui/styling/style/index.js.map +1 -1
- package/ui/text-base/index.android.d.ts +2 -2
- package/ui/text-base/index.android.js +13 -3
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.d.ts +2 -0
- package/ui/text-base/index.ios.js +7 -1
- package/ui/text-base/index.ios.js.map +1 -1
- package/ui/text-base/text-base-common.d.ts +2 -0
- package/ui/text-base/text-base-common.js +11 -1
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/time-picker/index.ios.js +2 -2
- package/ui/time-picker/index.ios.js.map +1 -1
- package/utils/ios/index.d.ts +0 -1
- package/utils/ios/index.js +5 -9
- package/utils/ios/index.js.map +1 -1
- package/utils/layout-helper/index.ios.js +3 -4
- package/utils/layout-helper/index.ios.js.map +1 -1
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +0 -223
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/src/NativeScriptMainWindow.swift +0 -95
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
triple: 'x86_64-apple-darwin'
|
|
3
|
-
binary-path: '/Users/nstudio/Documents/github/NativeScript/NativeScript/packages/ui-mobile-base/ios/TNSWidgets/build/Release-xrsimulator/TNSWidgets.framework/TNSWidgets'
|
|
4
|
-
relocations:
|
|
5
|
-
- { offsetInCU: 0x34, offset: 0x5460D, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionString, symObjAddr: 0x0, symBinAddr: 0x6950, symSize: 0x0 }
|
|
6
|
-
- { offsetInCU: 0x69, offset: 0x54642, size: 0x8, addend: 0x0, symName: _TNSWidgetsVersionNumber, symObjAddr: 0x30, symBinAddr: 0x6980, symSize: 0x0 }
|
|
7
|
-
- { offsetInCU: 0x27, offset: 0x5467F, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x4713, symSize: 0x394 }
|
|
8
|
-
- { offsetInCU: 0xA9, offset: 0x54701, size: 0x8, addend: 0x0, symName: '-[TNSLabel textRectForBounds:limitedToNumberOfLines:]', symObjAddr: 0x0, symBinAddr: 0x4713, symSize: 0x394 }
|
|
9
|
-
- { offsetInCU: 0x185, offset: 0x547DD, size: 0x8, addend: 0x0, symName: '-[TNSLabel drawTextInRect:]', symObjAddr: 0x394, symBinAddr: 0x4AA7, symSize: 0xDD }
|
|
10
|
-
- { offsetInCU: 0x1F1, offset: 0x54849, size: 0x8, addend: 0x0, symName: '-[TNSLabel padding]', symObjAddr: 0x471, symBinAddr: 0x4B84, symSize: 0x20 }
|
|
11
|
-
- { offsetInCU: 0x226, offset: 0x5487E, size: 0x8, addend: 0x0, symName: '-[TNSLabel setPadding:]', symObjAddr: 0x491, symBinAddr: 0x4BA4, symSize: 0x1E }
|
|
12
|
-
- { offsetInCU: 0x264, offset: 0x548BC, size: 0x8, addend: 0x0, symName: '-[TNSLabel borderThickness]', symObjAddr: 0x4AF, symBinAddr: 0x4BC2, symSize: 0x20 }
|
|
13
|
-
- { offsetInCU: 0x299, offset: 0x548F1, size: 0x8, addend: 0x0, symName: '-[TNSLabel setBorderThickness:]', symObjAddr: 0x4CF, symBinAddr: 0x4BE2, symSize: 0x1E }
|
|
14
|
-
- { offsetInCU: 0x27, offset: 0x5497A, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x4C00, symSize: 0x119 }
|
|
15
|
-
- { offsetInCU: 0x59, offset: 0x549AC, size: 0x8, addend: 0x0, symName: ___tns_uptime, symObjAddr: 0x0, symBinAddr: 0x4C00, symSize: 0x119 }
|
|
16
|
-
- { offsetInCU: 0x1B5, offset: 0x54B08, size: 0x8, addend: 0x0, symName: ___nslog, symObjAddr: 0x119, symBinAddr: 0x4D19, symSize: 0x17 }
|
|
17
|
-
- { offsetInCU: 0x27, offset: 0x54B6E, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x4D30, symSize: 0xD4 }
|
|
18
|
-
- { offsetInCU: 0x4A, offset: 0x54B91, size: 0x8, addend: 0x0, symName: '-[NSFileHandle(Async) appendData:completion:]', symObjAddr: 0x0, symBinAddr: 0x4D30, symSize: 0xD4 }
|
|
19
|
-
- { offsetInCU: 0x1CE, offset: 0x54D15, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke', symObjAddr: 0xD4, symBinAddr: 0x4E04, symSize: 0xFD }
|
|
20
|
-
- { offsetInCU: 0x316, offset: 0x54E5D, size: 0x8, addend: 0x0, symName: '___45-[NSFileHandle(Async) appendData:completion:]_block_invoke_2', symObjAddr: 0x1D1, symBinAddr: 0x4F01, symSize: 0x13 }
|
|
21
|
-
- { offsetInCU: 0x36D, offset: 0x54EB4, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40b, symObjAddr: 0x1E4, symBinAddr: 0x4F14, symSize: 0x30 }
|
|
22
|
-
- { offsetInCU: 0x3A2, offset: 0x54EE9, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s, symObjAddr: 0x214, symBinAddr: 0x4F44, symSize: 0x25 }
|
|
23
|
-
- { offsetInCU: 0x3D9, offset: 0x54F20, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32s40s48b, symObjAddr: 0x239, symBinAddr: 0x4F69, symSize: 0x44 }
|
|
24
|
-
- { offsetInCU: 0x41A, offset: 0x54F61, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s40s48s, symObjAddr: 0x27D, symBinAddr: 0x4FAD, symSize: 0x2C }
|
|
25
|
-
- { offsetInCU: 0x45D, offset: 0x54FA4, size: 0x8, addend: 0x0, symName: '+[NSFileHandle(Async) fileHandleWith:data:completion:]', symObjAddr: 0x2A9, symBinAddr: 0x4FD9, symSize: 0xF1 }
|
|
26
|
-
- { offsetInCU: 0x5ED, offset: 0x55134, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke', symObjAddr: 0x39A, symBinAddr: 0x50CA, symSize: 0x141 }
|
|
27
|
-
- { offsetInCU: 0x781, offset: 0x552C8, size: 0x8, addend: 0x0, symName: '___54+[NSFileHandle(Async) fileHandleWith:data:completion:]_block_invoke_2', symObjAddr: 0x4DB, symBinAddr: 0x520B, symSize: 0x1A }
|
|
28
|
-
- { offsetInCU: 0x27, offset: 0x5565E, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x5225, symSize: 0x27 }
|
|
29
|
-
- { offsetInCU: 0x4F, offset: 0x55686, size: 0x8, addend: 0x0, symName: _image_queue, symObjAddr: 0x4468, symBinAddr: 0xC560, symSize: 0x0 }
|
|
30
|
-
- { offsetInCU: 0x68, offset: 0x5569F, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) initialize]', symObjAddr: 0x0, symBinAddr: 0x5225, symSize: 0x27 }
|
|
31
|
-
- { offsetInCU: 0x131, offset: 0x55768, size: 0x8, addend: 0x0, symName: '-[UIImage(TNSBlocks) tns_forceDecode]', symObjAddr: 0x27, symBinAddr: 0x524C, symSize: 0xB2 }
|
|
32
|
-
- { offsetInCU: 0x2E8, offset: 0x5591F, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]', symObjAddr: 0xD9, symBinAddr: 0x52FE, symSize: 0xB3 }
|
|
33
|
-
- { offsetInCU: 0x3FD, offset: 0x55A34, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke', symObjAddr: 0x18C, symBinAddr: 0x53B1, symSize: 0xD9 }
|
|
34
|
-
- { offsetInCU: 0x4E1, offset: 0x55B18, size: 0x8, addend: 0x0, symName: '___58+[UIImage(TNSBlocks) tns_safeDecodeImageNamed:completion:]_block_invoke_2', symObjAddr: 0x265, symBinAddr: 0x548A, symSize: 0x13 }
|
|
35
|
-
- { offsetInCU: 0x538, offset: 0x55B6F, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_safeImageNamed:]', symObjAddr: 0x2CD, symBinAddr: 0x549D, symSize: 0x63 }
|
|
36
|
-
- { offsetInCU: 0x5C0, offset: 0x55BF7, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]', symObjAddr: 0x330, symBinAddr: 0x5500, symSize: 0xB3 }
|
|
37
|
-
- { offsetInCU: 0x6B5, offset: 0x55CEC, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke', symObjAddr: 0x3E3, symBinAddr: 0x55B3, symSize: 0xD9 }
|
|
38
|
-
- { offsetInCU: 0x799, offset: 0x55DD0, size: 0x8, addend: 0x0, symName: '___57+[UIImage(TNSBlocks) tns_decodeImageWithData:completion:]_block_invoke_2', symObjAddr: 0x4BC, symBinAddr: 0x568C, symSize: 0x13 }
|
|
39
|
-
- { offsetInCU: 0x7F0, offset: 0x55E27, size: 0x8, addend: 0x0, symName: '+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]', symObjAddr: 0x4CF, symBinAddr: 0x569F, symSize: 0xB3 }
|
|
40
|
-
- { offsetInCU: 0x8E5, offset: 0x55F1C, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke', symObjAddr: 0x582, symBinAddr: 0x5752, symSize: 0xD9 }
|
|
41
|
-
- { offsetInCU: 0x9C9, offset: 0x56000, size: 0x8, addend: 0x0, symName: '___68+[UIImage(TNSBlocks) tns_decodeImageWidthContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x65B, symBinAddr: 0x582B, symSize: 0x13 }
|
|
42
|
-
- { offsetInCU: 0x27, offset: 0x563DB, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x583E, symSize: 0x6A }
|
|
43
|
-
- { offsetInCU: 0x43, offset: 0x563F7, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleInstanceMethodWithOriginalSelector:fromClass:withSwizzlingSelector:]', symObjAddr: 0x0, symBinAddr: 0x583E, symSize: 0x6A }
|
|
44
|
-
- { offsetInCU: 0x169, offset: 0x5651D, size: 0x8, addend: 0x0, symName: '+[NSObject(Swizzling) swizzleMethodWithOriginalSelector:originalMethod:fromClass:withSwizzlingSelector:swizzlingMethod:]', symObjAddr: 0x6A, symBinAddr: 0x58A8, symSize: 0x11A }
|
|
45
|
-
- { offsetInCU: 0x27, offset: 0x567EF, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x59C2, symSize: 0xDD }
|
|
46
|
-
- { offsetInCU: 0x4A, offset: 0x56812, size: 0x8, addend: 0x0, symName: '+[NSString(Async) stringWithContentsOfFile:encoding:completion:]', symObjAddr: 0x0, symBinAddr: 0x59C2, symSize: 0xDD }
|
|
47
|
-
- { offsetInCU: 0x1DA, offset: 0x569A2, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke', symObjAddr: 0xDD, symBinAddr: 0x5A9F, symSize: 0xF1 }
|
|
48
|
-
- { offsetInCU: 0x312, offset: 0x56ADA, size: 0x8, addend: 0x0, symName: '___64+[NSString(Async) stringWithContentsOfFile:encoding:completion:]_block_invoke_2', symObjAddr: 0x1CE, symBinAddr: 0x5B90, symSize: 0x1A }
|
|
49
|
-
- { offsetInCU: 0x379, offset: 0x56B41, size: 0x8, addend: 0x0, symName: '-[NSString(Async) writeToFile:atomically:encoding:completion:]', symObjAddr: 0x2AD, symBinAddr: 0x5BAA, symSize: 0xEB }
|
|
50
|
-
- { offsetInCU: 0x4D2, offset: 0x56C9A, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke', symObjAddr: 0x398, symBinAddr: 0x5C95, symSize: 0xC9 }
|
|
51
|
-
- { offsetInCU: 0x5F2, offset: 0x56DBA, size: 0x8, addend: 0x0, symName: '___62-[NSString(Async) writeToFile:atomically:encoding:completion:]_block_invoke_2', symObjAddr: 0x461, symBinAddr: 0x5D5E, symSize: 0x13 }
|
|
52
|
-
- { offsetInCU: 0x27, offset: 0x5715A, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x5D71, symSize: 0xC6 }
|
|
53
|
-
- { offsetInCU: 0x4A, offset: 0x5717D, size: 0x8, addend: 0x0, symName: '+[NSData(Async) dataWithContentsOfFile:completion:]', symObjAddr: 0x0, symBinAddr: 0x5D71, symSize: 0xC6 }
|
|
54
|
-
- { offsetInCU: 0x225, offset: 0x57358, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke', symObjAddr: 0xC6, symBinAddr: 0x5E37, symSize: 0xB4 }
|
|
55
|
-
- { offsetInCU: 0x2FD, offset: 0x57430, size: 0x8, addend: 0x0, symName: '___51+[NSData(Async) dataWithContentsOfFile:completion:]_block_invoke_2', symObjAddr: 0x17A, symBinAddr: 0x5EEB, symSize: 0x13 }
|
|
56
|
-
- { offsetInCU: 0x354, offset: 0x57487, size: 0x8, addend: 0x0, symName: '-[NSData(Async) writeToFile:atomically:completion:]', symObjAddr: 0x1E2, symBinAddr: 0x5EFE, symSize: 0xE6 }
|
|
57
|
-
- { offsetInCU: 0x49D, offset: 0x575D0, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke', symObjAddr: 0x2C8, symBinAddr: 0x5FE4, symSize: 0x84 }
|
|
58
|
-
- { offsetInCU: 0x546, offset: 0x57679, size: 0x8, addend: 0x0, symName: '___51-[NSData(Async) writeToFile:atomically:completion:]_block_invoke_2', symObjAddr: 0x34C, symBinAddr: 0x6068, symSize: 0xC }
|
|
59
|
-
- { offsetInCU: 0x58D, offset: 0x576C0, size: 0x8, addend: 0x0, symName: ___copy_helper_block_e8_32b, symObjAddr: 0x358, symBinAddr: 0x6074, symSize: 0x17 }
|
|
60
|
-
- { offsetInCU: 0x5B6, offset: 0x576E9, size: 0x8, addend: 0x0, symName: ___destroy_helper_block_e8_32s, symObjAddr: 0x36F, symBinAddr: 0x608B, symSize: 0xF }
|
|
61
|
-
- { offsetInCU: 0x27, offset: 0x579DB, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x609A, symSize: 0x12 }
|
|
62
|
-
- { offsetInCU: 0x35, offset: 0x579E9, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) loadPropertyBag]', symObjAddr: 0x12, symBinAddr: 0x60AC, symSize: 0x70 }
|
|
63
|
-
- { offsetInCU: 0x5B, offset: 0x57A0F, size: 0x8, addend: 0x0, symName: _loadPropertyBag.onceToken, symObjAddr: 0x2DD0, symBinAddr: 0xC568, symSize: 0x0 }
|
|
64
|
-
- { offsetInCU: 0xBF, offset: 0x57A73, size: 0x8, addend: 0x0, symName: __propertyBagHolder, symObjAddr: 0x2DD8, symBinAddr: 0xC578, symSize: 0x0 }
|
|
65
|
-
- { offsetInCU: 0xE4, offset: 0x57A98, size: 0x8, addend: 0x0, symName: '+[UIView(PropertyBag) load]', symObjAddr: 0x0, symBinAddr: 0x609A, symSize: 0x12 }
|
|
66
|
-
- { offsetInCU: 0x178, offset: 0x57B2C, size: 0x8, addend: 0x0, symName: '___38+[UIView(PropertyBag) loadPropertyBag]_block_invoke', symObjAddr: 0x82, symBinAddr: 0x611C, symSize: 0x46 }
|
|
67
|
-
- { offsetInCU: 0x22A, offset: 0x57BDE, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyValueForKey:]', symObjAddr: 0xC8, symBinAddr: 0x6162, symSize: 0x7A }
|
|
68
|
-
- { offsetInCU: 0x2C6, offset: 0x57C7A, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyValue:forKey:]', symObjAddr: 0x142, symBinAddr: 0x61DC, symSize: 0x8B }
|
|
69
|
-
- { offsetInCU: 0x3A5, offset: 0x57D59, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag]', symObjAddr: 0x1CD, symBinAddr: 0x6267, symSize: 0xEA }
|
|
70
|
-
- { offsetInCU: 0x460, offset: 0x57E14, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) setPropertyBag:]', symObjAddr: 0x2B7, symBinAddr: 0x6351, symSize: 0xC1 }
|
|
71
|
-
- { offsetInCU: 0x52F, offset: 0x57EE3, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) removePropertyBag]', symObjAddr: 0x378, symBinAddr: 0x6412, symSize: 0x76 }
|
|
72
|
-
- { offsetInCU: 0x59E, offset: 0x57F52, size: 0x8, addend: 0x0, symName: '-[UIView(PropertyBag) propertyBag_dealloc]', symObjAddr: 0x3EE, symBinAddr: 0x6488, symSize: 0x2E }
|
|
73
|
-
- { offsetInCU: 0x27, offset: 0x580A5, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x64B6, symSize: 0x12 }
|
|
74
|
-
- { offsetInCU: 0x41, offset: 0x580BF, size: 0x8, addend: 0x0, symName: _TLKPassThroughParentKey, symObjAddr: 0x1F8, symBinAddr: 0x8268, symSize: 0x0 }
|
|
75
|
-
- { offsetInCU: 0x55, offset: 0x580D3, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) loadHitTest]', symObjAddr: 0x12, symBinAddr: 0x64C8, symSize: 0x70 }
|
|
76
|
-
- { offsetInCU: 0x7B, offset: 0x580F9, size: 0x8, addend: 0x0, symName: _loadHitTest.onceToken, symObjAddr: 0x26F0, symBinAddr: 0xC570, symSize: 0x0 }
|
|
77
|
-
- { offsetInCU: 0xE8, offset: 0x58166, size: 0x8, addend: 0x0, symName: '+[UIView(PassThroughParent) load]', symObjAddr: 0x0, symBinAddr: 0x64B6, symSize: 0x12 }
|
|
78
|
-
- { offsetInCU: 0x17D, offset: 0x581FB, size: 0x8, addend: 0x0, symName: '___40+[UIView(PassThroughParent) loadHitTest]_block_invoke', symObjAddr: 0x82, symBinAddr: 0x6538, symSize: 0x3B }
|
|
79
|
-
- { offsetInCU: 0x1D7, offset: 0x58255, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThroughParent]', symObjAddr: 0xBD, symBinAddr: 0x6573, symSize: 0x54 }
|
|
80
|
-
- { offsetInCU: 0x252, offset: 0x582D0, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) setPassThroughParent:]', symObjAddr: 0x111, symBinAddr: 0x65C7, symSize: 0x5A }
|
|
81
|
-
- { offsetInCU: 0x2C9, offset: 0x58347, size: 0x8, addend: 0x0, symName: '-[UIView(PassThroughParent) passThrough_hitTest:withEvent:]', symObjAddr: 0x16B, symBinAddr: 0x6621, symSize: 0x55 }
|
|
82
|
-
...
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import SwiftUI
|
|
2
|
-
import NativeScriptEmbedder
|
|
3
|
-
import UIKit
|
|
4
|
-
|
|
5
|
-
struct NativeScriptMainWindow: Scene {
|
|
6
|
-
var body: some Scene {
|
|
7
|
-
WindowGroup {
|
|
8
|
-
NativeScriptAppView(found: { windowScene in
|
|
9
|
-
NativeScriptEmbedder.sharedInstance().setWindowScene(windowScene)
|
|
10
|
-
}).onAppear {
|
|
11
|
-
// print("NativeScriptAppView onAppear")
|
|
12
|
-
DispatchQueue.main.async {
|
|
13
|
-
NativeScriptStart.boot()
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
.windowStyle(.plain)
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
init() {
|
|
21
|
-
NativeScriptEmbedder.sharedInstance().setDelegate(NativeScriptViewRegistry.shared)
|
|
22
|
-
NativeScriptStart.setup()
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
struct NativeScriptAppView: UIViewRepresentable {
|
|
27
|
-
/// A closure that's called when the window is found.
|
|
28
|
-
var found: ((UIWindowScene?) -> Void)
|
|
29
|
-
|
|
30
|
-
func makeUIView(context: Context) -> UIView {
|
|
31
|
-
// print("NativeScriptAppView makeUIView")
|
|
32
|
-
var window: UIWindow? {
|
|
33
|
-
guard let scene = UIApplication.shared.connectedScenes.first,
|
|
34
|
-
let windowSceneDelegate = scene.delegate as? UIWindowSceneDelegate,
|
|
35
|
-
let window = windowSceneDelegate.window else {
|
|
36
|
-
return nil
|
|
37
|
-
}
|
|
38
|
-
return window
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
DispatchQueue.main.async {
|
|
42
|
-
found(window?.windowScene)
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
return NativeScriptViewRegistry.app.view
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
func updateUIView(_ uiView: UIView, context: Context) {
|
|
49
|
-
print("NativeScriptAppView updateUIView")
|
|
50
|
-
// could update data through the controller
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@objc public class NativeScriptViewRegistry: NSObject, NativeScriptEmbedderDelegate {
|
|
55
|
-
@objc public static let shared = NativeScriptViewRegistry()
|
|
56
|
-
@objc public static let app = UIKitContainerCtrl()
|
|
57
|
-
|
|
58
|
-
@objc public let views = NSMutableDictionary()
|
|
59
|
-
@objc public var callback: ((String, UIKitContainerView) -> Void)? = nil
|
|
60
|
-
|
|
61
|
-
@objc public static func getKeyWindow() -> UIWindow? {
|
|
62
|
-
return UIApplication
|
|
63
|
-
.shared
|
|
64
|
-
.connectedScenes
|
|
65
|
-
.compactMap { ($0 as? UIWindowScene)?.keyWindow }
|
|
66
|
-
.last
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
public func presentNativeScriptApp(_ vc: UIViewController!) -> Any! {
|
|
70
|
-
vc.view.frame = NativeScriptViewRegistry.app.view.bounds
|
|
71
|
-
vc.view.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
|
72
|
-
NativeScriptViewRegistry.app.addChild(vc)
|
|
73
|
-
NativeScriptViewRegistry.app.view.addSubview(vc.view)
|
|
74
|
-
vc.didMove(toParent: NativeScriptViewRegistry.app)
|
|
75
|
-
return NativeScriptViewRegistry.app
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// UIViewController
|
|
80
|
-
@objc public class UIKitContainerCtrl: UIViewController {
|
|
81
|
-
// allow NativeScript to override updateData for custom handling
|
|
82
|
-
@objc public var updateData: ((_ data: NSMutableDictionary) -> Void)? = nil
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// UIView
|
|
86
|
-
@objc public class UIKitContainerView: UIView {
|
|
87
|
-
// allow NativeScript to override updateData for custom handling
|
|
88
|
-
@objc public var updateData: ((_ data: NSMutableDictionary) -> Void)? = nil
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// Notes:
|
|
92
|
-
// importing RealityKit causes App protocol to fail:
|
|
93
|
-
// Type 'VisionProApp' does not conform to protocol 'App'
|
|
94
|
-
// (likely expected, just interesting)
|
|
95
|
-
//import RealityKit
|