@triniwiz/nativescript-masonkit 1.0.0-beta.96 → 1.0.0-beta.98
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/DOCS.md +41 -23
- package/README.md +15 -0
- package/angular/fesm2022/triniwiz-nativescript-masonkit-angular.mjs +30 -1
- package/angular/fesm2022/triniwiz-nativescript-masonkit-angular.mjs.map +1 -1
- package/common.js +23 -131
- package/common.js.map +1 -1
- package/framework-registry.d.ts +50 -0
- package/framework-registry.js +176 -0
- package/framework-registry.js.map +1 -0
- package/index.android.d.ts +1 -0
- package/index.android.js +1 -0
- package/index.android.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.ios.d.ts +1 -0
- package/index.ios.js +1 -0
- package/index.ios.js.map +1 -1
- package/index.windows.d.ts +1 -0
- package/index.windows.js +1 -0
- package/index.windows.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +5 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +5 -2
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +36460 -27573
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +7790 -7739
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +5 -2039
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +36460 -27573
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +36460 -27573
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +14 -80
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +7785 -7734
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Headers/Mason-Swift.h +5 -2
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.abi.json +36460 -27573
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.private.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/xros-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +7286 -7233
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Headers/Mason-Swift.h +5 -2
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-xros-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.abi.json +36460 -27573
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.private.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.swiftinterface +204 -201
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/_CodeSignature/CodeResources +14 -14
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +7286 -7233
- package/properties.js +1 -1
- package/properties.js.map +1 -1
- package/references.d.ts +5 -0
- package/style.d.ts +4 -4
- package/style.js +18 -3
- package/style.js.map +1 -1
- package/text-runs.d.ts +23 -0
- package/text-runs.js +65 -0
- package/text-runs.js.map +1 -0
- package/typings/android.d.ts +7327 -0
- package/typings/objc!Mason.d.ts +3963 -0
- package/typings/objc!ObjectiveC.d.ts +1640 -0
- package/typings/windows.d.ts +330 -0
- package/utils/index.android.d.ts +5 -2
- package/utils/index.android.js.map +1 -1
- package/utils/index.ios.d.ts +5 -2
- package/utils/index.ios.js.map +1 -1
- package/utils/index.windows.d.ts +5 -2
- package/utils/index.windows.js +5 -2
- package/utils/index.windows.js.map +1 -1
- package/vue/README.md +66 -0
- package/vue/index.d.ts +4 -0
- package/vue/index.d.ts.map +1 -0
- package/vue/index.js +3 -0
- package/vue/index.js.map +1 -0
- package/vue/package.json +39 -0
- package/vue/src/element-registry.d.ts +18 -0
- package/vue/src/element-registry.d.ts.map +1 -0
- package/vue/src/element-registry.js +56 -0
- package/vue/src/element-registry.js.map +1 -0
- package/vue/src/mason-meta.d.ts +7 -0
- package/vue/src/mason-meta.d.ts.map +1 -0
- package/vue/src/mason-meta.js +91 -0
- package/vue/src/mason-meta.js.map +1 -0
- package/web.js +11 -1
- package/web.js.map +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +0 -8201
|
@@ -0,0 +1,1640 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* @since 2.0
|
|
4
|
+
*/
|
|
5
|
+
declare class NSObject implements NSObjectProtocol {
|
|
6
|
+
|
|
7
|
+
static alloc(): NSObject;
|
|
8
|
+
|
|
9
|
+
static automaticallyNotifiesObserversForKey(key: string): boolean;
|
|
10
|
+
|
|
11
|
+
static cancelPreviousPerformRequestsWithTarget(aTarget: any): void;
|
|
12
|
+
|
|
13
|
+
static cancelPreviousPerformRequestsWithTargetSelectorObject(aTarget: any, aSelector: string, anArgument: any): void;
|
|
14
|
+
|
|
15
|
+
static class(): typeof NSObject;
|
|
16
|
+
|
|
17
|
+
static classFallbacksForKeyedArchiver(): NSArray<string>;
|
|
18
|
+
|
|
19
|
+
static classForKeyedUnarchiver(): typeof NSObject;
|
|
20
|
+
|
|
21
|
+
static conformsToProtocol(protocol: any /* Protocol */): boolean;
|
|
22
|
+
|
|
23
|
+
static copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
|
|
24
|
+
|
|
25
|
+
static debugDescription(): string;
|
|
26
|
+
|
|
27
|
+
static description(): string;
|
|
28
|
+
|
|
29
|
+
static hash(): number;
|
|
30
|
+
|
|
31
|
+
static initialize(): void;
|
|
32
|
+
|
|
33
|
+
static instanceMethodForSelector(aSelector: string): interop.FunctionReference<() => void>;
|
|
34
|
+
|
|
35
|
+
static instanceMethodSignatureForSelector(aSelector: string): NSMethodSignature;
|
|
36
|
+
|
|
37
|
+
static instancesRespondToSelector(aSelector: string): boolean;
|
|
38
|
+
|
|
39
|
+
static isSubclassOfClass(aClass: typeof NSObject): boolean;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @since 2.0
|
|
43
|
+
*/
|
|
44
|
+
static keyPathsForValuesAffectingValueForKey(key: string): NSSet<string>;
|
|
45
|
+
|
|
46
|
+
static load(): void;
|
|
47
|
+
|
|
48
|
+
static mutableCopyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
|
|
49
|
+
|
|
50
|
+
static new(): NSObject;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @since 2.0
|
|
54
|
+
*/
|
|
55
|
+
static resolveClassMethod(sel: string): boolean;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @since 2.0
|
|
59
|
+
*/
|
|
60
|
+
static resolveInstanceMethod(sel: string): boolean;
|
|
61
|
+
|
|
62
|
+
static setVersion(aVersion: number): void;
|
|
63
|
+
|
|
64
|
+
static superclass(): typeof NSObject;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @since 2.0
|
|
68
|
+
* @deprecated 2.0
|
|
69
|
+
*/
|
|
70
|
+
static useStoredAccessor(): boolean;
|
|
71
|
+
|
|
72
|
+
static version(): number;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @since 17.0
|
|
76
|
+
*/
|
|
77
|
+
accessibilityActivateBlock: () => boolean;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @since 5.0
|
|
81
|
+
*/
|
|
82
|
+
accessibilityActivationPoint: CGPoint;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @since 17.0
|
|
86
|
+
*/
|
|
87
|
+
accessibilityActivationPointBlock: () => CGPoint;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @since 11.0
|
|
91
|
+
*/
|
|
92
|
+
accessibilityAttributedHint: NSAttributedString;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @since 17.0
|
|
96
|
+
*/
|
|
97
|
+
accessibilityAttributedHintBlock: () => NSAttributedString;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @since 11.0
|
|
101
|
+
*/
|
|
102
|
+
accessibilityAttributedLabel: NSAttributedString;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @since 17.0
|
|
106
|
+
*/
|
|
107
|
+
accessibilityAttributedLabelBlock: () => NSAttributedString;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @since 13.0
|
|
111
|
+
*/
|
|
112
|
+
accessibilityAttributedUserInputLabels: NSArray<NSAttributedString>;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @since 17.0
|
|
116
|
+
*/
|
|
117
|
+
accessibilityAttributedUserInputLabelsBlock: () => NSArray<NSAttributedString>;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @since 11.0
|
|
121
|
+
*/
|
|
122
|
+
accessibilityAttributedValue: NSAttributedString;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @since 17.0
|
|
126
|
+
*/
|
|
127
|
+
accessibilityAttributedValueBlock: () => NSAttributedString;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @since 11.0
|
|
131
|
+
*/
|
|
132
|
+
accessibilityContainerType: UIAccessibilityContainerType;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @since 17.0
|
|
136
|
+
*/
|
|
137
|
+
accessibilityContainerTypeBlock: () => UIAccessibilityContainerType;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @since 8.0
|
|
141
|
+
*/
|
|
142
|
+
accessibilityCustomActions: NSArray<UIAccessibilityCustomAction>;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @since 17.0
|
|
146
|
+
*/
|
|
147
|
+
accessibilityCustomActionsBlock: () => NSArray<UIAccessibilityCustomAction>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @since 10.0
|
|
151
|
+
*/
|
|
152
|
+
accessibilityCustomRotors: NSArray<UIAccessibilityCustomRotor>;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @since 17.0
|
|
156
|
+
*/
|
|
157
|
+
accessibilityCustomRotorsBlock: () => NSArray<UIAccessibilityCustomRotor>;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @since 17.0
|
|
161
|
+
*/
|
|
162
|
+
accessibilityDecrementBlock: () => void;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @since 17.0
|
|
166
|
+
*/
|
|
167
|
+
accessibilityDirectTouchOptions: UIAccessibilityDirectTouchOptions;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @since 11.0
|
|
171
|
+
*/
|
|
172
|
+
accessibilityDragSourceDescriptors: NSArray<UIAccessibilityLocationDescriptor>;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @since 11.0
|
|
176
|
+
*/
|
|
177
|
+
accessibilityDropPointDescriptors: NSArray<UIAccessibilityLocationDescriptor>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @since 8.0
|
|
181
|
+
*/
|
|
182
|
+
accessibilityElements: NSArray<any>;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @since 17.0
|
|
186
|
+
*/
|
|
187
|
+
accessibilityElementsBlock: () => NSArray<any>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @since 5.0
|
|
191
|
+
*/
|
|
192
|
+
accessibilityElementsHidden: boolean;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @since 17.0
|
|
196
|
+
*/
|
|
197
|
+
accessibilityElementsHiddenBlock: () => boolean;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @since 18.0
|
|
201
|
+
*/
|
|
202
|
+
accessibilityExpandedStatus: UIAccessibilityExpandedStatus;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @since 18.0
|
|
206
|
+
*/
|
|
207
|
+
accessibilityExpandedStatusBlock: () => UIAccessibilityExpandedStatus;
|
|
208
|
+
|
|
209
|
+
accessibilityFrame: CGRect;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @since 17.0
|
|
213
|
+
*/
|
|
214
|
+
accessibilityFrameBlock: () => CGRect;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @since 17.0
|
|
218
|
+
*/
|
|
219
|
+
accessibilityHeaderElementsBlock: () => NSArray<any>;
|
|
220
|
+
|
|
221
|
+
accessibilityHint: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @since 17.0
|
|
225
|
+
*/
|
|
226
|
+
accessibilityHintBlock: () => string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @since 17.0
|
|
230
|
+
*/
|
|
231
|
+
accessibilityIdentifierBlock: () => string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @since 17.0
|
|
235
|
+
*/
|
|
236
|
+
accessibilityIncrementBlock: () => void;
|
|
237
|
+
|
|
238
|
+
accessibilityLabel: string;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @since 17.0
|
|
242
|
+
*/
|
|
243
|
+
accessibilityLabelBlock: () => string;
|
|
244
|
+
|
|
245
|
+
accessibilityLanguage: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @since 17.0
|
|
249
|
+
*/
|
|
250
|
+
accessibilityLanguageBlock: () => string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @since 17.0
|
|
254
|
+
*/
|
|
255
|
+
accessibilityMagicTapBlock: () => boolean;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @since 8.0
|
|
259
|
+
*/
|
|
260
|
+
accessibilityNavigationStyle: UIAccessibilityNavigationStyle;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @since 17.0
|
|
264
|
+
*/
|
|
265
|
+
accessibilityNavigationStyleBlock: () => UIAccessibilityNavigationStyle;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @since 18.0
|
|
269
|
+
*/
|
|
270
|
+
accessibilityNextTextNavigationElement: any;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @since 18.0
|
|
274
|
+
*/
|
|
275
|
+
accessibilityNextTextNavigationElementBlock: () => any;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @since 7.0
|
|
279
|
+
*/
|
|
280
|
+
accessibilityPath: UIBezierPath;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @since 17.0
|
|
284
|
+
*/
|
|
285
|
+
accessibilityPathBlock: () => UIBezierPath;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @since 17.0
|
|
289
|
+
*/
|
|
290
|
+
accessibilityPerformEscapeBlock: () => boolean;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @since 18.0
|
|
294
|
+
*/
|
|
295
|
+
accessibilityPreviousTextNavigationElement: any;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @since 18.0
|
|
299
|
+
*/
|
|
300
|
+
accessibilityPreviousTextNavigationElementBlock: () => any;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @since 13.0
|
|
304
|
+
*/
|
|
305
|
+
accessibilityRespondsToUserInteraction: boolean;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* @since 17.0
|
|
309
|
+
*/
|
|
310
|
+
accessibilityRespondsToUserInteractionBlock: () => boolean;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* @since 17.0
|
|
314
|
+
*/
|
|
315
|
+
accessibilityShouldGroupAccessibilityChildrenBlock: () => boolean;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @since 18.1
|
|
319
|
+
*/
|
|
320
|
+
accessibilityTextInputResponder: UITextInput;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @since 18.1
|
|
324
|
+
*/
|
|
325
|
+
accessibilityTextInputResponderBlock: () => UITextInput;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @since 13.0
|
|
329
|
+
*/
|
|
330
|
+
accessibilityTextualContext: string;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @since 17.0
|
|
334
|
+
*/
|
|
335
|
+
accessibilityTextualContextBlock: () => string;
|
|
336
|
+
|
|
337
|
+
accessibilityTraits: number;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @since 17.0
|
|
341
|
+
*/
|
|
342
|
+
accessibilityTraitsBlock: () => number;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @since 13.0
|
|
346
|
+
*/
|
|
347
|
+
accessibilityUserInputLabels: NSArray<string>;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @since 17.0
|
|
351
|
+
*/
|
|
352
|
+
accessibilityUserInputLabelsBlock: () => NSArray<string>;
|
|
353
|
+
|
|
354
|
+
accessibilityValue: string;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @since 17.0
|
|
358
|
+
*/
|
|
359
|
+
accessibilityValueBlock: () => string;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* @since 5.0
|
|
363
|
+
*/
|
|
364
|
+
accessibilityViewIsModal: boolean;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @since 17.0
|
|
368
|
+
*/
|
|
369
|
+
accessibilityViewIsModalBlock: () => boolean;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @since 4.0
|
|
373
|
+
*/
|
|
374
|
+
readonly autoContentAccessingProxy: any;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @since 17.0
|
|
378
|
+
*/
|
|
379
|
+
automationElements: NSArray<any>;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* @since 17.0
|
|
383
|
+
*/
|
|
384
|
+
automationElementsBlock: () => NSArray<any>;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* @since 18.0
|
|
388
|
+
*/
|
|
389
|
+
browserAccessibilityContainerType: BEAccessibilityContainerType;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* @since 18.0
|
|
393
|
+
*/
|
|
394
|
+
browserAccessibilityCurrentStatus: string;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @since 18.0
|
|
398
|
+
*/
|
|
399
|
+
browserAccessibilityHasDOMFocus: boolean;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @since 18.0
|
|
403
|
+
*/
|
|
404
|
+
browserAccessibilityIsRequired: boolean;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @since 18.0
|
|
408
|
+
*/
|
|
409
|
+
browserAccessibilityPressedState: BEAccessibilityPressedState;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* @since 18.0
|
|
413
|
+
*/
|
|
414
|
+
browserAccessibilityRoleDescription: string;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @since 18.0
|
|
418
|
+
*/
|
|
419
|
+
browserAccessibilitySortDirection: string;
|
|
420
|
+
|
|
421
|
+
readonly classForCoder: typeof NSObject;
|
|
422
|
+
|
|
423
|
+
readonly classForKeyedArchiver: typeof NSObject;
|
|
424
|
+
|
|
425
|
+
isAccessibilityElement: boolean;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* @since 17.0
|
|
429
|
+
*/
|
|
430
|
+
isAccessibilityElementBlock: () => boolean;
|
|
431
|
+
|
|
432
|
+
mason_innerHTML: string;
|
|
433
|
+
|
|
434
|
+
observationInfo: interop.Pointer | interop.Reference<any>;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* @since 6.0
|
|
438
|
+
*/
|
|
439
|
+
shouldGroupAccessibilityChildren: boolean;
|
|
440
|
+
|
|
441
|
+
static readonly accessInstanceVariablesDirectly: boolean;
|
|
442
|
+
|
|
443
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
444
|
+
|
|
445
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
446
|
+
|
|
447
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
448
|
+
|
|
449
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
450
|
+
|
|
451
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
452
|
+
|
|
453
|
+
readonly // inherited from NSObjectProtocol
|
|
454
|
+
|
|
455
|
+
constructor();
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* @since 7.0
|
|
459
|
+
*/
|
|
460
|
+
accessibilityActivate(): boolean;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* @since 9.0
|
|
464
|
+
*/
|
|
465
|
+
accessibilityAssistiveTechnologyFocusedIdentifiers(): NSSet<string>;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* @since 4.0
|
|
469
|
+
*/
|
|
470
|
+
accessibilityDecrement(): void;
|
|
471
|
+
|
|
472
|
+
accessibilityElementAtIndex(index: number): any;
|
|
473
|
+
|
|
474
|
+
accessibilityElementCount(): number;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* @since 4.0
|
|
478
|
+
*/
|
|
479
|
+
accessibilityElementDidBecomeFocused(): void;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* @since 4.0
|
|
483
|
+
*/
|
|
484
|
+
accessibilityElementDidLoseFocus(): void;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* @since 4.0
|
|
488
|
+
*/
|
|
489
|
+
accessibilityElementIsFocused(): boolean;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* @since 18.0
|
|
493
|
+
*/
|
|
494
|
+
accessibilityHitTestWithEvent(point: CGPoint, event: _UIEvent): any;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @since 4.0
|
|
498
|
+
*/
|
|
499
|
+
accessibilityIncrement(): void;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @since 18.2
|
|
503
|
+
*/
|
|
504
|
+
accessibilityLineEndPositionFromCurrentSelection(): number;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @since 18.2
|
|
508
|
+
*/
|
|
509
|
+
accessibilityLineRangeForPosition(position: number): NSRange;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* @since 18.2
|
|
513
|
+
*/
|
|
514
|
+
accessibilityLineStartPositionFromCurrentSelection(): number;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @since 5.0
|
|
518
|
+
*/
|
|
519
|
+
accessibilityPerformEscape(): boolean;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* @since 6.0
|
|
523
|
+
*/
|
|
524
|
+
accessibilityPerformMagicTap(): boolean;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @since 4.2
|
|
528
|
+
*/
|
|
529
|
+
accessibilityScroll(direction: UIAccessibilityScrollDirection): boolean;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* @since 17.0
|
|
533
|
+
*/
|
|
534
|
+
accessibilityZoomInAtPoint(point: CGPoint): boolean;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* @since 17.0
|
|
538
|
+
*/
|
|
539
|
+
accessibilityZoomOutAtPoint(point: CGPoint): boolean;
|
|
540
|
+
|
|
541
|
+
addObserverForKeyPathOptionsContext(observer: NSObject, keyPath: string, options: NSKeyValueObservingOptions, context: interop.Pointer | interop.Reference<any>): void;
|
|
542
|
+
|
|
543
|
+
attemptRecoveryFromErrorOptionIndex(error: NSError, recoveryOptionIndex: number): boolean;
|
|
544
|
+
|
|
545
|
+
attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo(error: NSError, recoveryOptionIndex: number, delegate: any, didRecoverSelector: string, contextInfo: interop.Pointer | interop.Reference<any>): void;
|
|
546
|
+
|
|
547
|
+
awakeAfterUsingCoder(coder: NSCoder): any;
|
|
548
|
+
|
|
549
|
+
awakeFromNib(): void;
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* @since 18.0
|
|
553
|
+
*/
|
|
554
|
+
browserAccessibilityAttributedValueInRange(range: NSRange): NSAttributedString;
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* @since 18.0
|
|
558
|
+
*/
|
|
559
|
+
browserAccessibilityDeleteTextAtCursor(numberOfCharacters: number): void;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* @since 18.0
|
|
563
|
+
*/
|
|
564
|
+
browserAccessibilityInsertTextAtCursor(text: string): void;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @since 18.0
|
|
568
|
+
*/
|
|
569
|
+
browserAccessibilitySelectedTextRange(): NSRange;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @since 18.0
|
|
573
|
+
*/
|
|
574
|
+
browserAccessibilitySetSelectedTextRange(range: NSRange): void;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* @since 18.0
|
|
578
|
+
*/
|
|
579
|
+
browserAccessibilityValueInRange(range: NSRange): string;
|
|
580
|
+
|
|
581
|
+
class(): typeof NSObject;
|
|
582
|
+
|
|
583
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
584
|
+
|
|
585
|
+
copy(): any;
|
|
586
|
+
|
|
587
|
+
dealloc(): void;
|
|
588
|
+
|
|
589
|
+
dictionaryWithValuesForKeys(keys: NSArray<string> | string[]): NSDictionary<string, any>;
|
|
590
|
+
|
|
591
|
+
didChangeValueForKey(key: string): void;
|
|
592
|
+
|
|
593
|
+
didChangeValueForKeyWithSetMutationUsingObjects(key: string, mutationKind: NSKeyValueSetMutationKind, objects: NSSet<any>): void;
|
|
594
|
+
|
|
595
|
+
didChangeValuesAtIndexesForKey(changeKind: NSKeyValueChange, indexes: NSIndexSet, key: string): void;
|
|
596
|
+
|
|
597
|
+
doesNotRecognizeSelector(aSelector: string): void;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* @since 2.0
|
|
601
|
+
* @deprecated 2.0
|
|
602
|
+
*/
|
|
603
|
+
fileManagerShouldProceedAfterError(fm: NSFileManager, errorInfo: NSDictionary<any, any>): boolean;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @since 2.0
|
|
607
|
+
* @deprecated 2.0
|
|
608
|
+
*/
|
|
609
|
+
fileManagerWillProcessPath(fm: NSFileManager, path: string): void;
|
|
610
|
+
|
|
611
|
+
finalize(): void;
|
|
612
|
+
|
|
613
|
+
forwardInvocation(anInvocation: NSInvocation): void;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @since 2.0
|
|
617
|
+
*/
|
|
618
|
+
forwardingTargetForSelector(aSelector: string): any;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* @since 2.0
|
|
622
|
+
* @deprecated 2.0
|
|
623
|
+
*/
|
|
624
|
+
handleQueryWithUnboundKey(key: string): any;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* @since 2.0
|
|
628
|
+
* @deprecated 2.0
|
|
629
|
+
*/
|
|
630
|
+
handleTakeValueForUnboundKey(value: any, key: string): void;
|
|
631
|
+
|
|
632
|
+
indexOfAccessibilityElement(element: any): number;
|
|
633
|
+
|
|
634
|
+
init(): this;
|
|
635
|
+
|
|
636
|
+
isEqual(object: any): boolean;
|
|
637
|
+
|
|
638
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
639
|
+
|
|
640
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
641
|
+
|
|
642
|
+
mason_addChildAtElement(element: MasonElementObjc, index: number): void;
|
|
643
|
+
|
|
644
|
+
mason_addChildAtNode(node: MasonNode, index: number): void;
|
|
645
|
+
|
|
646
|
+
mason_addChildAtText(text: string, index: number): void;
|
|
647
|
+
|
|
648
|
+
mason_addEventListener(event: string, listener: (p1: MasonEvent) => void): NSUUID;
|
|
649
|
+
|
|
650
|
+
mason_addView(view: UIView): void;
|
|
651
|
+
|
|
652
|
+
mason_addViewAt(view: UIView, at: number): void;
|
|
653
|
+
|
|
654
|
+
mason_append(element: MasonElementObjc): void;
|
|
655
|
+
|
|
656
|
+
mason_appendWithElements(elements: NSArray<MasonElementObjc> | MasonElementObjc[]): void;
|
|
657
|
+
|
|
658
|
+
mason_appendWithNode(node: MasonNode): void;
|
|
659
|
+
|
|
660
|
+
mason_appendWithNodes(nodes: NSArray<MasonNode> | MasonNode[]): void;
|
|
661
|
+
|
|
662
|
+
mason_appendWithText(text: string): void;
|
|
663
|
+
|
|
664
|
+
mason_appendWithTexts(texts: NSArray<string> | string[]): void;
|
|
665
|
+
|
|
666
|
+
mason_attachAndApply(): void;
|
|
667
|
+
|
|
668
|
+
mason_compute(): void;
|
|
669
|
+
|
|
670
|
+
mason_computeMaxContent(): void;
|
|
671
|
+
|
|
672
|
+
mason_computeMinContent(): void;
|
|
673
|
+
|
|
674
|
+
mason_computeWithMaxContent(): void;
|
|
675
|
+
|
|
676
|
+
mason_computeWithMinContent(): void;
|
|
677
|
+
|
|
678
|
+
mason_computeWithSize(width: number, height: number): void;
|
|
679
|
+
|
|
680
|
+
mason_computeWithViewSize(): void;
|
|
681
|
+
|
|
682
|
+
mason_computeWithViewSizeWithLayout(layout: boolean): void;
|
|
683
|
+
|
|
684
|
+
mason_computeWithWidthHeight(width: number, height: number): void;
|
|
685
|
+
|
|
686
|
+
mason_configure(block: (p1: MasonStyle) => void): void;
|
|
687
|
+
|
|
688
|
+
mason_dispatch(event: MasonEvent): void;
|
|
689
|
+
|
|
690
|
+
mason_invalidateLayout(): void;
|
|
691
|
+
|
|
692
|
+
mason_isNodeDirty(): boolean;
|
|
693
|
+
|
|
694
|
+
mason_layout(): MasonLayout;
|
|
695
|
+
|
|
696
|
+
mason_markNodeDirty(): void;
|
|
697
|
+
|
|
698
|
+
mason_prepend(element: MasonElementObjc): void;
|
|
699
|
+
|
|
700
|
+
mason_prependWithElements(elements: NSArray<MasonElementObjc> | MasonElementObjc[]): void;
|
|
701
|
+
|
|
702
|
+
mason_prependWithNode(node: MasonNode): void;
|
|
703
|
+
|
|
704
|
+
mason_prependWithNodes(nodes: NSArray<MasonNode> | MasonNode[]): void;
|
|
705
|
+
|
|
706
|
+
mason_prependWithText(text: string): void;
|
|
707
|
+
|
|
708
|
+
mason_prependWithTexts(texts: NSArray<string> | string[]): void;
|
|
709
|
+
|
|
710
|
+
mason_removeEventListener(event: string): boolean;
|
|
711
|
+
|
|
712
|
+
mason_removeEventListenerId(event: string, id: NSUUID): boolean;
|
|
713
|
+
|
|
714
|
+
mason_replaceChildAtElement(element: MasonElementObjc, index: number): void;
|
|
715
|
+
|
|
716
|
+
mason_replaceChildAtNode(node: MasonNode, index: number): void;
|
|
717
|
+
|
|
718
|
+
mason_replaceChildAtText(text: string, index: number): void;
|
|
719
|
+
|
|
720
|
+
mason_requestLayout(): void;
|
|
721
|
+
|
|
722
|
+
mason_syncStyle(low: string, high: string): void;
|
|
723
|
+
|
|
724
|
+
methodForSelector(aSelector: string): interop.FunctionReference<() => void>;
|
|
725
|
+
|
|
726
|
+
methodSignatureForSelector(aSelector: string): NSMethodSignature;
|
|
727
|
+
|
|
728
|
+
mutableArrayValueForKey(key: string): NSMutableArray<any>;
|
|
729
|
+
|
|
730
|
+
mutableArrayValueForKeyPath(keyPath: string): NSMutableArray<any>;
|
|
731
|
+
|
|
732
|
+
mutableCopy(): any;
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* @since 5.0
|
|
736
|
+
*/
|
|
737
|
+
mutableOrderedSetValueForKey(key: string): NSMutableOrderedSet<any>;
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* @since 5.0
|
|
741
|
+
*/
|
|
742
|
+
mutableOrderedSetValueForKeyPath(keyPath: string): NSMutableOrderedSet<any>;
|
|
743
|
+
|
|
744
|
+
mutableSetValueForKey(key: string): NSMutableSet<any>;
|
|
745
|
+
|
|
746
|
+
mutableSetValueForKeyPath(keyPath: string): NSMutableSet<any>;
|
|
747
|
+
|
|
748
|
+
observeValueForKeyPathOfObjectChangeContext(keyPath: string, object: any, change: NSDictionary<string, any>, context: interop.Pointer | interop.Reference<any>): void;
|
|
749
|
+
|
|
750
|
+
performSelector(aSelector: string): any;
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* @since 2.0
|
|
754
|
+
*/
|
|
755
|
+
performSelectorInBackgroundWithObject(aSelector: string, arg: any): void;
|
|
756
|
+
|
|
757
|
+
performSelectorOnMainThreadWithObjectWaitUntilDone(aSelector: string, arg: any, wait: boolean): void;
|
|
758
|
+
|
|
759
|
+
performSelectorOnMainThreadWithObjectWaitUntilDoneModes(aSelector: string, arg: any, wait: boolean, array: NSArray<string> | string[]): void;
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* @since 2.0
|
|
763
|
+
*/
|
|
764
|
+
performSelectorOnThreadWithObjectWaitUntilDone(aSelector: string, thr: NSThread, arg: any, wait: boolean): void;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* @since 2.0
|
|
768
|
+
*/
|
|
769
|
+
performSelectorOnThreadWithObjectWaitUntilDoneModes(aSelector: string, thr: NSThread, arg: any, wait: boolean, array: NSArray<string> | string[]): void;
|
|
770
|
+
|
|
771
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
772
|
+
|
|
773
|
+
performSelectorWithObjectAfterDelay(aSelector: string, anArgument: any, delay: number): void;
|
|
774
|
+
|
|
775
|
+
performSelectorWithObjectAfterDelayInModes(aSelector: string, anArgument: any, delay: number, modes: NSArray<string> | string[]): void;
|
|
776
|
+
|
|
777
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* @since 8.0
|
|
781
|
+
*/
|
|
782
|
+
prepareForInterfaceBuilder(): void;
|
|
783
|
+
|
|
784
|
+
provideImageDataBytesPerRowOriginSizeUserInfo(data: interop.Pointer | interop.Reference<any>, rowbytes: number, originx: number, originy: number, width: number, height: number, info: any): void;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* @since 19.0
|
|
788
|
+
*/
|
|
789
|
+
provideImageToMTLTextureCommandBufferOriginxOriginyWidthHeightUserInfo(texture: MTLTexture, commandBuffer: MTLCommandBuffer, originx: number, originy: number, width: number, height: number, info: any): void;
|
|
790
|
+
|
|
791
|
+
removeObserverForKeyPath(observer: NSObject, keyPath: string): void;
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* @since 5.0
|
|
795
|
+
*/
|
|
796
|
+
removeObserverForKeyPathContext(observer: NSObject, keyPath: string, context: interop.Pointer | interop.Reference<any>): void;
|
|
797
|
+
|
|
798
|
+
replacementObjectForCoder(coder: NSCoder): any;
|
|
799
|
+
|
|
800
|
+
replacementObjectForKeyedArchiver(archiver: NSKeyedArchiver): any;
|
|
801
|
+
|
|
802
|
+
respondsToSelector(aSelector: string): boolean;
|
|
803
|
+
|
|
804
|
+
retainCount(): number;
|
|
805
|
+
|
|
806
|
+
self(): this;
|
|
807
|
+
|
|
808
|
+
setNilValueForKey(key: string): void;
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @since 18.0
|
|
812
|
+
*/
|
|
813
|
+
setSharedObservers(sharedObservers: NSKeyValueSharedObserversSnapshot): void;
|
|
814
|
+
|
|
815
|
+
setValueForKey(value: any, key: string): void;
|
|
816
|
+
|
|
817
|
+
setValueForKeyPath(value: any, keyPath: string): void;
|
|
818
|
+
|
|
819
|
+
setValueForUndefinedKey(value: any, key: string): void;
|
|
820
|
+
|
|
821
|
+
setValuesForKeysWithDictionary(keyedValues: NSDictionary<string, any>): void;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* @since 2.0
|
|
825
|
+
* @deprecated 2.0
|
|
826
|
+
*/
|
|
827
|
+
storedValueForKey(key: string): any;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* @since 2.0
|
|
831
|
+
* @deprecated 2.0
|
|
832
|
+
*/
|
|
833
|
+
takeStoredValueForKey(value: any, key: string): void;
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* @since 2.0
|
|
837
|
+
* @deprecated 2.0
|
|
838
|
+
*/
|
|
839
|
+
takeValueForKey(value: any, key: string): void;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* @since 2.0
|
|
843
|
+
* @deprecated 2.0
|
|
844
|
+
*/
|
|
845
|
+
takeValueForKeyPath(value: any, keyPath: string): void;
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* @since 2.0
|
|
849
|
+
* @deprecated 2.0
|
|
850
|
+
*/
|
|
851
|
+
takeValuesFromDictionary(properties: NSDictionary<any, any>): void;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* @since 2.0
|
|
855
|
+
* @deprecated 2.0
|
|
856
|
+
*/
|
|
857
|
+
unableToSetNilForKey(key: string): void;
|
|
858
|
+
|
|
859
|
+
validateValueForKeyError(ioValue: interop.Pointer | interop.Reference<any>, inKey: string, error?: interop.Reference<NSError>): boolean;
|
|
860
|
+
|
|
861
|
+
validateValueForKeyPathError(ioValue: interop.Pointer | interop.Reference<any>, inKeyPath: string, error?: interop.Reference<NSError>): boolean;
|
|
862
|
+
|
|
863
|
+
valueForKey(key: string): any;
|
|
864
|
+
|
|
865
|
+
valueForKeyPath(keyPath: string): any;
|
|
866
|
+
|
|
867
|
+
valueForUndefinedKey(key: string): any;
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* @since 2.0
|
|
871
|
+
* @deprecated 2.0
|
|
872
|
+
*/
|
|
873
|
+
valuesForKeys(keys: NSArray<any> | any[]): NSDictionary<any, any>;
|
|
874
|
+
|
|
875
|
+
willChangeValueForKey(key: string): void;
|
|
876
|
+
|
|
877
|
+
willChangeValueForKeyWithSetMutationUsingObjects(key: string, mutationKind: NSKeyValueSetMutationKind, objects: NSSet<any>): void;
|
|
878
|
+
|
|
879
|
+
willChangeValuesAtIndexesForKey(changeKind: NSKeyValueChange, indexes: NSIndexSet, key: string): void;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
interface NSObjectProtocol {
|
|
883
|
+
|
|
884
|
+
debugDescription?: string;
|
|
885
|
+
|
|
886
|
+
description: string;
|
|
887
|
+
|
|
888
|
+
hash: number;
|
|
889
|
+
|
|
890
|
+
isProxy: boolean;
|
|
891
|
+
|
|
892
|
+
superclass: typeof NSObject;
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
class(): typeof NSObject;
|
|
897
|
+
|
|
898
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
899
|
+
|
|
900
|
+
isEqual(object: any): boolean;
|
|
901
|
+
|
|
902
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
903
|
+
|
|
904
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
905
|
+
|
|
906
|
+
performSelector(aSelector: string): any;
|
|
907
|
+
|
|
908
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
909
|
+
|
|
910
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
911
|
+
|
|
912
|
+
respondsToSelector(aSelector: string): boolean;
|
|
913
|
+
|
|
914
|
+
retainCount(): number;
|
|
915
|
+
|
|
916
|
+
self(): NSObjectProtocol;
|
|
917
|
+
}
|
|
918
|
+
declare var NSObjectProtocol: {
|
|
919
|
+
|
|
920
|
+
prototype: NSObjectProtocol;
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
declare const OBJC_CLEAR_RESIDENT_STACK: number;
|
|
924
|
+
|
|
925
|
+
declare const OBJC_COLLECT_IF_NEEDED: number;
|
|
926
|
+
|
|
927
|
+
declare const OBJC_EXHAUSTIVE_COLLECTION: number;
|
|
928
|
+
|
|
929
|
+
declare const OBJC_FULL_COLLECTION: number;
|
|
930
|
+
|
|
931
|
+
declare const OBJC_GENERATIONAL_COLLECTION: number;
|
|
932
|
+
|
|
933
|
+
declare const OBJC_RATIO_COLLECTION: number;
|
|
934
|
+
|
|
935
|
+
declare const OBJC_SYNC_NOT_OWNING_THREAD_ERROR: number;
|
|
936
|
+
|
|
937
|
+
declare const OBJC_SYNC_SUCCESS: number;
|
|
938
|
+
|
|
939
|
+
declare const OBJC_WAIT_UNTIL_DONE: number;
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* @deprecated 2.0
|
|
943
|
+
*/
|
|
944
|
+
declare function _objc_flush_caches(cls: typeof NSObject): void;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* @since 2.0
|
|
948
|
+
*/
|
|
949
|
+
declare function _objc_msgForward(): void;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* @since 12.2
|
|
953
|
+
*/
|
|
954
|
+
declare function _objc_realizeClassFromSwift(cls: typeof NSObject, previously: interop.Pointer | interop.Reference<any>): typeof NSObject;
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* @since 2.0
|
|
958
|
+
*/
|
|
959
|
+
declare function class_addIvar(cls: typeof NSObject, name: string | interop.Pointer | interop.Reference<any>, size: number, alignment: number, types: string | interop.Pointer | interop.Reference<any>): boolean;
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* @since 2.0
|
|
963
|
+
*/
|
|
964
|
+
declare function class_addMethod(cls: typeof NSObject, name: string, imp: interop.FunctionReference<() => void>, types: string | interop.Pointer | interop.Reference<any>): boolean;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* @since 4.3
|
|
968
|
+
*/
|
|
969
|
+
declare function class_addProperty(cls: typeof NSObject, name: string | interop.Pointer | interop.Reference<any>, attributes: interop.Pointer | interop.Reference<objc_property_attribute_t>, attributeCount: number): boolean;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* @since 2.0
|
|
973
|
+
*/
|
|
974
|
+
declare function class_addProtocol(cls: typeof NSObject, protocol: any /* Protocol */): boolean;
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* @since 2.0
|
|
978
|
+
*/
|
|
979
|
+
declare function class_conformsToProtocol(cls: typeof NSObject, protocol: any /* Protocol */): boolean;
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* @since 2.0
|
|
983
|
+
*/
|
|
984
|
+
declare function class_copyIvarList(cls: typeof NSObject, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>;
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* @since 2.0
|
|
988
|
+
*/
|
|
989
|
+
declare function class_copyMethodList(cls: typeof NSObject, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>;
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* @since 2.0
|
|
993
|
+
*/
|
|
994
|
+
declare function class_copyPropertyList(cls: typeof NSObject, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>;
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* @since 2.0
|
|
998
|
+
*/
|
|
999
|
+
declare function class_copyProtocolList(cls: typeof NSObject, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any /* Protocol */>;
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* @since 2.0
|
|
1003
|
+
*/
|
|
1004
|
+
declare function class_createInstance(cls: typeof NSObject, extraBytes: number): any;
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* @since 2.0
|
|
1008
|
+
*/
|
|
1009
|
+
declare function class_createInstanceFunction(cls: typeof NSObject, extraBytes: number): any;
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* @since 2.0
|
|
1013
|
+
*/
|
|
1014
|
+
declare function class_getClassMethod(cls: typeof NSObject, name: string): interop.Pointer | interop.Reference<any>;
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* @since 2.0
|
|
1018
|
+
*/
|
|
1019
|
+
declare function class_getClassVariable(cls: typeof NSObject, name: string | interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* @since 2.0
|
|
1023
|
+
*/
|
|
1024
|
+
declare function class_getImageName(cls: typeof NSObject): interop.Pointer | interop.Reference<any>;
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* @since 2.0
|
|
1028
|
+
*/
|
|
1029
|
+
declare function class_getInstanceMethod(cls: typeof NSObject, name: string): interop.Pointer | interop.Reference<any>;
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* @since 2.0
|
|
1033
|
+
*/
|
|
1034
|
+
declare function class_getInstanceSize(cls: typeof NSObject): number;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* @since 2.0
|
|
1038
|
+
*/
|
|
1039
|
+
declare function class_getInstanceVariable(cls: typeof NSObject, name: string | interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* @since 2.0
|
|
1043
|
+
*/
|
|
1044
|
+
declare function class_getIvarLayout(cls: typeof NSObject): interop.Pointer | interop.Reference<any>;
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* @since 2.0
|
|
1048
|
+
*/
|
|
1049
|
+
declare function class_getMethodImplementation(cls: typeof NSObject, name: string): interop.FunctionReference<() => void>;
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* @since 2.0
|
|
1053
|
+
*/
|
|
1054
|
+
declare function class_getName(cls: typeof NSObject): interop.Pointer | interop.Reference<any>;
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* @since 2.0
|
|
1058
|
+
*/
|
|
1059
|
+
declare function class_getProperty(cls: typeof NSObject, name: string | interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* @since 2.0
|
|
1063
|
+
*/
|
|
1064
|
+
declare function class_getSuperclass(cls: typeof NSObject): typeof NSObject;
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* @since 2.0
|
|
1068
|
+
*/
|
|
1069
|
+
declare function class_getVersion(cls: typeof NSObject): number;
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* @since 2.0
|
|
1073
|
+
*/
|
|
1074
|
+
declare function class_getWeakIvarLayout(cls: typeof NSObject): interop.Pointer | interop.Reference<any>;
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* @since 2.0
|
|
1078
|
+
*/
|
|
1079
|
+
declare function class_isMetaClass(cls: typeof NSObject): boolean;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* @deprecated 2.0
|
|
1083
|
+
*/
|
|
1084
|
+
declare function class_lookupMethod(cls: typeof NSObject, sel: string): interop.FunctionReference<() => void>;
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* @since 2.0
|
|
1088
|
+
*/
|
|
1089
|
+
declare function class_replaceMethod(cls: typeof NSObject, name: string, imp: interop.FunctionReference<() => void>, types: string | interop.Pointer | interop.Reference<any>): interop.FunctionReference<() => void>;
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* @since 4.3
|
|
1093
|
+
*/
|
|
1094
|
+
declare function class_replaceProperty(cls: typeof NSObject, name: string | interop.Pointer | interop.Reference<any>, attributes: interop.Pointer | interop.Reference<objc_property_attribute_t>, attributeCount: number): void;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* @deprecated 2.0
|
|
1098
|
+
*/
|
|
1099
|
+
declare function class_respondsToMethod(cls: typeof NSObject, sel: string): boolean;
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* @since 2.0
|
|
1103
|
+
*/
|
|
1104
|
+
declare function class_respondsToSelector(cls: typeof NSObject, sel: string): boolean;
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* @since 2.0
|
|
1108
|
+
*/
|
|
1109
|
+
declare function class_setIvarLayout(cls: typeof NSObject, layout: string | interop.Pointer | interop.Reference<any>): void;
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* @deprecated 2.0
|
|
1113
|
+
*/
|
|
1114
|
+
declare function class_setSuperclass(cls: typeof NSObject, newSuper: typeof NSObject): typeof NSObject;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* @since 2.0
|
|
1118
|
+
*/
|
|
1119
|
+
declare function class_setVersion(cls: typeof NSObject, version: number): void;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* @since 2.0
|
|
1123
|
+
*/
|
|
1124
|
+
declare function class_setWeakIvarLayout(cls: typeof NSObject, layout: string | interop.Pointer | interop.Reference<any>): void;
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* @since 4.3
|
|
1128
|
+
*/
|
|
1129
|
+
declare function imp_getBlock(anImp: interop.FunctionReference<() => void>): any;
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @since 4.3
|
|
1133
|
+
*/
|
|
1134
|
+
declare function imp_implementationWithBlock(block: any): interop.FunctionReference<() => void>;
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* @since 4.3
|
|
1138
|
+
*/
|
|
1139
|
+
declare function imp_removeBlock(anImp: interop.FunctionReference<() => void>): boolean;
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* @since 2.0
|
|
1143
|
+
*/
|
|
1144
|
+
declare function ivar_getName(v: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* @since 2.0
|
|
1148
|
+
*/
|
|
1149
|
+
declare function ivar_getOffset(v: interop.Pointer | interop.Reference<any>): number;
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* @since 2.0
|
|
1153
|
+
*/
|
|
1154
|
+
declare function ivar_getTypeEncoding(v: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* @since 2.0
|
|
1158
|
+
*/
|
|
1159
|
+
declare function method_copyArgumentType(m: interop.Pointer | interop.Reference<any>, index: number): interop.Pointer | interop.Reference<any>;
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* @since 2.0
|
|
1163
|
+
*/
|
|
1164
|
+
declare function method_copyReturnType(m: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* @since 2.0
|
|
1168
|
+
*/
|
|
1169
|
+
declare function method_exchangeImplementations(m1: interop.Pointer | interop.Reference<any>, m2: interop.Pointer | interop.Reference<any>): void;
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* @since 2.0
|
|
1173
|
+
*/
|
|
1174
|
+
declare function method_getArgumentType(m: interop.Pointer | interop.Reference<any>, index: number, dst: string | interop.Pointer | interop.Reference<any>, dst_len: number): void;
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* @since 2.0
|
|
1178
|
+
*/
|
|
1179
|
+
declare function method_getDescription(m: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<objc_method_description>;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* @since 2.0
|
|
1183
|
+
*/
|
|
1184
|
+
declare function method_getImplementation(m: interop.Pointer | interop.Reference<any>): interop.FunctionReference<() => void>;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* @since 2.0
|
|
1188
|
+
*/
|
|
1189
|
+
declare function method_getName(m: interop.Pointer | interop.Reference<any>): string;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* @since 2.0
|
|
1193
|
+
*/
|
|
1194
|
+
declare function method_getNumberOfArguments(m: interop.Pointer | interop.Reference<any>): number;
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* @since 2.0
|
|
1198
|
+
*/
|
|
1199
|
+
declare function method_getReturnType(m: interop.Pointer | interop.Reference<any>, dst: string | interop.Pointer | interop.Reference<any>, dst_len: number): void;
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* @since 2.0
|
|
1203
|
+
*/
|
|
1204
|
+
declare function method_getTypeEncoding(m: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* @since 2.0
|
|
1208
|
+
*/
|
|
1209
|
+
declare function method_invoke(): void;
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* @since 2.0
|
|
1213
|
+
*/
|
|
1214
|
+
declare function method_setImplementation(m: interop.Pointer | interop.Reference<any>, imp: interop.FunctionReference<() => void>): interop.FunctionReference<() => void>;
|
|
1215
|
+
|
|
1216
|
+
declare const enum objc_AssociationPolicy {
|
|
1217
|
+
|
|
1218
|
+
OBJC_ASSOCIATION_ASSIGN = 0,
|
|
1219
|
+
|
|
1220
|
+
OBJC_ASSOCIATION_RETAIN_NONATOMIC = 1,
|
|
1221
|
+
|
|
1222
|
+
OBJC_ASSOCIATION_COPY_NONATOMIC = 3,
|
|
1223
|
+
|
|
1224
|
+
OBJC_ASSOCIATION_RETAIN = 769,
|
|
1225
|
+
|
|
1226
|
+
OBJC_ASSOCIATION_COPY = 771
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* @since 13.0
|
|
1231
|
+
*/
|
|
1232
|
+
declare function objc_addLoadImageFunc(func: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<mach_header>) => void>): void;
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* @since 2.0
|
|
1236
|
+
*/
|
|
1237
|
+
declare function objc_allocateClassPair(superclass: typeof NSObject, name: string | interop.Pointer | interop.Reference<any>, extraBytes: number): typeof NSObject;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* @since 4.3
|
|
1241
|
+
*/
|
|
1242
|
+
declare function objc_allocateProtocol(name: string | interop.Pointer | interop.Reference<any>): any /* Protocol */;
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* @since 2.0
|
|
1246
|
+
*/
|
|
1247
|
+
declare function objc_begin_catch(exc_buf: interop.Pointer | interop.Reference<any>): any;
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* @since 3.0
|
|
1251
|
+
*/
|
|
1252
|
+
declare function objc_constructInstance(cls: typeof NSObject, bytes: interop.Pointer | interop.Reference<any>): any;
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* @since 3.1
|
|
1256
|
+
*/
|
|
1257
|
+
declare function objc_copyClassList(outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<typeof NSObject>;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* @since 2.0
|
|
1261
|
+
*/
|
|
1262
|
+
declare function objc_copyClassNamesForImage(image: string | interop.Pointer | interop.Reference<any>, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>;
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* @since 2.0
|
|
1266
|
+
*/
|
|
1267
|
+
declare function objc_copyImageNames(outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* @since 2.0
|
|
1271
|
+
*/
|
|
1272
|
+
declare function objc_copyProtocolList(outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any /* Protocol */>;
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* @since 3.0
|
|
1276
|
+
*/
|
|
1277
|
+
declare function objc_destructInstance(obj: any): interop.Pointer | interop.Reference<any>;
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* @since 2.0
|
|
1281
|
+
*/
|
|
1282
|
+
declare function objc_disposeClassPair(cls: typeof NSObject): void;
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* @since 2.0
|
|
1286
|
+
*/
|
|
1287
|
+
declare function objc_duplicateClass(original: typeof NSObject, name: string | interop.Pointer | interop.Reference<any>, extraBytes: number): typeof NSObject;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* @since 2.0
|
|
1291
|
+
*/
|
|
1292
|
+
declare function objc_end_catch(): void;
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* @since 16.0
|
|
1296
|
+
*/
|
|
1297
|
+
declare function objc_enumerateClasses(image: interop.Pointer | interop.Reference<any>, namePrefix: string | interop.Pointer | interop.Reference<any>, conformingTo: any /* Protocol */, subclassing: typeof NSObject, block: (p1: typeof NSObject, p2: interop.Pointer | interop.Reference<boolean>) => void): void;
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* @since 2.0
|
|
1301
|
+
*/
|
|
1302
|
+
declare function objc_enumerationMutation(obj: any): void;
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* @since 2.0
|
|
1306
|
+
*/
|
|
1307
|
+
declare function objc_exception_rethrow(): void;
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* @since 2.0
|
|
1311
|
+
*/
|
|
1312
|
+
declare function objc_exception_throw(exception: any): void;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* @since 3.1
|
|
1316
|
+
*/
|
|
1317
|
+
declare function objc_getAssociatedObject(object: any, key: interop.Pointer | interop.Reference<any>): any;
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* @since 2.0
|
|
1321
|
+
*/
|
|
1322
|
+
declare function objc_getClass(name: string | interop.Pointer | interop.Reference<any>): any;
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* @since 2.0
|
|
1326
|
+
*/
|
|
1327
|
+
declare function objc_getClassList(buffer: interop.Pointer | interop.Reference<typeof NSObject>, bufferCount: number): number;
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* @since 2.0
|
|
1331
|
+
*/
|
|
1332
|
+
declare function objc_getFutureClass(name: string | interop.Pointer | interop.Reference<any>): typeof NSObject;
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* @since 2.0
|
|
1336
|
+
*/
|
|
1337
|
+
declare function objc_getMetaClass(name: string | interop.Pointer | interop.Reference<any>): any;
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* @since 2.0
|
|
1341
|
+
*/
|
|
1342
|
+
declare function objc_getProtocol(name: string | interop.Pointer | interop.Reference<any>): any /* Protocol */;
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* @since 2.0
|
|
1346
|
+
*/
|
|
1347
|
+
declare function objc_getRequiredClass(name: string | interop.Pointer | interop.Reference<any>): typeof NSObject;
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* @since 5.0
|
|
1351
|
+
*/
|
|
1352
|
+
declare function objc_loadWeak(location: interop.Pointer | interop.Reference<any>): any;
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* @since 2.0
|
|
1356
|
+
*/
|
|
1357
|
+
declare function objc_lookUpClass(name: string | interop.Pointer | interop.Reference<any>): typeof NSObject;
|
|
1358
|
+
|
|
1359
|
+
interface objc_method_description {
|
|
1360
|
+
name: string;
|
|
1361
|
+
types: interop.Pointer | interop.Reference<any>;
|
|
1362
|
+
}
|
|
1363
|
+
declare var objc_method_description: interop.StructType<objc_method_description>;
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* @since 2.0
|
|
1367
|
+
*/
|
|
1368
|
+
declare function objc_msgSend(): void;
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* @since 2.0
|
|
1372
|
+
*/
|
|
1373
|
+
declare function objc_msgSendSuper(): void;
|
|
1374
|
+
|
|
1375
|
+
interface objc_object {
|
|
1376
|
+
isa: typeof NSObject;
|
|
1377
|
+
}
|
|
1378
|
+
declare var objc_object: interop.StructType<objc_object>;
|
|
1379
|
+
|
|
1380
|
+
interface objc_property_attribute_t {
|
|
1381
|
+
name: interop.Pointer | interop.Reference<any>;
|
|
1382
|
+
value: interop.Pointer | interop.Reference<any>;
|
|
1383
|
+
}
|
|
1384
|
+
declare var objc_property_attribute_t: interop.StructType<objc_property_attribute_t>;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* @since 2.0
|
|
1388
|
+
*/
|
|
1389
|
+
declare function objc_registerClassPair(cls: typeof NSObject): void;
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* @since 4.3
|
|
1393
|
+
*/
|
|
1394
|
+
declare function objc_registerProtocol(proto: any /* Protocol */): void;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* @since 3.1
|
|
1398
|
+
*/
|
|
1399
|
+
declare function objc_removeAssociatedObjects(object: any): void;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* @since 3.1
|
|
1403
|
+
*/
|
|
1404
|
+
declare function objc_setAssociatedObject(object: any, key: interop.Pointer | interop.Reference<any>, value: any, policy: objc_AssociationPolicy): void;
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* @since 2.0
|
|
1408
|
+
*/
|
|
1409
|
+
declare function objc_setEnumerationMutationHandler(handler: interop.FunctionReference<(p1: any) => void>): void;
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* @since 2.0
|
|
1413
|
+
*/
|
|
1414
|
+
declare function objc_setExceptionMatcher(fn: interop.FunctionReference<(p1: typeof NSObject, p2: any) => number>): interop.FunctionReference<(p1: typeof NSObject, p2: any) => number>;
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* @since 2.0
|
|
1418
|
+
*/
|
|
1419
|
+
declare function objc_setExceptionPreprocessor(fn: interop.FunctionReference<(p1: any) => any>): interop.FunctionReference<(p1: any) => any>;
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* @since 2.0
|
|
1423
|
+
*/
|
|
1424
|
+
declare function objc_setForwardHandler(fwd: interop.Pointer | interop.Reference<any>, fwd_stret: interop.Pointer | interop.Reference<any>): void;
|
|
1425
|
+
|
|
1426
|
+
/**
|
|
1427
|
+
* @since 12.2
|
|
1428
|
+
*/
|
|
1429
|
+
declare function objc_setHook_getClass(newValue: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: interop.Pointer | interop.Reference<typeof NSObject>) => boolean>, outOldValue: interop.Pointer | interop.Reference<interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: interop.Pointer | interop.Reference<typeof NSObject>) => boolean>>): void;
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* @since 12.0
|
|
1433
|
+
*/
|
|
1434
|
+
declare function objc_setHook_getImageName(newValue: interop.FunctionReference<(p1: typeof NSObject, p2: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>) => boolean>, outOldValue: interop.Pointer | interop.Reference<interop.FunctionReference<(p1: typeof NSObject, p2: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>) => boolean>>): void;
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* @since 14.0
|
|
1438
|
+
*/
|
|
1439
|
+
declare function objc_setHook_lazyClassNamer(newValue: interop.FunctionReference<(p1: typeof NSObject) => interop.Pointer | interop.Reference<any>>, oldOutValue: interop.Pointer | interop.Reference<interop.FunctionReference<(p1: typeof NSObject) => interop.Pointer | interop.Reference<any>>>): void;
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* @since 2.0
|
|
1443
|
+
*/
|
|
1444
|
+
declare function objc_setUncaughtExceptionHandler(fn: interop.FunctionReference<(p1: any) => void>): interop.FunctionReference<(p1: any) => void>;
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* @since 5.0
|
|
1448
|
+
*/
|
|
1449
|
+
declare function objc_storeWeak(location: interop.Pointer | interop.Reference<any>, obj: any): any;
|
|
1450
|
+
|
|
1451
|
+
interface objc_super {
|
|
1452
|
+
receiver: any;
|
|
1453
|
+
super_class: typeof NSObject;
|
|
1454
|
+
}
|
|
1455
|
+
declare var objc_super: interop.StructType<objc_super>;
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* @since 2.0
|
|
1459
|
+
*/
|
|
1460
|
+
declare function objc_sync_enter(obj: any): number;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* @since 2.0
|
|
1464
|
+
*/
|
|
1465
|
+
declare function objc_sync_exit(obj: any): number;
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* @since 6.0
|
|
1469
|
+
*/
|
|
1470
|
+
declare function objc_terminate(): void;
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* @since 2.0
|
|
1474
|
+
*/
|
|
1475
|
+
declare function object_copy(obj: any, size: number): any;
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* @since 2.0
|
|
1479
|
+
*/
|
|
1480
|
+
declare function object_dispose(obj: any): any;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* @since 2.0
|
|
1484
|
+
*/
|
|
1485
|
+
declare function object_getClass(obj: any): typeof NSObject;
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* @since 2.0
|
|
1489
|
+
*/
|
|
1490
|
+
declare function object_getClassName(obj: any): interop.Pointer | interop.Reference<any>;
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* @since 2.0
|
|
1494
|
+
*/
|
|
1495
|
+
declare function object_getIndexedIvars(obj: any): interop.Pointer | interop.Reference<any>;
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* @since 2.0
|
|
1499
|
+
*/
|
|
1500
|
+
declare function object_getInstanceVariable(obj: any, name: string | interop.Pointer | interop.Reference<any>, outValue: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>): interop.Pointer | interop.Reference<any>;
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* @since 2.0
|
|
1504
|
+
*/
|
|
1505
|
+
declare function object_getIvar(obj: any, ivar: interop.Pointer | interop.Reference<any>): any;
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* @since 8.0
|
|
1509
|
+
*/
|
|
1510
|
+
declare function object_isClass(obj: any): boolean;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* @since 2.0
|
|
1514
|
+
*/
|
|
1515
|
+
declare function object_setClass(obj: any, cls: typeof NSObject): typeof NSObject;
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* @since 2.0
|
|
1519
|
+
*/
|
|
1520
|
+
declare function object_setInstanceVariable(obj: any, name: string | interop.Pointer | interop.Reference<any>, value: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* @since 10.0
|
|
1524
|
+
*/
|
|
1525
|
+
declare function object_setInstanceVariableWithStrongDefault(obj: any, name: string | interop.Pointer | interop.Reference<any>, value: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* @since 2.0
|
|
1529
|
+
*/
|
|
1530
|
+
declare function object_setIvar(obj: any, ivar: interop.Pointer | interop.Reference<any>, value: any): void;
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* @since 10.0
|
|
1534
|
+
*/
|
|
1535
|
+
declare function object_setIvarWithStrongDefault(obj: any, ivar: interop.Pointer | interop.Reference<any>, value: any): void;
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* @since 4.3
|
|
1539
|
+
*/
|
|
1540
|
+
declare function property_copyAttributeList(property: interop.Pointer | interop.Reference<any>, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<objc_property_attribute_t>;
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* @since 4.3
|
|
1544
|
+
*/
|
|
1545
|
+
declare function property_copyAttributeValue(property: interop.Pointer | interop.Reference<any>, attributeName: string | interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* @since 2.0
|
|
1549
|
+
*/
|
|
1550
|
+
declare function property_getAttributes(property: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* @since 2.0
|
|
1554
|
+
*/
|
|
1555
|
+
declare function property_getName(property: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* @since 4.3
|
|
1559
|
+
*/
|
|
1560
|
+
declare function protocol_addMethodDescription(proto: any /* Protocol */, name: string, types: string | interop.Pointer | interop.Reference<any>, isRequiredMethod: boolean, isInstanceMethod: boolean): void;
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* @since 4.3
|
|
1564
|
+
*/
|
|
1565
|
+
declare function protocol_addProperty(proto: any /* Protocol */, name: string | interop.Pointer | interop.Reference<any>, attributes: interop.Pointer | interop.Reference<objc_property_attribute_t>, attributeCount: number, isRequiredProperty: boolean, isInstanceProperty: boolean): void;
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* @since 4.3
|
|
1569
|
+
*/
|
|
1570
|
+
declare function protocol_addProtocol(proto: any /* Protocol */, addition: any /* Protocol */): void;
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* @since 2.0
|
|
1574
|
+
*/
|
|
1575
|
+
declare function protocol_conformsToProtocol(proto: any /* Protocol */, other: any /* Protocol */): boolean;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* @since 2.0
|
|
1579
|
+
*/
|
|
1580
|
+
declare function protocol_copyMethodDescriptionList(proto: any /* Protocol */, isRequiredMethod: boolean, isInstanceMethod: boolean, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<objc_method_description>;
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* @since 2.0
|
|
1584
|
+
*/
|
|
1585
|
+
declare function protocol_copyPropertyList(proto: any /* Protocol */, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>;
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* @since 10.0
|
|
1589
|
+
*/
|
|
1590
|
+
declare function protocol_copyPropertyList2(proto: any /* Protocol */, outCount: interop.Pointer | interop.Reference<number>, isRequiredProperty: boolean, isInstanceProperty: boolean): interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>;
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* @since 2.0
|
|
1594
|
+
*/
|
|
1595
|
+
declare function protocol_copyProtocolList(proto: any /* Protocol */, outCount: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any /* Protocol */>;
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* @since 2.0
|
|
1599
|
+
*/
|
|
1600
|
+
declare function protocol_getMethodDescription(proto: any /* Protocol */, aSel: string, isRequiredMethod: boolean, isInstanceMethod: boolean): objc_method_description;
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* @since 2.0
|
|
1604
|
+
*/
|
|
1605
|
+
declare function protocol_getName(proto: any /* Protocol */): interop.Pointer | interop.Reference<any>;
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* @since 2.0
|
|
1609
|
+
*/
|
|
1610
|
+
declare function protocol_getProperty(proto: any /* Protocol */, name: string | interop.Pointer | interop.Reference<any>, isRequiredProperty: boolean, isInstanceProperty: boolean): interop.Pointer | interop.Reference<any>;
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* @since 2.0
|
|
1614
|
+
*/
|
|
1615
|
+
declare function protocol_isEqual(proto: any /* Protocol */, other: any /* Protocol */): boolean;
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* @since 2.0
|
|
1619
|
+
*/
|
|
1620
|
+
declare function sel_getName(sel: string): interop.Pointer | interop.Reference<any>;
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* @since 2.0
|
|
1624
|
+
*/
|
|
1625
|
+
declare function sel_getUid(str: string | interop.Pointer | interop.Reference<any>): string;
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* @since 2.0
|
|
1629
|
+
*/
|
|
1630
|
+
declare function sel_isEqual(lhs: string, rhs: string): boolean;
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* @since 2.0
|
|
1634
|
+
*/
|
|
1635
|
+
declare function sel_isMapped(sel: string): boolean;
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* @since 2.0
|
|
1639
|
+
*/
|
|
1640
|
+
declare function sel_registerName(str: string | interop.Pointer | interop.Reference<any>): string;
|