@triniwiz/nativescript-masonkit 1.0.0-alpha.2 → 1.0.0-alpha.22
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/index.d.ts +167 -17
- package/package.json +4 -4
- package/platforms/android/include.gradle +22 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +9 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +495 -313
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +215 -818
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
- 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 +30167 -19469
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +660 -310
- 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 +660 -310
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +1 -1
- 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 +2421 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +1053 -689
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +215 -818
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
- 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 +30167 -19469
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +660 -310
- 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 +660 -310
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +30167 -19469
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +660 -310
- 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 +660 -310
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +33 -97
- 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 +2421 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2357 -0
- package/common.d.ts +0 -75
- package/common.js +0 -1556
- package/common.js.map +0 -1
- package/helpers.d.ts +0 -233
- package/helpers.js +0 -3382
- package/helpers.js.map +0 -1
- package/index.android.d.ts +0 -26
- package/index.android.js +0 -95
- package/index.android.js.map +0 -1
- package/index.ios.d.ts +0 -27
- package/index.ios.js +0 -136
- package/index.ios.js.map +0 -1
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/PrivateHeaders/mason_native.h +0 -676
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/PrivateHeaders/mason_native.h +0 -676
- package/platforms/ios/Podfile +0 -1
- package/platforms/ios/build.xcconfig +0 -2
- package/platforms/ios/src/JSIModule.h +0 -217
- package/platforms/ios/src/JSIModule.mm +0 -2788
- package/platforms/ios/src/include/mason_native.h +0 -945
- package/platforms/ios/src/module.modulemap +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 5.
|
|
3
|
+
// Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
4
4
|
#ifndef MASON_SWIFT_H
|
|
5
5
|
#define MASON_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
# include <swift/objc-prologue.h>
|
|
24
24
|
#endif
|
|
25
25
|
|
|
26
|
-
#pragma clang diagnostic ignored "-Wduplicate-method-match"
|
|
27
26
|
#pragma clang diagnostic ignored "-Wauto-import"
|
|
28
27
|
#if defined(__OBJC__)
|
|
29
28
|
#include <Foundation/Foundation.h>
|
|
@@ -32,10 +31,33 @@
|
|
|
32
31
|
#include <cstdint>
|
|
33
32
|
#include <cstddef>
|
|
34
33
|
#include <cstdbool>
|
|
34
|
+
#include <cstring>
|
|
35
|
+
#include <stdlib.h>
|
|
36
|
+
#include <new>
|
|
37
|
+
#include <type_traits>
|
|
35
38
|
#else
|
|
36
39
|
#include <stdint.h>
|
|
37
40
|
#include <stddef.h>
|
|
38
41
|
#include <stdbool.h>
|
|
42
|
+
#include <string.h>
|
|
43
|
+
#endif
|
|
44
|
+
#if defined(__cplusplus)
|
|
45
|
+
#pragma clang diagnostic push
|
|
46
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
47
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
48
|
+
# include <ptrauth.h>
|
|
49
|
+
#else
|
|
50
|
+
#pragma clang diagnostic push
|
|
51
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
52
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
53
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
54
|
+
# endif
|
|
55
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
56
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
57
|
+
# endif
|
|
58
|
+
#pragma clang diagnostic pop
|
|
59
|
+
#endif
|
|
60
|
+
#pragma clang diagnostic pop
|
|
39
61
|
#endif
|
|
40
62
|
|
|
41
63
|
#if !defined(SWIFT_TYPEDEFS)
|
|
@@ -71,53 +93,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
71
93
|
# if __has_feature(objc_class_property)
|
|
72
94
|
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
73
95
|
# else
|
|
74
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
96
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
75
97
|
# endif
|
|
76
98
|
#endif
|
|
77
|
-
|
|
78
|
-
#if __has_attribute(objc_runtime_name)
|
|
79
|
-
#
|
|
80
|
-
#else
|
|
81
|
-
#
|
|
99
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
100
|
+
# if __has_attribute(objc_runtime_name)
|
|
101
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
102
|
+
# else
|
|
103
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
104
|
+
# endif
|
|
82
105
|
#endif
|
|
83
|
-
#if
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
106
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
107
|
+
# if __has_attribute(swift_name)
|
|
108
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
109
|
+
# else
|
|
110
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
111
|
+
# endif
|
|
87
112
|
#endif
|
|
88
|
-
#if
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
113
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
114
|
+
# if __has_attribute(objc_method_family)
|
|
115
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
116
|
+
# else
|
|
117
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
118
|
+
# endif
|
|
92
119
|
#endif
|
|
93
|
-
#if
|
|
94
|
-
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
120
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
121
|
+
# if __has_attribute(noescape)
|
|
122
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
123
|
+
# else
|
|
124
|
+
# define SWIFT_NOESCAPE
|
|
125
|
+
# endif
|
|
97
126
|
#endif
|
|
98
|
-
#if
|
|
99
|
-
#
|
|
100
|
-
#
|
|
101
|
-
#
|
|
127
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
128
|
+
# if __has_attribute(ns_consumed)
|
|
129
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
130
|
+
# else
|
|
131
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
132
|
+
# endif
|
|
102
133
|
#endif
|
|
103
|
-
#if
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
#
|
|
134
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
135
|
+
# if __has_attribute(warn_unused_result)
|
|
136
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
137
|
+
# else
|
|
138
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
139
|
+
# endif
|
|
107
140
|
#endif
|
|
108
|
-
#if
|
|
109
|
-
#
|
|
110
|
-
#
|
|
111
|
-
#
|
|
141
|
+
#if !defined(SWIFT_NORETURN)
|
|
142
|
+
# if __has_attribute(noreturn)
|
|
143
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
144
|
+
# else
|
|
145
|
+
# define SWIFT_NORETURN
|
|
146
|
+
# endif
|
|
112
147
|
#endif
|
|
113
148
|
#if !defined(SWIFT_CLASS_EXTRA)
|
|
114
|
-
# define SWIFT_CLASS_EXTRA
|
|
149
|
+
# define SWIFT_CLASS_EXTRA
|
|
115
150
|
#endif
|
|
116
151
|
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
117
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
152
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
118
153
|
#endif
|
|
119
154
|
#if !defined(SWIFT_ENUM_EXTRA)
|
|
120
|
-
# define SWIFT_ENUM_EXTRA
|
|
155
|
+
# define SWIFT_ENUM_EXTRA
|
|
121
156
|
#endif
|
|
122
157
|
#if !defined(SWIFT_CLASS)
|
|
123
158
|
# if __has_attribute(objc_subclassing_restricted)
|
|
@@ -137,28 +172,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
137
172
|
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
138
173
|
# endif
|
|
139
174
|
#endif
|
|
140
|
-
|
|
141
175
|
#if !defined(SWIFT_PROTOCOL)
|
|
142
176
|
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
143
177
|
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
144
178
|
#endif
|
|
145
|
-
|
|
146
179
|
#if !defined(SWIFT_EXTENSION)
|
|
147
180
|
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
148
181
|
#endif
|
|
149
|
-
|
|
150
182
|
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
151
183
|
# if __has_attribute(objc_designated_initializer)
|
|
152
184
|
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
153
185
|
# else
|
|
154
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
186
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
155
187
|
# endif
|
|
156
188
|
#endif
|
|
157
189
|
#if !defined(SWIFT_ENUM_ATTR)
|
|
158
|
-
# if
|
|
190
|
+
# if __has_attribute(enum_extensibility)
|
|
159
191
|
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
160
192
|
# else
|
|
161
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
193
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
162
194
|
# endif
|
|
163
195
|
#endif
|
|
164
196
|
#if !defined(SWIFT_ENUM)
|
|
@@ -187,14 +219,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
187
219
|
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
188
220
|
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
189
221
|
#endif
|
|
190
|
-
#if
|
|
191
|
-
#
|
|
192
|
-
#
|
|
193
|
-
#
|
|
222
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
223
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
224
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
225
|
+
# else
|
|
226
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
227
|
+
# endif
|
|
194
228
|
#endif
|
|
195
229
|
#if defined(__OBJC__)
|
|
196
230
|
#if !defined(IBSegueAction)
|
|
197
|
-
# define IBSegueAction
|
|
231
|
+
# define IBSegueAction
|
|
198
232
|
#endif
|
|
199
233
|
#endif
|
|
200
234
|
#if !defined(SWIFT_EXTERN)
|
|
@@ -207,36 +241,52 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
207
241
|
#if !defined(SWIFT_CALL)
|
|
208
242
|
# define SWIFT_CALL __attribute__((swiftcall))
|
|
209
243
|
#endif
|
|
244
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
245
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
246
|
+
#endif
|
|
247
|
+
#if !defined(SWIFT_CONTEXT)
|
|
248
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
249
|
+
#endif
|
|
250
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
251
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
252
|
+
#endif
|
|
210
253
|
#if defined(__cplusplus)
|
|
211
|
-
#if !defined(SWIFT_NOEXCEPT)
|
|
212
254
|
# define SWIFT_NOEXCEPT noexcept
|
|
213
|
-
#endif
|
|
214
255
|
#else
|
|
215
|
-
#if !defined(SWIFT_NOEXCEPT)
|
|
216
256
|
# define SWIFT_NOEXCEPT
|
|
217
257
|
#endif
|
|
258
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
259
|
+
# if __has_attribute(always_inline)
|
|
260
|
+
# if __has_attribute(nodebug)
|
|
261
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
262
|
+
# else
|
|
263
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
264
|
+
# endif
|
|
265
|
+
# else
|
|
266
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
267
|
+
# endif
|
|
268
|
+
#endif
|
|
269
|
+
#if defined(_WIN32)
|
|
270
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
271
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
218
272
|
#endif
|
|
219
|
-
#
|
|
220
|
-
#if !defined(
|
|
221
|
-
#define
|
|
222
|
-
namespace swift {
|
|
223
|
-
using Int = ptrdiff_t;
|
|
224
|
-
using UInt = size_t;
|
|
225
|
-
}
|
|
273
|
+
#else
|
|
274
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
275
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
226
276
|
#endif
|
|
227
277
|
#endif
|
|
228
278
|
#if defined(__OBJC__)
|
|
229
|
-
#if __has_feature(
|
|
279
|
+
#if __has_feature(objc_modules)
|
|
230
280
|
#if __has_warning("-Watimport-in-framework-header")
|
|
231
281
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
232
282
|
#endif
|
|
283
|
+
@import CoreFoundation;
|
|
284
|
+
@import CoreGraphics;
|
|
233
285
|
@import Foundation;
|
|
234
286
|
@import ObjectiveC;
|
|
235
287
|
@import UIKit;
|
|
236
288
|
#endif
|
|
237
289
|
|
|
238
|
-
#import <Mason/Mason.h>
|
|
239
|
-
|
|
240
290
|
#endif
|
|
241
291
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
242
292
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
@@ -246,6 +296,7 @@ using UInt = size_t;
|
|
|
246
296
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
247
297
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
248
298
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
299
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
249
300
|
|
|
250
301
|
#if __has_attribute(external_source_symbol)
|
|
251
302
|
# pragma push_macro("any")
|
|
@@ -290,6 +341,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, AlignSelf, "AlignSelf", open) {
|
|
|
290
341
|
AlignSelfFlexEnd = 6,
|
|
291
342
|
};
|
|
292
343
|
|
|
344
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, DecorationLine, "DecorationLine", open) {
|
|
345
|
+
DecorationLineNone = 0,
|
|
346
|
+
DecorationLineUnderline = 1,
|
|
347
|
+
DecorationLineOverline = 2,
|
|
348
|
+
DecorationLineLineThrough = 3,
|
|
349
|
+
};
|
|
350
|
+
|
|
293
351
|
typedef SWIFT_ENUM_NAMED(NSInteger, Direction, "Direction", open) {
|
|
294
352
|
DirectionInherit = 0,
|
|
295
353
|
DirectionLTR = 1,
|
|
@@ -300,6 +358,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, Display, "Display", open) {
|
|
|
300
358
|
DisplayNone = 0,
|
|
301
359
|
DisplayFlex = 1,
|
|
302
360
|
DisplayGrid = 2,
|
|
361
|
+
DisplayBlock = 3,
|
|
303
362
|
};
|
|
304
363
|
|
|
305
364
|
typedef SWIFT_ENUM_NAMED(NSInteger, FlexDirection, "FlexDirection", open) {
|
|
@@ -315,6 +374,12 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FlexWrap, "FlexWrap", open) {
|
|
|
315
374
|
FlexWrapWrapReverse = 2,
|
|
316
375
|
};
|
|
317
376
|
|
|
377
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, FontStyle, "FontStyle", open) {
|
|
378
|
+
FontStyleNormal = 0,
|
|
379
|
+
FontStyleItalic = 1,
|
|
380
|
+
FontStyleOblique = 2,
|
|
381
|
+
};
|
|
382
|
+
|
|
318
383
|
typedef SWIFT_ENUM_NAMED(NSInteger, FlexGridAutoFlowWrap, "GridAutoFlow", open) {
|
|
319
384
|
FlexGridAutoFlowWrapRow = 0,
|
|
320
385
|
FlexGridAutoFlowWrapColumn = 1,
|
|
@@ -403,6 +468,18 @@ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
|
403
468
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
404
469
|
@end
|
|
405
470
|
|
|
471
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonLineHeight, "LineHeight", open) {
|
|
472
|
+
MasonLineHeightNormal = 0,
|
|
473
|
+
MasonLineHeightPre = 1,
|
|
474
|
+
MasonLineHeightPreWrap = 2,
|
|
475
|
+
MasonLineHeightPreLine = 3,
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "MasonBoxSizing", open) {
|
|
479
|
+
MasonBoxSizingBorderBox = 0,
|
|
480
|
+
MasonBoxSizingContentBox = 1,
|
|
481
|
+
};
|
|
482
|
+
|
|
406
483
|
enum MasonDimensionCompatType : NSInteger;
|
|
407
484
|
|
|
408
485
|
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
@@ -448,6 +525,30 @@ SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
|
448
525
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
449
526
|
@end
|
|
450
527
|
|
|
528
|
+
@class MasonStyle;
|
|
529
|
+
@class MasonNode;
|
|
530
|
+
@class UIView;
|
|
531
|
+
@class NSCMason;
|
|
532
|
+
@class NSCoder;
|
|
533
|
+
@class UIImage;
|
|
534
|
+
|
|
535
|
+
SWIFT_CLASS_NAMED("MasonImg")
|
|
536
|
+
@interface MasonImg : UIImageView
|
|
537
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
538
|
+
- (void)markNodeDirty;
|
|
539
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
540
|
+
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
541
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
542
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
543
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
544
|
+
@property (nonatomic, copy) NSString * _Nullable src;
|
|
545
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
546
|
+
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
547
|
+
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image SWIFT_UNAVAILABLE;
|
|
548
|
+
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage SWIFT_UNAVAILABLE;
|
|
549
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
550
|
+
@end
|
|
551
|
+
|
|
451
552
|
|
|
452
553
|
SWIFT_CLASS_NAMED("MasonLayout")
|
|
453
554
|
@interface MasonLayout : NSObject
|
|
@@ -549,188 +650,57 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
|
549
650
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
550
651
|
@end
|
|
551
652
|
|
|
552
|
-
@class MasonStyle;
|
|
553
653
|
|
|
554
654
|
SWIFT_CLASS_NAMED("MasonNode")
|
|
555
655
|
@interface MasonNode : NSObject
|
|
556
|
-
@property (nonatomic, readonly) void *
|
|
656
|
+
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
657
|
+
@property (nonatomic, readonly, strong) MasonLayout * _Nullable layoutCache;
|
|
658
|
+
@property (nonatomic) id _Nullable data;
|
|
557
659
|
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
558
|
-
@property (nonatomic) BOOL includeInLayout;
|
|
559
|
-
@property (nonatomic) BOOL isEnabled;
|
|
560
|
-
@property (nonatomic, strong) id _Nullable data;
|
|
561
660
|
@property (nonatomic, readonly, strong) MasonNode * _Nullable owner;
|
|
562
661
|
@property (nonatomic, readonly, copy) NSArray<MasonNode *> * _Nonnull children;
|
|
563
|
-
- (nonnull instancetype)
|
|
564
|
-
- (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
|
|
565
|
-
- (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style children:(NSArray<MasonNode *> * _Nonnull)children OBJC_DESIGNATED_INITIALIZER;
|
|
566
|
-
- (void)updateNodeStyle;
|
|
662
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
|
|
567
663
|
- (MasonLayout * _Nonnull)layout;
|
|
568
664
|
@property (nonatomic, readonly) BOOL isDirty;
|
|
569
665
|
- (void)markDirty;
|
|
570
666
|
- (MasonNode * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
|
|
571
|
-
- (void)rootCompute;
|
|
572
|
-
- (void)rootCompute:(float)width :(float)height;
|
|
573
|
-
- (void)rootComputeMaxContent;
|
|
574
|
-
- (void)rootComputeMinContent;
|
|
575
|
-
- (void)rootComputeWithViewSize;
|
|
576
|
-
- (void)rootComputeWithMaxContent;
|
|
577
667
|
- (void)compute;
|
|
578
668
|
- (void)compute:(float)width :(float)height;
|
|
579
669
|
- (void)computeMaxContent;
|
|
580
670
|
- (void)computeMinContent;
|
|
581
671
|
- (void)computeWithSize:(float)width :(float)height;
|
|
582
672
|
- (void)computeWithViewSize;
|
|
673
|
+
- (void)computeWithViewSizeWithLayout:(BOOL)layout;
|
|
583
674
|
- (void)computeWithMaxContent;
|
|
584
675
|
- (void)computeWithMinContent;
|
|
585
676
|
- (void)attachAndApply;
|
|
586
|
-
- (void)
|
|
677
|
+
- (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
|
|
587
678
|
- (void)addChildren:(NSArray<MasonNode *> * _Nonnull)children;
|
|
588
|
-
@property (nonatomic, readonly) BOOL isLeaf;
|
|
589
679
|
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
680
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
681
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
590
682
|
@end
|
|
591
683
|
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
@interface MasonReexports : NSObject
|
|
595
|
-
+ (void)node_set_style:(void * _Nonnull)mason :(void * _Nonnull)node :(void * _Nonnull)style;
|
|
596
|
-
+ (void)node_compute:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
597
|
-
+ (void)node_compute_wh:(void * _Nonnull)mason :(void * _Nonnull)node width:(float)width height:(float)height;
|
|
598
|
-
+ (void)node_compute_max_content:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
599
|
-
+ (void)node_compute_min_content:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
600
|
-
+ (BOOL)node_dirty:(void * _Nonnull)mason :(void * _Nonnull)node SWIFT_WARN_UNUSED_RESULT;
|
|
601
|
-
+ (void)node_mark_dirty:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
602
|
-
+ (int32_t)style_get_display:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
603
|
-
+ (void)style_set_display:(void * _Nonnull)style :(int32_t)display;
|
|
604
|
-
+ (int32_t)style_get_position:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
605
|
-
+ (void)style_set_position:(void * _Nonnull)style :(int32_t)position;
|
|
606
|
-
+ (int32_t)style_get_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
607
|
-
+ (void)style_set_direction:(void * _Nonnull)style :(int32_t)direction;
|
|
608
|
-
+ (int32_t)style_get_flex_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
609
|
-
+ (void)style_set_flex_direction:(void * _Nonnull)style :(int32_t)flex_direction;
|
|
610
|
-
+ (int32_t)style_get_flex_wrap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
611
|
-
+ (void)style_set_flex_wrap:(void * _Nonnull)style :(int32_t)flex_wrap;
|
|
612
|
-
+ (int32_t)style_get_overflow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
613
|
-
+ (void)style_set_overflow:(void * _Nonnull)style :(int32_t)overflow;
|
|
614
|
-
+ (int32_t)style_get_align_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
615
|
-
+ (void)style_set_align_items:(void * _Nonnull)style :(int32_t)align_items;
|
|
616
|
-
+ (int32_t)style_get_align_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
617
|
-
+ (void)style_set_align_self:(void * _Nonnull)style :(int32_t)align_self;
|
|
618
|
-
+ (int32_t)style_get_align_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
619
|
-
+ (void)style_set_align_content:(void * _Nonnull)style :(int32_t)align_content;
|
|
620
|
-
+ (int32_t)style_get_justify_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
621
|
-
+ (void)style_set_justify_items:(void * _Nonnull)style :(int32_t)align_items;
|
|
622
|
-
+ (int32_t)style_get_justify_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
623
|
-
+ (void)style_set_justify_self:(void * _Nonnull)style :(int32_t)align_self;
|
|
624
|
-
+ (int32_t)style_get_justify_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
625
|
-
+ (void)style_set_justify_content:(void * _Nonnull)style :(int32_t)justify_content;
|
|
626
|
-
+ (void)style_set_inset:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
627
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
628
|
-
+ (void)style_set_inset_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
629
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
630
|
-
+ (void)style_set_inset_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
631
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
632
|
-
+ (void)style_set_inset_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
633
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
634
|
-
+ (void)style_set_inset_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
635
|
-
+ (void)style_set_margin:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
636
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
637
|
-
+ (void)style_set_margin_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
638
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
639
|
-
+ (void)style_set_margin_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
640
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
641
|
-
+ (void)style_set_margin_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
642
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
643
|
-
+ (void)style_set_margin_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
644
|
-
+ (void)style_set_padding:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
645
|
-
+ (CMasonLengthPercentage)style_get_padding_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
646
|
-
+ (void)style_set_padding_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
647
|
-
+ (CMasonLengthPercentage)style_get_padding_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
648
|
-
+ (void)style_set_padding_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
649
|
-
+ (CMasonLengthPercentage)style_get_padding_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
650
|
-
+ (void)style_set_padding_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
651
|
-
+ (CMasonLengthPercentage)style_get_padding_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
652
|
-
+ (void)style_set_padding_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
653
|
-
+ (void)style_set_border:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
654
|
-
+ (CMasonLengthPercentage)style_get_border_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
655
|
-
+ (void)style_set_border_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
656
|
-
+ (CMasonLengthPercentage)style_get_border_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
657
|
-
+ (void)style_set_border_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
658
|
-
+ (CMasonLengthPercentage)style_get_border_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
659
|
-
+ (void)style_set_border_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
660
|
-
+ (CMasonLengthPercentage)style_get_border_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
661
|
-
+ (void)style_set_border_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
662
|
-
+ (float)style_get_flex_grow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
663
|
-
+ (void)style_set_flex_grow:(void * _Nonnull)style :(float)value;
|
|
664
|
-
+ (void)style_set_border_bottom:(void * _Nonnull)style :(float)value;
|
|
665
|
-
+ (float)style_get_flex_shrink:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
666
|
-
+ (void)style_set_flex_shrink:(void * _Nonnull)style :(float)value;
|
|
667
|
-
+ (void)style_set_flex_basis:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
668
|
-
+ (CMasonDimension)style_get_flex_basis:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
669
|
-
+ (CMasonDimension)style_get_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
670
|
-
+ (void)style_set_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
671
|
-
+ (CMasonDimension)style_get_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
672
|
-
+ (void)style_set_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
673
|
-
+ (CMasonDimension)style_get_min_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
674
|
-
+ (void)style_set_min_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
675
|
-
+ (CMasonDimension)style_get_min_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
676
|
-
+ (void)style_set_min_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
677
|
-
+ (CMasonDimension)style_get_max_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
678
|
-
+ (void)style_set_max_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
679
|
-
+ (CMasonDimension)style_get_max_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
680
|
-
+ (void)style_set_max_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
681
|
-
+ (CMasonLengthPercentageSize)style_get_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
682
|
-
+ (void)style_set_gap:(void * _Nonnull)style :(float)width_value :(CMasonLengthPercentageType)width_type :(float)height_value :(CMasonLengthPercentageType)height_type;
|
|
683
|
-
+ (CMasonLengthPercentage)style_get_row_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
684
|
-
+ (void)style_set_row_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
685
|
-
+ (CMasonLengthPercentage)style_get_column_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
686
|
-
+ (void)style_set_column_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
687
|
-
+ (float)style_get_aspect_ratio:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
688
|
-
+ (void)style_set_aspect_ratio:(void * _Nonnull)style :(float)value;
|
|
689
|
-
+ (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
690
|
-
+ (void)style_set_grid_auto_rows:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
|
|
691
|
-
+ (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
692
|
-
+ (void)style_set_grid_auto_columns:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
|
|
693
|
-
+ (int32_t)style_get_grid_auto_flow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
694
|
-
+ (void)style_set_grid_auto_flow:(void * _Nonnull)style :(int32_t)value;
|
|
695
|
-
+ (void)style_set_grid_area:(void * _Nonnull)style :(CMasonGridPlacement)row_start :(CMasonGridPlacement)row_end :(CMasonGridPlacement)column_start :(CMasonGridPlacement)column_end;
|
|
696
|
-
+ (void)style_set_grid_column:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
|
|
697
|
-
+ (CMasonGridPlacement)style_get_grid_column_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
698
|
-
+ (void)style_set_grid_column_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
699
|
-
+ (CMasonGridPlacement)style_get_grid_column_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
700
|
-
+ (void)style_set_grid_column_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
701
|
-
+ (void)style_set_grid_row:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
|
|
702
|
-
+ (CMasonGridPlacement)style_get_grid_row_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
703
|
-
+ (void)style_set_grid_row_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
704
|
-
+ (CMasonGridPlacement)style_get_grid_row_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
705
|
-
+ (void)style_set_grid_row_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
706
|
-
+ (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
707
|
-
+ (void)style_set_grid_template_rows:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
|
|
708
|
-
+ (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
709
|
-
+ (void)style_set_grid_template_columns:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
|
|
710
|
-
+ (void)destroyWithNonRepeatedTrackSizingFunctionArray:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)nonRepeatedTrackSizingFunctionArray;
|
|
711
|
-
+ (void)destroyWithTrackSizingFunctionArray:(CMasonTrackSizingFunctionArray * _Nonnull)trackSizingFunctionArray;
|
|
712
|
-
+ (NSString * _Nonnull)util_parse_non_repeated_track_sizing_function:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
713
|
-
+ (NSString * _Nonnull)util_parse_auto_repeating_track_sizing_function:(CMasonTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
714
|
-
+ (CMasonMinMax)util_create_non_repeated_track_sizing_function_with_type_value:(int32_t)track_type :(float)track_value SWIFT_WARN_UNUSED_RESULT;
|
|
715
|
-
+ (void)style_update_with_values:(void * _Nonnull)style :(int32_t)display :(int32_t)position :(int32_t)direction :(int32_t)flexDirection :(int32_t)flexWrap :(int32_t)overflow :(int32_t)alignItems :(int32_t)alignSelf :(int32_t)alignContent :(int32_t)justifyItems :(int32_t)justifySelf :(int32_t)justifyContent :(int32_t)insetLeftType :(float)insetLeftValue :(int32_t)insetRightType :(float)insetRightValue :(int32_t)insetTopType :(float)insetTopValue :(int32_t)insetBottomType :(float)insetBottomValue :(int32_t)marginLeftType :(float)marginLeftValue :(int32_t)marginRightType :(float)marginRightValue :(int32_t)marginTopType :(float)marginTopValue :(int32_t)marginBottomType :(float)marginBottomValue :(int32_t)paddingLeftType :(float)paddingLeftValue :(int32_t)paddingRightType :(float)paddingRightValue :(int32_t)paddingTopType :(float)paddingTopValue :(int32_t)paddingBottomType :(float)paddingBottomValue :(int32_t)borderLeftType :(float)borderLeftValue :(int32_t)borderRightType :(float)borderRightValue :(int32_t)borderTopType :(float)borderTopValue :(int32_t)borderBottomType :(float)borderBottomValue :(float)flexGrow :(float)flexShrink :(int32_t)flexBasisType :(float)flexBasisValue :(int32_t)widthType :(float)widthValue :(int32_t)heightType :(float)heightValue :(int32_t)minWidthType :(float)minWidthValue :(int32_t)minHeightType :(float)minHeightValue :(int32_t)maxWidthType :(float)maxWidthValue :(int32_t)maxHeightType :(float)maxHeightValue :(int32_t)gapRowType :(float)gapRowValue :(int32_t)gapColumnType :(float)gapColumnValue :(float)aspectRatio :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoRows :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoColumns :(int32_t)gridAutoFlow :(int32_t)gridColumnStartType :(int16_t)gridColumnStartValue :(int32_t)gridColumnEndType :(int16_t)gridColumnEndValue :(int32_t)gridRowStartType :(int16_t)gridRowStartValue :(int32_t)gridRowEndType :(int16_t)gridRowEndValue :(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateRows gridTemplateColumns:(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateColumns;
|
|
716
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
717
|
-
@end
|
|
718
|
-
|
|
684
|
+
@class NSMutableData;
|
|
685
|
+
@class NSData;
|
|
719
686
|
enum Position : NSInteger;
|
|
720
687
|
enum Overflow : NSInteger;
|
|
688
|
+
enum MasonTextAlign : NSInteger;
|
|
721
689
|
@class MinMax;
|
|
722
690
|
@class TrackSizingFunction;
|
|
723
691
|
|
|
724
692
|
SWIFT_CLASS_NAMED("MasonStyle")
|
|
725
693
|
@interface MasonStyle : NSObject
|
|
726
|
-
@property (nonatomic,
|
|
727
|
-
|
|
694
|
+
@property (nonatomic, strong) NSMutableData * _Nonnull valuesCompat;
|
|
695
|
+
@property (nonatomic, copy) NSData * _Nonnull values;
|
|
696
|
+
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
|
|
728
697
|
@property (nonatomic) enum Display display;
|
|
729
698
|
@property (nonatomic) enum Position position;
|
|
730
699
|
@property (nonatomic) enum Direction direction;
|
|
731
700
|
@property (nonatomic) enum FlexDirection flexDirection;
|
|
732
701
|
@property (nonatomic) enum FlexWrap flexWrap;
|
|
733
|
-
@property (nonatomic) enum Overflow
|
|
702
|
+
@property (nonatomic) enum Overflow overflowX;
|
|
703
|
+
@property (nonatomic) enum Overflow overflowY;
|
|
734
704
|
@property (nonatomic) enum AlignItems alignItems;
|
|
735
705
|
@property (nonatomic) enum AlignSelf alignSelf;
|
|
736
706
|
@property (nonatomic) enum AlignContent alignContent;
|
|
@@ -764,6 +734,9 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
764
734
|
@property (nonatomic) float flexGrow;
|
|
765
735
|
@property (nonatomic) float flexShrink;
|
|
766
736
|
- (void)setFlexBasis:(float)value :(NSInteger)type;
|
|
737
|
+
- (void)setScrollBarWidth:(float)value;
|
|
738
|
+
@property (nonatomic) enum MasonTextAlign textAlign;
|
|
739
|
+
@property (nonatomic) enum MasonBoxSizing boxSizing;
|
|
767
740
|
@property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
|
|
768
741
|
- (void)setMinSizeWidth:(float)value :(NSInteger)type;
|
|
769
742
|
- (void)setMinSizeHeight:(float)value :(NSInteger)type;
|
|
@@ -794,132 +767,115 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
794
767
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
|
|
795
768
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
|
|
796
769
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
|
|
770
|
+
- (void)updateNativeStyle;
|
|
797
771
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
798
|
-
@end
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
SWIFT_CLASS_NAMED("MaxSizing")
|
|
802
|
-
@interface MaxSizing : NSObject
|
|
803
|
-
@property (nonatomic, readonly) float value;
|
|
804
|
-
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
805
|
-
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
806
|
-
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
807
|
-
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
808
|
-
+ (MaxSizing * _Nonnull)Flex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
809
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
810
|
-
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
811
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
812
|
-
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
813
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
814
|
-
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
815
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
816
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
817
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
818
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
819
|
-
@end
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
823
|
-
@interface MeasureOutput : NSObject
|
|
824
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
825
|
-
@end
|
|
826
|
-
|
|
827
|
-
@class MinSizing;
|
|
828
|
-
|
|
829
|
-
SWIFT_CLASS_NAMED("MinMax")
|
|
830
|
-
@interface MinMax : NSObject
|
|
831
|
-
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
832
|
-
+ (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
833
|
-
+ (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
834
|
-
+ (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
835
|
-
+ (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
836
|
-
+ (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
837
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
|
|
838
|
-
+ (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
839
|
-
+ (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
|
|
840
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
841
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
842
772
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
843
773
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
844
774
|
@end
|
|
845
775
|
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
@
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
@property (nonatomic, readonly, copy)
|
|
859
|
-
@property (nonatomic, readonly
|
|
860
|
-
|
|
861
|
-
|
|
776
|
+
enum MasonTextType : NSInteger;
|
|
777
|
+
@class NSCFontFace;
|
|
778
|
+
@class NSMutableAttributedString;
|
|
779
|
+
enum TextTransform : NSInteger;
|
|
780
|
+
@class UIColor;
|
|
781
|
+
enum WhiteSpace : NSInteger;
|
|
782
|
+
enum TextWrap : NSInteger;
|
|
783
|
+
|
|
784
|
+
SWIFT_CLASS_NAMED("MasonText")
|
|
785
|
+
@interface MasonText : UIView
|
|
786
|
+
@property (nonatomic, readonly, strong) MasonText * _Nullable owner;
|
|
787
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
788
|
+
@property (nonatomic, readonly, copy) NSData * _Nonnull textValues;
|
|
789
|
+
@property (nonatomic, readonly) enum MasonTextType type;
|
|
790
|
+
@property (nonatomic, readonly, strong) NSCFontFace * _Nonnull font;
|
|
791
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason type:(enum MasonTextType)textType OBJC_DESIGNATED_INITIALIZER;
|
|
792
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
793
|
+
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)masonNode OBJC_DESIGNATED_INITIALIZER;
|
|
794
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
795
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
796
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
797
|
+
- (void)markNodeDirty;
|
|
798
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
799
|
+
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
800
|
+
- (void)updateText:(NSString * _Nullable)value;
|
|
801
|
+
@property (nonatomic, strong) NSMutableAttributedString * _Nonnull txtToRender;
|
|
802
|
+
- (void)invalidateStyle:(int64_t)state;
|
|
803
|
+
@property (nonatomic) enum TextTransform textTransform;
|
|
804
|
+
@property (nonatomic) CGFloat fontSize;
|
|
805
|
+
@property (nonatomic) enum FontStyle fontStyle;
|
|
806
|
+
- (void)setFontStyle:(enum FontStyle)style slant:(int32_t)slant;
|
|
807
|
+
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
808
|
+
@property (nonatomic) uint32_t color;
|
|
809
|
+
@property (nonatomic) uint32_t backgroundColorValue;
|
|
810
|
+
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
811
|
+
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
812
|
+
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
813
|
+
@property (nonatomic) uint32_t decorationColor;
|
|
814
|
+
@property (nonatomic) enum DecorationLine decorationLine;
|
|
815
|
+
@property (nonatomic) enum WhiteSpace whiteSpace;
|
|
816
|
+
@property (nonatomic) enum TextWrap textWrap;
|
|
817
|
+
- (void)drawRect:(CGRect)rect;
|
|
818
|
+
- (void)addView:(UIView * _Nonnull)view :(NSInteger)index;
|
|
819
|
+
- (void)removeView:(UIView * _Nonnull)view;
|
|
820
|
+
@property (nonatomic, copy) NSString * _Nullable text;
|
|
821
|
+
- (void)syncStyle:(NSString * _Nonnull)state :(NSString * _Nonnull)textState;
|
|
822
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
862
823
|
@end
|
|
863
824
|
|
|
864
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
825
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "MasonTextAlign", open) {
|
|
826
|
+
MasonTextAlignAuto = 0,
|
|
827
|
+
MasonTextAlignLeft = 1,
|
|
828
|
+
MasonTextAlignRight = 2,
|
|
829
|
+
MasonTextAlignCenter = 3,
|
|
830
|
+
MasonTextAlignJustify = 4,
|
|
831
|
+
MasonTextAlignStart = 5,
|
|
832
|
+
MasonTextAlignEnd = 6,
|
|
868
833
|
};
|
|
869
834
|
|
|
870
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
871
|
-
|
|
872
|
-
|
|
835
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextType, "MasonTextType", open) {
|
|
836
|
+
MasonTextTypeNone = 0,
|
|
837
|
+
MasonTextTypeP = 1,
|
|
838
|
+
MasonTextTypeSpan = 2,
|
|
839
|
+
MasonTextTypeCode = 3,
|
|
840
|
+
MasonTextTypeH1 = 4,
|
|
841
|
+
MasonTextTypeH2 = 5,
|
|
842
|
+
MasonTextTypeH3 = 6,
|
|
843
|
+
MasonTextTypeH4 = 7,
|
|
844
|
+
MasonTextTypeH5 = 8,
|
|
845
|
+
MasonTextTypeH6 = 9,
|
|
846
|
+
MasonTextTypeLi = 10,
|
|
847
|
+
MasonTextTypeBlockquote = 11,
|
|
848
|
+
MasonTextTypeB = 12,
|
|
873
849
|
};
|
|
874
850
|
|
|
875
851
|
|
|
876
|
-
SWIFT_CLASS_NAMED("
|
|
877
|
-
@interface
|
|
878
|
-
@property (nonatomic, readonly)
|
|
879
|
-
- (
|
|
880
|
-
- (
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
+ (
|
|
885
|
-
+ (
|
|
886
|
-
|
|
887
|
-
+ (BOOL)alwaysEnable SWIFT_WARN_UNUSED_RESULT;
|
|
888
|
-
+ (void)setAlwaysEnable:(BOOL)value;
|
|
889
|
-
@end
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
893
|
-
@interface TrackSizingFunction : NSObject
|
|
894
|
-
@property (nonatomic, readonly) BOOL isRepeating;
|
|
895
|
-
@property (nonatomic, readonly) id _Nullable value;
|
|
896
|
-
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
897
|
-
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
898
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
899
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
900
|
-
@end
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
@interface UIView (SWIFT_EXTENSION(Mason))
|
|
904
|
-
+ (UIView * _Nonnull)createGridView SWIFT_WARN_UNUSED_RESULT;
|
|
905
|
-
+ (UIView * _Nonnull)createFlexView SWIFT_WARN_UNUSED_RESULT;
|
|
906
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull mason;
|
|
907
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
908
|
-
+ (NSInteger)masonPtr SWIFT_WARN_UNUSED_RESULT;
|
|
909
|
-
@property (nonatomic, readonly) NSInteger masonNodePtr;
|
|
910
|
-
@property (nonatomic, readonly) NSInteger masonStylePtr;
|
|
911
|
-
@property (nonatomic, readonly) BOOL isMasonEnabled;
|
|
852
|
+
SWIFT_CLASS_NAMED("MasonUIView")
|
|
853
|
+
@interface MasonUIView : UIView
|
|
854
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
855
|
+
- (void)markNodeDirty;
|
|
856
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
857
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
858
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
859
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
860
|
+
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
861
|
+
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
862
|
+
+ (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
912
863
|
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
864
|
+
- (void)requestLayout;
|
|
865
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
866
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
867
|
+
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
913
868
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
914
869
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
915
870
|
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
916
871
|
@property (nonatomic) BOOL inBatch;
|
|
917
872
|
@property (nonatomic) enum Display display;
|
|
918
|
-
@property (nonatomic) enum Position
|
|
873
|
+
@property (nonatomic) enum Position _position;
|
|
919
874
|
@property (nonatomic) enum Direction direction;
|
|
920
875
|
@property (nonatomic) enum FlexDirection flexDirection;
|
|
921
876
|
@property (nonatomic) enum FlexWrap flexWrap;
|
|
922
|
-
@property (nonatomic) enum Overflow
|
|
877
|
+
@property (nonatomic) enum Overflow overflowX;
|
|
878
|
+
@property (nonatomic) enum Overflow overflowY;
|
|
923
879
|
@property (nonatomic) enum AlignItems alignItems;
|
|
924
880
|
@property (nonatomic) enum AlignSelf alignSelf;
|
|
925
881
|
@property (nonatomic) enum AlignContent alignContent;
|
|
@@ -928,6 +884,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
928
884
|
@property (nonatomic) enum JustifyContent justifyContent;
|
|
929
885
|
@property (nonatomic) float flexGrow;
|
|
930
886
|
@property (nonatomic) float flexShrink;
|
|
887
|
+
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull scrollBarWidthCompat;
|
|
931
888
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull flexBasisCompat;
|
|
932
889
|
@property (nonatomic) float aspectRatio;
|
|
933
890
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
|
|
@@ -1006,81 +963,328 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
1006
963
|
- (void)setColumnGap:(float)column :(NSInteger)type;
|
|
1007
964
|
- (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
|
|
1008
965
|
- (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
|
|
966
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1009
967
|
@end
|
|
1010
968
|
|
|
1011
|
-
#endif
|
|
1012
|
-
#if defined(__cplusplus)
|
|
1013
|
-
#endif
|
|
1014
|
-
#if __has_attribute(external_source_symbol)
|
|
1015
|
-
# pragma clang attribute pop
|
|
1016
|
-
#endif
|
|
1017
|
-
#pragma clang diagnostic pop
|
|
1018
|
-
#endif
|
|
1019
969
|
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
970
|
+
SWIFT_CLASS_NAMED("MaxSizing")
|
|
971
|
+
@interface MaxSizing : NSObject
|
|
972
|
+
@property (nonatomic, readonly) float value;
|
|
973
|
+
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
974
|
+
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
975
|
+
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
976
|
+
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
977
|
+
+ (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
978
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
979
|
+
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
980
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
981
|
+
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
982
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
983
|
+
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
984
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
985
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
986
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
987
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
988
|
+
@end
|
|
1026
989
|
|
|
1027
|
-
#if !defined(__has_include)
|
|
1028
|
-
# define __has_include(x) 0
|
|
1029
|
-
#endif
|
|
1030
|
-
#if !defined(__has_attribute)
|
|
1031
|
-
# define __has_attribute(x) 0
|
|
1032
|
-
#endif
|
|
1033
|
-
#if !defined(__has_feature)
|
|
1034
|
-
# define __has_feature(x) 0
|
|
1035
|
-
#endif
|
|
1036
|
-
#if !defined(__has_warning)
|
|
1037
|
-
# define __has_warning(x) 0
|
|
1038
|
-
#endif
|
|
1039
990
|
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
991
|
+
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
992
|
+
@interface MeasureOutput : NSObject
|
|
993
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
994
|
+
@end
|
|
1043
995
|
|
|
1044
|
-
|
|
1045
|
-
#pragma clang diagnostic ignored "-Wauto-import"
|
|
1046
|
-
#if defined(__OBJC__)
|
|
1047
|
-
#include <Foundation/Foundation.h>
|
|
1048
|
-
#endif
|
|
1049
|
-
#if defined(__cplusplus)
|
|
1050
|
-
#include <cstdint>
|
|
1051
|
-
#include <cstddef>
|
|
1052
|
-
#include <cstdbool>
|
|
1053
|
-
#else
|
|
1054
|
-
#include <stdint.h>
|
|
1055
|
-
#include <stddef.h>
|
|
1056
|
-
#include <stdbool.h>
|
|
1057
|
-
#endif
|
|
996
|
+
@class MinSizing;
|
|
1058
997
|
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
1076
|
-
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
1077
|
-
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
1078
|
-
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
1079
|
-
#endif
|
|
998
|
+
SWIFT_CLASS_NAMED("MinMax")
|
|
999
|
+
@interface MinMax : NSObject
|
|
1000
|
+
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
1001
|
+
+ (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1002
|
+
+ (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1003
|
+
+ (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
1004
|
+
+ (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1005
|
+
+ (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1006
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
|
|
1007
|
+
+ (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1008
|
+
+ (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
|
|
1009
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1010
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1011
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1012
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1013
|
+
@end
|
|
1080
1014
|
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1015
|
+
|
|
1016
|
+
SWIFT_CLASS_NAMED("MinSizing")
|
|
1017
|
+
@interface MinSizing : NSObject
|
|
1018
|
+
@property (nonatomic, readonly) float value;
|
|
1019
|
+
+ (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1020
|
+
+ (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1021
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
|
|
1022
|
+
+ (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1023
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
|
|
1024
|
+
+ (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
1025
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
|
|
1026
|
+
+ (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
1027
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1028
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1029
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1030
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1031
|
+
@end
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
SWIFT_CLASS_NAMED("NSCFontDescriptors")
|
|
1035
|
+
@interface NSCFontDescriptors : NSObject
|
|
1036
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
1037
|
+
- (void)update:(NSString * _Nonnull)value;
|
|
1038
|
+
- (void)setFontWeight:(NSString * _Nonnull)value;
|
|
1039
|
+
- (void)setFontStyle:(NSString * _Nonnull)value;
|
|
1040
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1041
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1042
|
+
@end
|
|
1043
|
+
|
|
1044
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontDisplay, "NSCFontDisplay", open) {
|
|
1045
|
+
NSCFontDisplayAuto = 0,
|
|
1046
|
+
NSCFontDisplayBlock = 1,
|
|
1047
|
+
NSCFontDisplayFallback = 2,
|
|
1048
|
+
NSCFontDisplayOptional = 3,
|
|
1049
|
+
NSCFontDisplaySwap = 4,
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
enum NSCFontFaceStatus : NSInteger;
|
|
1053
|
+
enum NSCFontWeight : NSInteger;
|
|
1054
|
+
|
|
1055
|
+
SWIFT_CLASS_NAMED("NSCFontFace")
|
|
1056
|
+
@interface NSCFontFace : NSObject
|
|
1057
|
+
@property (nonatomic, readonly) CGFontRef _Nullable font;
|
|
1058
|
+
@property (nonatomic, readonly, strong) NSData * _Nullable fontData;
|
|
1059
|
+
- (void)updateDescriptorWithValue:(NSString * _Nonnull)value;
|
|
1060
|
+
+ (NSCFontFace * _Nullable)loadFromStyleWithStyle:(NSString * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1061
|
+
+ (void)importFromRemoteWithUrl:(NSString * _Nonnull)url load:(BOOL)load callback:(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nullable, NSString * _Nullable))callback;
|
|
1062
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
1063
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family source:(NSString * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
1064
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family data:(NSData * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
1065
|
+
- (nonnull instancetype)init:(NSString * _Nonnull)family :(NSString * _Nullable)source :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
1066
|
+
- (nonnull instancetype)init:(NSString * _Nonnull)family data:(NSData * _Nullable)data :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
1067
|
+
@property (nonatomic) enum NSCFontFaceStatus status;
|
|
1068
|
+
@property (nonatomic) enum NSCFontDisplay display;
|
|
1069
|
+
- (void)setFontDisplayWithValue:(NSString * _Nonnull)value;
|
|
1070
|
+
@property (nonatomic, copy) NSString * _Nonnull style;
|
|
1071
|
+
- (void)setFontStyleWithValue:(NSString * _Nonnull)value angle:(NSString * _Nullable)angle;
|
|
1072
|
+
@property (nonatomic) enum NSCFontWeight weight;
|
|
1073
|
+
- (void)setFontWeightWithValue:(NSString * _Nonnull)value;
|
|
1074
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull family;
|
|
1075
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull ascentOverride;
|
|
1076
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull descentOverride;
|
|
1077
|
+
- (void)load:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
1078
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1079
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1080
|
+
@end
|
|
1081
|
+
|
|
1082
|
+
enum NSCFontFaceSetStatus : NSInteger;
|
|
1083
|
+
@class NSEnumerator;
|
|
1084
|
+
|
|
1085
|
+
SWIFT_CLASS_NAMED("NSCFontFaceSet")
|
|
1086
|
+
@interface NSCFontFaceSet : NSObject
|
|
1087
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSCFontFaceSet * _Nonnull instance;)
|
|
1088
|
+
+ (NSCFontFaceSet * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
|
|
1089
|
+
@property (nonatomic) enum NSCFontFaceSetStatus status;
|
|
1090
|
+
@property (nonatomic, copy) void (^ _Nullable onStatus)(enum NSCFontFaceSetStatus);
|
|
1091
|
+
- (NSEnumerator * _Nonnull)iter SWIFT_WARN_UNUSED_RESULT;
|
|
1092
|
+
- (NSArray * _Nonnull)array SWIFT_WARN_UNUSED_RESULT;
|
|
1093
|
+
- (void)add:(NSCFontFace * _Nonnull)font;
|
|
1094
|
+
- (void)clear;
|
|
1095
|
+
- (void)delete:(NSCFontFace * _Nonnull)font;
|
|
1096
|
+
- (BOOL)check:(NSString * _Nonnull)font :(NSString * _Nullable)text SWIFT_WARN_UNUSED_RESULT;
|
|
1097
|
+
- (void)load:(NSString * _Nonnull)font :(NSString * _Nullable)text :(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nonnull, NSString * _Nullable))callback;
|
|
1098
|
+
@property (nonatomic, readonly) NSInteger size;
|
|
1099
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1100
|
+
@end
|
|
1101
|
+
|
|
1102
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceSetStatus, "NSCFontFaceSetStatus", open) {
|
|
1103
|
+
NSCFontFaceSetStatusLoading = 0,
|
|
1104
|
+
NSCFontFaceSetStatusLoaded = 1,
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceStatus, "NSCFontFaceStatus", open) {
|
|
1108
|
+
NSCFontFaceStatusUnloaded = 0,
|
|
1109
|
+
NSCFontFaceStatusLoading = 1,
|
|
1110
|
+
NSCFontFaceStatusLoaded = 2,
|
|
1111
|
+
NSCFontFaceStatusError = 3,
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontWeight, "NSCFontWeight", open) {
|
|
1115
|
+
NSCFontWeightThin = 0,
|
|
1116
|
+
NSCFontWeightExtraLight = 1,
|
|
1117
|
+
NSCFontWeightLight = 2,
|
|
1118
|
+
NSCFontWeightNormal = 3,
|
|
1119
|
+
NSCFontWeightMedium = 4,
|
|
1120
|
+
NSCFontWeightSemiBold = 5,
|
|
1121
|
+
NSCFontWeightBold = 6,
|
|
1122
|
+
NSCFontWeightExtraBold = 7,
|
|
1123
|
+
NSCFontWeightBlack = 8,
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
SWIFT_CLASS_NAMED("NSCMason")
|
|
1128
|
+
@interface NSCMason : NSObject
|
|
1129
|
+
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
1130
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull shared;)
|
|
1131
|
+
+ (NSCMason * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
1132
|
+
+ (void)setShared:(NSCMason * _Nonnull)value;
|
|
1133
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1134
|
+
- (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
|
|
1135
|
+
- (void)clear;
|
|
1136
|
+
- (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
|
|
1137
|
+
- (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
|
|
1138
|
+
- (MasonText * _Nonnull)createTextViewWithType:(enum MasonTextType)type SWIFT_WARN_UNUSED_RESULT;
|
|
1139
|
+
- (MasonImg * _Nonnull)createImageView SWIFT_WARN_UNUSED_RESULT;
|
|
1140
|
+
- (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
|
|
1141
|
+
- (void)printTree:(MasonNode * _Nonnull)node;
|
|
1142
|
+
- (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
|
|
1143
|
+
@end
|
|
1144
|
+
|
|
1145
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
|
|
1146
|
+
OverflowUnset = 0,
|
|
1147
|
+
OverflowVisible = 1,
|
|
1148
|
+
OverflowHidden = 2,
|
|
1149
|
+
OverflowScroll = 3,
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1152
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
|
|
1153
|
+
PositionRelative = 0,
|
|
1154
|
+
PositionAbsolute = 1,
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, TextTransform, "TextTransform", open) {
|
|
1158
|
+
TextTransformNone = 0,
|
|
1159
|
+
TextTransformCapitalize = 1,
|
|
1160
|
+
TextTransformUppercase = 2,
|
|
1161
|
+
TextTransformLowercase = 3,
|
|
1162
|
+
TextTransformFullWidth = 4,
|
|
1163
|
+
TextTransformFullSizeKana = 5,
|
|
1164
|
+
TextTransformMathAuto = 6,
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, TextWrap, "TextWrap", open) {
|
|
1168
|
+
TextWrapWrap = 0,
|
|
1169
|
+
TextWrapNoWrap = 1,
|
|
1170
|
+
TextWrapBalance = 2,
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
1175
|
+
@interface TrackSizingFunction : NSObject
|
|
1176
|
+
@property (nonatomic, readonly) BOOL isRepeating;
|
|
1177
|
+
@property (nonatomic, readonly) id _Nullable value;
|
|
1178
|
+
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1179
|
+
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1180
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1181
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1182
|
+
@end
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, WhiteSpace, "WhiteSpace", open) {
|
|
1186
|
+
WhiteSpaceNormal = 0,
|
|
1187
|
+
WhiteSpacePre = 1,
|
|
1188
|
+
WhiteSpacePreWrap = 2,
|
|
1189
|
+
WhiteSpacePreLine = 3,
|
|
1190
|
+
WhiteSpaceNowrap = 4,
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
#endif
|
|
1194
|
+
#if __has_attribute(external_source_symbol)
|
|
1195
|
+
# pragma clang attribute pop
|
|
1196
|
+
#endif
|
|
1197
|
+
#if defined(__cplusplus)
|
|
1198
|
+
#endif
|
|
1199
|
+
#pragma clang diagnostic pop
|
|
1200
|
+
#endif
|
|
1201
|
+
|
|
1202
|
+
#elif defined(__x86_64__) && __x86_64__
|
|
1203
|
+
// Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
1204
|
+
#ifndef MASON_SWIFT_H
|
|
1205
|
+
#define MASON_SWIFT_H
|
|
1206
|
+
#pragma clang diagnostic push
|
|
1207
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
1208
|
+
|
|
1209
|
+
#if !defined(__has_include)
|
|
1210
|
+
# define __has_include(x) 0
|
|
1211
|
+
#endif
|
|
1212
|
+
#if !defined(__has_attribute)
|
|
1213
|
+
# define __has_attribute(x) 0
|
|
1214
|
+
#endif
|
|
1215
|
+
#if !defined(__has_feature)
|
|
1216
|
+
# define __has_feature(x) 0
|
|
1217
|
+
#endif
|
|
1218
|
+
#if !defined(__has_warning)
|
|
1219
|
+
# define __has_warning(x) 0
|
|
1220
|
+
#endif
|
|
1221
|
+
|
|
1222
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
1223
|
+
# include <swift/objc-prologue.h>
|
|
1224
|
+
#endif
|
|
1225
|
+
|
|
1226
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
1227
|
+
#if defined(__OBJC__)
|
|
1228
|
+
#include <Foundation/Foundation.h>
|
|
1229
|
+
#endif
|
|
1230
|
+
#if defined(__cplusplus)
|
|
1231
|
+
#include <cstdint>
|
|
1232
|
+
#include <cstddef>
|
|
1233
|
+
#include <cstdbool>
|
|
1234
|
+
#include <cstring>
|
|
1235
|
+
#include <stdlib.h>
|
|
1236
|
+
#include <new>
|
|
1237
|
+
#include <type_traits>
|
|
1238
|
+
#else
|
|
1239
|
+
#include <stdint.h>
|
|
1240
|
+
#include <stddef.h>
|
|
1241
|
+
#include <stdbool.h>
|
|
1242
|
+
#include <string.h>
|
|
1243
|
+
#endif
|
|
1244
|
+
#if defined(__cplusplus)
|
|
1245
|
+
#pragma clang diagnostic push
|
|
1246
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
1247
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
1248
|
+
# include <ptrauth.h>
|
|
1249
|
+
#else
|
|
1250
|
+
#pragma clang diagnostic push
|
|
1251
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
1252
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
1253
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
1254
|
+
# endif
|
|
1255
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
1256
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
1257
|
+
# endif
|
|
1258
|
+
#pragma clang diagnostic pop
|
|
1259
|
+
#endif
|
|
1260
|
+
#pragma clang diagnostic pop
|
|
1261
|
+
#endif
|
|
1262
|
+
|
|
1263
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
1264
|
+
# define SWIFT_TYPEDEFS 1
|
|
1265
|
+
# if __has_include(<uchar.h>)
|
|
1266
|
+
# include <uchar.h>
|
|
1267
|
+
# elif !defined(__cplusplus)
|
|
1268
|
+
typedef uint_least16_t char16_t;
|
|
1269
|
+
typedef uint_least32_t char32_t;
|
|
1270
|
+
# endif
|
|
1271
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
1272
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
1273
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
1274
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
1275
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
1276
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
1277
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
1278
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
1279
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
1280
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
1281
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
1282
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
1283
|
+
#endif
|
|
1284
|
+
|
|
1285
|
+
#if !defined(SWIFT_PASTE)
|
|
1286
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
1287
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
1084
1288
|
#endif
|
|
1085
1289
|
#if !defined(SWIFT_METATYPE)
|
|
1086
1290
|
# define SWIFT_METATYPE(X) Class
|
|
@@ -1089,53 +1293,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1089
1293
|
# if __has_feature(objc_class_property)
|
|
1090
1294
|
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
1091
1295
|
# else
|
|
1092
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
1296
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
1093
1297
|
# endif
|
|
1094
1298
|
#endif
|
|
1095
|
-
|
|
1096
|
-
#if __has_attribute(objc_runtime_name)
|
|
1097
|
-
#
|
|
1098
|
-
#else
|
|
1099
|
-
#
|
|
1299
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
1300
|
+
# if __has_attribute(objc_runtime_name)
|
|
1301
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
1302
|
+
# else
|
|
1303
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
1304
|
+
# endif
|
|
1100
1305
|
#endif
|
|
1101
|
-
#if
|
|
1102
|
-
#
|
|
1103
|
-
#
|
|
1104
|
-
#
|
|
1306
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
1307
|
+
# if __has_attribute(swift_name)
|
|
1308
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
1309
|
+
# else
|
|
1310
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
1311
|
+
# endif
|
|
1105
1312
|
#endif
|
|
1106
|
-
#if
|
|
1107
|
-
#
|
|
1108
|
-
#
|
|
1109
|
-
#
|
|
1313
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
1314
|
+
# if __has_attribute(objc_method_family)
|
|
1315
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
1316
|
+
# else
|
|
1317
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
1318
|
+
# endif
|
|
1110
1319
|
#endif
|
|
1111
|
-
#if
|
|
1112
|
-
#
|
|
1113
|
-
#
|
|
1114
|
-
#
|
|
1320
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
1321
|
+
# if __has_attribute(noescape)
|
|
1322
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
1323
|
+
# else
|
|
1324
|
+
# define SWIFT_NOESCAPE
|
|
1325
|
+
# endif
|
|
1115
1326
|
#endif
|
|
1116
|
-
#if
|
|
1117
|
-
#
|
|
1118
|
-
#
|
|
1119
|
-
#
|
|
1327
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
1328
|
+
# if __has_attribute(ns_consumed)
|
|
1329
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
1330
|
+
# else
|
|
1331
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
1332
|
+
# endif
|
|
1120
1333
|
#endif
|
|
1121
|
-
#if
|
|
1122
|
-
#
|
|
1123
|
-
#
|
|
1124
|
-
#
|
|
1334
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
1335
|
+
# if __has_attribute(warn_unused_result)
|
|
1336
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
1337
|
+
# else
|
|
1338
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
1339
|
+
# endif
|
|
1125
1340
|
#endif
|
|
1126
|
-
#if
|
|
1127
|
-
#
|
|
1128
|
-
#
|
|
1129
|
-
#
|
|
1341
|
+
#if !defined(SWIFT_NORETURN)
|
|
1342
|
+
# if __has_attribute(noreturn)
|
|
1343
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
1344
|
+
# else
|
|
1345
|
+
# define SWIFT_NORETURN
|
|
1346
|
+
# endif
|
|
1130
1347
|
#endif
|
|
1131
1348
|
#if !defined(SWIFT_CLASS_EXTRA)
|
|
1132
|
-
# define SWIFT_CLASS_EXTRA
|
|
1349
|
+
# define SWIFT_CLASS_EXTRA
|
|
1133
1350
|
#endif
|
|
1134
1351
|
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
1135
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
1352
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
1136
1353
|
#endif
|
|
1137
1354
|
#if !defined(SWIFT_ENUM_EXTRA)
|
|
1138
|
-
# define SWIFT_ENUM_EXTRA
|
|
1355
|
+
# define SWIFT_ENUM_EXTRA
|
|
1139
1356
|
#endif
|
|
1140
1357
|
#if !defined(SWIFT_CLASS)
|
|
1141
1358
|
# if __has_attribute(objc_subclassing_restricted)
|
|
@@ -1155,28 +1372,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1155
1372
|
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
1156
1373
|
# endif
|
|
1157
1374
|
#endif
|
|
1158
|
-
|
|
1159
1375
|
#if !defined(SWIFT_PROTOCOL)
|
|
1160
1376
|
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
1161
1377
|
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
1162
1378
|
#endif
|
|
1163
|
-
|
|
1164
1379
|
#if !defined(SWIFT_EXTENSION)
|
|
1165
1380
|
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
1166
1381
|
#endif
|
|
1167
|
-
|
|
1168
1382
|
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
1169
1383
|
# if __has_attribute(objc_designated_initializer)
|
|
1170
1384
|
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
1171
1385
|
# else
|
|
1172
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
1386
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
1173
1387
|
# endif
|
|
1174
1388
|
#endif
|
|
1175
1389
|
#if !defined(SWIFT_ENUM_ATTR)
|
|
1176
|
-
# if
|
|
1390
|
+
# if __has_attribute(enum_extensibility)
|
|
1177
1391
|
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
1178
1392
|
# else
|
|
1179
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
1393
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
1180
1394
|
# endif
|
|
1181
1395
|
#endif
|
|
1182
1396
|
#if !defined(SWIFT_ENUM)
|
|
@@ -1205,14 +1419,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1205
1419
|
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
1206
1420
|
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
1207
1421
|
#endif
|
|
1208
|
-
#if
|
|
1209
|
-
#
|
|
1210
|
-
#
|
|
1211
|
-
#
|
|
1422
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
1423
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
1424
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
1425
|
+
# else
|
|
1426
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
1427
|
+
# endif
|
|
1212
1428
|
#endif
|
|
1213
1429
|
#if defined(__OBJC__)
|
|
1214
1430
|
#if !defined(IBSegueAction)
|
|
1215
|
-
# define IBSegueAction
|
|
1431
|
+
# define IBSegueAction
|
|
1216
1432
|
#endif
|
|
1217
1433
|
#endif
|
|
1218
1434
|
#if !defined(SWIFT_EXTERN)
|
|
@@ -1225,36 +1441,52 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1225
1441
|
#if !defined(SWIFT_CALL)
|
|
1226
1442
|
# define SWIFT_CALL __attribute__((swiftcall))
|
|
1227
1443
|
#endif
|
|
1444
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
1445
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
1446
|
+
#endif
|
|
1447
|
+
#if !defined(SWIFT_CONTEXT)
|
|
1448
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
1449
|
+
#endif
|
|
1450
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
1451
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
1452
|
+
#endif
|
|
1228
1453
|
#if defined(__cplusplus)
|
|
1229
|
-
#if !defined(SWIFT_NOEXCEPT)
|
|
1230
1454
|
# define SWIFT_NOEXCEPT noexcept
|
|
1231
|
-
#endif
|
|
1232
1455
|
#else
|
|
1233
|
-
#if !defined(SWIFT_NOEXCEPT)
|
|
1234
1456
|
# define SWIFT_NOEXCEPT
|
|
1235
1457
|
#endif
|
|
1458
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
1459
|
+
# if __has_attribute(always_inline)
|
|
1460
|
+
# if __has_attribute(nodebug)
|
|
1461
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
1462
|
+
# else
|
|
1463
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
1464
|
+
# endif
|
|
1465
|
+
# else
|
|
1466
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
1467
|
+
# endif
|
|
1236
1468
|
#endif
|
|
1237
|
-
#if defined(
|
|
1238
|
-
#if !defined(
|
|
1239
|
-
#define
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1469
|
+
#if defined(_WIN32)
|
|
1470
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
1471
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
1472
|
+
#endif
|
|
1473
|
+
#else
|
|
1474
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
1475
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
1244
1476
|
#endif
|
|
1245
1477
|
#endif
|
|
1246
1478
|
#if defined(__OBJC__)
|
|
1247
|
-
#if __has_feature(
|
|
1479
|
+
#if __has_feature(objc_modules)
|
|
1248
1480
|
#if __has_warning("-Watimport-in-framework-header")
|
|
1249
1481
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
1250
1482
|
#endif
|
|
1483
|
+
@import CoreFoundation;
|
|
1484
|
+
@import CoreGraphics;
|
|
1251
1485
|
@import Foundation;
|
|
1252
1486
|
@import ObjectiveC;
|
|
1253
1487
|
@import UIKit;
|
|
1254
1488
|
#endif
|
|
1255
1489
|
|
|
1256
|
-
#import <Mason/Mason.h>
|
|
1257
|
-
|
|
1258
1490
|
#endif
|
|
1259
1491
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
1260
1492
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
@@ -1264,6 +1496,7 @@ using UInt = size_t;
|
|
|
1264
1496
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
1265
1497
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
1266
1498
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
1499
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
1267
1500
|
|
|
1268
1501
|
#if __has_attribute(external_source_symbol)
|
|
1269
1502
|
# pragma push_macro("any")
|
|
@@ -1308,6 +1541,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, AlignSelf, "AlignSelf", open) {
|
|
|
1308
1541
|
AlignSelfFlexEnd = 6,
|
|
1309
1542
|
};
|
|
1310
1543
|
|
|
1544
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, DecorationLine, "DecorationLine", open) {
|
|
1545
|
+
DecorationLineNone = 0,
|
|
1546
|
+
DecorationLineUnderline = 1,
|
|
1547
|
+
DecorationLineOverline = 2,
|
|
1548
|
+
DecorationLineLineThrough = 3,
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1311
1551
|
typedef SWIFT_ENUM_NAMED(NSInteger, Direction, "Direction", open) {
|
|
1312
1552
|
DirectionInherit = 0,
|
|
1313
1553
|
DirectionLTR = 1,
|
|
@@ -1318,6 +1558,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, Display, "Display", open) {
|
|
|
1318
1558
|
DisplayNone = 0,
|
|
1319
1559
|
DisplayFlex = 1,
|
|
1320
1560
|
DisplayGrid = 2,
|
|
1561
|
+
DisplayBlock = 3,
|
|
1321
1562
|
};
|
|
1322
1563
|
|
|
1323
1564
|
typedef SWIFT_ENUM_NAMED(NSInteger, FlexDirection, "FlexDirection", open) {
|
|
@@ -1333,6 +1574,12 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FlexWrap, "FlexWrap", open) {
|
|
|
1333
1574
|
FlexWrapWrapReverse = 2,
|
|
1334
1575
|
};
|
|
1335
1576
|
|
|
1577
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, FontStyle, "FontStyle", open) {
|
|
1578
|
+
FontStyleNormal = 0,
|
|
1579
|
+
FontStyleItalic = 1,
|
|
1580
|
+
FontStyleOblique = 2,
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1336
1583
|
typedef SWIFT_ENUM_NAMED(NSInteger, FlexGridAutoFlowWrap, "GridAutoFlow", open) {
|
|
1337
1584
|
FlexGridAutoFlowWrapRow = 0,
|
|
1338
1585
|
FlexGridAutoFlowWrapColumn = 1,
|
|
@@ -1421,6 +1668,18 @@ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
|
1421
1668
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1422
1669
|
@end
|
|
1423
1670
|
|
|
1671
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonLineHeight, "LineHeight", open) {
|
|
1672
|
+
MasonLineHeightNormal = 0,
|
|
1673
|
+
MasonLineHeightPre = 1,
|
|
1674
|
+
MasonLineHeightPreWrap = 2,
|
|
1675
|
+
MasonLineHeightPreLine = 3,
|
|
1676
|
+
};
|
|
1677
|
+
|
|
1678
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "MasonBoxSizing", open) {
|
|
1679
|
+
MasonBoxSizingBorderBox = 0,
|
|
1680
|
+
MasonBoxSizingContentBox = 1,
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1424
1683
|
enum MasonDimensionCompatType : NSInteger;
|
|
1425
1684
|
|
|
1426
1685
|
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
@@ -1466,6 +1725,30 @@ SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
|
1466
1725
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1467
1726
|
@end
|
|
1468
1727
|
|
|
1728
|
+
@class MasonStyle;
|
|
1729
|
+
@class MasonNode;
|
|
1730
|
+
@class UIView;
|
|
1731
|
+
@class NSCMason;
|
|
1732
|
+
@class NSCoder;
|
|
1733
|
+
@class UIImage;
|
|
1734
|
+
|
|
1735
|
+
SWIFT_CLASS_NAMED("MasonImg")
|
|
1736
|
+
@interface MasonImg : UIImageView
|
|
1737
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1738
|
+
- (void)markNodeDirty;
|
|
1739
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1740
|
+
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
1741
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1742
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1743
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1744
|
+
@property (nonatomic, copy) NSString * _Nullable src;
|
|
1745
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1746
|
+
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
1747
|
+
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image SWIFT_UNAVAILABLE;
|
|
1748
|
+
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage SWIFT_UNAVAILABLE;
|
|
1749
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1750
|
+
@end
|
|
1751
|
+
|
|
1469
1752
|
|
|
1470
1753
|
SWIFT_CLASS_NAMED("MasonLayout")
|
|
1471
1754
|
@interface MasonLayout : NSObject
|
|
@@ -1567,188 +1850,57 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
|
1567
1850
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1568
1851
|
@end
|
|
1569
1852
|
|
|
1570
|
-
@class MasonStyle;
|
|
1571
1853
|
|
|
1572
1854
|
SWIFT_CLASS_NAMED("MasonNode")
|
|
1573
1855
|
@interface MasonNode : NSObject
|
|
1574
|
-
@property (nonatomic, readonly) void *
|
|
1856
|
+
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
1857
|
+
@property (nonatomic, readonly, strong) MasonLayout * _Nullable layoutCache;
|
|
1858
|
+
@property (nonatomic) id _Nullable data;
|
|
1575
1859
|
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
1576
|
-
@property (nonatomic) BOOL includeInLayout;
|
|
1577
|
-
@property (nonatomic) BOOL isEnabled;
|
|
1578
|
-
@property (nonatomic, strong) id _Nullable data;
|
|
1579
1860
|
@property (nonatomic, readonly, strong) MasonNode * _Nullable owner;
|
|
1580
1861
|
@property (nonatomic, readonly, copy) NSArray<MasonNode *> * _Nonnull children;
|
|
1581
|
-
- (nonnull instancetype)
|
|
1582
|
-
- (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
|
|
1583
|
-
- (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style children:(NSArray<MasonNode *> * _Nonnull)children OBJC_DESIGNATED_INITIALIZER;
|
|
1584
|
-
- (void)updateNodeStyle;
|
|
1862
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
|
|
1585
1863
|
- (MasonLayout * _Nonnull)layout;
|
|
1586
1864
|
@property (nonatomic, readonly) BOOL isDirty;
|
|
1587
1865
|
- (void)markDirty;
|
|
1588
1866
|
- (MasonNode * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
|
|
1589
|
-
- (void)rootCompute;
|
|
1590
|
-
- (void)rootCompute:(float)width :(float)height;
|
|
1591
|
-
- (void)rootComputeMaxContent;
|
|
1592
|
-
- (void)rootComputeMinContent;
|
|
1593
|
-
- (void)rootComputeWithViewSize;
|
|
1594
|
-
- (void)rootComputeWithMaxContent;
|
|
1595
1867
|
- (void)compute;
|
|
1596
1868
|
- (void)compute:(float)width :(float)height;
|
|
1597
1869
|
- (void)computeMaxContent;
|
|
1598
1870
|
- (void)computeMinContent;
|
|
1599
1871
|
- (void)computeWithSize:(float)width :(float)height;
|
|
1600
1872
|
- (void)computeWithViewSize;
|
|
1873
|
+
- (void)computeWithViewSizeWithLayout:(BOOL)layout;
|
|
1601
1874
|
- (void)computeWithMaxContent;
|
|
1602
1875
|
- (void)computeWithMinContent;
|
|
1603
1876
|
- (void)attachAndApply;
|
|
1604
|
-
- (void)
|
|
1877
|
+
- (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
|
|
1605
1878
|
- (void)addChildren:(NSArray<MasonNode *> * _Nonnull)children;
|
|
1606
|
-
@property (nonatomic, readonly) BOOL isLeaf;
|
|
1607
1879
|
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
1880
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1881
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1608
1882
|
@end
|
|
1609
1883
|
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
@interface MasonReexports : NSObject
|
|
1613
|
-
+ (void)node_set_style:(void * _Nonnull)mason :(void * _Nonnull)node :(void * _Nonnull)style;
|
|
1614
|
-
+ (void)node_compute:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
1615
|
-
+ (void)node_compute_wh:(void * _Nonnull)mason :(void * _Nonnull)node width:(float)width height:(float)height;
|
|
1616
|
-
+ (void)node_compute_max_content:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
1617
|
-
+ (void)node_compute_min_content:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
1618
|
-
+ (BOOL)node_dirty:(void * _Nonnull)mason :(void * _Nonnull)node SWIFT_WARN_UNUSED_RESULT;
|
|
1619
|
-
+ (void)node_mark_dirty:(void * _Nonnull)mason :(void * _Nonnull)node;
|
|
1620
|
-
+ (int32_t)style_get_display:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1621
|
-
+ (void)style_set_display:(void * _Nonnull)style :(int32_t)display;
|
|
1622
|
-
+ (int32_t)style_get_position:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1623
|
-
+ (void)style_set_position:(void * _Nonnull)style :(int32_t)position;
|
|
1624
|
-
+ (int32_t)style_get_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1625
|
-
+ (void)style_set_direction:(void * _Nonnull)style :(int32_t)direction;
|
|
1626
|
-
+ (int32_t)style_get_flex_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1627
|
-
+ (void)style_set_flex_direction:(void * _Nonnull)style :(int32_t)flex_direction;
|
|
1628
|
-
+ (int32_t)style_get_flex_wrap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1629
|
-
+ (void)style_set_flex_wrap:(void * _Nonnull)style :(int32_t)flex_wrap;
|
|
1630
|
-
+ (int32_t)style_get_overflow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1631
|
-
+ (void)style_set_overflow:(void * _Nonnull)style :(int32_t)overflow;
|
|
1632
|
-
+ (int32_t)style_get_align_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1633
|
-
+ (void)style_set_align_items:(void * _Nonnull)style :(int32_t)align_items;
|
|
1634
|
-
+ (int32_t)style_get_align_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1635
|
-
+ (void)style_set_align_self:(void * _Nonnull)style :(int32_t)align_self;
|
|
1636
|
-
+ (int32_t)style_get_align_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1637
|
-
+ (void)style_set_align_content:(void * _Nonnull)style :(int32_t)align_content;
|
|
1638
|
-
+ (int32_t)style_get_justify_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1639
|
-
+ (void)style_set_justify_items:(void * _Nonnull)style :(int32_t)align_items;
|
|
1640
|
-
+ (int32_t)style_get_justify_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1641
|
-
+ (void)style_set_justify_self:(void * _Nonnull)style :(int32_t)align_self;
|
|
1642
|
-
+ (int32_t)style_get_justify_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1643
|
-
+ (void)style_set_justify_content:(void * _Nonnull)style :(int32_t)justify_content;
|
|
1644
|
-
+ (void)style_set_inset:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1645
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1646
|
-
+ (void)style_set_inset_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1647
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1648
|
-
+ (void)style_set_inset_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1649
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1650
|
-
+ (void)style_set_inset_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1651
|
-
+ (CMasonLengthPercentageAuto)style_get_inset_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1652
|
-
+ (void)style_set_inset_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1653
|
-
+ (void)style_set_margin:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1654
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1655
|
-
+ (void)style_set_margin_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1656
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1657
|
-
+ (void)style_set_margin_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1658
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1659
|
-
+ (void)style_set_margin_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1660
|
-
+ (CMasonLengthPercentageAuto)style_get_margin_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1661
|
-
+ (void)style_set_margin_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
|
|
1662
|
-
+ (void)style_set_padding:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1663
|
-
+ (CMasonLengthPercentage)style_get_padding_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1664
|
-
+ (void)style_set_padding_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1665
|
-
+ (CMasonLengthPercentage)style_get_padding_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1666
|
-
+ (void)style_set_padding_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1667
|
-
+ (CMasonLengthPercentage)style_get_padding_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1668
|
-
+ (void)style_set_padding_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1669
|
-
+ (CMasonLengthPercentage)style_get_padding_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1670
|
-
+ (void)style_set_padding_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1671
|
-
+ (void)style_set_border:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1672
|
-
+ (CMasonLengthPercentage)style_get_border_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1673
|
-
+ (void)style_set_border_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1674
|
-
+ (CMasonLengthPercentage)style_get_border_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1675
|
-
+ (void)style_set_border_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1676
|
-
+ (CMasonLengthPercentage)style_get_border_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1677
|
-
+ (void)style_set_border_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1678
|
-
+ (CMasonLengthPercentage)style_get_border_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1679
|
-
+ (void)style_set_border_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1680
|
-
+ (float)style_get_flex_grow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1681
|
-
+ (void)style_set_flex_grow:(void * _Nonnull)style :(float)value;
|
|
1682
|
-
+ (void)style_set_border_bottom:(void * _Nonnull)style :(float)value;
|
|
1683
|
-
+ (float)style_get_flex_shrink:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1684
|
-
+ (void)style_set_flex_shrink:(void * _Nonnull)style :(float)value;
|
|
1685
|
-
+ (void)style_set_flex_basis:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1686
|
-
+ (CMasonDimension)style_get_flex_basis:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1687
|
-
+ (CMasonDimension)style_get_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1688
|
-
+ (void)style_set_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1689
|
-
+ (CMasonDimension)style_get_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1690
|
-
+ (void)style_set_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1691
|
-
+ (CMasonDimension)style_get_min_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1692
|
-
+ (void)style_set_min_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1693
|
-
+ (CMasonDimension)style_get_min_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1694
|
-
+ (void)style_set_min_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1695
|
-
+ (CMasonDimension)style_get_max_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1696
|
-
+ (void)style_set_max_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1697
|
-
+ (CMasonDimension)style_get_max_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1698
|
-
+ (void)style_set_max_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
|
|
1699
|
-
+ (CMasonLengthPercentageSize)style_get_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1700
|
-
+ (void)style_set_gap:(void * _Nonnull)style :(float)width_value :(CMasonLengthPercentageType)width_type :(float)height_value :(CMasonLengthPercentageType)height_type;
|
|
1701
|
-
+ (CMasonLengthPercentage)style_get_row_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1702
|
-
+ (void)style_set_row_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1703
|
-
+ (CMasonLengthPercentage)style_get_column_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1704
|
-
+ (void)style_set_column_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
|
|
1705
|
-
+ (float)style_get_aspect_ratio:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1706
|
-
+ (void)style_set_aspect_ratio:(void * _Nonnull)style :(float)value;
|
|
1707
|
-
+ (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1708
|
-
+ (void)style_set_grid_auto_rows:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
|
|
1709
|
-
+ (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1710
|
-
+ (void)style_set_grid_auto_columns:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
|
|
1711
|
-
+ (int32_t)style_get_grid_auto_flow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1712
|
-
+ (void)style_set_grid_auto_flow:(void * _Nonnull)style :(int32_t)value;
|
|
1713
|
-
+ (void)style_set_grid_area:(void * _Nonnull)style :(CMasonGridPlacement)row_start :(CMasonGridPlacement)row_end :(CMasonGridPlacement)column_start :(CMasonGridPlacement)column_end;
|
|
1714
|
-
+ (void)style_set_grid_column:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
|
|
1715
|
-
+ (CMasonGridPlacement)style_get_grid_column_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1716
|
-
+ (void)style_set_grid_column_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
1717
|
-
+ (CMasonGridPlacement)style_get_grid_column_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1718
|
-
+ (void)style_set_grid_column_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
1719
|
-
+ (void)style_set_grid_row:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
|
|
1720
|
-
+ (CMasonGridPlacement)style_get_grid_row_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1721
|
-
+ (void)style_set_grid_row_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
1722
|
-
+ (CMasonGridPlacement)style_get_grid_row_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1723
|
-
+ (void)style_set_grid_row_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
|
|
1724
|
-
+ (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1725
|
-
+ (void)style_set_grid_template_rows:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
|
|
1726
|
-
+ (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1727
|
-
+ (void)style_set_grid_template_columns:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
|
|
1728
|
-
+ (void)destroyWithNonRepeatedTrackSizingFunctionArray:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)nonRepeatedTrackSizingFunctionArray;
|
|
1729
|
-
+ (void)destroyWithTrackSizingFunctionArray:(CMasonTrackSizingFunctionArray * _Nonnull)trackSizingFunctionArray;
|
|
1730
|
-
+ (NSString * _Nonnull)util_parse_non_repeated_track_sizing_function:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1731
|
-
+ (NSString * _Nonnull)util_parse_auto_repeating_track_sizing_function:(CMasonTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1732
|
-
+ (CMasonMinMax)util_create_non_repeated_track_sizing_function_with_type_value:(int32_t)track_type :(float)track_value SWIFT_WARN_UNUSED_RESULT;
|
|
1733
|
-
+ (void)style_update_with_values:(void * _Nonnull)style :(int32_t)display :(int32_t)position :(int32_t)direction :(int32_t)flexDirection :(int32_t)flexWrap :(int32_t)overflow :(int32_t)alignItems :(int32_t)alignSelf :(int32_t)alignContent :(int32_t)justifyItems :(int32_t)justifySelf :(int32_t)justifyContent :(int32_t)insetLeftType :(float)insetLeftValue :(int32_t)insetRightType :(float)insetRightValue :(int32_t)insetTopType :(float)insetTopValue :(int32_t)insetBottomType :(float)insetBottomValue :(int32_t)marginLeftType :(float)marginLeftValue :(int32_t)marginRightType :(float)marginRightValue :(int32_t)marginTopType :(float)marginTopValue :(int32_t)marginBottomType :(float)marginBottomValue :(int32_t)paddingLeftType :(float)paddingLeftValue :(int32_t)paddingRightType :(float)paddingRightValue :(int32_t)paddingTopType :(float)paddingTopValue :(int32_t)paddingBottomType :(float)paddingBottomValue :(int32_t)borderLeftType :(float)borderLeftValue :(int32_t)borderRightType :(float)borderRightValue :(int32_t)borderTopType :(float)borderTopValue :(int32_t)borderBottomType :(float)borderBottomValue :(float)flexGrow :(float)flexShrink :(int32_t)flexBasisType :(float)flexBasisValue :(int32_t)widthType :(float)widthValue :(int32_t)heightType :(float)heightValue :(int32_t)minWidthType :(float)minWidthValue :(int32_t)minHeightType :(float)minHeightValue :(int32_t)maxWidthType :(float)maxWidthValue :(int32_t)maxHeightType :(float)maxHeightValue :(int32_t)gapRowType :(float)gapRowValue :(int32_t)gapColumnType :(float)gapColumnValue :(float)aspectRatio :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoRows :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoColumns :(int32_t)gridAutoFlow :(int32_t)gridColumnStartType :(int16_t)gridColumnStartValue :(int32_t)gridColumnEndType :(int16_t)gridColumnEndValue :(int32_t)gridRowStartType :(int16_t)gridRowStartValue :(int32_t)gridRowEndType :(int16_t)gridRowEndValue :(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateRows gridTemplateColumns:(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateColumns;
|
|
1734
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1735
|
-
@end
|
|
1736
|
-
|
|
1884
|
+
@class NSMutableData;
|
|
1885
|
+
@class NSData;
|
|
1737
1886
|
enum Position : NSInteger;
|
|
1738
1887
|
enum Overflow : NSInteger;
|
|
1888
|
+
enum MasonTextAlign : NSInteger;
|
|
1739
1889
|
@class MinMax;
|
|
1740
1890
|
@class TrackSizingFunction;
|
|
1741
1891
|
|
|
1742
1892
|
SWIFT_CLASS_NAMED("MasonStyle")
|
|
1743
1893
|
@interface MasonStyle : NSObject
|
|
1744
|
-
@property (nonatomic,
|
|
1745
|
-
|
|
1894
|
+
@property (nonatomic, strong) NSMutableData * _Nonnull valuesCompat;
|
|
1895
|
+
@property (nonatomic, copy) NSData * _Nonnull values;
|
|
1896
|
+
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
|
|
1746
1897
|
@property (nonatomic) enum Display display;
|
|
1747
1898
|
@property (nonatomic) enum Position position;
|
|
1748
1899
|
@property (nonatomic) enum Direction direction;
|
|
1749
1900
|
@property (nonatomic) enum FlexDirection flexDirection;
|
|
1750
1901
|
@property (nonatomic) enum FlexWrap flexWrap;
|
|
1751
|
-
@property (nonatomic) enum Overflow
|
|
1902
|
+
@property (nonatomic) enum Overflow overflowX;
|
|
1903
|
+
@property (nonatomic) enum Overflow overflowY;
|
|
1752
1904
|
@property (nonatomic) enum AlignItems alignItems;
|
|
1753
1905
|
@property (nonatomic) enum AlignSelf alignSelf;
|
|
1754
1906
|
@property (nonatomic) enum AlignContent alignContent;
|
|
@@ -1782,6 +1934,9 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
1782
1934
|
@property (nonatomic) float flexGrow;
|
|
1783
1935
|
@property (nonatomic) float flexShrink;
|
|
1784
1936
|
- (void)setFlexBasis:(float)value :(NSInteger)type;
|
|
1937
|
+
- (void)setScrollBarWidth:(float)value;
|
|
1938
|
+
@property (nonatomic) enum MasonTextAlign textAlign;
|
|
1939
|
+
@property (nonatomic) enum MasonBoxSizing boxSizing;
|
|
1785
1940
|
@property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
|
|
1786
1941
|
- (void)setMinSizeWidth:(float)value :(NSInteger)type;
|
|
1787
1942
|
- (void)setMinSizeHeight:(float)value :(NSInteger)type;
|
|
@@ -1812,132 +1967,115 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
1812
1967
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
|
|
1813
1968
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
|
|
1814
1969
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
|
|
1970
|
+
- (void)updateNativeStyle;
|
|
1815
1971
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1816
|
-
@end
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
SWIFT_CLASS_NAMED("MaxSizing")
|
|
1820
|
-
@interface MaxSizing : NSObject
|
|
1821
|
-
@property (nonatomic, readonly) float value;
|
|
1822
|
-
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1823
|
-
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1824
|
-
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1825
|
-
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1826
|
-
+ (MaxSizing * _Nonnull)Flex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
1827
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
1828
|
-
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1829
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
1830
|
-
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
1831
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
1832
|
-
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
1833
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1834
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1835
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1836
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1837
|
-
@end
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
1841
|
-
@interface MeasureOutput : NSObject
|
|
1842
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1843
|
-
@end
|
|
1844
|
-
|
|
1845
|
-
@class MinSizing;
|
|
1846
|
-
|
|
1847
|
-
SWIFT_CLASS_NAMED("MinMax")
|
|
1848
|
-
@interface MinMax : NSObject
|
|
1849
|
-
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
1850
|
-
+ (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1851
|
-
+ (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1852
|
-
+ (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
1853
|
-
+ (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1854
|
-
+ (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1855
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
|
|
1856
|
-
+ (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1857
|
-
+ (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
|
|
1858
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1859
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1860
1972
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1861
1973
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1862
1974
|
@end
|
|
1863
1975
|
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
@
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
@property (nonatomic, readonly, copy)
|
|
1877
|
-
@property (nonatomic, readonly
|
|
1878
|
-
|
|
1879
|
-
|
|
1976
|
+
enum MasonTextType : NSInteger;
|
|
1977
|
+
@class NSCFontFace;
|
|
1978
|
+
@class NSMutableAttributedString;
|
|
1979
|
+
enum TextTransform : NSInteger;
|
|
1980
|
+
@class UIColor;
|
|
1981
|
+
enum WhiteSpace : NSInteger;
|
|
1982
|
+
enum TextWrap : NSInteger;
|
|
1983
|
+
|
|
1984
|
+
SWIFT_CLASS_NAMED("MasonText")
|
|
1985
|
+
@interface MasonText : UIView
|
|
1986
|
+
@property (nonatomic, readonly, strong) MasonText * _Nullable owner;
|
|
1987
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1988
|
+
@property (nonatomic, readonly, copy) NSData * _Nonnull textValues;
|
|
1989
|
+
@property (nonatomic, readonly) enum MasonTextType type;
|
|
1990
|
+
@property (nonatomic, readonly, strong) NSCFontFace * _Nonnull font;
|
|
1991
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason type:(enum MasonTextType)textType OBJC_DESIGNATED_INITIALIZER;
|
|
1992
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
1993
|
+
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)masonNode OBJC_DESIGNATED_INITIALIZER;
|
|
1994
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1995
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1996
|
+
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1997
|
+
- (void)markNodeDirty;
|
|
1998
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1999
|
+
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
2000
|
+
- (void)updateText:(NSString * _Nullable)value;
|
|
2001
|
+
@property (nonatomic, strong) NSMutableAttributedString * _Nonnull txtToRender;
|
|
2002
|
+
- (void)invalidateStyle:(int64_t)state;
|
|
2003
|
+
@property (nonatomic) enum TextTransform textTransform;
|
|
2004
|
+
@property (nonatomic) CGFloat fontSize;
|
|
2005
|
+
@property (nonatomic) enum FontStyle fontStyle;
|
|
2006
|
+
- (void)setFontStyle:(enum FontStyle)style slant:(int32_t)slant;
|
|
2007
|
+
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
2008
|
+
@property (nonatomic) uint32_t color;
|
|
2009
|
+
@property (nonatomic) uint32_t backgroundColorValue;
|
|
2010
|
+
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
2011
|
+
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
2012
|
+
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
2013
|
+
@property (nonatomic) uint32_t decorationColor;
|
|
2014
|
+
@property (nonatomic) enum DecorationLine decorationLine;
|
|
2015
|
+
@property (nonatomic) enum WhiteSpace whiteSpace;
|
|
2016
|
+
@property (nonatomic) enum TextWrap textWrap;
|
|
2017
|
+
- (void)drawRect:(CGRect)rect;
|
|
2018
|
+
- (void)addView:(UIView * _Nonnull)view :(NSInteger)index;
|
|
2019
|
+
- (void)removeView:(UIView * _Nonnull)view;
|
|
2020
|
+
@property (nonatomic, copy) NSString * _Nullable text;
|
|
2021
|
+
- (void)syncStyle:(NSString * _Nonnull)state :(NSString * _Nonnull)textState;
|
|
2022
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1880
2023
|
@end
|
|
1881
2024
|
|
|
1882
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
2025
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "MasonTextAlign", open) {
|
|
2026
|
+
MasonTextAlignAuto = 0,
|
|
2027
|
+
MasonTextAlignLeft = 1,
|
|
2028
|
+
MasonTextAlignRight = 2,
|
|
2029
|
+
MasonTextAlignCenter = 3,
|
|
2030
|
+
MasonTextAlignJustify = 4,
|
|
2031
|
+
MasonTextAlignStart = 5,
|
|
2032
|
+
MasonTextAlignEnd = 6,
|
|
1886
2033
|
};
|
|
1887
2034
|
|
|
1888
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1889
|
-
|
|
1890
|
-
|
|
2035
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextType, "MasonTextType", open) {
|
|
2036
|
+
MasonTextTypeNone = 0,
|
|
2037
|
+
MasonTextTypeP = 1,
|
|
2038
|
+
MasonTextTypeSpan = 2,
|
|
2039
|
+
MasonTextTypeCode = 3,
|
|
2040
|
+
MasonTextTypeH1 = 4,
|
|
2041
|
+
MasonTextTypeH2 = 5,
|
|
2042
|
+
MasonTextTypeH3 = 6,
|
|
2043
|
+
MasonTextTypeH4 = 7,
|
|
2044
|
+
MasonTextTypeH5 = 8,
|
|
2045
|
+
MasonTextTypeH6 = 9,
|
|
2046
|
+
MasonTextTypeLi = 10,
|
|
2047
|
+
MasonTextTypeBlockquote = 11,
|
|
2048
|
+
MasonTextTypeB = 12,
|
|
1891
2049
|
};
|
|
1892
2050
|
|
|
1893
2051
|
|
|
1894
|
-
SWIFT_CLASS_NAMED("
|
|
1895
|
-
@interface
|
|
1896
|
-
@property (nonatomic, readonly)
|
|
1897
|
-
- (
|
|
1898
|
-
- (
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
+ (
|
|
1903
|
-
+ (
|
|
1904
|
-
|
|
1905
|
-
+ (BOOL)alwaysEnable SWIFT_WARN_UNUSED_RESULT;
|
|
1906
|
-
+ (void)setAlwaysEnable:(BOOL)value;
|
|
1907
|
-
@end
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
1911
|
-
@interface TrackSizingFunction : NSObject
|
|
1912
|
-
@property (nonatomic, readonly) BOOL isRepeating;
|
|
1913
|
-
@property (nonatomic, readonly) id _Nullable value;
|
|
1914
|
-
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1915
|
-
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1916
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1917
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1918
|
-
@end
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
@interface UIView (SWIFT_EXTENSION(Mason))
|
|
1922
|
-
+ (UIView * _Nonnull)createGridView SWIFT_WARN_UNUSED_RESULT;
|
|
1923
|
-
+ (UIView * _Nonnull)createFlexView SWIFT_WARN_UNUSED_RESULT;
|
|
1924
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull mason;
|
|
1925
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
1926
|
-
+ (NSInteger)masonPtr SWIFT_WARN_UNUSED_RESULT;
|
|
1927
|
-
@property (nonatomic, readonly) NSInteger masonNodePtr;
|
|
1928
|
-
@property (nonatomic, readonly) NSInteger masonStylePtr;
|
|
1929
|
-
@property (nonatomic, readonly) BOOL isMasonEnabled;
|
|
2052
|
+
SWIFT_CLASS_NAMED("MasonUIView")
|
|
2053
|
+
@interface MasonUIView : UIView
|
|
2054
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
2055
|
+
- (void)markNodeDirty;
|
|
2056
|
+
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
2057
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
2058
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
2059
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
2060
|
+
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
2061
|
+
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
2062
|
+
+ (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1930
2063
|
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
2064
|
+
- (void)requestLayout;
|
|
2065
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
2066
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
2067
|
+
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
1931
2068
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
1932
2069
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
1933
2070
|
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
1934
2071
|
@property (nonatomic) BOOL inBatch;
|
|
1935
2072
|
@property (nonatomic) enum Display display;
|
|
1936
|
-
@property (nonatomic) enum Position
|
|
2073
|
+
@property (nonatomic) enum Position _position;
|
|
1937
2074
|
@property (nonatomic) enum Direction direction;
|
|
1938
2075
|
@property (nonatomic) enum FlexDirection flexDirection;
|
|
1939
2076
|
@property (nonatomic) enum FlexWrap flexWrap;
|
|
1940
|
-
@property (nonatomic) enum Overflow
|
|
2077
|
+
@property (nonatomic) enum Overflow overflowX;
|
|
2078
|
+
@property (nonatomic) enum Overflow overflowY;
|
|
1941
2079
|
@property (nonatomic) enum AlignItems alignItems;
|
|
1942
2080
|
@property (nonatomic) enum AlignSelf alignSelf;
|
|
1943
2081
|
@property (nonatomic) enum AlignContent alignContent;
|
|
@@ -1946,6 +2084,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
1946
2084
|
@property (nonatomic) enum JustifyContent justifyContent;
|
|
1947
2085
|
@property (nonatomic) float flexGrow;
|
|
1948
2086
|
@property (nonatomic) float flexShrink;
|
|
2087
|
+
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull scrollBarWidthCompat;
|
|
1949
2088
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull flexBasisCompat;
|
|
1950
2089
|
@property (nonatomic) float aspectRatio;
|
|
1951
2090
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
|
|
@@ -2024,14 +2163,239 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
|
|
|
2024
2163
|
- (void)setColumnGap:(float)column :(NSInteger)type;
|
|
2025
2164
|
- (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
|
|
2026
2165
|
- (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
|
|
2166
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
2027
2167
|
@end
|
|
2028
2168
|
|
|
2029
|
-
|
|
2030
|
-
|
|
2169
|
+
|
|
2170
|
+
SWIFT_CLASS_NAMED("MaxSizing")
|
|
2171
|
+
@interface MaxSizing : NSObject
|
|
2172
|
+
@property (nonatomic, readonly) float value;
|
|
2173
|
+
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
2174
|
+
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
2175
|
+
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
2176
|
+
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
2177
|
+
+ (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
2178
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
2179
|
+
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
2180
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
2181
|
+
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
2182
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
2183
|
+
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
2184
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
2185
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
2186
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2187
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2188
|
+
@end
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
2192
|
+
@interface MeasureOutput : NSObject
|
|
2193
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2194
|
+
@end
|
|
2195
|
+
|
|
2196
|
+
@class MinSizing;
|
|
2197
|
+
|
|
2198
|
+
SWIFT_CLASS_NAMED("MinMax")
|
|
2199
|
+
@interface MinMax : NSObject
|
|
2200
|
+
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
2201
|
+
+ (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
2202
|
+
+ (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
2203
|
+
+ (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
2204
|
+
+ (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
2205
|
+
+ (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
2206
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
|
|
2207
|
+
+ (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
2208
|
+
+ (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
|
|
2209
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
2210
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
2211
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2212
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2213
|
+
@end
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
SWIFT_CLASS_NAMED("MinSizing")
|
|
2217
|
+
@interface MinSizing : NSObject
|
|
2218
|
+
@property (nonatomic, readonly) float value;
|
|
2219
|
+
+ (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
2220
|
+
+ (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
2221
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
|
|
2222
|
+
+ (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
2223
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
|
|
2224
|
+
+ (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
2225
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
|
|
2226
|
+
+ (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
2227
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
2228
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
2229
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2230
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2231
|
+
@end
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
SWIFT_CLASS_NAMED("NSCFontDescriptors")
|
|
2235
|
+
@interface NSCFontDescriptors : NSObject
|
|
2236
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
2237
|
+
- (void)update:(NSString * _Nonnull)value;
|
|
2238
|
+
- (void)setFontWeight:(NSString * _Nonnull)value;
|
|
2239
|
+
- (void)setFontStyle:(NSString * _Nonnull)value;
|
|
2240
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2241
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2242
|
+
@end
|
|
2243
|
+
|
|
2244
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontDisplay, "NSCFontDisplay", open) {
|
|
2245
|
+
NSCFontDisplayAuto = 0,
|
|
2246
|
+
NSCFontDisplayBlock = 1,
|
|
2247
|
+
NSCFontDisplayFallback = 2,
|
|
2248
|
+
NSCFontDisplayOptional = 3,
|
|
2249
|
+
NSCFontDisplaySwap = 4,
|
|
2250
|
+
};
|
|
2251
|
+
|
|
2252
|
+
enum NSCFontFaceStatus : NSInteger;
|
|
2253
|
+
enum NSCFontWeight : NSInteger;
|
|
2254
|
+
|
|
2255
|
+
SWIFT_CLASS_NAMED("NSCFontFace")
|
|
2256
|
+
@interface NSCFontFace : NSObject
|
|
2257
|
+
@property (nonatomic, readonly) CGFontRef _Nullable font;
|
|
2258
|
+
@property (nonatomic, readonly, strong) NSData * _Nullable fontData;
|
|
2259
|
+
- (void)updateDescriptorWithValue:(NSString * _Nonnull)value;
|
|
2260
|
+
+ (NSCFontFace * _Nullable)loadFromStyleWithStyle:(NSString * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
2261
|
+
+ (void)importFromRemoteWithUrl:(NSString * _Nonnull)url load:(BOOL)load callback:(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nullable, NSString * _Nullable))callback;
|
|
2262
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
2263
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family source:(NSString * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
2264
|
+
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family data:(NSData * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
2265
|
+
- (nonnull instancetype)init:(NSString * _Nonnull)family :(NSString * _Nullable)source :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
2266
|
+
- (nonnull instancetype)init:(NSString * _Nonnull)family data:(NSData * _Nullable)data :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
2267
|
+
@property (nonatomic) enum NSCFontFaceStatus status;
|
|
2268
|
+
@property (nonatomic) enum NSCFontDisplay display;
|
|
2269
|
+
- (void)setFontDisplayWithValue:(NSString * _Nonnull)value;
|
|
2270
|
+
@property (nonatomic, copy) NSString * _Nonnull style;
|
|
2271
|
+
- (void)setFontStyleWithValue:(NSString * _Nonnull)value angle:(NSString * _Nullable)angle;
|
|
2272
|
+
@property (nonatomic) enum NSCFontWeight weight;
|
|
2273
|
+
- (void)setFontWeightWithValue:(NSString * _Nonnull)value;
|
|
2274
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull family;
|
|
2275
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull ascentOverride;
|
|
2276
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull descentOverride;
|
|
2277
|
+
- (void)load:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
2278
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2279
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2280
|
+
@end
|
|
2281
|
+
|
|
2282
|
+
enum NSCFontFaceSetStatus : NSInteger;
|
|
2283
|
+
@class NSEnumerator;
|
|
2284
|
+
|
|
2285
|
+
SWIFT_CLASS_NAMED("NSCFontFaceSet")
|
|
2286
|
+
@interface NSCFontFaceSet : NSObject
|
|
2287
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSCFontFaceSet * _Nonnull instance;)
|
|
2288
|
+
+ (NSCFontFaceSet * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
|
|
2289
|
+
@property (nonatomic) enum NSCFontFaceSetStatus status;
|
|
2290
|
+
@property (nonatomic, copy) void (^ _Nullable onStatus)(enum NSCFontFaceSetStatus);
|
|
2291
|
+
- (NSEnumerator * _Nonnull)iter SWIFT_WARN_UNUSED_RESULT;
|
|
2292
|
+
- (NSArray * _Nonnull)array SWIFT_WARN_UNUSED_RESULT;
|
|
2293
|
+
- (void)add:(NSCFontFace * _Nonnull)font;
|
|
2294
|
+
- (void)clear;
|
|
2295
|
+
- (void)delete:(NSCFontFace * _Nonnull)font;
|
|
2296
|
+
- (BOOL)check:(NSString * _Nonnull)font :(NSString * _Nullable)text SWIFT_WARN_UNUSED_RESULT;
|
|
2297
|
+
- (void)load:(NSString * _Nonnull)font :(NSString * _Nullable)text :(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nonnull, NSString * _Nullable))callback;
|
|
2298
|
+
@property (nonatomic, readonly) NSInteger size;
|
|
2299
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2300
|
+
@end
|
|
2301
|
+
|
|
2302
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceSetStatus, "NSCFontFaceSetStatus", open) {
|
|
2303
|
+
NSCFontFaceSetStatusLoading = 0,
|
|
2304
|
+
NSCFontFaceSetStatusLoaded = 1,
|
|
2305
|
+
};
|
|
2306
|
+
|
|
2307
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceStatus, "NSCFontFaceStatus", open) {
|
|
2308
|
+
NSCFontFaceStatusUnloaded = 0,
|
|
2309
|
+
NSCFontFaceStatusLoading = 1,
|
|
2310
|
+
NSCFontFaceStatusLoaded = 2,
|
|
2311
|
+
NSCFontFaceStatusError = 3,
|
|
2312
|
+
};
|
|
2313
|
+
|
|
2314
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontWeight, "NSCFontWeight", open) {
|
|
2315
|
+
NSCFontWeightThin = 0,
|
|
2316
|
+
NSCFontWeightExtraLight = 1,
|
|
2317
|
+
NSCFontWeightLight = 2,
|
|
2318
|
+
NSCFontWeightNormal = 3,
|
|
2319
|
+
NSCFontWeightMedium = 4,
|
|
2320
|
+
NSCFontWeightSemiBold = 5,
|
|
2321
|
+
NSCFontWeightBold = 6,
|
|
2322
|
+
NSCFontWeightExtraBold = 7,
|
|
2323
|
+
NSCFontWeightBlack = 8,
|
|
2324
|
+
};
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
SWIFT_CLASS_NAMED("NSCMason")
|
|
2328
|
+
@interface NSCMason : NSObject
|
|
2329
|
+
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
2330
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull shared;)
|
|
2331
|
+
+ (NSCMason * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
2332
|
+
+ (void)setShared:(NSCMason * _Nonnull)value;
|
|
2333
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2334
|
+
- (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
|
|
2335
|
+
- (void)clear;
|
|
2336
|
+
- (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
|
|
2337
|
+
- (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
|
|
2338
|
+
- (MasonText * _Nonnull)createTextViewWithType:(enum MasonTextType)type SWIFT_WARN_UNUSED_RESULT;
|
|
2339
|
+
- (MasonImg * _Nonnull)createImageView SWIFT_WARN_UNUSED_RESULT;
|
|
2340
|
+
- (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
|
|
2341
|
+
- (void)printTree:(MasonNode * _Nonnull)node;
|
|
2342
|
+
- (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
|
|
2343
|
+
@end
|
|
2344
|
+
|
|
2345
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
|
|
2346
|
+
OverflowUnset = 0,
|
|
2347
|
+
OverflowVisible = 1,
|
|
2348
|
+
OverflowHidden = 2,
|
|
2349
|
+
OverflowScroll = 3,
|
|
2350
|
+
};
|
|
2351
|
+
|
|
2352
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
|
|
2353
|
+
PositionRelative = 0,
|
|
2354
|
+
PositionAbsolute = 1,
|
|
2355
|
+
};
|
|
2356
|
+
|
|
2357
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, TextTransform, "TextTransform", open) {
|
|
2358
|
+
TextTransformNone = 0,
|
|
2359
|
+
TextTransformCapitalize = 1,
|
|
2360
|
+
TextTransformUppercase = 2,
|
|
2361
|
+
TextTransformLowercase = 3,
|
|
2362
|
+
TextTransformFullWidth = 4,
|
|
2363
|
+
TextTransformFullSizeKana = 5,
|
|
2364
|
+
TextTransformMathAuto = 6,
|
|
2365
|
+
};
|
|
2366
|
+
|
|
2367
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, TextWrap, "TextWrap", open) {
|
|
2368
|
+
TextWrapWrap = 0,
|
|
2369
|
+
TextWrapNoWrap = 1,
|
|
2370
|
+
TextWrapBalance = 2,
|
|
2371
|
+
};
|
|
2372
|
+
|
|
2373
|
+
|
|
2374
|
+
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
2375
|
+
@interface TrackSizingFunction : NSObject
|
|
2376
|
+
@property (nonatomic, readonly) BOOL isRepeating;
|
|
2377
|
+
@property (nonatomic, readonly) id _Nullable value;
|
|
2378
|
+
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2379
|
+
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2380
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2381
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2382
|
+
@end
|
|
2383
|
+
|
|
2384
|
+
|
|
2385
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, WhiteSpace, "WhiteSpace", open) {
|
|
2386
|
+
WhiteSpaceNormal = 0,
|
|
2387
|
+
WhiteSpacePre = 1,
|
|
2388
|
+
WhiteSpacePreWrap = 2,
|
|
2389
|
+
WhiteSpacePreLine = 3,
|
|
2390
|
+
WhiteSpaceNowrap = 4,
|
|
2391
|
+
};
|
|
2392
|
+
|
|
2031
2393
|
#endif
|
|
2032
2394
|
#if __has_attribute(external_source_symbol)
|
|
2033
2395
|
# pragma clang attribute pop
|
|
2034
2396
|
#endif
|
|
2397
|
+
#if defined(__cplusplus)
|
|
2398
|
+
#endif
|
|
2035
2399
|
#pragma clang diagnostic pop
|
|
2036
2400
|
#endif
|
|
2037
2401
|
|