@triniwiz/nativescript-masonkit 1.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +31 -0
  3. package/common.d.ts +66 -0
  4. package/common.js +1523 -0
  5. package/common.js.map +1 -0
  6. package/helpers.d.ts +233 -0
  7. package/helpers.js +3382 -0
  8. package/helpers.js.map +1 -0
  9. package/index.android.d.ts +26 -0
  10. package/index.android.js +82 -0
  11. package/index.android.js.map +1 -0
  12. package/index.d.ts +87 -0
  13. package/index.ios.d.ts +27 -0
  14. package/index.ios.js +124 -0
  15. package/index.ios.js.map +1 -0
  16. package/package.json +36 -0
  17. package/platforms/android/include.gradle +1 -0
  18. package/platforms/android/masonkit-release.aar +0 -0
  19. package/platforms/ios/Mason.xcframework/Info.plist +44 -0
  20. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +1022 -0
  21. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +19 -0
  22. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +945 -0
  23. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
  24. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  25. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  26. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +32942 -0
  27. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +1249 -0
  28. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  29. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +1249 -0
  30. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +11 -0
  31. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/PrivateHeaders/mason_native.h +676 -0
  32. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Info.plist +20 -0
  33. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  34. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +2040 -0
  35. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +19 -0
  36. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +945 -0
  37. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
  38. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  39. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  40. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  41. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +32942 -0
  42. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1249 -0
  43. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  44. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1249 -0
  45. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +32942 -0
  46. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1249 -0
  47. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  48. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1249 -0
  49. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +11 -0
  50. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/PrivateHeaders/mason_native.h +676 -0
  51. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +342 -0
  52. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Info.plist +20 -0
  53. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  54. package/platforms/ios/Podfile +1 -0
  55. package/platforms/ios/build.xcconfig +2 -0
  56. package/platforms/ios/src/JSIModule.h +217 -0
  57. package/platforms/ios/src/JSIModule.mm +2788 -0
  58. package/platforms/ios/src/include/mason_native.h +945 -0
  59. package/platforms/ios/src/module.modulemap +4 -0
@@ -0,0 +1,2040 @@
1
+ #if 0
2
+ #elif defined(__arm64__) && __arm64__
3
+ // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
4
+ #ifndef MASON_SWIFT_H
5
+ #define MASON_SWIFT_H
6
+ #pragma clang diagnostic push
7
+ #pragma clang diagnostic ignored "-Wgcc-compat"
8
+
9
+ #if !defined(__has_include)
10
+ # define __has_include(x) 0
11
+ #endif
12
+ #if !defined(__has_attribute)
13
+ # define __has_attribute(x) 0
14
+ #endif
15
+ #if !defined(__has_feature)
16
+ # define __has_feature(x) 0
17
+ #endif
18
+ #if !defined(__has_warning)
19
+ # define __has_warning(x) 0
20
+ #endif
21
+
22
+ #if __has_include(<swift/objc-prologue.h>)
23
+ # include <swift/objc-prologue.h>
24
+ #endif
25
+
26
+ #pragma clang diagnostic ignored "-Wduplicate-method-match"
27
+ #pragma clang diagnostic ignored "-Wauto-import"
28
+ #if defined(__OBJC__)
29
+ #include <Foundation/Foundation.h>
30
+ #endif
31
+ #if defined(__cplusplus)
32
+ #include <cstdint>
33
+ #include <cstddef>
34
+ #include <cstdbool>
35
+ #else
36
+ #include <stdint.h>
37
+ #include <stddef.h>
38
+ #include <stdbool.h>
39
+ #endif
40
+
41
+ #if !defined(SWIFT_TYPEDEFS)
42
+ # define SWIFT_TYPEDEFS 1
43
+ # if __has_include(<uchar.h>)
44
+ # include <uchar.h>
45
+ # elif !defined(__cplusplus)
46
+ typedef uint_least16_t char16_t;
47
+ typedef uint_least32_t char32_t;
48
+ # endif
49
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
50
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
51
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
52
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
53
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
54
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
55
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
56
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
57
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
58
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
59
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
60
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
61
+ #endif
62
+
63
+ #if !defined(SWIFT_PASTE)
64
+ # define SWIFT_PASTE_HELPER(x, y) x##y
65
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
66
+ #endif
67
+ #if !defined(SWIFT_METATYPE)
68
+ # define SWIFT_METATYPE(X) Class
69
+ #endif
70
+ #if !defined(SWIFT_CLASS_PROPERTY)
71
+ # if __has_feature(objc_class_property)
72
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
73
+ # else
74
+ # define SWIFT_CLASS_PROPERTY(...)
75
+ # endif
76
+ #endif
77
+
78
+ #if __has_attribute(objc_runtime_name)
79
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
80
+ #else
81
+ # define SWIFT_RUNTIME_NAME(X)
82
+ #endif
83
+ #if __has_attribute(swift_name)
84
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
85
+ #else
86
+ # define SWIFT_COMPILE_NAME(X)
87
+ #endif
88
+ #if __has_attribute(objc_method_family)
89
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
90
+ #else
91
+ # define SWIFT_METHOD_FAMILY(X)
92
+ #endif
93
+ #if __has_attribute(noescape)
94
+ # define SWIFT_NOESCAPE __attribute__((noescape))
95
+ #else
96
+ # define SWIFT_NOESCAPE
97
+ #endif
98
+ #if __has_attribute(ns_consumed)
99
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
100
+ #else
101
+ # define SWIFT_RELEASES_ARGUMENT
102
+ #endif
103
+ #if __has_attribute(warn_unused_result)
104
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
105
+ #else
106
+ # define SWIFT_WARN_UNUSED_RESULT
107
+ #endif
108
+ #if __has_attribute(noreturn)
109
+ # define SWIFT_NORETURN __attribute__((noreturn))
110
+ #else
111
+ # define SWIFT_NORETURN
112
+ #endif
113
+ #if !defined(SWIFT_CLASS_EXTRA)
114
+ # define SWIFT_CLASS_EXTRA
115
+ #endif
116
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
117
+ # define SWIFT_PROTOCOL_EXTRA
118
+ #endif
119
+ #if !defined(SWIFT_ENUM_EXTRA)
120
+ # define SWIFT_ENUM_EXTRA
121
+ #endif
122
+ #if !defined(SWIFT_CLASS)
123
+ # if __has_attribute(objc_subclassing_restricted)
124
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
125
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
126
+ # else
127
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
128
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
129
+ # endif
130
+ #endif
131
+ #if !defined(SWIFT_RESILIENT_CLASS)
132
+ # if __has_attribute(objc_class_stub)
133
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
134
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
135
+ # else
136
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
137
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
138
+ # endif
139
+ #endif
140
+
141
+ #if !defined(SWIFT_PROTOCOL)
142
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
143
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
144
+ #endif
145
+
146
+ #if !defined(SWIFT_EXTENSION)
147
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
148
+ #endif
149
+
150
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
151
+ # if __has_attribute(objc_designated_initializer)
152
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
153
+ # else
154
+ # define OBJC_DESIGNATED_INITIALIZER
155
+ # endif
156
+ #endif
157
+ #if !defined(SWIFT_ENUM_ATTR)
158
+ # if defined(__has_attribute) && __has_attribute(enum_extensibility)
159
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
160
+ # else
161
+ # define SWIFT_ENUM_ATTR(_extensibility)
162
+ # endif
163
+ #endif
164
+ #if !defined(SWIFT_ENUM)
165
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
166
+ # if __has_feature(generalized_swift_name)
167
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
168
+ # else
169
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
170
+ # endif
171
+ #endif
172
+ #if !defined(SWIFT_UNAVAILABLE)
173
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
174
+ #endif
175
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
176
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
177
+ #endif
178
+ #if !defined(SWIFT_AVAILABILITY)
179
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
180
+ #endif
181
+ #if !defined(SWIFT_WEAK_IMPORT)
182
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
183
+ #endif
184
+ #if !defined(SWIFT_DEPRECATED)
185
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
186
+ #endif
187
+ #if !defined(SWIFT_DEPRECATED_MSG)
188
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
189
+ #endif
190
+ #if __has_feature(attribute_diagnose_if_objc)
191
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
192
+ #else
193
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
194
+ #endif
195
+ #if defined(__OBJC__)
196
+ #if !defined(IBSegueAction)
197
+ # define IBSegueAction
198
+ #endif
199
+ #endif
200
+ #if !defined(SWIFT_EXTERN)
201
+ # if defined(__cplusplus)
202
+ # define SWIFT_EXTERN extern "C"
203
+ # else
204
+ # define SWIFT_EXTERN extern
205
+ # endif
206
+ #endif
207
+ #if !defined(SWIFT_CALL)
208
+ # define SWIFT_CALL __attribute__((swiftcall))
209
+ #endif
210
+ #if defined(__cplusplus)
211
+ #if !defined(SWIFT_NOEXCEPT)
212
+ # define SWIFT_NOEXCEPT noexcept
213
+ #endif
214
+ #else
215
+ #if !defined(SWIFT_NOEXCEPT)
216
+ # define SWIFT_NOEXCEPT
217
+ #endif
218
+ #endif
219
+ #if defined(__cplusplus)
220
+ #if !defined(SWIFT_CXX_INT_DEFINED)
221
+ #define SWIFT_CXX_INT_DEFINED
222
+ namespace swift {
223
+ using Int = ptrdiff_t;
224
+ using UInt = size_t;
225
+ }
226
+ #endif
227
+ #endif
228
+ #if defined(__OBJC__)
229
+ #if __has_feature(modules)
230
+ #if __has_warning("-Watimport-in-framework-header")
231
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
232
+ #endif
233
+ @import Foundation;
234
+ @import ObjectiveC;
235
+ @import UIKit;
236
+ #endif
237
+
238
+ #import <Mason/Mason.h>
239
+
240
+ #endif
241
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
242
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
243
+ #if __has_warning("-Wpragma-clang-attribute")
244
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
245
+ #endif
246
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
247
+ #pragma clang diagnostic ignored "-Wnullability"
248
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
249
+
250
+ #if __has_attribute(external_source_symbol)
251
+ # pragma push_macro("any")
252
+ # undef any
253
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Mason",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
254
+ # pragma pop_macro("any")
255
+ #endif
256
+
257
+ #if defined(__OBJC__)
258
+ typedef SWIFT_ENUM_NAMED(NSInteger, AlignContent, "AlignContent", open) {
259
+ AlignContentNormal = -1,
260
+ AlignContentStart = 0,
261
+ AlignContentEnd = 1,
262
+ AlignContentCenter = 2,
263
+ AlignContentStretch = 3,
264
+ AlignContentSpaceBetween = 4,
265
+ AlignContentSpaceAround = 5,
266
+ AlignContentSpaceEvenly = 6,
267
+ AlignContentFlexStart = 7,
268
+ AlignContentFlexEnd = 8,
269
+ };
270
+
271
+ typedef SWIFT_ENUM_NAMED(NSInteger, AlignItems, "AlignItems", open) {
272
+ AlignItemsNormal = -1,
273
+ AlignItemsStart = 0,
274
+ AlignItemsEnd = 1,
275
+ AlignItemsCenter = 2,
276
+ AlignItemsBaseline = 3,
277
+ AlignItemsStretch = 4,
278
+ AlignItemsFlexStart = 5,
279
+ AlignItemsFlexEnd = 6,
280
+ };
281
+
282
+ typedef SWIFT_ENUM_NAMED(NSInteger, AlignSelf, "AlignSelf", open) {
283
+ AlignSelfNormal = -1,
284
+ AlignSelfStart = 0,
285
+ AlignSelfEnd = 1,
286
+ AlignSelfCenter = 2,
287
+ AlignSelfBaseline = 3,
288
+ AlignSelfStretch = 4,
289
+ AlignSelfFlexStart = 5,
290
+ AlignSelfFlexEnd = 6,
291
+ };
292
+
293
+ typedef SWIFT_ENUM_NAMED(NSInteger, Direction, "Direction", open) {
294
+ DirectionInherit = 0,
295
+ DirectionLTR = 1,
296
+ DirectionRTL = 2,
297
+ };
298
+
299
+ typedef SWIFT_ENUM_NAMED(NSInteger, Display, "Display", open) {
300
+ DisplayNone = 0,
301
+ DisplayFlex = 1,
302
+ DisplayGrid = 2,
303
+ };
304
+
305
+ typedef SWIFT_ENUM_NAMED(NSInteger, FlexDirection, "FlexDirection", open) {
306
+ FlexDirectionRow = 0,
307
+ FlexDirectionColumn = 1,
308
+ FlexDirectionRowReverse = 2,
309
+ FlexDirectionColumnReverse = 3,
310
+ };
311
+
312
+ typedef SWIFT_ENUM_NAMED(NSInteger, FlexWrap, "FlexWrap", open) {
313
+ FlexWrapNoWrap = 0,
314
+ FlexWrapWrap = 1,
315
+ FlexWrapWrapReverse = 2,
316
+ };
317
+
318
+ typedef SWIFT_ENUM_NAMED(NSInteger, FlexGridAutoFlowWrap, "GridAutoFlow", open) {
319
+ FlexGridAutoFlowWrapRow = 0,
320
+ FlexGridAutoFlowWrapColumn = 1,
321
+ FlexGridAutoFlowWrapRowDense = 2,
322
+ FlexGridAutoFlowWrapColumnDense = 3,
323
+ };
324
+
325
+ enum GridPlacementCompatType : NSInteger;
326
+ @class NSString;
327
+
328
+ SWIFT_CLASS_NAMED("GridPlacementCompat")
329
+ @interface GridPlacementCompat : NSObject
330
+ - (nonnull instancetype)initWithSpan:(int16_t)span OBJC_DESIGNATED_INITIALIZER;
331
+ - (nonnull instancetype)initWithLine:(int16_t)line OBJC_DESIGNATED_INITIALIZER;
332
+ @property (nonatomic, readonly) enum GridPlacementCompatType type;
333
+ @property (nonatomic, readonly) int16_t value;
334
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
335
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
336
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridPlacementCompat * _Nonnull Auto;)
337
+ + (GridPlacementCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
338
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
339
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
340
+ @end
341
+
342
+ typedef SWIFT_ENUM_NAMED(NSInteger, GridPlacementCompatType, "GridPlacementCompatType", open) {
343
+ GridPlacementCompatTypeAuto = 0,
344
+ GridPlacementCompatTypeLine = 1,
345
+ GridPlacementCompatTypeSpan = 2,
346
+ };
347
+
348
+
349
+ SWIFT_CLASS_NAMED("GridTrackRepetition")
350
+ @interface GridTrackRepetition : NSObject
351
+ @property (nonatomic, readonly) int32_t type;
352
+ @property (nonatomic, readonly) uint16_t value;
353
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridTrackRepetition * _Nonnull AutoFill;)
354
+ + (GridTrackRepetition * _Nonnull)AutoFill SWIFT_WARN_UNUSED_RESULT;
355
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridTrackRepetition * _Nonnull AutoFit;)
356
+ + (GridTrackRepetition * _Nonnull)AutoFit SWIFT_WARN_UNUSED_RESULT;
357
+ + (GridTrackRepetition * _Nonnull)Count:(uint16_t)value SWIFT_WARN_UNUSED_RESULT;
358
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
359
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
360
+ @end
361
+
362
+ typedef SWIFT_ENUM_NAMED(NSInteger, JustifyContent, "JustifyContent", open) {
363
+ JustifyContentNormal = -1,
364
+ JustifyContentStart = 0,
365
+ JustifyContentEnd = 1,
366
+ JustifyContentCenter = 2,
367
+ JustifyContentStretch = 3,
368
+ JustifyContentSpaceBetween = 4,
369
+ JustifyContentSpaceAround = 5,
370
+ JustifyContentSpaceEvenly = 6,
371
+ JustifyContentFlexStart = 7,
372
+ JustifyContentFlexEnd = 8,
373
+ };
374
+
375
+ typedef SWIFT_ENUM_NAMED(NSInteger, JustifyItems, "JustifyItems", open) {
376
+ JustifyItemsNormal = -1,
377
+ JustifyItemsStart = 0,
378
+ JustifyItemsEnd = 1,
379
+ JustifyItemsCenter = 2,
380
+ JustifyItemsBaseline = 3,
381
+ JustifyItemsStretch = 4,
382
+ JustifyItemsFlexStart = 5,
383
+ JustifyItemsFlexEnd = 6,
384
+ };
385
+
386
+ typedef SWIFT_ENUM_NAMED(NSInteger, JustifySelf, "JustifySelf", open) {
387
+ JustifySelfNormal = -1,
388
+ JustifySelfStart = 0,
389
+ JustifySelfEnd = 1,
390
+ JustifySelfCenter = 2,
391
+ JustifySelfBaseline = 3,
392
+ JustifySelfStretch = 4,
393
+ JustifySelfFlexStart = 5,
394
+ JustifySelfFlexEnd = 6,
395
+ };
396
+
397
+
398
+ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
399
+ @interface LineGridPlacementCompat : NSObject
400
+ @property (nonatomic, readonly, strong) GridPlacementCompat * _Nonnull start;
401
+ @property (nonatomic, readonly, strong) GridPlacementCompat * _Nonnull end;
402
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
403
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
404
+ @end
405
+
406
+ enum MasonDimensionCompatType : NSInteger;
407
+
408
+ SWIFT_CLASS_NAMED("MasonDimensionCompat")
409
+ @interface MasonDimensionCompat : NSObject
410
+ - (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
411
+ - (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
412
+ @property (nonatomic, readonly) enum MasonDimensionCompatType type;
413
+ @property (nonatomic, readonly) float value;
414
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
415
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
416
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonDimensionCompat * _Nonnull Auto;)
417
+ + (MasonDimensionCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
418
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonDimensionCompat * _Nonnull Zero;)
419
+ + (MasonDimensionCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
420
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
421
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
422
+ @end
423
+
424
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonDimensionCompatType, "MasonDimensionCompatType", open) {
425
+ MasonDimensionCompatTypeAuto = 0,
426
+ MasonDimensionCompatTypePoints = 1,
427
+ MasonDimensionCompatTypePercent = 2,
428
+ };
429
+
430
+
431
+ SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
432
+ @interface MasonDimensionRectCompat : NSObject
433
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull left;
434
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull right;
435
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull top;
436
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull bottom;
437
+ - (nonnull instancetype)init:(MasonDimensionCompat * _Nonnull)left :(MasonDimensionCompat * _Nonnull)right :(MasonDimensionCompat * _Nonnull)top :(MasonDimensionCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
438
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
439
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
440
+ @end
441
+
442
+
443
+ SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
444
+ @interface MasonDimensionSizeCompat : NSObject
445
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull width;
446
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull height;
447
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
448
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
449
+ @end
450
+
451
+
452
+ SWIFT_CLASS_NAMED("MasonLayout")
453
+ @interface MasonLayout : NSObject
454
+ @property (nonatomic, readonly) NSInteger order;
455
+ @property (nonatomic, readonly) float x;
456
+ @property (nonatomic, readonly) float y;
457
+ @property (nonatomic, readonly) float width;
458
+ @property (nonatomic, readonly) float height;
459
+ @property (nonatomic, readonly, copy) NSArray<MasonLayout *> * _Nonnull children;
460
+ @property (nonatomic, readonly, copy) NSString * _Nonnull description;
461
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
462
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
463
+ @end
464
+
465
+ enum MasonLengthPercentageAutoCompatType : NSInteger;
466
+
467
+ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoCompat")
468
+ @interface MasonLengthPercentageAutoCompat : NSObject
469
+ - (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
470
+ - (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
471
+ @property (nonatomic, readonly) enum MasonLengthPercentageAutoCompatType type;
472
+ @property (nonatomic, readonly) float value;
473
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
474
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
475
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageAutoCompat * _Nonnull Auto;)
476
+ + (MasonLengthPercentageAutoCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
477
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageAutoCompat * _Nonnull Zero;)
478
+ + (MasonLengthPercentageAutoCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
479
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
480
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
481
+ @end
482
+
483
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageAutoCompatType, "MasonLengthPercentageAutoCompatType", open) {
484
+ MasonLengthPercentageAutoCompatTypeAuto = 0,
485
+ MasonLengthPercentageAutoCompatTypePoints = 1,
486
+ MasonLengthPercentageAutoCompatTypePercent = 2,
487
+ };
488
+
489
+
490
+ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
491
+ @interface MasonLengthPercentageAutoRectCompat : NSObject
492
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull left;
493
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull right;
494
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull top;
495
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull bottom;
496
+ - (nonnull instancetype)init:(MasonLengthPercentageAutoCompat * _Nonnull)left :(MasonLengthPercentageAutoCompat * _Nonnull)right :(MasonLengthPercentageAutoCompat * _Nonnull)top :(MasonLengthPercentageAutoCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
497
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
498
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
499
+ @end
500
+
501
+
502
+ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
503
+ @interface MasonLengthPercentageAutoSizeCompat : NSObject
504
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull width;
505
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull height;
506
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
507
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
508
+ @end
509
+
510
+ enum MasonLengthPercentageCompatType : NSInteger;
511
+
512
+ SWIFT_CLASS_NAMED("MasonLengthPercentageCompat")
513
+ @interface MasonLengthPercentageCompat : NSObject
514
+ - (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
515
+ - (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
516
+ @property (nonatomic, readonly) enum MasonLengthPercentageCompatType type;
517
+ @property (nonatomic, readonly) float value;
518
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
519
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
520
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageCompat * _Nonnull Zero;)
521
+ + (MasonLengthPercentageCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
522
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
523
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
524
+ @end
525
+
526
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageCompatType, "MasonLengthPercentageCompatType", open) {
527
+ MasonLengthPercentageCompatTypePoints = 0,
528
+ MasonLengthPercentageCompatTypePercent = 1,
529
+ };
530
+
531
+
532
+ SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
533
+ @interface MasonLengthPercentageRectCompat : NSObject
534
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull left;
535
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull right;
536
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull top;
537
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull bottom;
538
+ - (nonnull instancetype)init:(MasonLengthPercentageCompat * _Nonnull)left :(MasonLengthPercentageCompat * _Nonnull)right :(MasonLengthPercentageCompat * _Nonnull)top :(MasonLengthPercentageCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
539
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
540
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
541
+ @end
542
+
543
+
544
+ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
545
+ @interface MasonLengthPercentageSizeCompat : NSObject
546
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull width;
547
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull height;
548
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
549
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
550
+ @end
551
+
552
+ @class MasonStyle;
553
+
554
+ SWIFT_CLASS_NAMED("MasonNode")
555
+ @interface MasonNode : NSObject
556
+ @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
557
+ @property (nonatomic, strong) MasonStyle * _Nonnull style;
558
+ @property (nonatomic) BOOL includeInLayout;
559
+ @property (nonatomic) BOOL isEnabled;
560
+ @property (nonatomic, strong) id _Nullable data;
561
+ @property (nonatomic, readonly, strong) MasonNode * _Nullable owner;
562
+ @property (nonatomic, readonly, copy) NSArray<MasonNode *> * _Nonnull children;
563
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
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;
567
+ - (MasonLayout * _Nonnull)layout;
568
+ @property (nonatomic, readonly) BOOL isDirty;
569
+ - (void)markDirty;
570
+ - (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
+ - (void)compute;
578
+ - (void)compute:(float)width :(float)height;
579
+ - (void)computeMaxContent;
580
+ - (void)computeMinContent;
581
+ - (void)computeWithSize:(float)width :(float)height;
582
+ - (void)computeWithViewSize;
583
+ - (void)computeWithMaxContent;
584
+ - (void)computeWithMinContent;
585
+ - (void)attachAndApply;
586
+ - (void)setChildrenWithChildren:(NSArray<MasonNode *> * _Nonnull)children;
587
+ - (void)addChildren:(NSArray<MasonNode *> * _Nonnull)children;
588
+ @property (nonatomic, readonly) BOOL isLeaf;
589
+ - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
590
+ @end
591
+
592
+
593
+ SWIFT_CLASS_NAMED("MasonReexports")
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
+
719
+ enum Position : NSInteger;
720
+ enum Overflow : NSInteger;
721
+ @class MinMax;
722
+ @class TrackSizingFunction;
723
+
724
+ SWIFT_CLASS_NAMED("MasonStyle")
725
+ @interface MasonStyle : NSObject
726
+ @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
727
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
728
+ @property (nonatomic) enum Display display;
729
+ @property (nonatomic) enum Position position;
730
+ @property (nonatomic) enum Direction direction;
731
+ @property (nonatomic) enum FlexDirection flexDirection;
732
+ @property (nonatomic) enum FlexWrap flexWrap;
733
+ @property (nonatomic) enum Overflow overflow;
734
+ @property (nonatomic) enum AlignItems alignItems;
735
+ @property (nonatomic) enum AlignSelf alignSelf;
736
+ @property (nonatomic) enum AlignContent alignContent;
737
+ @property (nonatomic) enum JustifyItems justifyItems;
738
+ @property (nonatomic) enum JustifySelf justifySelf;
739
+ @property (nonatomic) enum JustifyContent justifyContent;
740
+ @property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull insetCompat;
741
+ - (void)setInsetLeft:(float)value :(NSInteger)type;
742
+ - (void)setInsetRight:(float)value :(NSInteger)type;
743
+ - (void)setInsetTop:(float)value :(NSInteger)type;
744
+ - (void)setInsetBottom:(float)value :(NSInteger)type;
745
+ - (void)setInsetWithValueType:(float)value :(NSInteger)type;
746
+ @property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull marginCompat;
747
+ - (void)setMarginLeft:(float)value :(NSInteger)type;
748
+ - (void)setMarginRight:(float)value :(NSInteger)type;
749
+ - (void)setMarginTop:(float)value :(NSInteger)type;
750
+ - (void)setMarginBottom:(float)value :(NSInteger)type;
751
+ - (void)setMarginWithValueType:(float)value :(NSInteger)type;
752
+ @property (nonatomic, strong) MasonLengthPercentageRectCompat * _Nonnull paddingCompat;
753
+ - (void)setPaddingLeft:(float)value :(NSInteger)type;
754
+ - (void)setPaddingRight:(float)value :(NSInteger)type;
755
+ - (void)setPaddingTop:(float)value :(NSInteger)type;
756
+ - (void)setPaddingBottom:(float)value :(NSInteger)type;
757
+ - (void)setPaddingWithValueType:(float)value :(NSInteger)type;
758
+ @property (nonatomic, strong) MasonLengthPercentageRectCompat * _Nonnull borderCompat;
759
+ - (void)setBorderLeft:(float)value :(NSInteger)type;
760
+ - (void)setBorderRight:(float)value :(NSInteger)type;
761
+ - (void)setBorderTop:(float)value :(NSInteger)type;
762
+ - (void)setBorderBottom:(float)value :(NSInteger)type;
763
+ - (void)setBorderWithValueType:(float)value :(NSInteger)type;
764
+ @property (nonatomic) float flexGrow;
765
+ @property (nonatomic) float flexShrink;
766
+ - (void)setFlexBasis:(float)value :(NSInteger)type;
767
+ @property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
768
+ - (void)setMinSizeWidth:(float)value :(NSInteger)type;
769
+ - (void)setMinSizeHeight:(float)value :(NSInteger)type;
770
+ - (void)setMinSizeWidthHeight:(float)value :(NSInteger)type;
771
+ @property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull sizeCompat;
772
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull sizeCompatWidth;
773
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull sizeCompatHeight;
774
+ - (void)setSizeWidth:(float)value :(NSInteger)type;
775
+ - (void)setSizeHeight:(float)value :(NSInteger)type;
776
+ - (void)setSizeWidthHeight:(float)value :(NSInteger)type;
777
+ @property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull maxSizeCompat;
778
+ - (void)setMaxSizeWidth:(float)value :(NSInteger)type;
779
+ - (void)setMaxSizeHeight:(float)value :(NSInteger)type;
780
+ - (void)setMaxSizeWidthHeight:(float)value :(NSInteger)type;
781
+ @property (nonatomic, strong) MasonLengthPercentageSizeCompat * _Nonnull gapCompat;
782
+ - (void)setGapRow:(float)value :(NSInteger)type;
783
+ - (void)setGapColumn:(float)value :(NSInteger)type;
784
+ - (void)setRowGap:(float)value :(NSInteger)type;
785
+ - (void)setColumnGap:(float)value :(NSInteger)type;
786
+ @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
787
+ @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoColumns;
788
+ @property (nonatomic) enum FlexGridAutoFlowWrap gridAutoFlow;
789
+ @property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridColumnCompat;
790
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnStartCompat;
791
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnEndCompat;
792
+ @property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridRowCompat;
793
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowStartCompat;
794
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
795
+ @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
796
+ @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
797
+ @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
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
843
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
844
+ @end
845
+
846
+
847
+ SWIFT_CLASS_NAMED("MinSizing")
848
+ @interface MinSizing : NSObject
849
+ @property (nonatomic, readonly) float value;
850
+ + (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
851
+ + (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
852
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
853
+ + (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
854
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
855
+ + (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
856
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
857
+ + (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
858
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
859
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
860
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
861
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
862
+ @end
863
+
864
+ typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
865
+ OverflowVisible = 0,
866
+ OverflowHidden = 1,
867
+ OverflowScroll = 2,
868
+ };
869
+
870
+ typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
871
+ PositionRelative = 0,
872
+ PositionAbsolute = 1,
873
+ };
874
+
875
+
876
+ SWIFT_CLASS_NAMED("TSCMason")
877
+ @interface TSCMason : NSObject
878
+ @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
879
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
880
+ - (void)clear;
881
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) TSCMason * _Nonnull instance;)
882
+ + (TSCMason * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
883
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL shared;)
884
+ + (BOOL)shared SWIFT_WARN_UNUSED_RESULT;
885
+ + (void)setShared:(BOOL)value;
886
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL alwaysEnable;)
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;
912
+ @property (nonatomic, strong) MasonStyle * _Nonnull style;
913
+ - (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
914
+ - (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
915
+ - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
916
+ @property (nonatomic) BOOL inBatch;
917
+ @property (nonatomic) enum Display display;
918
+ @property (nonatomic) enum Position position;
919
+ @property (nonatomic) enum Direction direction;
920
+ @property (nonatomic) enum FlexDirection flexDirection;
921
+ @property (nonatomic) enum FlexWrap flexWrap;
922
+ @property (nonatomic) enum Overflow overflow;
923
+ @property (nonatomic) enum AlignItems alignItems;
924
+ @property (nonatomic) enum AlignSelf alignSelf;
925
+ @property (nonatomic) enum AlignContent alignContent;
926
+ @property (nonatomic) enum JustifyItems justifyItems;
927
+ @property (nonatomic) enum JustifySelf justifySelf;
928
+ @property (nonatomic) enum JustifyContent justifyContent;
929
+ @property (nonatomic) float flexGrow;
930
+ @property (nonatomic) float flexShrink;
931
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull flexBasisCompat;
932
+ @property (nonatomic) float aspectRatio;
933
+ @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
934
+ @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoColumns;
935
+ @property (nonatomic) enum FlexGridAutoFlowWrap gridAutoFlow;
936
+ @property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridColumnCompat;
937
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnStartCompat;
938
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnEndCompat;
939
+ @property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridRowCompat;
940
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowStartCompat;
941
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
942
+ @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
943
+ @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
944
+ - (void)setPadding:(float)left :(float)right :(float)top :(float)bottom;
945
+ - (MasonLengthPercentageRectCompat * _Nonnull)getPadding SWIFT_WARN_UNUSED_RESULT;
946
+ - (void)setPaddingLeft:(float)left :(NSInteger)type;
947
+ - (void)setPaddingRight:(float)right :(NSInteger)type;
948
+ - (void)setPaddingTop:(float)top :(NSInteger)type;
949
+ - (void)setPaddingBottom:(float)bottom :(NSInteger)type;
950
+ - (MasonLengthPercentageCompat * _Nonnull)getPaddingLeft SWIFT_WARN_UNUSED_RESULT;
951
+ - (MasonLengthPercentageCompat * _Nonnull)getPaddingRight SWIFT_WARN_UNUSED_RESULT;
952
+ - (MasonLengthPercentageCompat * _Nonnull)getPaddingTop SWIFT_WARN_UNUSED_RESULT;
953
+ - (MasonLengthPercentageCompat * _Nonnull)getPaddingBottom SWIFT_WARN_UNUSED_RESULT;
954
+ - (void)setBorder:(float)left :(float)top :(float)right :(float)bottom;
955
+ - (MasonLengthPercentageRectCompat * _Nonnull)getBorder SWIFT_WARN_UNUSED_RESULT;
956
+ - (void)setBorderLeft:(float)left :(NSInteger)type;
957
+ - (void)setBorderRight:(float)right :(NSInteger)type;
958
+ - (void)setBorderTop:(float)top :(NSInteger)type;
959
+ - (void)setBorderBottom:(float)bottom :(NSInteger)type;
960
+ - (MasonLengthPercentageCompat * _Nonnull)getBorderLeft SWIFT_WARN_UNUSED_RESULT;
961
+ - (MasonLengthPercentageCompat * _Nonnull)getBorderRight SWIFT_WARN_UNUSED_RESULT;
962
+ - (MasonLengthPercentageCompat * _Nonnull)getBorderBottom SWIFT_WARN_UNUSED_RESULT;
963
+ - (MasonLengthPercentageCompat * _Nonnull)getBorderTop SWIFT_WARN_UNUSED_RESULT;
964
+ - (void)setMargin:(float)left :(float)top :(float)right :(float)bottom;
965
+ - (MasonLengthPercentageAutoRectCompat * _Nonnull)getMargin SWIFT_WARN_UNUSED_RESULT;
966
+ - (void)setMarginLeft:(float)left :(NSInteger)type;
967
+ - (void)setMarginRight:(float)right :(NSInteger)type;
968
+ - (void)setMarginTop:(float)top :(NSInteger)type;
969
+ - (void)setMarginBottom:(float)bottom :(NSInteger)type;
970
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getMarginLeft SWIFT_WARN_UNUSED_RESULT;
971
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getMarginRight SWIFT_WARN_UNUSED_RESULT;
972
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getMarginTop SWIFT_WARN_UNUSED_RESULT;
973
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getMarginBottom SWIFT_WARN_UNUSED_RESULT;
974
+ - (void)setInset:(float)left :(float)top :(float)right :(float)bottom;
975
+ - (MasonLengthPercentageAutoRectCompat * _Nonnull)getInset SWIFT_WARN_UNUSED_RESULT;
976
+ - (void)setInsetLeft:(float)left :(NSInteger)type;
977
+ - (void)setInsetRight:(float)right :(NSInteger)type;
978
+ - (void)setInsetTop:(float)top :(NSInteger)type;
979
+ - (void)setInsetBottom:(float)bottom :(NSInteger)type;
980
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getInsetLeft SWIFT_WARN_UNUSED_RESULT;
981
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getInsetRight SWIFT_WARN_UNUSED_RESULT;
982
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getInsetTop SWIFT_WARN_UNUSED_RESULT;
983
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getInsetBottom SWIFT_WARN_UNUSED_RESULT;
984
+ - (void)setMinSize:(float)width :(float)height;
985
+ - (MasonDimensionSizeCompat * _Nonnull)getMinSize SWIFT_WARN_UNUSED_RESULT;
986
+ - (void)setMinSizeWidth:(float)width :(NSInteger)type;
987
+ - (void)setMinSizeHeight:(float)height :(NSInteger)type;
988
+ - (MasonDimensionCompat * _Nonnull)getMinSizeWidth SWIFT_WARN_UNUSED_RESULT;
989
+ - (MasonDimensionCompat * _Nonnull)getMinSizeHeight SWIFT_WARN_UNUSED_RESULT;
990
+ - (void)setSize:(float)width :(float)height;
991
+ - (void)setSizeWidth:(float)width :(NSInteger)type;
992
+ - (void)setSizeHeight:(float)height :(NSInteger)type;
993
+ - (MasonDimensionSizeCompat * _Nonnull)getSize SWIFT_WARN_UNUSED_RESULT;
994
+ - (MasonDimensionCompat * _Nonnull)getSizeWidth SWIFT_WARN_UNUSED_RESULT;
995
+ - (MasonDimensionCompat * _Nonnull)getSizeHeight SWIFT_WARN_UNUSED_RESULT;
996
+ - (void)setMaxSize:(float)width :(float)height;
997
+ - (MasonDimensionSizeCompat * _Nonnull)getMaxSize SWIFT_WARN_UNUSED_RESULT;
998
+ - (void)setMaxSizeWidth:(float)width :(NSInteger)type;
999
+ - (void)setMaxSizeHeight:(float)height :(NSInteger)type;
1000
+ - (MasonDimensionCompat * _Nonnull)getMaxSizeWidth SWIFT_WARN_UNUSED_RESULT;
1001
+ - (MasonDimensionCompat * _Nonnull)getMaxSizeHeight SWIFT_WARN_UNUSED_RESULT;
1002
+ - (void)setGap:(float)width :(float)height;
1003
+ - (void)setGapWithWidthHeightType:(float)width :(NSInteger)width_type :(float)height :(NSInteger)height_type;
1004
+ - (MasonLengthPercentageSizeCompat * _Nonnull)getGap SWIFT_WARN_UNUSED_RESULT;
1005
+ - (void)setRowGap:(float)row :(NSInteger)type;
1006
+ - (void)setColumnGap:(float)column :(NSInteger)type;
1007
+ - (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
1008
+ - (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
1009
+ @end
1010
+
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
+
1020
+ #elif defined(__x86_64__) && __x86_64__
1021
+ // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
1022
+ #ifndef MASON_SWIFT_H
1023
+ #define MASON_SWIFT_H
1024
+ #pragma clang diagnostic push
1025
+ #pragma clang diagnostic ignored "-Wgcc-compat"
1026
+
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
+
1040
+ #if __has_include(<swift/objc-prologue.h>)
1041
+ # include <swift/objc-prologue.h>
1042
+ #endif
1043
+
1044
+ #pragma clang diagnostic ignored "-Wduplicate-method-match"
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
1058
+
1059
+ #if !defined(SWIFT_TYPEDEFS)
1060
+ # define SWIFT_TYPEDEFS 1
1061
+ # if __has_include(<uchar.h>)
1062
+ # include <uchar.h>
1063
+ # elif !defined(__cplusplus)
1064
+ typedef uint_least16_t char16_t;
1065
+ typedef uint_least32_t char32_t;
1066
+ # endif
1067
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
1068
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
1069
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
1070
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
1071
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
1072
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
1073
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
1074
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
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
1080
+
1081
+ #if !defined(SWIFT_PASTE)
1082
+ # define SWIFT_PASTE_HELPER(x, y) x##y
1083
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
1084
+ #endif
1085
+ #if !defined(SWIFT_METATYPE)
1086
+ # define SWIFT_METATYPE(X) Class
1087
+ #endif
1088
+ #if !defined(SWIFT_CLASS_PROPERTY)
1089
+ # if __has_feature(objc_class_property)
1090
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
1091
+ # else
1092
+ # define SWIFT_CLASS_PROPERTY(...)
1093
+ # endif
1094
+ #endif
1095
+
1096
+ #if __has_attribute(objc_runtime_name)
1097
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
1098
+ #else
1099
+ # define SWIFT_RUNTIME_NAME(X)
1100
+ #endif
1101
+ #if __has_attribute(swift_name)
1102
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
1103
+ #else
1104
+ # define SWIFT_COMPILE_NAME(X)
1105
+ #endif
1106
+ #if __has_attribute(objc_method_family)
1107
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
1108
+ #else
1109
+ # define SWIFT_METHOD_FAMILY(X)
1110
+ #endif
1111
+ #if __has_attribute(noescape)
1112
+ # define SWIFT_NOESCAPE __attribute__((noescape))
1113
+ #else
1114
+ # define SWIFT_NOESCAPE
1115
+ #endif
1116
+ #if __has_attribute(ns_consumed)
1117
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
1118
+ #else
1119
+ # define SWIFT_RELEASES_ARGUMENT
1120
+ #endif
1121
+ #if __has_attribute(warn_unused_result)
1122
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
1123
+ #else
1124
+ # define SWIFT_WARN_UNUSED_RESULT
1125
+ #endif
1126
+ #if __has_attribute(noreturn)
1127
+ # define SWIFT_NORETURN __attribute__((noreturn))
1128
+ #else
1129
+ # define SWIFT_NORETURN
1130
+ #endif
1131
+ #if !defined(SWIFT_CLASS_EXTRA)
1132
+ # define SWIFT_CLASS_EXTRA
1133
+ #endif
1134
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
1135
+ # define SWIFT_PROTOCOL_EXTRA
1136
+ #endif
1137
+ #if !defined(SWIFT_ENUM_EXTRA)
1138
+ # define SWIFT_ENUM_EXTRA
1139
+ #endif
1140
+ #if !defined(SWIFT_CLASS)
1141
+ # if __has_attribute(objc_subclassing_restricted)
1142
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
1143
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
1144
+ # else
1145
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
1146
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
1147
+ # endif
1148
+ #endif
1149
+ #if !defined(SWIFT_RESILIENT_CLASS)
1150
+ # if __has_attribute(objc_class_stub)
1151
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
1152
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
1153
+ # else
1154
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
1155
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
1156
+ # endif
1157
+ #endif
1158
+
1159
+ #if !defined(SWIFT_PROTOCOL)
1160
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
1161
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
1162
+ #endif
1163
+
1164
+ #if !defined(SWIFT_EXTENSION)
1165
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
1166
+ #endif
1167
+
1168
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
1169
+ # if __has_attribute(objc_designated_initializer)
1170
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
1171
+ # else
1172
+ # define OBJC_DESIGNATED_INITIALIZER
1173
+ # endif
1174
+ #endif
1175
+ #if !defined(SWIFT_ENUM_ATTR)
1176
+ # if defined(__has_attribute) && __has_attribute(enum_extensibility)
1177
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
1178
+ # else
1179
+ # define SWIFT_ENUM_ATTR(_extensibility)
1180
+ # endif
1181
+ #endif
1182
+ #if !defined(SWIFT_ENUM)
1183
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
1184
+ # if __has_feature(generalized_swift_name)
1185
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
1186
+ # else
1187
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
1188
+ # endif
1189
+ #endif
1190
+ #if !defined(SWIFT_UNAVAILABLE)
1191
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
1192
+ #endif
1193
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
1194
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
1195
+ #endif
1196
+ #if !defined(SWIFT_AVAILABILITY)
1197
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
1198
+ #endif
1199
+ #if !defined(SWIFT_WEAK_IMPORT)
1200
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
1201
+ #endif
1202
+ #if !defined(SWIFT_DEPRECATED)
1203
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
1204
+ #endif
1205
+ #if !defined(SWIFT_DEPRECATED_MSG)
1206
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
1207
+ #endif
1208
+ #if __has_feature(attribute_diagnose_if_objc)
1209
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
1210
+ #else
1211
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
1212
+ #endif
1213
+ #if defined(__OBJC__)
1214
+ #if !defined(IBSegueAction)
1215
+ # define IBSegueAction
1216
+ #endif
1217
+ #endif
1218
+ #if !defined(SWIFT_EXTERN)
1219
+ # if defined(__cplusplus)
1220
+ # define SWIFT_EXTERN extern "C"
1221
+ # else
1222
+ # define SWIFT_EXTERN extern
1223
+ # endif
1224
+ #endif
1225
+ #if !defined(SWIFT_CALL)
1226
+ # define SWIFT_CALL __attribute__((swiftcall))
1227
+ #endif
1228
+ #if defined(__cplusplus)
1229
+ #if !defined(SWIFT_NOEXCEPT)
1230
+ # define SWIFT_NOEXCEPT noexcept
1231
+ #endif
1232
+ #else
1233
+ #if !defined(SWIFT_NOEXCEPT)
1234
+ # define SWIFT_NOEXCEPT
1235
+ #endif
1236
+ #endif
1237
+ #if defined(__cplusplus)
1238
+ #if !defined(SWIFT_CXX_INT_DEFINED)
1239
+ #define SWIFT_CXX_INT_DEFINED
1240
+ namespace swift {
1241
+ using Int = ptrdiff_t;
1242
+ using UInt = size_t;
1243
+ }
1244
+ #endif
1245
+ #endif
1246
+ #if defined(__OBJC__)
1247
+ #if __has_feature(modules)
1248
+ #if __has_warning("-Watimport-in-framework-header")
1249
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
1250
+ #endif
1251
+ @import Foundation;
1252
+ @import ObjectiveC;
1253
+ @import UIKit;
1254
+ #endif
1255
+
1256
+ #import <Mason/Mason.h>
1257
+
1258
+ #endif
1259
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
1260
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
1261
+ #if __has_warning("-Wpragma-clang-attribute")
1262
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
1263
+ #endif
1264
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
1265
+ #pragma clang diagnostic ignored "-Wnullability"
1266
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
1267
+
1268
+ #if __has_attribute(external_source_symbol)
1269
+ # pragma push_macro("any")
1270
+ # undef any
1271
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Mason",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
1272
+ # pragma pop_macro("any")
1273
+ #endif
1274
+
1275
+ #if defined(__OBJC__)
1276
+ typedef SWIFT_ENUM_NAMED(NSInteger, AlignContent, "AlignContent", open) {
1277
+ AlignContentNormal = -1,
1278
+ AlignContentStart = 0,
1279
+ AlignContentEnd = 1,
1280
+ AlignContentCenter = 2,
1281
+ AlignContentStretch = 3,
1282
+ AlignContentSpaceBetween = 4,
1283
+ AlignContentSpaceAround = 5,
1284
+ AlignContentSpaceEvenly = 6,
1285
+ AlignContentFlexStart = 7,
1286
+ AlignContentFlexEnd = 8,
1287
+ };
1288
+
1289
+ typedef SWIFT_ENUM_NAMED(NSInteger, AlignItems, "AlignItems", open) {
1290
+ AlignItemsNormal = -1,
1291
+ AlignItemsStart = 0,
1292
+ AlignItemsEnd = 1,
1293
+ AlignItemsCenter = 2,
1294
+ AlignItemsBaseline = 3,
1295
+ AlignItemsStretch = 4,
1296
+ AlignItemsFlexStart = 5,
1297
+ AlignItemsFlexEnd = 6,
1298
+ };
1299
+
1300
+ typedef SWIFT_ENUM_NAMED(NSInteger, AlignSelf, "AlignSelf", open) {
1301
+ AlignSelfNormal = -1,
1302
+ AlignSelfStart = 0,
1303
+ AlignSelfEnd = 1,
1304
+ AlignSelfCenter = 2,
1305
+ AlignSelfBaseline = 3,
1306
+ AlignSelfStretch = 4,
1307
+ AlignSelfFlexStart = 5,
1308
+ AlignSelfFlexEnd = 6,
1309
+ };
1310
+
1311
+ typedef SWIFT_ENUM_NAMED(NSInteger, Direction, "Direction", open) {
1312
+ DirectionInherit = 0,
1313
+ DirectionLTR = 1,
1314
+ DirectionRTL = 2,
1315
+ };
1316
+
1317
+ typedef SWIFT_ENUM_NAMED(NSInteger, Display, "Display", open) {
1318
+ DisplayNone = 0,
1319
+ DisplayFlex = 1,
1320
+ DisplayGrid = 2,
1321
+ };
1322
+
1323
+ typedef SWIFT_ENUM_NAMED(NSInteger, FlexDirection, "FlexDirection", open) {
1324
+ FlexDirectionRow = 0,
1325
+ FlexDirectionColumn = 1,
1326
+ FlexDirectionRowReverse = 2,
1327
+ FlexDirectionColumnReverse = 3,
1328
+ };
1329
+
1330
+ typedef SWIFT_ENUM_NAMED(NSInteger, FlexWrap, "FlexWrap", open) {
1331
+ FlexWrapNoWrap = 0,
1332
+ FlexWrapWrap = 1,
1333
+ FlexWrapWrapReverse = 2,
1334
+ };
1335
+
1336
+ typedef SWIFT_ENUM_NAMED(NSInteger, FlexGridAutoFlowWrap, "GridAutoFlow", open) {
1337
+ FlexGridAutoFlowWrapRow = 0,
1338
+ FlexGridAutoFlowWrapColumn = 1,
1339
+ FlexGridAutoFlowWrapRowDense = 2,
1340
+ FlexGridAutoFlowWrapColumnDense = 3,
1341
+ };
1342
+
1343
+ enum GridPlacementCompatType : NSInteger;
1344
+ @class NSString;
1345
+
1346
+ SWIFT_CLASS_NAMED("GridPlacementCompat")
1347
+ @interface GridPlacementCompat : NSObject
1348
+ - (nonnull instancetype)initWithSpan:(int16_t)span OBJC_DESIGNATED_INITIALIZER;
1349
+ - (nonnull instancetype)initWithLine:(int16_t)line OBJC_DESIGNATED_INITIALIZER;
1350
+ @property (nonatomic, readonly) enum GridPlacementCompatType type;
1351
+ @property (nonatomic, readonly) int16_t value;
1352
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1353
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1354
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridPlacementCompat * _Nonnull Auto;)
1355
+ + (GridPlacementCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
1356
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1357
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1358
+ @end
1359
+
1360
+ typedef SWIFT_ENUM_NAMED(NSInteger, GridPlacementCompatType, "GridPlacementCompatType", open) {
1361
+ GridPlacementCompatTypeAuto = 0,
1362
+ GridPlacementCompatTypeLine = 1,
1363
+ GridPlacementCompatTypeSpan = 2,
1364
+ };
1365
+
1366
+
1367
+ SWIFT_CLASS_NAMED("GridTrackRepetition")
1368
+ @interface GridTrackRepetition : NSObject
1369
+ @property (nonatomic, readonly) int32_t type;
1370
+ @property (nonatomic, readonly) uint16_t value;
1371
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridTrackRepetition * _Nonnull AutoFill;)
1372
+ + (GridTrackRepetition * _Nonnull)AutoFill SWIFT_WARN_UNUSED_RESULT;
1373
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridTrackRepetition * _Nonnull AutoFit;)
1374
+ + (GridTrackRepetition * _Nonnull)AutoFit SWIFT_WARN_UNUSED_RESULT;
1375
+ + (GridTrackRepetition * _Nonnull)Count:(uint16_t)value SWIFT_WARN_UNUSED_RESULT;
1376
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1377
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1378
+ @end
1379
+
1380
+ typedef SWIFT_ENUM_NAMED(NSInteger, JustifyContent, "JustifyContent", open) {
1381
+ JustifyContentNormal = -1,
1382
+ JustifyContentStart = 0,
1383
+ JustifyContentEnd = 1,
1384
+ JustifyContentCenter = 2,
1385
+ JustifyContentStretch = 3,
1386
+ JustifyContentSpaceBetween = 4,
1387
+ JustifyContentSpaceAround = 5,
1388
+ JustifyContentSpaceEvenly = 6,
1389
+ JustifyContentFlexStart = 7,
1390
+ JustifyContentFlexEnd = 8,
1391
+ };
1392
+
1393
+ typedef SWIFT_ENUM_NAMED(NSInteger, JustifyItems, "JustifyItems", open) {
1394
+ JustifyItemsNormal = -1,
1395
+ JustifyItemsStart = 0,
1396
+ JustifyItemsEnd = 1,
1397
+ JustifyItemsCenter = 2,
1398
+ JustifyItemsBaseline = 3,
1399
+ JustifyItemsStretch = 4,
1400
+ JustifyItemsFlexStart = 5,
1401
+ JustifyItemsFlexEnd = 6,
1402
+ };
1403
+
1404
+ typedef SWIFT_ENUM_NAMED(NSInteger, JustifySelf, "JustifySelf", open) {
1405
+ JustifySelfNormal = -1,
1406
+ JustifySelfStart = 0,
1407
+ JustifySelfEnd = 1,
1408
+ JustifySelfCenter = 2,
1409
+ JustifySelfBaseline = 3,
1410
+ JustifySelfStretch = 4,
1411
+ JustifySelfFlexStart = 5,
1412
+ JustifySelfFlexEnd = 6,
1413
+ };
1414
+
1415
+
1416
+ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
1417
+ @interface LineGridPlacementCompat : NSObject
1418
+ @property (nonatomic, readonly, strong) GridPlacementCompat * _Nonnull start;
1419
+ @property (nonatomic, readonly, strong) GridPlacementCompat * _Nonnull end;
1420
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1421
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1422
+ @end
1423
+
1424
+ enum MasonDimensionCompatType : NSInteger;
1425
+
1426
+ SWIFT_CLASS_NAMED("MasonDimensionCompat")
1427
+ @interface MasonDimensionCompat : NSObject
1428
+ - (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
1429
+ - (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
1430
+ @property (nonatomic, readonly) enum MasonDimensionCompatType type;
1431
+ @property (nonatomic, readonly) float value;
1432
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1433
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1434
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonDimensionCompat * _Nonnull Auto;)
1435
+ + (MasonDimensionCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
1436
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonDimensionCompat * _Nonnull Zero;)
1437
+ + (MasonDimensionCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
1438
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1439
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1440
+ @end
1441
+
1442
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonDimensionCompatType, "MasonDimensionCompatType", open) {
1443
+ MasonDimensionCompatTypeAuto = 0,
1444
+ MasonDimensionCompatTypePoints = 1,
1445
+ MasonDimensionCompatTypePercent = 2,
1446
+ };
1447
+
1448
+
1449
+ SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
1450
+ @interface MasonDimensionRectCompat : NSObject
1451
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull left;
1452
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull right;
1453
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull top;
1454
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull bottom;
1455
+ - (nonnull instancetype)init:(MasonDimensionCompat * _Nonnull)left :(MasonDimensionCompat * _Nonnull)right :(MasonDimensionCompat * _Nonnull)top :(MasonDimensionCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
1456
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1457
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1458
+ @end
1459
+
1460
+
1461
+ SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
1462
+ @interface MasonDimensionSizeCompat : NSObject
1463
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull width;
1464
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull height;
1465
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1466
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1467
+ @end
1468
+
1469
+
1470
+ SWIFT_CLASS_NAMED("MasonLayout")
1471
+ @interface MasonLayout : NSObject
1472
+ @property (nonatomic, readonly) NSInteger order;
1473
+ @property (nonatomic, readonly) float x;
1474
+ @property (nonatomic, readonly) float y;
1475
+ @property (nonatomic, readonly) float width;
1476
+ @property (nonatomic, readonly) float height;
1477
+ @property (nonatomic, readonly, copy) NSArray<MasonLayout *> * _Nonnull children;
1478
+ @property (nonatomic, readonly, copy) NSString * _Nonnull description;
1479
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1480
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1481
+ @end
1482
+
1483
+ enum MasonLengthPercentageAutoCompatType : NSInteger;
1484
+
1485
+ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoCompat")
1486
+ @interface MasonLengthPercentageAutoCompat : NSObject
1487
+ - (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
1488
+ - (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
1489
+ @property (nonatomic, readonly) enum MasonLengthPercentageAutoCompatType type;
1490
+ @property (nonatomic, readonly) float value;
1491
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1492
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1493
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageAutoCompat * _Nonnull Auto;)
1494
+ + (MasonLengthPercentageAutoCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
1495
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageAutoCompat * _Nonnull Zero;)
1496
+ + (MasonLengthPercentageAutoCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
1497
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1498
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1499
+ @end
1500
+
1501
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageAutoCompatType, "MasonLengthPercentageAutoCompatType", open) {
1502
+ MasonLengthPercentageAutoCompatTypeAuto = 0,
1503
+ MasonLengthPercentageAutoCompatTypePoints = 1,
1504
+ MasonLengthPercentageAutoCompatTypePercent = 2,
1505
+ };
1506
+
1507
+
1508
+ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
1509
+ @interface MasonLengthPercentageAutoRectCompat : NSObject
1510
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull left;
1511
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull right;
1512
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull top;
1513
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull bottom;
1514
+ - (nonnull instancetype)init:(MasonLengthPercentageAutoCompat * _Nonnull)left :(MasonLengthPercentageAutoCompat * _Nonnull)right :(MasonLengthPercentageAutoCompat * _Nonnull)top :(MasonLengthPercentageAutoCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
1515
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1516
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1517
+ @end
1518
+
1519
+
1520
+ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
1521
+ @interface MasonLengthPercentageAutoSizeCompat : NSObject
1522
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull width;
1523
+ @property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull height;
1524
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1525
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1526
+ @end
1527
+
1528
+ enum MasonLengthPercentageCompatType : NSInteger;
1529
+
1530
+ SWIFT_CLASS_NAMED("MasonLengthPercentageCompat")
1531
+ @interface MasonLengthPercentageCompat : NSObject
1532
+ - (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
1533
+ - (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
1534
+ @property (nonatomic, readonly) enum MasonLengthPercentageCompatType type;
1535
+ @property (nonatomic, readonly) float value;
1536
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1537
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1538
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageCompat * _Nonnull Zero;)
1539
+ + (MasonLengthPercentageCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
1540
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1541
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1542
+ @end
1543
+
1544
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageCompatType, "MasonLengthPercentageCompatType", open) {
1545
+ MasonLengthPercentageCompatTypePoints = 0,
1546
+ MasonLengthPercentageCompatTypePercent = 1,
1547
+ };
1548
+
1549
+
1550
+ SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
1551
+ @interface MasonLengthPercentageRectCompat : NSObject
1552
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull left;
1553
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull right;
1554
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull top;
1555
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull bottom;
1556
+ - (nonnull instancetype)init:(MasonLengthPercentageCompat * _Nonnull)left :(MasonLengthPercentageCompat * _Nonnull)right :(MasonLengthPercentageCompat * _Nonnull)top :(MasonLengthPercentageCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
1557
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1558
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1559
+ @end
1560
+
1561
+
1562
+ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
1563
+ @interface MasonLengthPercentageSizeCompat : NSObject
1564
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull width;
1565
+ @property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull height;
1566
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1567
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1568
+ @end
1569
+
1570
+ @class MasonStyle;
1571
+
1572
+ SWIFT_CLASS_NAMED("MasonNode")
1573
+ @interface MasonNode : NSObject
1574
+ @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
1575
+ @property (nonatomic, strong) MasonStyle * _Nonnull style;
1576
+ @property (nonatomic) BOOL includeInLayout;
1577
+ @property (nonatomic) BOOL isEnabled;
1578
+ @property (nonatomic, strong) id _Nullable data;
1579
+ @property (nonatomic, readonly, strong) MasonNode * _Nullable owner;
1580
+ @property (nonatomic, readonly, copy) NSArray<MasonNode *> * _Nonnull children;
1581
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
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;
1585
+ - (MasonLayout * _Nonnull)layout;
1586
+ @property (nonatomic, readonly) BOOL isDirty;
1587
+ - (void)markDirty;
1588
+ - (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
+ - (void)compute;
1596
+ - (void)compute:(float)width :(float)height;
1597
+ - (void)computeMaxContent;
1598
+ - (void)computeMinContent;
1599
+ - (void)computeWithSize:(float)width :(float)height;
1600
+ - (void)computeWithViewSize;
1601
+ - (void)computeWithMaxContent;
1602
+ - (void)computeWithMinContent;
1603
+ - (void)attachAndApply;
1604
+ - (void)setChildrenWithChildren:(NSArray<MasonNode *> * _Nonnull)children;
1605
+ - (void)addChildren:(NSArray<MasonNode *> * _Nonnull)children;
1606
+ @property (nonatomic, readonly) BOOL isLeaf;
1607
+ - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
1608
+ @end
1609
+
1610
+
1611
+ SWIFT_CLASS_NAMED("MasonReexports")
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
+
1737
+ enum Position : NSInteger;
1738
+ enum Overflow : NSInteger;
1739
+ @class MinMax;
1740
+ @class TrackSizingFunction;
1741
+
1742
+ SWIFT_CLASS_NAMED("MasonStyle")
1743
+ @interface MasonStyle : NSObject
1744
+ @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
1745
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1746
+ @property (nonatomic) enum Display display;
1747
+ @property (nonatomic) enum Position position;
1748
+ @property (nonatomic) enum Direction direction;
1749
+ @property (nonatomic) enum FlexDirection flexDirection;
1750
+ @property (nonatomic) enum FlexWrap flexWrap;
1751
+ @property (nonatomic) enum Overflow overflow;
1752
+ @property (nonatomic) enum AlignItems alignItems;
1753
+ @property (nonatomic) enum AlignSelf alignSelf;
1754
+ @property (nonatomic) enum AlignContent alignContent;
1755
+ @property (nonatomic) enum JustifyItems justifyItems;
1756
+ @property (nonatomic) enum JustifySelf justifySelf;
1757
+ @property (nonatomic) enum JustifyContent justifyContent;
1758
+ @property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull insetCompat;
1759
+ - (void)setInsetLeft:(float)value :(NSInteger)type;
1760
+ - (void)setInsetRight:(float)value :(NSInteger)type;
1761
+ - (void)setInsetTop:(float)value :(NSInteger)type;
1762
+ - (void)setInsetBottom:(float)value :(NSInteger)type;
1763
+ - (void)setInsetWithValueType:(float)value :(NSInteger)type;
1764
+ @property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull marginCompat;
1765
+ - (void)setMarginLeft:(float)value :(NSInteger)type;
1766
+ - (void)setMarginRight:(float)value :(NSInteger)type;
1767
+ - (void)setMarginTop:(float)value :(NSInteger)type;
1768
+ - (void)setMarginBottom:(float)value :(NSInteger)type;
1769
+ - (void)setMarginWithValueType:(float)value :(NSInteger)type;
1770
+ @property (nonatomic, strong) MasonLengthPercentageRectCompat * _Nonnull paddingCompat;
1771
+ - (void)setPaddingLeft:(float)value :(NSInteger)type;
1772
+ - (void)setPaddingRight:(float)value :(NSInteger)type;
1773
+ - (void)setPaddingTop:(float)value :(NSInteger)type;
1774
+ - (void)setPaddingBottom:(float)value :(NSInteger)type;
1775
+ - (void)setPaddingWithValueType:(float)value :(NSInteger)type;
1776
+ @property (nonatomic, strong) MasonLengthPercentageRectCompat * _Nonnull borderCompat;
1777
+ - (void)setBorderLeft:(float)value :(NSInteger)type;
1778
+ - (void)setBorderRight:(float)value :(NSInteger)type;
1779
+ - (void)setBorderTop:(float)value :(NSInteger)type;
1780
+ - (void)setBorderBottom:(float)value :(NSInteger)type;
1781
+ - (void)setBorderWithValueType:(float)value :(NSInteger)type;
1782
+ @property (nonatomic) float flexGrow;
1783
+ @property (nonatomic) float flexShrink;
1784
+ - (void)setFlexBasis:(float)value :(NSInteger)type;
1785
+ @property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
1786
+ - (void)setMinSizeWidth:(float)value :(NSInteger)type;
1787
+ - (void)setMinSizeHeight:(float)value :(NSInteger)type;
1788
+ - (void)setMinSizeWidthHeight:(float)value :(NSInteger)type;
1789
+ @property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull sizeCompat;
1790
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull sizeCompatWidth;
1791
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull sizeCompatHeight;
1792
+ - (void)setSizeWidth:(float)value :(NSInteger)type;
1793
+ - (void)setSizeHeight:(float)value :(NSInteger)type;
1794
+ - (void)setSizeWidthHeight:(float)value :(NSInteger)type;
1795
+ @property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull maxSizeCompat;
1796
+ - (void)setMaxSizeWidth:(float)value :(NSInteger)type;
1797
+ - (void)setMaxSizeHeight:(float)value :(NSInteger)type;
1798
+ - (void)setMaxSizeWidthHeight:(float)value :(NSInteger)type;
1799
+ @property (nonatomic, strong) MasonLengthPercentageSizeCompat * _Nonnull gapCompat;
1800
+ - (void)setGapRow:(float)value :(NSInteger)type;
1801
+ - (void)setGapColumn:(float)value :(NSInteger)type;
1802
+ - (void)setRowGap:(float)value :(NSInteger)type;
1803
+ - (void)setColumnGap:(float)value :(NSInteger)type;
1804
+ @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
1805
+ @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoColumns;
1806
+ @property (nonatomic) enum FlexGridAutoFlowWrap gridAutoFlow;
1807
+ @property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridColumnCompat;
1808
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnStartCompat;
1809
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnEndCompat;
1810
+ @property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridRowCompat;
1811
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowStartCompat;
1812
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
1813
+ @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
1814
+ @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
1815
+ @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
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1861
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1862
+ @end
1863
+
1864
+
1865
+ SWIFT_CLASS_NAMED("MinSizing")
1866
+ @interface MinSizing : NSObject
1867
+ @property (nonatomic, readonly) float value;
1868
+ + (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
1869
+ + (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
1870
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
1871
+ + (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
1872
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
1873
+ + (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
1874
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
1875
+ + (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
1876
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1877
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1878
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1879
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1880
+ @end
1881
+
1882
+ typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
1883
+ OverflowVisible = 0,
1884
+ OverflowHidden = 1,
1885
+ OverflowScroll = 2,
1886
+ };
1887
+
1888
+ typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
1889
+ PositionRelative = 0,
1890
+ PositionAbsolute = 1,
1891
+ };
1892
+
1893
+
1894
+ SWIFT_CLASS_NAMED("TSCMason")
1895
+ @interface TSCMason : NSObject
1896
+ @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
1897
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1898
+ - (void)clear;
1899
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) TSCMason * _Nonnull instance;)
1900
+ + (TSCMason * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
1901
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL shared;)
1902
+ + (BOOL)shared SWIFT_WARN_UNUSED_RESULT;
1903
+ + (void)setShared:(BOOL)value;
1904
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL alwaysEnable;)
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;
1930
+ @property (nonatomic, strong) MasonStyle * _Nonnull style;
1931
+ - (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
1932
+ - (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
1933
+ - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
1934
+ @property (nonatomic) BOOL inBatch;
1935
+ @property (nonatomic) enum Display display;
1936
+ @property (nonatomic) enum Position position;
1937
+ @property (nonatomic) enum Direction direction;
1938
+ @property (nonatomic) enum FlexDirection flexDirection;
1939
+ @property (nonatomic) enum FlexWrap flexWrap;
1940
+ @property (nonatomic) enum Overflow overflow;
1941
+ @property (nonatomic) enum AlignItems alignItems;
1942
+ @property (nonatomic) enum AlignSelf alignSelf;
1943
+ @property (nonatomic) enum AlignContent alignContent;
1944
+ @property (nonatomic) enum JustifyItems justifyItems;
1945
+ @property (nonatomic) enum JustifySelf justifySelf;
1946
+ @property (nonatomic) enum JustifyContent justifyContent;
1947
+ @property (nonatomic) float flexGrow;
1948
+ @property (nonatomic) float flexShrink;
1949
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull flexBasisCompat;
1950
+ @property (nonatomic) float aspectRatio;
1951
+ @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
1952
+ @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoColumns;
1953
+ @property (nonatomic) enum FlexGridAutoFlowWrap gridAutoFlow;
1954
+ @property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridColumnCompat;
1955
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnStartCompat;
1956
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnEndCompat;
1957
+ @property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridRowCompat;
1958
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowStartCompat;
1959
+ @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
1960
+ @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
1961
+ @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
1962
+ - (void)setPadding:(float)left :(float)right :(float)top :(float)bottom;
1963
+ - (MasonLengthPercentageRectCompat * _Nonnull)getPadding SWIFT_WARN_UNUSED_RESULT;
1964
+ - (void)setPaddingLeft:(float)left :(NSInteger)type;
1965
+ - (void)setPaddingRight:(float)right :(NSInteger)type;
1966
+ - (void)setPaddingTop:(float)top :(NSInteger)type;
1967
+ - (void)setPaddingBottom:(float)bottom :(NSInteger)type;
1968
+ - (MasonLengthPercentageCompat * _Nonnull)getPaddingLeft SWIFT_WARN_UNUSED_RESULT;
1969
+ - (MasonLengthPercentageCompat * _Nonnull)getPaddingRight SWIFT_WARN_UNUSED_RESULT;
1970
+ - (MasonLengthPercentageCompat * _Nonnull)getPaddingTop SWIFT_WARN_UNUSED_RESULT;
1971
+ - (MasonLengthPercentageCompat * _Nonnull)getPaddingBottom SWIFT_WARN_UNUSED_RESULT;
1972
+ - (void)setBorder:(float)left :(float)top :(float)right :(float)bottom;
1973
+ - (MasonLengthPercentageRectCompat * _Nonnull)getBorder SWIFT_WARN_UNUSED_RESULT;
1974
+ - (void)setBorderLeft:(float)left :(NSInteger)type;
1975
+ - (void)setBorderRight:(float)right :(NSInteger)type;
1976
+ - (void)setBorderTop:(float)top :(NSInteger)type;
1977
+ - (void)setBorderBottom:(float)bottom :(NSInteger)type;
1978
+ - (MasonLengthPercentageCompat * _Nonnull)getBorderLeft SWIFT_WARN_UNUSED_RESULT;
1979
+ - (MasonLengthPercentageCompat * _Nonnull)getBorderRight SWIFT_WARN_UNUSED_RESULT;
1980
+ - (MasonLengthPercentageCompat * _Nonnull)getBorderBottom SWIFT_WARN_UNUSED_RESULT;
1981
+ - (MasonLengthPercentageCompat * _Nonnull)getBorderTop SWIFT_WARN_UNUSED_RESULT;
1982
+ - (void)setMargin:(float)left :(float)top :(float)right :(float)bottom;
1983
+ - (MasonLengthPercentageAutoRectCompat * _Nonnull)getMargin SWIFT_WARN_UNUSED_RESULT;
1984
+ - (void)setMarginLeft:(float)left :(NSInteger)type;
1985
+ - (void)setMarginRight:(float)right :(NSInteger)type;
1986
+ - (void)setMarginTop:(float)top :(NSInteger)type;
1987
+ - (void)setMarginBottom:(float)bottom :(NSInteger)type;
1988
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getMarginLeft SWIFT_WARN_UNUSED_RESULT;
1989
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getMarginRight SWIFT_WARN_UNUSED_RESULT;
1990
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getMarginTop SWIFT_WARN_UNUSED_RESULT;
1991
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getMarginBottom SWIFT_WARN_UNUSED_RESULT;
1992
+ - (void)setInset:(float)left :(float)top :(float)right :(float)bottom;
1993
+ - (MasonLengthPercentageAutoRectCompat * _Nonnull)getInset SWIFT_WARN_UNUSED_RESULT;
1994
+ - (void)setInsetLeft:(float)left :(NSInteger)type;
1995
+ - (void)setInsetRight:(float)right :(NSInteger)type;
1996
+ - (void)setInsetTop:(float)top :(NSInteger)type;
1997
+ - (void)setInsetBottom:(float)bottom :(NSInteger)type;
1998
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getInsetLeft SWIFT_WARN_UNUSED_RESULT;
1999
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getInsetRight SWIFT_WARN_UNUSED_RESULT;
2000
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getInsetTop SWIFT_WARN_UNUSED_RESULT;
2001
+ - (MasonLengthPercentageAutoCompat * _Nonnull)getInsetBottom SWIFT_WARN_UNUSED_RESULT;
2002
+ - (void)setMinSize:(float)width :(float)height;
2003
+ - (MasonDimensionSizeCompat * _Nonnull)getMinSize SWIFT_WARN_UNUSED_RESULT;
2004
+ - (void)setMinSizeWidth:(float)width :(NSInteger)type;
2005
+ - (void)setMinSizeHeight:(float)height :(NSInteger)type;
2006
+ - (MasonDimensionCompat * _Nonnull)getMinSizeWidth SWIFT_WARN_UNUSED_RESULT;
2007
+ - (MasonDimensionCompat * _Nonnull)getMinSizeHeight SWIFT_WARN_UNUSED_RESULT;
2008
+ - (void)setSize:(float)width :(float)height;
2009
+ - (void)setSizeWidth:(float)width :(NSInteger)type;
2010
+ - (void)setSizeHeight:(float)height :(NSInteger)type;
2011
+ - (MasonDimensionSizeCompat * _Nonnull)getSize SWIFT_WARN_UNUSED_RESULT;
2012
+ - (MasonDimensionCompat * _Nonnull)getSizeWidth SWIFT_WARN_UNUSED_RESULT;
2013
+ - (MasonDimensionCompat * _Nonnull)getSizeHeight SWIFT_WARN_UNUSED_RESULT;
2014
+ - (void)setMaxSize:(float)width :(float)height;
2015
+ - (MasonDimensionSizeCompat * _Nonnull)getMaxSize SWIFT_WARN_UNUSED_RESULT;
2016
+ - (void)setMaxSizeWidth:(float)width :(NSInteger)type;
2017
+ - (void)setMaxSizeHeight:(float)height :(NSInteger)type;
2018
+ - (MasonDimensionCompat * _Nonnull)getMaxSizeWidth SWIFT_WARN_UNUSED_RESULT;
2019
+ - (MasonDimensionCompat * _Nonnull)getMaxSizeHeight SWIFT_WARN_UNUSED_RESULT;
2020
+ - (void)setGap:(float)width :(float)height;
2021
+ - (void)setGapWithWidthHeightType:(float)width :(NSInteger)width_type :(float)height :(NSInteger)height_type;
2022
+ - (MasonLengthPercentageSizeCompat * _Nonnull)getGap SWIFT_WARN_UNUSED_RESULT;
2023
+ - (void)setRowGap:(float)row :(NSInteger)type;
2024
+ - (void)setColumnGap:(float)column :(NSInteger)type;
2025
+ - (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
2026
+ - (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
2027
+ @end
2028
+
2029
+ #endif
2030
+ #if defined(__cplusplus)
2031
+ #endif
2032
+ #if __has_attribute(external_source_symbol)
2033
+ # pragma clang attribute pop
2034
+ #endif
2035
+ #pragma clang diagnostic pop
2036
+ #endif
2037
+
2038
+ #else
2039
+ #error unsupported Swift architecture
2040
+ #endif