@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.
- package/LICENSE +201 -0
- package/README.md +31 -0
- package/common.d.ts +66 -0
- package/common.js +1523 -0
- package/common.js.map +1 -0
- package/helpers.d.ts +233 -0
- package/helpers.js +3382 -0
- package/helpers.js.map +1 -0
- package/index.android.d.ts +26 -0
- package/index.android.js +82 -0
- package/index.android.js.map +1 -0
- package/index.d.ts +87 -0
- package/index.ios.d.ts +27 -0
- package/index.ios.js +124 -0
- package/index.ios.js.map +1 -0
- package/package.json +36 -0
- package/platforms/android/include.gradle +1 -0
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +44 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +1022 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +19 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +945 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +32942 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +1249 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +1249 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/PrivateHeaders/mason_native.h +676 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +2040 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +19 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +945 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +32942 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1249 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1249 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +32942 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1249 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1249 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/PrivateHeaders/mason_native.h +676 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +342 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Podfile +1 -0
- package/platforms/ios/build.xcconfig +2 -0
- package/platforms/ios/src/JSIModule.h +217 -0
- package/platforms/ios/src/JSIModule.mm +2788 -0
- package/platforms/ios/src/include/mason_native.h +945 -0
- package/platforms/ios/src/module.modulemap +4 -0
|
@@ -0,0 +1,1022 @@
|
|
|
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
|
+
#else
|
|
1021
|
+
#error unsupported Swift architecture
|
|
1022
|
+
#endif
|