@triniwiz/nativescript-masonkit 1.0.0-beta.70 → 1.0.0-beta.71
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/common.d.ts +34 -12
- package/common.js +193 -7
- package/common.js.map +1 -1
- package/index.d.ts +9 -0
- package/package.json +1 -1
- package/platforms/android/include.gradle +1 -0
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +5 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +101 -119
- 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 +38643 -42603
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +212 -551
- 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 +212 -551
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +0 -1
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +8340 -8694
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +202 -238
- 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 +38643 -42603
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +212 -551
- 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 +212 -551
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +38643 -42603
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +212 -551
- 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 +212 -551
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +0 -1
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +29 -29
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +8335 -8689
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +7982 -8321
- package/properties.js +11 -0
- package/properties.js.map +1 -1
- package/scroll/index.android.js +4 -1
- package/scroll/index.android.js.map +1 -1
- package/scroll/index.ios.js +10 -1
- package/scroll/index.ios.js.map +1 -1
- package/style.d.ts +6 -6
- package/style.js +7 -4
- package/style.js.map +1 -1
- package/symbols.d.ts +1 -0
- package/symbols.js +1 -0
- package/symbols.js.map +1 -1
- package/text/index.android.js +12 -1
- package/text/index.android.js.map +1 -1
- package/text/index.ios.js +5 -1
- package/text/index.ios.js.map +1 -1
- package/tree/index.android.js +5 -7
- package/tree/index.android.js.map +1 -1
- package/tree/index.ios.js +4 -6
- package/tree/index.ios.js.map +1 -1
- package/view/index.android.js +4 -1
- package/view/index.android.js.map +1 -1
- package/view/index.ios.js +16 -1
- package/view/index.ios.js.map +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Headers/Mason-Swift.h +0 -1995
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Headers/Mason.h +0 -25
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Headers/mason_native.h +0 -499
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -102460
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -3807
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -3807
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Modules/module.modulemap +0 -11
- package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/_CodeSignature/CodeResources +0 -212
package/platforms/ios/Mason.xcframework/ios-arm64-simulator/Mason.framework/Headers/Mason-Swift.h
DELETED
|
@@ -1,1995 +0,0 @@
|
|
|
1
|
-
#if 0
|
|
2
|
-
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
|
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 "-Wauto-import"
|
|
27
|
-
#if defined(__OBJC__)
|
|
28
|
-
#include <Foundation/Foundation.h>
|
|
29
|
-
#endif
|
|
30
|
-
#if defined(__cplusplus)
|
|
31
|
-
#include <cstdint>
|
|
32
|
-
#include <cstddef>
|
|
33
|
-
#include <cstdbool>
|
|
34
|
-
#include <cstring>
|
|
35
|
-
#include <stdlib.h>
|
|
36
|
-
#include <new>
|
|
37
|
-
#include <type_traits>
|
|
38
|
-
#else
|
|
39
|
-
#include <stdint.h>
|
|
40
|
-
#include <stddef.h>
|
|
41
|
-
#include <stdbool.h>
|
|
42
|
-
#include <string.h>
|
|
43
|
-
#endif
|
|
44
|
-
#if defined(__cplusplus)
|
|
45
|
-
#pragma clang diagnostic push
|
|
46
|
-
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
47
|
-
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
48
|
-
# include <ptrauth.h>
|
|
49
|
-
#else
|
|
50
|
-
#pragma clang diagnostic push
|
|
51
|
-
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
52
|
-
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
53
|
-
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
54
|
-
# endif
|
|
55
|
-
# ifndef __ptrauth_swift_class_method_pointer
|
|
56
|
-
# define __ptrauth_swift_class_method_pointer(x)
|
|
57
|
-
# endif
|
|
58
|
-
#pragma clang diagnostic pop
|
|
59
|
-
#endif
|
|
60
|
-
#pragma clang diagnostic pop
|
|
61
|
-
#endif
|
|
62
|
-
|
|
63
|
-
#if !defined(SWIFT_TYPEDEFS)
|
|
64
|
-
# define SWIFT_TYPEDEFS 1
|
|
65
|
-
# if __has_include(<uchar.h>)
|
|
66
|
-
# include <uchar.h>
|
|
67
|
-
# elif !defined(__cplusplus)
|
|
68
|
-
typedef unsigned char char8_t;
|
|
69
|
-
typedef uint_least16_t char16_t;
|
|
70
|
-
typedef uint_least32_t char32_t;
|
|
71
|
-
# endif
|
|
72
|
-
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
73
|
-
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
74
|
-
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
75
|
-
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
76
|
-
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
77
|
-
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
78
|
-
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
79
|
-
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
80
|
-
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
81
|
-
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
82
|
-
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
83
|
-
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
84
|
-
#endif
|
|
85
|
-
|
|
86
|
-
#if !defined(SWIFT_PASTE)
|
|
87
|
-
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
88
|
-
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
89
|
-
#endif
|
|
90
|
-
#if !defined(SWIFT_METATYPE)
|
|
91
|
-
# define SWIFT_METATYPE(X) Class
|
|
92
|
-
#endif
|
|
93
|
-
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
94
|
-
# if __has_feature(objc_class_property)
|
|
95
|
-
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
96
|
-
# else
|
|
97
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
98
|
-
# endif
|
|
99
|
-
#endif
|
|
100
|
-
#if !defined(SWIFT_RUNTIME_NAME)
|
|
101
|
-
# if __has_attribute(objc_runtime_name)
|
|
102
|
-
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
103
|
-
# else
|
|
104
|
-
# define SWIFT_RUNTIME_NAME(X)
|
|
105
|
-
# endif
|
|
106
|
-
#endif
|
|
107
|
-
#if !defined(SWIFT_COMPILE_NAME)
|
|
108
|
-
# if __has_attribute(swift_name)
|
|
109
|
-
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
110
|
-
# else
|
|
111
|
-
# define SWIFT_COMPILE_NAME(X)
|
|
112
|
-
# endif
|
|
113
|
-
#endif
|
|
114
|
-
#if !defined(SWIFT_METHOD_FAMILY)
|
|
115
|
-
# if __has_attribute(objc_method_family)
|
|
116
|
-
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
117
|
-
# else
|
|
118
|
-
# define SWIFT_METHOD_FAMILY(X)
|
|
119
|
-
# endif
|
|
120
|
-
#endif
|
|
121
|
-
#if !defined(SWIFT_NOESCAPE)
|
|
122
|
-
# if __has_attribute(noescape)
|
|
123
|
-
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
124
|
-
# else
|
|
125
|
-
# define SWIFT_NOESCAPE
|
|
126
|
-
# endif
|
|
127
|
-
#endif
|
|
128
|
-
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
129
|
-
# if __has_attribute(ns_consumed)
|
|
130
|
-
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
131
|
-
# else
|
|
132
|
-
# define SWIFT_RELEASES_ARGUMENT
|
|
133
|
-
# endif
|
|
134
|
-
#endif
|
|
135
|
-
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
136
|
-
# if __has_attribute(warn_unused_result)
|
|
137
|
-
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
138
|
-
# else
|
|
139
|
-
# define SWIFT_WARN_UNUSED_RESULT
|
|
140
|
-
# endif
|
|
141
|
-
#endif
|
|
142
|
-
#if !defined(SWIFT_NORETURN)
|
|
143
|
-
# if __has_attribute(noreturn)
|
|
144
|
-
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
145
|
-
# else
|
|
146
|
-
# define SWIFT_NORETURN
|
|
147
|
-
# endif
|
|
148
|
-
#endif
|
|
149
|
-
#if !defined(SWIFT_CLASS_EXTRA)
|
|
150
|
-
# define SWIFT_CLASS_EXTRA
|
|
151
|
-
#endif
|
|
152
|
-
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
153
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
154
|
-
#endif
|
|
155
|
-
#if !defined(SWIFT_ENUM_EXTRA)
|
|
156
|
-
# define SWIFT_ENUM_EXTRA
|
|
157
|
-
#endif
|
|
158
|
-
#if !defined(SWIFT_CLASS)
|
|
159
|
-
# if __has_attribute(objc_subclassing_restricted)
|
|
160
|
-
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
161
|
-
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
162
|
-
# else
|
|
163
|
-
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
164
|
-
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
165
|
-
# endif
|
|
166
|
-
#endif
|
|
167
|
-
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
168
|
-
# if __has_attribute(objc_class_stub)
|
|
169
|
-
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
170
|
-
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
171
|
-
# else
|
|
172
|
-
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
173
|
-
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
174
|
-
# endif
|
|
175
|
-
#endif
|
|
176
|
-
#if !defined(SWIFT_PROTOCOL)
|
|
177
|
-
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
178
|
-
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
179
|
-
#endif
|
|
180
|
-
#if !defined(SWIFT_EXTENSION)
|
|
181
|
-
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
182
|
-
#endif
|
|
183
|
-
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
184
|
-
# if __has_attribute(objc_designated_initializer)
|
|
185
|
-
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
186
|
-
# else
|
|
187
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
188
|
-
# endif
|
|
189
|
-
#endif
|
|
190
|
-
#if !defined(SWIFT_ENUM_ATTR)
|
|
191
|
-
# if __has_attribute(enum_extensibility)
|
|
192
|
-
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
193
|
-
# else
|
|
194
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
195
|
-
# endif
|
|
196
|
-
#endif
|
|
197
|
-
#if !defined(SWIFT_ENUM)
|
|
198
|
-
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
199
|
-
# if __has_feature(generalized_swift_name)
|
|
200
|
-
# 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
|
|
201
|
-
# else
|
|
202
|
-
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
203
|
-
# endif
|
|
204
|
-
#endif
|
|
205
|
-
#if !defined(SWIFT_UNAVAILABLE)
|
|
206
|
-
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
207
|
-
#endif
|
|
208
|
-
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
209
|
-
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
210
|
-
#endif
|
|
211
|
-
#if !defined(SWIFT_AVAILABILITY)
|
|
212
|
-
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
213
|
-
#endif
|
|
214
|
-
#if !defined(SWIFT_WEAK_IMPORT)
|
|
215
|
-
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
216
|
-
#endif
|
|
217
|
-
#if !defined(SWIFT_DEPRECATED)
|
|
218
|
-
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
219
|
-
#endif
|
|
220
|
-
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
221
|
-
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
222
|
-
#endif
|
|
223
|
-
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
224
|
-
# if __has_feature(attribute_diagnose_if_objc)
|
|
225
|
-
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
226
|
-
# else
|
|
227
|
-
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
228
|
-
# endif
|
|
229
|
-
#endif
|
|
230
|
-
#if defined(__OBJC__)
|
|
231
|
-
#if !defined(IBSegueAction)
|
|
232
|
-
# define IBSegueAction
|
|
233
|
-
#endif
|
|
234
|
-
#endif
|
|
235
|
-
#if !defined(SWIFT_EXTERN)
|
|
236
|
-
# if defined(__cplusplus)
|
|
237
|
-
# define SWIFT_EXTERN extern "C"
|
|
238
|
-
# else
|
|
239
|
-
# define SWIFT_EXTERN extern
|
|
240
|
-
# endif
|
|
241
|
-
#endif
|
|
242
|
-
#if !defined(SWIFT_CALL)
|
|
243
|
-
# define SWIFT_CALL __attribute__((swiftcall))
|
|
244
|
-
#endif
|
|
245
|
-
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
246
|
-
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
247
|
-
#endif
|
|
248
|
-
#if !defined(SWIFT_CONTEXT)
|
|
249
|
-
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
250
|
-
#endif
|
|
251
|
-
#if !defined(SWIFT_ERROR_RESULT)
|
|
252
|
-
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
253
|
-
#endif
|
|
254
|
-
#if defined(__cplusplus)
|
|
255
|
-
# define SWIFT_NOEXCEPT noexcept
|
|
256
|
-
#else
|
|
257
|
-
# define SWIFT_NOEXCEPT
|
|
258
|
-
#endif
|
|
259
|
-
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
260
|
-
# if __has_attribute(always_inline)
|
|
261
|
-
# if __has_attribute(nodebug)
|
|
262
|
-
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
263
|
-
# else
|
|
264
|
-
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
265
|
-
# endif
|
|
266
|
-
# else
|
|
267
|
-
# define SWIFT_C_INLINE_THUNK inline
|
|
268
|
-
# endif
|
|
269
|
-
#endif
|
|
270
|
-
#if defined(_WIN32)
|
|
271
|
-
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
272
|
-
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
273
|
-
#endif
|
|
274
|
-
#else
|
|
275
|
-
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
276
|
-
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
277
|
-
#endif
|
|
278
|
-
#endif
|
|
279
|
-
#if defined(__OBJC__)
|
|
280
|
-
#if __has_feature(objc_modules)
|
|
281
|
-
#if __has_warning("-Watimport-in-framework-header")
|
|
282
|
-
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
283
|
-
#endif
|
|
284
|
-
@import CoreFoundation;
|
|
285
|
-
@import CoreGraphics;
|
|
286
|
-
@import Foundation;
|
|
287
|
-
@import ObjectiveC;
|
|
288
|
-
@import QuartzCore;
|
|
289
|
-
@import UIKit;
|
|
290
|
-
#endif
|
|
291
|
-
|
|
292
|
-
#endif
|
|
293
|
-
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
294
|
-
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
295
|
-
#if __has_warning("-Wpragma-clang-attribute")
|
|
296
|
-
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
297
|
-
#endif
|
|
298
|
-
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
299
|
-
#pragma clang diagnostic ignored "-Wnullability"
|
|
300
|
-
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
301
|
-
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
302
|
-
|
|
303
|
-
#if __has_attribute(external_source_symbol)
|
|
304
|
-
# pragma push_macro("any")
|
|
305
|
-
# undef any
|
|
306
|
-
# 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))
|
|
307
|
-
# pragma pop_macro("any")
|
|
308
|
-
#endif
|
|
309
|
-
|
|
310
|
-
#if defined(__OBJC__)
|
|
311
|
-
|
|
312
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlign, "Align", open) {
|
|
313
|
-
MasonAlignAuto = 0,
|
|
314
|
-
MasonAlignLeft = 1,
|
|
315
|
-
MasonAlignRight = 2,
|
|
316
|
-
MasonAlignCenter = 3,
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignContent, "AlignContent", open) {
|
|
320
|
-
MasonAlignContentNormal = -1,
|
|
321
|
-
MasonAlignContentStart = 0,
|
|
322
|
-
MasonAlignContentEnd = 1,
|
|
323
|
-
MasonAlignContentCenter = 2,
|
|
324
|
-
MasonAlignContentStretch = 3,
|
|
325
|
-
MasonAlignContentSpaceBetween = 4,
|
|
326
|
-
MasonAlignContentSpaceAround = 5,
|
|
327
|
-
MasonAlignContentSpaceEvenly = 6,
|
|
328
|
-
MasonAlignContentFlexStart = 7,
|
|
329
|
-
MasonAlignContentFlexEnd = 8,
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignItems, "AlignItems", open) {
|
|
333
|
-
MasonAlignItemsNormal = -1,
|
|
334
|
-
MasonAlignItemsStart = 0,
|
|
335
|
-
MasonAlignItemsEnd = 1,
|
|
336
|
-
MasonAlignItemsCenter = 2,
|
|
337
|
-
MasonAlignItemsBaseline = 3,
|
|
338
|
-
MasonAlignItemsStretch = 4,
|
|
339
|
-
MasonAlignItemsFlexStart = 5,
|
|
340
|
-
MasonAlignItemsFlexEnd = 6,
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignSelf, "AlignSelf", open) {
|
|
344
|
-
MasonAlignSelfNormal = -1,
|
|
345
|
-
MasonAlignSelfStart = 0,
|
|
346
|
-
MasonAlignSelfEnd = 1,
|
|
347
|
-
MasonAlignSelfCenter = 2,
|
|
348
|
-
MasonAlignSelfBaseline = 3,
|
|
349
|
-
MasonAlignSelfStretch = 4,
|
|
350
|
-
MasonAlignSelfFlexStart = 5,
|
|
351
|
-
MasonAlignSelfFlexEnd = 6,
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
@class NSCoder;
|
|
355
|
-
SWIFT_CLASS("_TtC5Mason17BackgroundCALayer")
|
|
356
|
-
@interface BackgroundCALayer : CALayer
|
|
357
|
-
- (void)drawInContext:(CGContextRef _Nonnull)ctx;
|
|
358
|
-
- (void)layoutSublayers;
|
|
359
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
360
|
-
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer OBJC_DESIGNATED_INITIALIZER;
|
|
361
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
362
|
-
@end
|
|
363
|
-
|
|
364
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "BoxSizing", open) {
|
|
365
|
-
MasonBoxSizingBorderBox = 0,
|
|
366
|
-
MasonBoxSizingContentBox = 1,
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
@class MasonTextEngine;
|
|
370
|
-
@class MasonNode;
|
|
371
|
-
SWIFT_PROTOCOL_NAMED("TextContainer")
|
|
372
|
-
@protocol MasonTextContainer <NSObject>
|
|
373
|
-
@property (nonatomic, readonly, strong) MasonTextEngine * _Nonnull engine;
|
|
374
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
375
|
-
- (void)onStyleChange:(uint64_t)low :(uint64_t)high;
|
|
376
|
-
@end
|
|
377
|
-
|
|
378
|
-
@class MasonStyle;
|
|
379
|
-
@class UIView;
|
|
380
|
-
SWIFT_PROTOCOL("_TtP5Mason16MasonElementObjc_")
|
|
381
|
-
@protocol MasonElementObjc <NSObject>
|
|
382
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
383
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
384
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
385
|
-
@end
|
|
386
|
-
|
|
387
|
-
@class NSCMason;
|
|
388
|
-
@class NSString;
|
|
389
|
-
@class NSMutableData;
|
|
390
|
-
SWIFT_CLASS_NAMED("Button")
|
|
391
|
-
@interface MasonButton : UIControl <MasonElementObjc, MasonTextContainer>
|
|
392
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
393
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
394
|
-
@property (nonatomic, strong) MasonTextEngine * _Nonnull engine;
|
|
395
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
396
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
397
|
-
/// Text content - sets or gets the concatenated text from all text nodes
|
|
398
|
-
@property (nonatomic, copy) NSString * _Nonnull textContent;
|
|
399
|
-
- (void)requestLayout;
|
|
400
|
-
- (void)addView:(UIView * _Nonnull)view;
|
|
401
|
-
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
402
|
-
- (void)removeView:(UIView * _Nonnull)view;
|
|
403
|
-
- (void)removeViewAt:(NSInteger)index;
|
|
404
|
-
- (void)removeAllViews;
|
|
405
|
-
- (void)layoutSubviews;
|
|
406
|
-
- (void)drawRect:(CGRect)rect;
|
|
407
|
-
@property (nonatomic, readonly, strong) NSMutableData * _Nonnull textValues;
|
|
408
|
-
- (void)onStyleChange:(uint64_t)low :(uint64_t)high;
|
|
409
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
410
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
411
|
-
@end
|
|
412
|
-
|
|
413
|
-
@class UITouch;
|
|
414
|
-
@class UIEvent;
|
|
415
|
-
@class UIWindow;
|
|
416
|
-
@interface MasonButton (SWIFT_EXTENSION(Mason))
|
|
417
|
-
- (void)touchesBegan:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
|
|
418
|
-
- (void)touchesEnded:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
|
|
419
|
-
- (void)touchesCancelled:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
|
|
420
|
-
- (void)touchesMoved:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
|
|
421
|
-
- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow;
|
|
422
|
-
@end
|
|
423
|
-
|
|
424
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonClear, "Clear", open) {
|
|
425
|
-
MasonClearNone = 0,
|
|
426
|
-
MasonClearLeft = 1,
|
|
427
|
-
MasonClearRight = 2,
|
|
428
|
-
MasonClearBoth = 3,
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDecorationLine, "DecorationLine", open) {
|
|
432
|
-
MasonDecorationLineNone = 0,
|
|
433
|
-
MasonDecorationLineUnderline = 1,
|
|
434
|
-
MasonDecorationLineOverline = 2,
|
|
435
|
-
MasonDecorationLineLineThrough = 3,
|
|
436
|
-
};
|
|
437
|
-
|
|
438
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDecorationStyle, "DecorationStyle", open) {
|
|
439
|
-
MasonDecorationStyleSolid = 0,
|
|
440
|
-
MasonDecorationStyleDouble = 1,
|
|
441
|
-
MasonDecorationStyleDotted = 2,
|
|
442
|
-
MasonDecorationStyleDashed = 3,
|
|
443
|
-
MasonDecorationStyleWavy = 4,
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDirection, "Direction", open) {
|
|
447
|
-
MasonDirectionInherit = 0,
|
|
448
|
-
MasonDirectionLTR = 1,
|
|
449
|
-
MasonDirectionRTL = 2,
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDisplay, "Display", open) {
|
|
453
|
-
MasonDisplayNone = 0,
|
|
454
|
-
MasonDisplayFlex = 1,
|
|
455
|
-
MasonDisplayGrid = 2,
|
|
456
|
-
MasonDisplayBlock = 3,
|
|
457
|
-
MasonDisplayInline = 4,
|
|
458
|
-
MasonDisplayInlineBlock = 5,
|
|
459
|
-
MasonDisplayInlineFlex = 6,
|
|
460
|
-
MasonDisplayInlineGrid = 7,
|
|
461
|
-
};
|
|
462
|
-
|
|
463
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFlexDirection, "FlexDirection", open) {
|
|
464
|
-
MasonFlexDirectionRow = 0,
|
|
465
|
-
MasonFlexDirectionColumn = 1,
|
|
466
|
-
MasonFlexDirectionRowReverse = 2,
|
|
467
|
-
MasonFlexDirectionColumnReverse = 3,
|
|
468
|
-
};
|
|
469
|
-
|
|
470
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFlexWrap, "FlexWrap", open) {
|
|
471
|
-
MasonFlexWrapNoWrap = 0,
|
|
472
|
-
MasonFlexWrapWrap = 1,
|
|
473
|
-
MasonFlexWrapWrapReverse = 2,
|
|
474
|
-
};
|
|
475
|
-
|
|
476
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFontStyle, "FontStyle", open) {
|
|
477
|
-
MasonFontStyleNormal = 0,
|
|
478
|
-
MasonFontStyleItalic = 1,
|
|
479
|
-
MasonFontStyleOblique = 2,
|
|
480
|
-
};
|
|
481
|
-
|
|
482
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridAutoFlowWrap, "GridAutoFlow", open) {
|
|
483
|
-
MasonGridAutoFlowWrapRow = 0,
|
|
484
|
-
MasonGridAutoFlowWrapColumn = 1,
|
|
485
|
-
MasonGridAutoFlowWrapRowDense = 2,
|
|
486
|
-
MasonGridAutoFlowWrapColumnDense = 3,
|
|
487
|
-
};
|
|
488
|
-
|
|
489
|
-
enum MasonGridPlacementCompatType : NSInteger;
|
|
490
|
-
SWIFT_CLASS_NAMED("GridPlacementCompat")
|
|
491
|
-
@interface GridPlacementCompat : NSObject
|
|
492
|
-
- (nonnull instancetype)initWithSpan:(int16_t)span OBJC_DESIGNATED_INITIALIZER;
|
|
493
|
-
- (nonnull instancetype)initWithLine:(int16_t)line OBJC_DESIGNATED_INITIALIZER;
|
|
494
|
-
@property (nonatomic, readonly) enum MasonGridPlacementCompatType type;
|
|
495
|
-
@property (nonatomic, readonly) int16_t value;
|
|
496
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
497
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
498
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridPlacementCompat * _Nonnull Auto;)
|
|
499
|
-
+ (GridPlacementCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
500
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
501
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
502
|
-
@end
|
|
503
|
-
|
|
504
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridPlacementCompatType, "GridPlacementCompatType", open) {
|
|
505
|
-
MasonGridPlacementCompatTypeAuto = 0,
|
|
506
|
-
MasonGridPlacementCompatTypeLine = 1,
|
|
507
|
-
MasonGridPlacementCompatTypeSpan = 2,
|
|
508
|
-
};
|
|
509
|
-
|
|
510
|
-
SWIFT_CLASS_NAMED("GridTrackRepetition")
|
|
511
|
-
@interface MasonGridTrackRepetition : NSObject
|
|
512
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
513
|
-
@property (nonatomic, readonly) int32_t type;
|
|
514
|
-
@property (nonatomic, readonly) uint16_t value;
|
|
515
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonGridTrackRepetition * _Nonnull AutoFill;)
|
|
516
|
-
+ (MasonGridTrackRepetition * _Nonnull)AutoFill SWIFT_WARN_UNUSED_RESULT;
|
|
517
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonGridTrackRepetition * _Nonnull AutoFit;)
|
|
518
|
-
+ (MasonGridTrackRepetition * _Nonnull)AutoFit SWIFT_WARN_UNUSED_RESULT;
|
|
519
|
-
+ (MasonGridTrackRepetition * _Nonnull)Count:(uint16_t)value SWIFT_WARN_UNUSED_RESULT;
|
|
520
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
521
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
522
|
-
@end
|
|
523
|
-
|
|
524
|
-
SWIFT_CLASS_NAMED("HTMLParser")
|
|
525
|
-
@interface MasonHTMLParser : NSObject
|
|
526
|
-
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
527
|
-
/// Parses an HTML string and returns a list of root-level MasonElement/MasonNode children.
|
|
528
|
-
- (NSArray<MasonNode *> * _Nonnull)parse:(NSString * _Nonnull)html SWIFT_WARN_UNUSED_RESULT;
|
|
529
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
530
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
531
|
-
@end
|
|
532
|
-
|
|
533
|
-
enum MasonLoadingState : NSInteger;
|
|
534
|
-
@class UIImage;
|
|
535
|
-
SWIFT_CLASS_NAMED("Img")
|
|
536
|
-
@interface MasonImg : UIView <MasonElementObjc>
|
|
537
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
538
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
539
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
540
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
541
|
-
@property (nonatomic, copy) void (^ _Nullable didLayout)(void);
|
|
542
|
-
@property (nonatomic, copy) void (^ _Nullable onStateChange)(enum MasonLoadingState, NSError * _Nullable);
|
|
543
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;)
|
|
544
|
-
+ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT;
|
|
545
|
-
@property (nonatomic, strong) UIImage * _Nullable image;
|
|
546
|
-
- (void)requestLayout;
|
|
547
|
-
@property (nonatomic, copy) NSString * _Nullable src;
|
|
548
|
-
- (void)updateImage:(UIImage * _Nullable)image;
|
|
549
|
-
- (void)layoutSubviews;
|
|
550
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
551
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
552
|
-
@end
|
|
553
|
-
|
|
554
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifyContent, "JustifyContent", open) {
|
|
555
|
-
MasonJustifyContentNormal = -1,
|
|
556
|
-
MasonJustifyContentStart = 0,
|
|
557
|
-
MasonJustifyContentEnd = 1,
|
|
558
|
-
MasonJustifyContentCenter = 2,
|
|
559
|
-
MasonJustifyContentStretch = 3,
|
|
560
|
-
MasonJustifyContentSpaceBetween = 4,
|
|
561
|
-
MasonJustifyContentSpaceAround = 5,
|
|
562
|
-
MasonJustifyContentSpaceEvenly = 6,
|
|
563
|
-
MasonJustifyContentFlexStart = 7,
|
|
564
|
-
MasonJustifyContentFlexEnd = 8,
|
|
565
|
-
};
|
|
566
|
-
|
|
567
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifyItems, "JustifyItems", open) {
|
|
568
|
-
MasonJustifyItemsNormal = -1,
|
|
569
|
-
MasonJustifyItemsStart = 0,
|
|
570
|
-
MasonJustifyItemsEnd = 1,
|
|
571
|
-
MasonJustifyItemsCenter = 2,
|
|
572
|
-
MasonJustifyItemsBaseline = 3,
|
|
573
|
-
MasonJustifyItemsStretch = 4,
|
|
574
|
-
MasonJustifyItemsFlexStart = 5,
|
|
575
|
-
MasonJustifyItemsFlexEnd = 6,
|
|
576
|
-
};
|
|
577
|
-
|
|
578
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifySelf, "JustifySelf", open) {
|
|
579
|
-
MasonJustifySelfNormal = -1,
|
|
580
|
-
MasonJustifySelfStart = 0,
|
|
581
|
-
MasonJustifySelfEnd = 1,
|
|
582
|
-
MasonJustifySelfCenter = 2,
|
|
583
|
-
MasonJustifySelfBaseline = 3,
|
|
584
|
-
MasonJustifySelfStretch = 4,
|
|
585
|
-
MasonJustifySelfFlexStart = 5,
|
|
586
|
-
MasonJustifySelfFlexEnd = 6,
|
|
587
|
-
};
|
|
588
|
-
|
|
589
|
-
SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
590
|
-
@interface LineGridPlacementCompat : NSObject
|
|
591
|
-
@property (nonatomic, readonly, strong) GridPlacementCompat * _Nonnull start;
|
|
592
|
-
@property (nonatomic, readonly, strong) GridPlacementCompat * _Nonnull end;
|
|
593
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
594
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
595
|
-
@end
|
|
596
|
-
|
|
597
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonLineHeight, "LineHeight", open) {
|
|
598
|
-
MasonLineHeightNormal = 0,
|
|
599
|
-
MasonLineHeightPre = 1,
|
|
600
|
-
MasonLineHeightPreWrap = 2,
|
|
601
|
-
MasonLineHeightPreLine = 3,
|
|
602
|
-
};
|
|
603
|
-
|
|
604
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonListStylePosition, "ListStylePosition", open) {
|
|
605
|
-
MasonListStylePositionOutside = 0,
|
|
606
|
-
MasonListStylePositionInside = 1,
|
|
607
|
-
};
|
|
608
|
-
|
|
609
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonListStyleType, "ListStyleType", open) {
|
|
610
|
-
MasonListStyleTypeNone = 0,
|
|
611
|
-
MasonListStyleTypeCustom = 1,
|
|
612
|
-
MasonListStyleTypeDisc = 2,
|
|
613
|
-
MasonListStyleTypeCircle = 3,
|
|
614
|
-
MasonListStyleTypeSquare = 4,
|
|
615
|
-
MasonListStyleTypeDecimal = 5,
|
|
616
|
-
};
|
|
617
|
-
|
|
618
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonLoadingState, "LoadingState", open) {
|
|
619
|
-
MasonLoadingStateLoading = 0,
|
|
620
|
-
MasonLoadingStateLoaded = 1,
|
|
621
|
-
MasonLoadingStateError = 2,
|
|
622
|
-
};
|
|
623
|
-
|
|
624
|
-
SWIFT_CLASS_NAMED("MasonBr")
|
|
625
|
-
@interface MasonBr : NSObject <MasonElementObjc>
|
|
626
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
627
|
-
@property (nonatomic, strong) MasonNode * _Nonnull node;
|
|
628
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
629
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
630
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
631
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
632
|
-
@end
|
|
633
|
-
|
|
634
|
-
SWIFT_PROTOCOL("_TtP5Mason18MasonCharacterData_")
|
|
635
|
-
@protocol MasonCharacterData
|
|
636
|
-
@property (nonatomic, copy) NSString * _Nonnull data;
|
|
637
|
-
@property (nonatomic, readonly) NSInteger length;
|
|
638
|
-
- (nonnull instancetype)appendData:(NSString * _Nonnull)s;
|
|
639
|
-
- (nonnull instancetype)insertData:(NSString * _Nonnull)s at:(NSInteger)offset;
|
|
640
|
-
- (nonnull instancetype)deleteDataWithOffset:(NSInteger)offset count:(NSInteger)count;
|
|
641
|
-
- (nonnull instancetype)replaceDataWithOffset:(NSInteger)offset count:(NSInteger)count with:(NSString * _Nonnull)s;
|
|
642
|
-
- (NSString * _Nonnull)substringDataWithOffset:(NSInteger)offset count:(NSInteger)count SWIFT_WARN_UNUSED_RESULT;
|
|
643
|
-
- (nonnull instancetype)deleteDataWithRange:(NSRange)range;
|
|
644
|
-
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
645
|
-
@end
|
|
646
|
-
|
|
647
|
-
enum MasonDimensionCompatType : NSInteger;
|
|
648
|
-
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
649
|
-
@interface MasonDimensionCompat : NSObject
|
|
650
|
-
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
651
|
-
- (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
|
|
652
|
-
@property (nonatomic, readonly) enum MasonDimensionCompatType type;
|
|
653
|
-
@property (nonatomic, readonly) float value;
|
|
654
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
655
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
656
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonDimensionCompat * _Nonnull Auto;)
|
|
657
|
-
+ (MasonDimensionCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
658
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonDimensionCompat * _Nonnull Zero;)
|
|
659
|
-
+ (MasonDimensionCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
|
|
660
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
661
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
662
|
-
@end
|
|
663
|
-
|
|
664
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDimensionCompatType, "MasonDimensionCompatType", open) {
|
|
665
|
-
MasonDimensionCompatTypeAuto = 0,
|
|
666
|
-
MasonDimensionCompatTypePoints = 1,
|
|
667
|
-
MasonDimensionCompatTypePercent = 2,
|
|
668
|
-
};
|
|
669
|
-
|
|
670
|
-
SWIFT_CLASS_NAMED("MasonDimensionPointCompat")
|
|
671
|
-
@interface MasonDimensionPointCompat : NSObject
|
|
672
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull x;
|
|
673
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull y;
|
|
674
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
675
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
676
|
-
@end
|
|
677
|
-
|
|
678
|
-
SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
|
|
679
|
-
@interface MasonDimensionRectCompat : NSObject
|
|
680
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull left;
|
|
681
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull right;
|
|
682
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull top;
|
|
683
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull bottom;
|
|
684
|
-
- (nonnull instancetype)init:(MasonDimensionCompat * _Nonnull)left :(MasonDimensionCompat * _Nonnull)top :(MasonDimensionCompat * _Nonnull)right :(MasonDimensionCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
|
|
685
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
686
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
687
|
-
@end
|
|
688
|
-
|
|
689
|
-
SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
690
|
-
@interface MasonDimensionSizeCompat : NSObject
|
|
691
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull width;
|
|
692
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull height;
|
|
693
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
694
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
695
|
-
@end
|
|
696
|
-
|
|
697
|
-
SWIFT_CLASS_NAMED("MasonDocument")
|
|
698
|
-
@interface MasonDocument : NSObject
|
|
699
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
700
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
701
|
-
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)instance OBJC_DESIGNATED_INITIALIZER;
|
|
702
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
703
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
704
|
-
@end
|
|
705
|
-
|
|
706
|
-
@class MasonEventOptions;
|
|
707
|
-
SWIFT_CLASS_NAMED("MasonEvent")
|
|
708
|
-
@interface MasonEvent : NSObject
|
|
709
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull type;
|
|
710
|
-
@property (nonatomic, readonly) BOOL bubbles;
|
|
711
|
-
@property (nonatomic, readonly) BOOL cancelable;
|
|
712
|
-
@property (nonatomic, readonly) BOOL isComposing;
|
|
713
|
-
@property (nonatomic, readonly) double timeStamp;
|
|
714
|
-
@property (nonatomic, readonly) BOOL defaultPrevented;
|
|
715
|
-
@property (nonatomic, readonly) BOOL propagationStopped;
|
|
716
|
-
@property (nonatomic, readonly) BOOL immediatePropagationStopped;
|
|
717
|
-
@property (nonatomic, readonly) id _Nullable target;
|
|
718
|
-
@property (nonatomic, readonly) id _Nullable currentTarget;
|
|
719
|
-
- (nonnull instancetype)initWithType:(NSString * _Nonnull)eventType bubbles:(BOOL)eventBubbles cancelable:(BOOL)eventCancelable options:(MasonEventOptions * _Nullable)options OBJC_DESIGNATED_INITIALIZER;
|
|
720
|
-
- (void)preventDefault;
|
|
721
|
-
- (void)stopPropagation;
|
|
722
|
-
- (void)stopImmediatePropagation;
|
|
723
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
724
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
725
|
-
@end
|
|
726
|
-
|
|
727
|
-
SWIFT_CLASS_NAMED("MasonEventOptions")
|
|
728
|
-
@interface MasonEventOptions : NSObject
|
|
729
|
-
@property (nonatomic) BOOL isComposing;
|
|
730
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
731
|
-
- (nonnull instancetype)initWithIsComposing:(BOOL)isComposing OBJC_DESIGNATED_INITIALIZER;
|
|
732
|
-
@end
|
|
733
|
-
|
|
734
|
-
@class NSURL;
|
|
735
|
-
SWIFT_CLASS_NAMED("MasonFileInputEvent")
|
|
736
|
-
@interface MasonFileInputEvent : MasonEvent
|
|
737
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable data;
|
|
738
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable inputType;
|
|
739
|
-
@property (nonatomic, readonly, copy) NSArray<NSURL *> * _Nonnull rawData;
|
|
740
|
-
- (nonnull instancetype)initWithType:(NSString * _Nonnull)type data:(NSString * _Nullable)inputData inputType:(NSString * _Nullable)masonInputType options:(MasonEventOptions * _Nullable)options rawData:(NSArray<NSURL *> * _Nonnull)inputRawData OBJC_DESIGNATED_INITIALIZER;
|
|
741
|
-
- (nonnull instancetype)initWithType:(NSString * _Nonnull)eventType bubbles:(BOOL)eventBubbles cancelable:(BOOL)eventCancelable options:(MasonEventOptions * _Nullable)options SWIFT_UNAVAILABLE;
|
|
742
|
-
@end
|
|
743
|
-
|
|
744
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFloat, "MasonFloat", open) {
|
|
745
|
-
MasonFloatNone = 0,
|
|
746
|
-
MasonFloatLeft = 1,
|
|
747
|
-
MasonFloatRight = 2,
|
|
748
|
-
};
|
|
749
|
-
|
|
750
|
-
SWIFT_CLASS("_TtC5Mason15MasonImageLayer")
|
|
751
|
-
@interface MasonImageLayer : CALayer
|
|
752
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
753
|
-
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer OBJC_DESIGNATED_INITIALIZER;
|
|
754
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
755
|
-
- (void)drawInContext:(CGContextRef _Nonnull)context;
|
|
756
|
-
- (void)layoutSublayers;
|
|
757
|
-
@end
|
|
758
|
-
|
|
759
|
-
enum MasonInputType : int8_t;
|
|
760
|
-
@class NSDate;
|
|
761
|
-
SWIFT_CLASS_NAMED("MasonInput")
|
|
762
|
-
@interface MasonInput : UIView
|
|
763
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
764
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
765
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
766
|
-
@property (nonatomic) BOOL multiple;
|
|
767
|
-
@property (nonatomic, copy) NSString * _Nonnull accept;
|
|
768
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
769
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
770
|
-
@property (nonatomic) enum MasonInputType type;
|
|
771
|
-
@property (nonatomic) int32_t size;
|
|
772
|
-
@property (nonatomic, copy) NSString * _Nonnull value;
|
|
773
|
-
@property (nonatomic) double valueAsNumber;
|
|
774
|
-
@property (nonatomic, copy) NSDate * _Nullable valueAsDate;
|
|
775
|
-
@property (nonatomic, copy) NSString * _Nonnull placeholder;
|
|
776
|
-
- (void)drawRect:(CGRect)rect;
|
|
777
|
-
- (void)layoutSubviews;
|
|
778
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
779
|
-
@end
|
|
780
|
-
|
|
781
|
-
SWIFT_CLASS_NAMED("MasonInputEvent")
|
|
782
|
-
@interface MasonInputEvent : MasonEvent
|
|
783
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable data;
|
|
784
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable inputType;
|
|
785
|
-
- (nonnull instancetype)initWithType:(NSString * _Nonnull)type data:(NSString * _Nullable)inputData inputType:(NSString * _Nullable)masonInputType options:(MasonEventOptions * _Nullable)options OBJC_DESIGNATED_INITIALIZER;
|
|
786
|
-
- (nonnull instancetype)initWithType:(NSString * _Nonnull)eventType bubbles:(BOOL)eventBubbles cancelable:(BOOL)eventCancelable options:(MasonEventOptions * _Nullable)options SWIFT_UNAVAILABLE;
|
|
787
|
-
@end
|
|
788
|
-
|
|
789
|
-
typedef SWIFT_ENUM_NAMED(int8_t, MasonInputType, "MasonInputType", open) {
|
|
790
|
-
MasonInputTypeText = 0,
|
|
791
|
-
MasonInputTypeButton = 1,
|
|
792
|
-
MasonInputTypeCheckbox = 2,
|
|
793
|
-
MasonInputTypeEmail = 3,
|
|
794
|
-
MasonInputTypePassword = 4,
|
|
795
|
-
MasonInputTypeDate = 5,
|
|
796
|
-
MasonInputTypeRadio = 6,
|
|
797
|
-
MasonInputTypeNumber = 7,
|
|
798
|
-
MasonInputTypeRange = 8,
|
|
799
|
-
MasonInputTypeTel = 9,
|
|
800
|
-
MasonInputTypeUrl = 10,
|
|
801
|
-
MasonInputTypeColor = 11,
|
|
802
|
-
MasonInputTypeFile = 12,
|
|
803
|
-
MasonInputTypeSubmit = 13,
|
|
804
|
-
};
|
|
805
|
-
|
|
806
|
-
@class MasonRectHelper;
|
|
807
|
-
@class MasonSizeHelper;
|
|
808
|
-
SWIFT_CLASS_NAMED("MasonLayout")
|
|
809
|
-
@interface MasonLayout : NSObject
|
|
810
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLayout * _Nonnull empty;)
|
|
811
|
-
+ (MasonLayout * _Nonnull)empty SWIFT_WARN_UNUSED_RESULT;
|
|
812
|
-
@property (nonatomic, readonly) float x;
|
|
813
|
-
@property (nonatomic, readonly) float y;
|
|
814
|
-
@property (nonatomic, readonly) float width;
|
|
815
|
-
@property (nonatomic, readonly) float height;
|
|
816
|
-
@property (nonatomic, readonly) float borderTop;
|
|
817
|
-
@property (nonatomic, readonly) float borderRight;
|
|
818
|
-
@property (nonatomic, readonly) float borderBottom;
|
|
819
|
-
@property (nonatomic, readonly) float borderLeft;
|
|
820
|
-
@property (nonatomic, readonly) float marginTop;
|
|
821
|
-
@property (nonatomic, readonly) float marginRight;
|
|
822
|
-
@property (nonatomic, readonly) float marginBottom;
|
|
823
|
-
@property (nonatomic, readonly) float marginLeft;
|
|
824
|
-
@property (nonatomic, readonly) float paddingTop;
|
|
825
|
-
@property (nonatomic, readonly) float paddingRight;
|
|
826
|
-
@property (nonatomic, readonly) float paddingBottom;
|
|
827
|
-
@property (nonatomic, readonly) float paddingLeft;
|
|
828
|
-
@property (nonatomic, readonly) float contentWidth;
|
|
829
|
-
@property (nonatomic, readonly) float contentHeight;
|
|
830
|
-
@property (nonatomic, readonly) float scrollbarWidth;
|
|
831
|
-
@property (nonatomic, readonly) float scrollbarHeight;
|
|
832
|
-
@property (nonatomic, readonly) BOOL sizeIsEmpty;
|
|
833
|
-
@property (nonatomic, readonly) BOOL paddingIsEmpty;
|
|
834
|
-
@property (nonatomic, readonly) BOOL marginIsEmpty;
|
|
835
|
-
@property (nonatomic, readonly) BOOL borderIsEmpty;
|
|
836
|
-
@property (nonatomic, readonly, strong) MasonRectHelper * _Nonnull border;
|
|
837
|
-
@property (nonatomic, readonly, strong) MasonRectHelper * _Nonnull margin;
|
|
838
|
-
@property (nonatomic, readonly, strong) MasonRectHelper * _Nonnull padding;
|
|
839
|
-
@property (nonatomic, readonly, strong) MasonSizeHelper * _Nonnull contentSize;
|
|
840
|
-
@property (nonatomic, readonly, strong) MasonSizeHelper * _Nonnull scrollbarSize;
|
|
841
|
-
@property (nonatomic, readonly) BOOL hasChildren;
|
|
842
|
-
@property (nonatomic, readonly, copy) NSArray<MasonLayout *> * _Nonnull children;
|
|
843
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
844
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
845
|
-
@end
|
|
846
|
-
|
|
847
|
-
enum MasonLengthPercentageAutoCompatType : NSInteger;
|
|
848
|
-
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoCompat")
|
|
849
|
-
@interface MasonLengthPercentageAutoCompat : NSObject
|
|
850
|
-
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
851
|
-
- (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
|
|
852
|
-
@property (nonatomic, readonly) enum MasonLengthPercentageAutoCompatType type;
|
|
853
|
-
@property (nonatomic, readonly) float value;
|
|
854
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
855
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
856
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageAutoCompat * _Nonnull Auto;)
|
|
857
|
-
+ (MasonLengthPercentageAutoCompat * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
858
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageAutoCompat * _Nonnull Zero;)
|
|
859
|
-
+ (MasonLengthPercentageAutoCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
|
|
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, MasonLengthPercentageAutoCompatType, "MasonLengthPercentageAutoCompatType", open) {
|
|
865
|
-
MasonLengthPercentageAutoCompatTypeAuto = 0,
|
|
866
|
-
MasonLengthPercentageAutoCompatTypePoints = 1,
|
|
867
|
-
MasonLengthPercentageAutoCompatTypePercent = 2,
|
|
868
|
-
};
|
|
869
|
-
|
|
870
|
-
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoPointCompat")
|
|
871
|
-
@interface MasonLengthPercentageAutoPointCompat : NSObject
|
|
872
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull x;
|
|
873
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull y;
|
|
874
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
875
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
876
|
-
@end
|
|
877
|
-
|
|
878
|
-
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
|
|
879
|
-
@interface MasonLengthPercentageAutoRectCompat : NSObject
|
|
880
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull left;
|
|
881
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull right;
|
|
882
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull top;
|
|
883
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull bottom;
|
|
884
|
-
- (nonnull instancetype)init:(MasonLengthPercentageAutoCompat * _Nonnull)left :(MasonLengthPercentageAutoCompat * _Nonnull)top :(MasonLengthPercentageAutoCompat * _Nonnull)right :(MasonLengthPercentageAutoCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
|
|
885
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
886
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
887
|
-
@end
|
|
888
|
-
|
|
889
|
-
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
|
|
890
|
-
@interface MasonLengthPercentageAutoSizeCompat : NSObject
|
|
891
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull width;
|
|
892
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull height;
|
|
893
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
894
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
895
|
-
@end
|
|
896
|
-
|
|
897
|
-
enum MasonLengthPercentageCompatType : NSInteger;
|
|
898
|
-
SWIFT_CLASS_NAMED("MasonLengthPercentageCompat")
|
|
899
|
-
@interface MasonLengthPercentageCompat : NSObject
|
|
900
|
-
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
901
|
-
- (nonnull instancetype)initWithPercent:(float)percent OBJC_DESIGNATED_INITIALIZER;
|
|
902
|
-
@property (nonatomic, readonly) enum MasonLengthPercentageCompatType type;
|
|
903
|
-
@property (nonatomic, readonly) float value;
|
|
904
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
905
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
906
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLengthPercentageCompat * _Nonnull Zero;)
|
|
907
|
-
+ (MasonLengthPercentageCompat * _Nonnull)Zero SWIFT_WARN_UNUSED_RESULT;
|
|
908
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
909
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
910
|
-
@end
|
|
911
|
-
|
|
912
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageCompatType, "MasonLengthPercentageCompatType", open) {
|
|
913
|
-
MasonLengthPercentageCompatTypePoints = 0,
|
|
914
|
-
MasonLengthPercentageCompatTypePercent = 1,
|
|
915
|
-
};
|
|
916
|
-
|
|
917
|
-
SWIFT_CLASS_NAMED("MasonLengthPercentagePointCompat")
|
|
918
|
-
@interface MasonLengthPercentagePointCompat : NSObject
|
|
919
|
-
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull x;
|
|
920
|
-
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull y;
|
|
921
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
922
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
923
|
-
@end
|
|
924
|
-
|
|
925
|
-
SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
|
|
926
|
-
@interface MasonLengthPercentageRectCompat : NSObject
|
|
927
|
-
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull left;
|
|
928
|
-
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull right;
|
|
929
|
-
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull top;
|
|
930
|
-
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull bottom;
|
|
931
|
-
- (nonnull instancetype)init:(MasonLengthPercentageCompat * _Nonnull)left :(MasonLengthPercentageCompat * _Nonnull)right :(MasonLengthPercentageCompat * _Nonnull)top :(MasonLengthPercentageCompat * _Nonnull)bottom OBJC_DESIGNATED_INITIALIZER;
|
|
932
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
933
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
934
|
-
@end
|
|
935
|
-
|
|
936
|
-
SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
937
|
-
@interface MasonLengthPercentageSizeCompat : NSObject
|
|
938
|
-
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull width;
|
|
939
|
-
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull height;
|
|
940
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
941
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
942
|
-
@end
|
|
943
|
-
|
|
944
|
-
SWIFT_CLASS_NAMED("MasonLi")
|
|
945
|
-
@interface MasonLi : UIView <MasonElementObjc>
|
|
946
|
-
- (void)requestLayout;
|
|
947
|
-
- (void)drawRect:(CGRect)rect;
|
|
948
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
949
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
950
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
951
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
952
|
-
@property (nonatomic) BOOL isOrdered;
|
|
953
|
-
- (void)layoutSubviews;
|
|
954
|
-
/// Reset view state for recycling
|
|
955
|
-
- (void)resetForRecycle;
|
|
956
|
-
/// Set marker value and position for this list item
|
|
957
|
-
- (void)bindWithPosition:(NSInteger)position isOrdered:(BOOL)isOrdered;
|
|
958
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
959
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
960
|
-
@end
|
|
961
|
-
|
|
962
|
-
@protocol MasonListDelegate;
|
|
963
|
-
@class UICollectionView;
|
|
964
|
-
@class NSIndexPath;
|
|
965
|
-
@class UICollectionViewCell;
|
|
966
|
-
SWIFT_CLASS_NAMED("MasonList")
|
|
967
|
-
@interface MasonList : UIView <MasonElementObjc, UICollectionViewDataSource, UICollectionViewDataSourcePrefetching, UICollectionViewDelegateFlowLayout>
|
|
968
|
-
@property (nonatomic, strong) id <MasonListDelegate> _Nullable delegate;
|
|
969
|
-
- (void)drawRect:(CGRect)rect;
|
|
970
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
971
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
972
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
973
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
974
|
-
/// Static items keyed by their position in the overall list.
|
|
975
|
-
/// Positions not in this dictionary are virtual (recycled via delegate).
|
|
976
|
-
@property (nonatomic, readonly, copy) NSDictionary<NSNumber *, MasonLi *> * _Nonnull staticItems;
|
|
977
|
-
/// Backward-compat: flat array of static views (unpositioned).
|
|
978
|
-
/// Setting this clears staticItems and assigns positions 0..<array.count.
|
|
979
|
-
@property (nonatomic, copy) NSArray<MasonLi *> * _Nonnull staticViews;
|
|
980
|
-
@property (nonatomic, strong) NSMutableData * _Nonnull values;
|
|
981
|
-
/// Virtual item count (set by user). Total count = staticItems.count + this value.
|
|
982
|
-
@property (nonatomic) NSInteger count;
|
|
983
|
-
- (void)layoutSubviews;
|
|
984
|
-
- (void)registerWithCellClass:(Class _Nullable)cellClass forCellWithReuseIdentifier:(NSString * _Nonnull)identifier;
|
|
985
|
-
/// Appends a static item at the end of the list (position = current count).
|
|
986
|
-
- (void)addView:(MasonLi * _Nonnull)item;
|
|
987
|
-
/// Inserts a static item at the given position, shifting existing entries at >= index.
|
|
988
|
-
- (void)addView:(MasonLi * _Nonnull)item at:(NSInteger)index;
|
|
989
|
-
- (void)reload;
|
|
990
|
-
@property (nonatomic) BOOL isOrdered;
|
|
991
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
992
|
-
- (void)invalidateSizeCache;
|
|
993
|
-
- (void)invalidateSizeCacheAt:(NSInteger)index;
|
|
994
|
-
- (void)collectionView:(UICollectionView * _Nonnull)collectionView prefetchItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths;
|
|
995
|
-
- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
|
|
996
|
-
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView * _Nonnull)collectionView SWIFT_WARN_UNUSED_RESULT;
|
|
997
|
-
- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
|
|
998
|
-
- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
|
|
999
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1000
|
-
@end
|
|
1001
|
-
|
|
1002
|
-
SWIFT_PROTOCOL_NAMED("MasonListDelegate")
|
|
1003
|
-
@protocol MasonListDelegate
|
|
1004
|
-
- (UICollectionViewCell * _Nonnull)list:(UICollectionView * _Nonnull)list cellForItemAt:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
|
|
1005
|
-
- (void)list:(UICollectionView * _Nonnull)list willDisplay:(UICollectionViewCell * _Nonnull)cell forItemAt:(NSIndexPath * _Nonnull)indexPath;
|
|
1006
|
-
@end
|
|
1007
|
-
|
|
1008
|
-
@class UICollectionViewLayoutAttributes;
|
|
1009
|
-
SWIFT_CLASS_NAMED("MasonListCell")
|
|
1010
|
-
@interface MasonListCell : UICollectionViewCell
|
|
1011
|
-
@property (nonatomic, copy) void (^ _Nullable willMove)(MasonListCell * _Nonnull);
|
|
1012
|
-
+ (MasonListCell * _Nonnull)initWithEmptyBackground SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
1013
|
-
- (void)setViewWithCompat:(id <MasonElementObjc> _Nullable)view;
|
|
1014
|
-
- (void)willMoveToSuperview:(UIView * _Nullable)newSuperview;
|
|
1015
|
-
- (void)prepareForReuse;
|
|
1016
|
-
- (UICollectionViewLayoutAttributes * _Nonnull)preferredLayoutAttributesFittingAttributes:(UICollectionViewLayoutAttributes * _Nonnull)layoutAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
1017
|
-
- (void)layoutSubviews;
|
|
1018
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
1019
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
1020
|
-
@end
|
|
1021
|
-
|
|
1022
|
-
@class MasonMouseEventOptions;
|
|
1023
|
-
SWIFT_CLASS_NAMED("MasonMouseEvent")
|
|
1024
|
-
@interface MasonMouseEvent : MasonEvent
|
|
1025
|
-
@property (nonatomic, readonly) NSInteger button;
|
|
1026
|
-
@property (nonatomic, readonly) NSInteger buttons;
|
|
1027
|
-
@property (nonatomic, readonly) float clientX;
|
|
1028
|
-
@property (nonatomic, readonly) float clientY;
|
|
1029
|
-
@property (nonatomic, readonly) BOOL ctrlKey;
|
|
1030
|
-
@property (nonatomic, readonly) BOOL shiftKey;
|
|
1031
|
-
@property (nonatomic, readonly) BOOL altKey;
|
|
1032
|
-
@property (nonatomic, readonly) BOOL metaKey;
|
|
1033
|
-
@property (nonatomic, readonly) NSInteger detail;
|
|
1034
|
-
@property (nonatomic, readonly) float screenX;
|
|
1035
|
-
@property (nonatomic, readonly) float screenY;
|
|
1036
|
-
@property (nonatomic, readonly) id _Nullable relatedTarget;
|
|
1037
|
-
@property (nonatomic, readonly) id _Nullable region;
|
|
1038
|
-
@property (nonatomic, readonly) NSInteger movementX;
|
|
1039
|
-
@property (nonatomic, readonly) NSInteger movementY;
|
|
1040
|
-
@property (nonatomic, readonly) float pageX;
|
|
1041
|
-
@property (nonatomic, readonly) float pageY;
|
|
1042
|
-
- (nonnull instancetype)initWithType:(NSString * _Nonnull)type options:(MasonMouseEventOptions * _Nullable)options OBJC_DESIGNATED_INITIALIZER;
|
|
1043
|
-
- (nonnull instancetype)initWithType:(NSString * _Nonnull)eventType bubbles:(BOOL)eventBubbles cancelable:(BOOL)eventCancelable options:(MasonEventOptions * _Nullable)options SWIFT_UNAVAILABLE;
|
|
1044
|
-
@end
|
|
1045
|
-
|
|
1046
|
-
SWIFT_CLASS_NAMED("MasonMouseEventOptions")
|
|
1047
|
-
@interface MasonMouseEventOptions : MasonEventOptions
|
|
1048
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1049
|
-
- (nonnull instancetype)initWithIsComposing:(BOOL)isComposing OBJC_DESIGNATED_INITIALIZER;
|
|
1050
|
-
@end
|
|
1051
|
-
|
|
1052
|
-
enum PseudoState : uint16_t;
|
|
1053
|
-
enum MasonNodeType : int32_t;
|
|
1054
|
-
SWIFT_CLASS_NAMED("MasonNode")
|
|
1055
|
-
@interface MasonNode : NSObject
|
|
1056
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1057
|
-
@property (nonatomic, copy) void (^ _Nullable onNodeAttached)(void);
|
|
1058
|
-
@property (nonatomic, copy) void (^ _Nullable onNodeDetached)(void);
|
|
1059
|
-
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
1060
|
-
@property (nonatomic, readonly, strong) MasonLayout * _Nonnull computedLayout;
|
|
1061
|
-
/// Set to true by applyToView after Mason has applied layout to this node’s view.
|
|
1062
|
-
/// NativeScript can read this to skip redundant layout passes for Mason-managed children.
|
|
1063
|
-
@property (nonatomic) BOOL isLayoutValid;
|
|
1064
|
-
@property (nonatomic, readonly, strong) MasonDocument * _Nullable document;
|
|
1065
|
-
- (void)setPseudoString:(uint16_t)pseudoState :(NSString * _Nonnull)key :(NSString * _Nonnull)value;
|
|
1066
|
-
- (NSString * _Nullable)getPseudoString:(uint16_t)pseudoState :(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
1067
|
-
- (void)clearPseudoString:(uint16_t)pseudoState :(NSString * _Nonnull)key;
|
|
1068
|
-
/// Current active pseudo state bitmask read from the native state buffer.
|
|
1069
|
-
@property (nonatomic, readonly) uint16_t pseudoMask;
|
|
1070
|
-
- (BOOL)hasPseudo:(enum PseudoState)state SWIFT_WARN_UNUSED_RESULT;
|
|
1071
|
-
- (void)setPseudo:(enum PseudoState)state :(BOOL)enabled autoDirty:(BOOL)autoDirty;
|
|
1072
|
-
/// Get existing pseudo style buffer (read-only).
|
|
1073
|
-
- (NSMutableData * _Nullable)getPseudoBuffer:(uint16_t)flags SWIFT_WARN_UNUSED_RESULT;
|
|
1074
|
-
/// Prepare (create if needed) a mutable pseudo style buffer.
|
|
1075
|
-
/// Clones from base style on first call for a given state.
|
|
1076
|
-
- (NSMutableData * _Nonnull)preparePseudoBuffer:(uint16_t)flags SWIFT_WARN_UNUSED_RESULT;
|
|
1077
|
-
- (MasonNode * _Nonnull)getRootNode SWIFT_WARN_UNUSED_RESULT;
|
|
1078
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nullable parent;
|
|
1079
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nullable parentNode;
|
|
1080
|
-
@property (nonatomic, readonly) enum MasonNodeType type;
|
|
1081
|
-
- (NSArray<MasonNode *> * _Nonnull)getChildren SWIFT_WARN_UNUSED_RESULT;
|
|
1082
|
-
- (NSArray<MasonNode *> * _Nonnull)getLayoutChildren SWIFT_WARN_UNUSED_RESULT;
|
|
1083
|
-
@property (nonatomic) BOOL inBatch;
|
|
1084
|
-
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
|
|
1085
|
-
@property (nonatomic, readonly) BOOL isDirty;
|
|
1086
|
-
- (void)markDirty;
|
|
1087
|
-
- (UIView * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
|
|
1088
|
-
/// Helper to get default text attributes for new text nodes
|
|
1089
|
-
- (NSDictionary<NSAttributedStringKey, id> * _Nonnull)getDefaultAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
1090
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1091
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1092
|
-
@end
|
|
1093
|
-
|
|
1094
|
-
@interface MasonNode (SWIFT_EXTENSION(Mason))
|
|
1095
|
-
- (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
|
|
1096
|
-
- (void)appendChild:(MasonNode * _Nonnull)child;
|
|
1097
|
-
- (void)removeAllChildren;
|
|
1098
|
-
@end
|
|
1099
|
-
|
|
1100
|
-
typedef SWIFT_ENUM_NAMED(int32_t, MasonNodeType, "MasonNodeType", open) {
|
|
1101
|
-
MasonNodeTypeElement = 0,
|
|
1102
|
-
MasonNodeTypeText = 1,
|
|
1103
|
-
MasonNodeTypeDocument = 2,
|
|
1104
|
-
};
|
|
1105
|
-
|
|
1106
|
-
enum MasonOverflow : NSInteger;
|
|
1107
|
-
SWIFT_CLASS_NAMED("MasonOverflowPointCompat")
|
|
1108
|
-
@interface MasonOverflowPointCompat : NSObject
|
|
1109
|
-
@property (nonatomic) enum MasonOverflow x;
|
|
1110
|
-
@property (nonatomic) enum MasonOverflow y;
|
|
1111
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1112
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1113
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1114
|
-
@end
|
|
1115
|
-
|
|
1116
|
-
SWIFT_CLASS_NAMED("MasonRectHelper")
|
|
1117
|
-
@interface MasonRectHelper : NSObject
|
|
1118
|
-
@property (nonatomic, readonly) float top;
|
|
1119
|
-
@property (nonatomic, readonly) float right;
|
|
1120
|
-
@property (nonatomic, readonly) float bottom;
|
|
1121
|
-
@property (nonatomic, readonly) float left;
|
|
1122
|
-
- (BOOL)isEmpty SWIFT_WARN_UNUSED_RESULT;
|
|
1123
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1124
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1125
|
-
@end
|
|
1126
|
-
|
|
1127
|
-
SWIFT_CLASS_NAMED("MasonSizeHelper")
|
|
1128
|
-
@interface MasonSizeHelper : NSObject
|
|
1129
|
-
@property (nonatomic, readonly) float width;
|
|
1130
|
-
@property (nonatomic, readonly) float height;
|
|
1131
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1132
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1133
|
-
@end
|
|
1134
|
-
|
|
1135
|
-
@class NSCFontFace;
|
|
1136
|
-
@class MasonVerticalAlignValue;
|
|
1137
|
-
enum MasonObjectFit : NSInteger;
|
|
1138
|
-
@class UIColor;
|
|
1139
|
-
enum MasonTextJustify : NSInteger;
|
|
1140
|
-
@class MasonTextOverflowCompat;
|
|
1141
|
-
enum MasonTextTransform : NSInteger;
|
|
1142
|
-
enum MasonWhiteSpace : NSInteger;
|
|
1143
|
-
enum MasonTextWrap : NSInteger;
|
|
1144
|
-
enum MasonPosition : NSInteger;
|
|
1145
|
-
enum MasonTextAlign : NSInteger;
|
|
1146
|
-
SWIFT_CLASS_NAMED("MasonStyle")
|
|
1147
|
-
@interface MasonStyle : NSObject
|
|
1148
|
-
@property (nonatomic, readonly, strong) NSCFontFace * _Null_unspecified font;
|
|
1149
|
-
- (void)prepareMut;
|
|
1150
|
-
@property (nonatomic, readonly, strong) NSMutableData * _Nonnull values;
|
|
1151
|
-
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
|
|
1152
|
-
@property (nonatomic) enum MasonListStylePosition listStylePosition;
|
|
1153
|
-
@property (nonatomic) enum MasonListStyleType listStyleType;
|
|
1154
|
-
@property (nonatomic) int32_t zIndex;
|
|
1155
|
-
@property (nonatomic, strong) MasonVerticalAlignValue * _Nonnull verticalAlign;
|
|
1156
|
-
@property (nonatomic) enum MasonObjectFit objectFit;
|
|
1157
|
-
@property (nonatomic, getter=float, setter=setFloat:) enum MasonFloat float_;
|
|
1158
|
-
@property (nonatomic) enum MasonClear clear;
|
|
1159
|
-
@property (nonatomic) uint32_t color;
|
|
1160
|
-
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
1161
|
-
- (void)setColorWithCss:(NSString * _Nonnull)color;
|
|
1162
|
-
@property (nonatomic, copy) NSString * _Nonnull filter;
|
|
1163
|
-
@property (nonatomic, copy) NSString * _Nonnull background;
|
|
1164
|
-
@property (nonatomic, copy) NSString * _Nonnull backgroundImage;
|
|
1165
|
-
@property (nonatomic, copy) NSString * _Nonnull backgroundRepeat;
|
|
1166
|
-
@property (nonatomic, copy) NSString * _Nonnull backgroundPosition;
|
|
1167
|
-
@property (nonatomic, copy) NSString * _Nonnull backgroundSize;
|
|
1168
|
-
@property (nonatomic, copy) NSString * _Nonnull backgroundClip;
|
|
1169
|
-
@property (nonatomic) uint32_t backgroundColor;
|
|
1170
|
-
- (NSString * _Nonnull)getBackgroundColor SWIFT_WARN_UNUSED_RESULT;
|
|
1171
|
-
- (void)setBackgroundColorWithString:(NSString * _Nonnull)color;
|
|
1172
|
-
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
1173
|
-
- (void)setLineHeight:(float)value :(BOOL)isRelative;
|
|
1174
|
-
@property (nonatomic) float lineHeight;
|
|
1175
|
-
@property (nonatomic) float letterSpacing;
|
|
1176
|
-
@property (nonatomic, copy) NSString * _Nonnull fontVariantNumericString;
|
|
1177
|
-
@property (nonatomic) uint32_t decorationColor;
|
|
1178
|
-
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
1179
|
-
- (void)setDecorationColorWithCss:(NSString * _Nonnull)color;
|
|
1180
|
-
@property (nonatomic) enum MasonDecorationLine decorationLine;
|
|
1181
|
-
@property (nonatomic) int32_t fontSize;
|
|
1182
|
-
- (void)setFontStyle:(enum MasonFontStyle)style :(int32_t)slant;
|
|
1183
|
-
@property (nonatomic) enum MasonTextJustify textJustify;
|
|
1184
|
-
@property (nonatomic) enum MasonFontStyle fontStyle;
|
|
1185
|
-
@property (nonatomic, copy) NSString * _Nonnull fontFamily;
|
|
1186
|
-
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
1187
|
-
@property (nonatomic, strong) MasonTextOverflowCompat * _Nonnull textOverflowCompat;
|
|
1188
|
-
@property (nonatomic) enum MasonTextTransform textTransform;
|
|
1189
|
-
@property (nonatomic) enum MasonWhiteSpace whiteSpace;
|
|
1190
|
-
@property (nonatomic) enum MasonTextWrap textWrap;
|
|
1191
|
-
@property (nonatomic) enum MasonDisplay display;
|
|
1192
|
-
@property (nonatomic) enum MasonPosition position;
|
|
1193
|
-
@property (nonatomic) enum MasonDirection direction;
|
|
1194
|
-
@property (nonatomic) enum MasonFlexDirection flexDirection;
|
|
1195
|
-
@property (nonatomic) enum MasonFlexWrap flexWrap;
|
|
1196
|
-
@property (nonatomic, strong) MasonOverflowPointCompat * _Nonnull overflowCompat;
|
|
1197
|
-
@property (nonatomic) enum MasonOverflow overflowX;
|
|
1198
|
-
@property (nonatomic) enum MasonOverflow overflowY;
|
|
1199
|
-
@property (nonatomic) enum MasonAlignItems alignItems;
|
|
1200
|
-
@property (nonatomic) enum MasonAlignSelf alignSelf;
|
|
1201
|
-
@property (nonatomic) enum MasonAlignContent alignContent;
|
|
1202
|
-
@property (nonatomic) enum MasonJustifyItems justifyItems;
|
|
1203
|
-
@property (nonatomic) enum MasonJustifySelf justifySelf;
|
|
1204
|
-
@property (nonatomic) enum MasonJustifyContent justifyContent;
|
|
1205
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull insetCompat;
|
|
1206
|
-
- (void)setInsetLeft:(float)value :(NSInteger)type;
|
|
1207
|
-
- (void)setInsetRight:(float)value :(NSInteger)type;
|
|
1208
|
-
- (void)setInsetTop:(float)value :(NSInteger)type;
|
|
1209
|
-
- (void)setInsetBottom:(float)value :(NSInteger)type;
|
|
1210
|
-
- (void)setInsetWithValueType:(float)value :(NSInteger)type;
|
|
1211
|
-
@property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull marginCompat;
|
|
1212
|
-
- (void)setMarginLeft:(float)value :(NSInteger)type;
|
|
1213
|
-
- (void)setMarginRight:(float)value :(NSInteger)type;
|
|
1214
|
-
- (void)setMarginTop:(float)value :(NSInteger)type;
|
|
1215
|
-
- (void)setMarginBottom:(float)value :(NSInteger)type;
|
|
1216
|
-
- (void)setMarginWithValueType:(float)value :(NSInteger)type;
|
|
1217
|
-
@property (nonatomic, strong) MasonLengthPercentageRectCompat * _Nonnull paddingCompat;
|
|
1218
|
-
- (void)setPaddingLeft:(float)value :(NSInteger)type;
|
|
1219
|
-
- (void)setPaddingRight:(float)value :(NSInteger)type;
|
|
1220
|
-
- (void)setPaddingTop:(float)value :(NSInteger)type;
|
|
1221
|
-
- (void)setPaddingBottom:(float)value :(NSInteger)type;
|
|
1222
|
-
- (void)setPaddingWithValueType:(float)value :(NSInteger)type;
|
|
1223
|
-
@property (nonatomic, copy) NSString * _Nonnull textShadow;
|
|
1224
|
-
@property (nonatomic, copy) NSString * _Nonnull boxShadow;
|
|
1225
|
-
@property (nonatomic, copy) NSString * _Nonnull borderRadius;
|
|
1226
|
-
@property (nonatomic, copy) NSString * _Nonnull cornerShape;
|
|
1227
|
-
@property (nonatomic, copy) NSString * _Nonnull cornerShapeTopLeft;
|
|
1228
|
-
@property (nonatomic, copy) NSString * _Nonnull cornerShapeTopRight;
|
|
1229
|
-
@property (nonatomic, copy) NSString * _Nonnull cornerShapeBottomRight;
|
|
1230
|
-
@property (nonatomic, copy) NSString * _Nonnull cornerShapeBottomLeft;
|
|
1231
|
-
@property (nonatomic, copy) NSString * _Nonnull border;
|
|
1232
|
-
@property (nonatomic, copy) NSString * _Nonnull paddingCss;
|
|
1233
|
-
@property (nonatomic, copy) NSString * _Nonnull marginCss;
|
|
1234
|
-
@property (nonatomic, copy) NSString * _Nonnull insetCss;
|
|
1235
|
-
@property (nonatomic, copy) NSString * _Nonnull borderLeft;
|
|
1236
|
-
@property (nonatomic, copy) NSString * _Nonnull borderTop;
|
|
1237
|
-
@property (nonatomic, copy) NSString * _Nonnull borderRight;
|
|
1238
|
-
@property (nonatomic, copy) NSString * _Nonnull borderBottom;
|
|
1239
|
-
@property (nonatomic, strong) MasonLengthPercentageRectCompat * _Nonnull borderWidthCompat;
|
|
1240
|
-
- (void)setBorderLeftWidth:(float)value :(NSInteger)type;
|
|
1241
|
-
- (void)setBorderRightWidth:(float)value :(NSInteger)type;
|
|
1242
|
-
- (void)setBorderTopWidth:(float)value :(NSInteger)type;
|
|
1243
|
-
- (void)setBorderBottomWidth:(float)value :(NSInteger)type;
|
|
1244
|
-
- (void)setBorderWidth:(float)value :(NSInteger)type;
|
|
1245
|
-
@property (nonatomic) float flexGrow;
|
|
1246
|
-
@property (nonatomic) float flexShrink;
|
|
1247
|
-
- (void)setFlexBasis:(float)value :(NSInteger)type;
|
|
1248
|
-
- (void)setScrollBarWidth:(float)value;
|
|
1249
|
-
@property (nonatomic) enum MasonAlign align;
|
|
1250
|
-
@property (nonatomic) enum MasonTextAlign textAlign;
|
|
1251
|
-
@property (nonatomic) enum MasonBoxSizing boxSizing;
|
|
1252
|
-
@property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
|
|
1253
|
-
- (void)setMinSizeWidth:(float)value :(NSInteger)type;
|
|
1254
|
-
- (void)setMinSizeHeight:(float)value :(NSInteger)type;
|
|
1255
|
-
- (void)setMinSizeWidthHeight:(float)value :(NSInteger)type;
|
|
1256
|
-
@property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull sizeCompat;
|
|
1257
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull sizeCompatWidth;
|
|
1258
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull sizeCompatHeight;
|
|
1259
|
-
- (void)setSizeWidth:(float)value :(NSInteger)type;
|
|
1260
|
-
- (void)setSizeHeight:(float)value :(NSInteger)type;
|
|
1261
|
-
- (void)setSizeWidthHeight:(float)value :(NSInteger)type;
|
|
1262
|
-
- (void)setSizePoints:(float)width :(float)height;
|
|
1263
|
-
@property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull maxSizeCompat;
|
|
1264
|
-
- (void)setMaxSizeWidth:(float)value :(NSInteger)type;
|
|
1265
|
-
- (void)setMaxSizeHeight:(float)value :(NSInteger)type;
|
|
1266
|
-
- (void)setMaxSizeWidthHeight:(float)value :(NSInteger)type;
|
|
1267
|
-
@property (nonatomic, strong) MasonLengthPercentageSizeCompat * _Nonnull gapCompat;
|
|
1268
|
-
- (void)setGapRow:(float)value :(NSInteger)type;
|
|
1269
|
-
- (void)setGapColumn:(float)value :(NSInteger)type;
|
|
1270
|
-
- (void)setRowGap:(float)value :(NSInteger)type;
|
|
1271
|
-
- (void)setColumnGap:(float)value :(NSInteger)type;
|
|
1272
|
-
@property (nonatomic, copy) NSString * _Nonnull gridArea;
|
|
1273
|
-
@property (nonatomic, copy) NSString * _Nonnull gridTemplateAreas;
|
|
1274
|
-
@property (nonatomic, copy) NSString * _Nonnull transform;
|
|
1275
|
-
@property (nonatomic, copy) NSString * _Nonnull gridAutoRows;
|
|
1276
|
-
@property (nonatomic, copy) NSString * _Nonnull gridAutoColumns;
|
|
1277
|
-
@property (nonatomic) enum MasonGridAutoFlowWrap gridAutoFlow;
|
|
1278
|
-
@property (nonatomic, copy) NSString * _Nonnull gridColumn;
|
|
1279
|
-
@property (nonatomic, copy) NSString * _Nonnull gridColumnStart;
|
|
1280
|
-
@property (nonatomic, copy) NSString * _Nonnull gridColumnEnd;
|
|
1281
|
-
@property (nonatomic, copy) NSString * _Nonnull gridRow;
|
|
1282
|
-
@property (nonatomic, copy) NSString * _Nonnull gridRowStart;
|
|
1283
|
-
@property (nonatomic, copy) NSString * _Nonnull gridRowEnd;
|
|
1284
|
-
@property (nonatomic, copy) NSString * _Nonnull gridTemplateRows;
|
|
1285
|
-
@property (nonatomic, copy) NSString * _Nonnull gridTemplateColumns;
|
|
1286
|
-
@property (nonatomic, copy) NSString * _Nonnull borderImage;
|
|
1287
|
-
@property (nonatomic, copy) NSString * _Nonnull backdropFilter;
|
|
1288
|
-
@property (nonatomic, copy) NSString * _Nonnull fontFeatureSettings;
|
|
1289
|
-
- (void)updateNativeStyle;
|
|
1290
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1291
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1292
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1293
|
-
@end
|
|
1294
|
-
|
|
1295
|
-
enum MasonTextType : NSInteger;
|
|
1296
|
-
SWIFT_CLASS_NAMED("MasonText")
|
|
1297
|
-
@interface MasonText : UIView <MasonElementObjc, MasonTextContainer>
|
|
1298
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1299
|
-
@property (nonatomic, readonly) enum MasonTextType type;
|
|
1300
|
-
@property (nonatomic, strong) MasonTextEngine * _Nonnull engine;
|
|
1301
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;)
|
|
1302
|
-
+ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT;
|
|
1303
|
-
@property (nonatomic, readonly, strong) NSMutableData * _Nonnull textValues;
|
|
1304
|
-
- (void)onStyleChange:(uint64_t)low :(uint64_t)high;
|
|
1305
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1306
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1307
|
-
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason type:(enum MasonTextType)textType OBJC_DESIGNATED_INITIALIZER;
|
|
1308
|
-
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
1309
|
-
- (void)setNeedsDisplay;
|
|
1310
|
-
- (void)requestLayout;
|
|
1311
|
-
- (void)layoutSubviews;
|
|
1312
|
-
- (void)addView:(UIView * _Nonnull)view;
|
|
1313
|
-
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1314
|
-
- (void)removeView:(UIView * _Nonnull)view;
|
|
1315
|
-
- (void)removeViewAt:(NSInteger)index;
|
|
1316
|
-
- (void)removeAllViews;
|
|
1317
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1318
|
-
@property (nonatomic, strong) MasonTextOverflowCompat * _Nonnull textOverflowCompat;
|
|
1319
|
-
@property (nonatomic) uint32_t color;
|
|
1320
|
-
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
1321
|
-
@property (nonatomic) uint32_t backgroundColorValue;
|
|
1322
|
-
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
1323
|
-
@property (nonatomic) uint32_t decorationColor;
|
|
1324
|
-
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
1325
|
-
@property (nonatomic) enum MasonDecorationLine decorationLine;
|
|
1326
|
-
@property (nonatomic) int32_t fontSize;
|
|
1327
|
-
@property (nonatomic) enum MasonFontStyle fontStyle;
|
|
1328
|
-
- (void)setFontStyle:(enum MasonFontStyle)style slant:(int32_t)slant;
|
|
1329
|
-
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
1330
|
-
@property (nonatomic) enum MasonTextTransform textTransform;
|
|
1331
|
-
@property (nonatomic) enum MasonWhiteSpace whiteSpace;
|
|
1332
|
-
@property (nonatomic) enum MasonTextWrap textWrap;
|
|
1333
|
-
@property (nonatomic) float lineHeight;
|
|
1334
|
-
/// Text content - sets or gets the concatenated text from all text nodes
|
|
1335
|
-
@property (nonatomic, copy) NSString * _Nonnull textContent;
|
|
1336
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1337
|
-
@end
|
|
1338
|
-
|
|
1339
|
-
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
1340
|
-
- (void)addChild:(MasonNode * _Nonnull)child;
|
|
1341
|
-
@end
|
|
1342
|
-
|
|
1343
|
-
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
1344
|
-
/// Remove child from text container
|
|
1345
|
-
- (MasonNode * _Nullable)removeChild:(MasonNode * _Nonnull)child;
|
|
1346
|
-
@end
|
|
1347
|
-
|
|
1348
|
-
@class NSTextContainer;
|
|
1349
|
-
@class NSAttributedString;
|
|
1350
|
-
@class UIFont;
|
|
1351
|
-
@class UITextPosition;
|
|
1352
|
-
SWIFT_CLASS_NAMED("MasonTextInput")
|
|
1353
|
-
@interface MasonTextInput : UITextView <UITextViewDelegate>
|
|
1354
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame textContainer:(NSTextContainer * _Nullable)textContainer SWIFT_UNAVAILABLE;
|
|
1355
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1356
|
-
@property (nonatomic, copy) NSString * _Nullable placeholder;
|
|
1357
|
-
@property (nonatomic, copy) NSString * _Null_unspecified text;
|
|
1358
|
-
@property (nonatomic, strong) NSAttributedString * _Null_unspecified attributedText;
|
|
1359
|
-
@property (nonatomic, strong) UIFont * _Nullable font;
|
|
1360
|
-
@property (nonatomic) NSTextAlignment textAlignment;
|
|
1361
|
-
- (void)layoutSubviews;
|
|
1362
|
-
- (void)textViewDidChange:(UITextView * _Nonnull)textView;
|
|
1363
|
-
- (void)textViewDidBeginEditing:(UITextView * _Nonnull)textView;
|
|
1364
|
-
- (void)textViewDidEndEditing:(UITextView * _Nonnull)textView;
|
|
1365
|
-
- (void)paste:(id _Nullable)sender;
|
|
1366
|
-
- (void)cut:(id _Nullable)sender;
|
|
1367
|
-
- (BOOL)textView:(UITextView * _Nonnull)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString * _Nonnull)text SWIFT_WARN_UNUSED_RESULT;
|
|
1368
|
-
- (CGRect)caretRectForPosition:(UITextPosition * _Nonnull)position SWIFT_WARN_UNUSED_RESULT;
|
|
1369
|
-
@end
|
|
1370
|
-
|
|
1371
|
-
SWIFT_CLASS_NAMED("MasonTextArea")
|
|
1372
|
-
@interface MasonTextArea : MasonTextInput <MasonElementObjc>
|
|
1373
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1374
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1375
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1376
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1377
|
-
@property (nonatomic) NSInteger rows;
|
|
1378
|
-
@property (nonatomic) NSInteger cols;
|
|
1379
|
-
@property (nonatomic, copy) NSString * _Nonnull name;
|
|
1380
|
-
@property (nonatomic) NSInteger maxLength;
|
|
1381
|
-
@property (nonatomic, copy) NSString * _Nonnull value;
|
|
1382
|
-
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc OBJC_DESIGNATED_INITIALIZER;
|
|
1383
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
1384
|
-
- (void)drawRect:(CGRect)rect;
|
|
1385
|
-
- (void)layoutSubviews;
|
|
1386
|
-
- (void)textViewDidChange:(UITextView * _Nonnull)textView;
|
|
1387
|
-
- (void)onStyleChange:(uint64_t)low :(uint64_t)high;
|
|
1388
|
-
- (BOOL)textView:(UITextView * _Nonnull)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString * _Nonnull)text SWIFT_WARN_UNUSED_RESULT;
|
|
1389
|
-
@end
|
|
1390
|
-
|
|
1391
|
-
SWIFT_CLASS("_TtC5Mason14MasonTextLayer")
|
|
1392
|
-
@interface MasonTextLayer : CALayer
|
|
1393
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1394
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1395
|
-
- (nonnull instancetype)initWithLayer:(id _Nonnull)layer OBJC_DESIGNATED_INITIALIZER;
|
|
1396
|
-
- (void)drawInContext:(CGContextRef _Nonnull)context;
|
|
1397
|
-
@end
|
|
1398
|
-
|
|
1399
|
-
SWIFT_CLASS_NAMED("MasonTextNode")
|
|
1400
|
-
@interface MasonTextNode : MasonNode <MasonCharacterData>
|
|
1401
|
-
@property (nonatomic, copy) NSString * _Nonnull data;
|
|
1402
|
-
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc data:(NSString * _Nonnull)text attributes:(NSDictionary<NSAttributedStringKey, id> * _Nullable)attrs OBJC_DESIGNATED_INITIALIZER;
|
|
1403
|
-
- (void)appendChild:(MasonNode * _Nonnull)child;
|
|
1404
|
-
@property (nonatomic, readonly) NSInteger length;
|
|
1405
|
-
- (NSString * _Nonnull)substringDataWithOffset:(NSInteger)offset count:(NSInteger)count SWIFT_WARN_UNUSED_RESULT;
|
|
1406
|
-
- (nonnull instancetype)appendData:(NSString * _Nonnull)s;
|
|
1407
|
-
- (nonnull instancetype)insertData:(NSString * _Nonnull)s at:(NSInteger)offset;
|
|
1408
|
-
- (nonnull instancetype)deleteDataWithOffset:(NSInteger)offset count:(NSInteger)count;
|
|
1409
|
-
- (nonnull instancetype)replaceDataWithOffset:(NSInteger)offset count:(NSInteger)count with:(NSString * _Nonnull)s;
|
|
1410
|
-
- (nonnull instancetype)deleteDataWithRange:(NSRange)range;
|
|
1411
|
-
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
1412
|
-
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes SWIFT_UNAVAILABLE;
|
|
1413
|
-
@end
|
|
1414
|
-
|
|
1415
|
-
@interface MasonTextNode (SWIFT_EXTENSION(Mason))
|
|
1416
|
-
/// Get attributed string representation of this text node
|
|
1417
|
-
- (NSAttributedString * _Nonnull)attributed SWIFT_WARN_UNUSED_RESULT;
|
|
1418
|
-
@end
|
|
1419
|
-
|
|
1420
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextType, "MasonTextType", open) {
|
|
1421
|
-
MasonTextTypeNone = 0,
|
|
1422
|
-
MasonTextTypeP = 1,
|
|
1423
|
-
MasonTextTypeSpan = 2,
|
|
1424
|
-
MasonTextTypeCode = 3,
|
|
1425
|
-
MasonTextTypeH1 = 4,
|
|
1426
|
-
MasonTextTypeH2 = 5,
|
|
1427
|
-
MasonTextTypeH3 = 6,
|
|
1428
|
-
MasonTextTypeH4 = 7,
|
|
1429
|
-
MasonTextTypeH5 = 8,
|
|
1430
|
-
MasonTextTypeH6 = 9,
|
|
1431
|
-
MasonTextTypeLi = 10,
|
|
1432
|
-
MasonTextTypeBlockquote = 11,
|
|
1433
|
-
MasonTextTypeB = 12,
|
|
1434
|
-
MasonTextTypePre = 13,
|
|
1435
|
-
MasonTextTypeStrong = 14,
|
|
1436
|
-
MasonTextTypeEm = 15,
|
|
1437
|
-
MasonTextTypeI = 16,
|
|
1438
|
-
MasonTextTypeA = 17,
|
|
1439
|
-
};
|
|
1440
|
-
|
|
1441
|
-
SWIFT_CLASS_NAMED("MasonUIView")
|
|
1442
|
-
@interface MasonUIView : UIView <MasonElementObjc>
|
|
1443
|
-
- (void)drawRect:(CGRect)rect;
|
|
1444
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1445
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1446
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1447
|
-
@property (nonatomic) CGSize contentSize;
|
|
1448
|
-
@property (nonatomic) CGPoint contentOffset;
|
|
1449
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1450
|
-
- (void)markNodeDirty;
|
|
1451
|
-
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1452
|
-
- (void)layoutSubviews;
|
|
1453
|
-
- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow;
|
|
1454
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1455
|
-
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1456
|
-
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1457
|
-
+ (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
1458
|
-
- (void)addView:(UIView * _Nonnull)view;
|
|
1459
|
-
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1460
|
-
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
1461
|
-
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
1462
|
-
@property (nonatomic) BOOL inBatch;
|
|
1463
|
-
@property (nonatomic, copy) NSString * _Nonnull background;
|
|
1464
|
-
@property (nonatomic) enum MasonDisplay display;
|
|
1465
|
-
@property (nonatomic) enum MasonPosition _position;
|
|
1466
|
-
@property (nonatomic) enum MasonDirection direction;
|
|
1467
|
-
@property (nonatomic) enum MasonFlexDirection flexDirection;
|
|
1468
|
-
@property (nonatomic) enum MasonFlexWrap flexWrap;
|
|
1469
|
-
@property (nonatomic) enum MasonOverflow overflowX;
|
|
1470
|
-
@property (nonatomic) enum MasonOverflow overflowY;
|
|
1471
|
-
@property (nonatomic) enum MasonAlignItems alignItems;
|
|
1472
|
-
@property (nonatomic) enum MasonAlignSelf alignSelf;
|
|
1473
|
-
@property (nonatomic) enum MasonAlignContent alignContent;
|
|
1474
|
-
@property (nonatomic) enum MasonJustifyItems justifyItems;
|
|
1475
|
-
@property (nonatomic) enum MasonJustifySelf justifySelf;
|
|
1476
|
-
@property (nonatomic) enum MasonJustifyContent justifyContent;
|
|
1477
|
-
@property (nonatomic) float flexGrow;
|
|
1478
|
-
@property (nonatomic) float flexShrink;
|
|
1479
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull scrollBarWidthCompat;
|
|
1480
|
-
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull flexBasisCompat;
|
|
1481
|
-
@property (nonatomic) float aspectRatio;
|
|
1482
|
-
@property (nonatomic, copy) NSString * _Nonnull gridArea;
|
|
1483
|
-
@property (nonatomic, copy) NSString * _Nonnull gridTemplateAreas;
|
|
1484
|
-
@property (nonatomic, copy) NSString * _Nonnull gridAutoRows;
|
|
1485
|
-
@property (nonatomic, copy) NSString * _Nonnull gridAutoColumns;
|
|
1486
|
-
@property (nonatomic) enum MasonGridAutoFlowWrap gridAutoFlow;
|
|
1487
|
-
@property (nonatomic, copy) NSString * _Nonnull gridColumn;
|
|
1488
|
-
@property (nonatomic, copy) NSString * _Nonnull gridColumnStart;
|
|
1489
|
-
@property (nonatomic, copy) NSString * _Nonnull gridColumnEnd;
|
|
1490
|
-
@property (nonatomic, copy) NSString * _Nonnull gridRow;
|
|
1491
|
-
@property (nonatomic, copy) NSString * _Nonnull gridRowStart;
|
|
1492
|
-
@property (nonatomic, copy) NSString * _Nonnull gridRowEnd;
|
|
1493
|
-
@property (nonatomic, copy) NSString * _Nonnull gridTemplateRows;
|
|
1494
|
-
@property (nonatomic, copy) NSString * _Nonnull gridTemplateColumns;
|
|
1495
|
-
- (void)setPadding:(float)left :(float)top :(float)right :(float)bottom;
|
|
1496
|
-
- (MasonLengthPercentageRectCompat * _Nonnull)getPadding SWIFT_WARN_UNUSED_RESULT;
|
|
1497
|
-
- (void)setPaddingLeft:(float)left :(NSInteger)type;
|
|
1498
|
-
- (void)setPaddingRight:(float)right :(NSInteger)type;
|
|
1499
|
-
- (void)setPaddingTop:(float)top :(NSInteger)type;
|
|
1500
|
-
- (void)setPaddingBottom:(float)bottom :(NSInteger)type;
|
|
1501
|
-
- (MasonLengthPercentageCompat * _Nonnull)getPaddingLeft SWIFT_WARN_UNUSED_RESULT;
|
|
1502
|
-
- (MasonLengthPercentageCompat * _Nonnull)getPaddingRight SWIFT_WARN_UNUSED_RESULT;
|
|
1503
|
-
- (MasonLengthPercentageCompat * _Nonnull)getPaddingTop SWIFT_WARN_UNUSED_RESULT;
|
|
1504
|
-
- (MasonLengthPercentageCompat * _Nonnull)getPaddingBottom SWIFT_WARN_UNUSED_RESULT;
|
|
1505
|
-
- (void)setBorderWidth:(float)left :(float)top :(float)right :(float)bottom;
|
|
1506
|
-
- (MasonLengthPercentageRectCompat * _Nonnull)getBorderWidth SWIFT_WARN_UNUSED_RESULT;
|
|
1507
|
-
- (void)setBorderLeftWidth:(float)left :(NSInteger)type;
|
|
1508
|
-
- (void)setBorderRightWidth:(float)right :(NSInteger)type;
|
|
1509
|
-
- (void)setBorderTopWidth:(float)top :(NSInteger)type;
|
|
1510
|
-
- (void)setBorderBottomWidth:(float)bottom :(NSInteger)type;
|
|
1511
|
-
- (MasonLengthPercentageCompat * _Nonnull)getBorderLeft SWIFT_WARN_UNUSED_RESULT;
|
|
1512
|
-
- (MasonLengthPercentageCompat * _Nonnull)getBorderRight SWIFT_WARN_UNUSED_RESULT;
|
|
1513
|
-
- (MasonLengthPercentageCompat * _Nonnull)getBorderBottom SWIFT_WARN_UNUSED_RESULT;
|
|
1514
|
-
- (MasonLengthPercentageCompat * _Nonnull)getBorderTop SWIFT_WARN_UNUSED_RESULT;
|
|
1515
|
-
- (void)setMargin:(float)left :(float)top :(float)right :(float)bottom;
|
|
1516
|
-
- (MasonLengthPercentageAutoRectCompat * _Nonnull)getMargin SWIFT_WARN_UNUSED_RESULT;
|
|
1517
|
-
- (void)setMarginLeft:(float)left :(NSInteger)type;
|
|
1518
|
-
- (void)setMarginRight:(float)right :(NSInteger)type;
|
|
1519
|
-
- (void)setMarginTop:(float)top :(NSInteger)type;
|
|
1520
|
-
- (void)setMarginBottom:(float)bottom :(NSInteger)type;
|
|
1521
|
-
- (MasonLengthPercentageAutoCompat * _Nonnull)getMarginLeft SWIFT_WARN_UNUSED_RESULT;
|
|
1522
|
-
- (MasonLengthPercentageAutoCompat * _Nonnull)getMarginRight SWIFT_WARN_UNUSED_RESULT;
|
|
1523
|
-
- (MasonLengthPercentageAutoCompat * _Nonnull)getMarginTop SWIFT_WARN_UNUSED_RESULT;
|
|
1524
|
-
- (MasonLengthPercentageAutoCompat * _Nonnull)getMarginBottom SWIFT_WARN_UNUSED_RESULT;
|
|
1525
|
-
- (void)setInset:(float)left :(float)top :(float)right :(float)bottom;
|
|
1526
|
-
- (MasonLengthPercentageAutoRectCompat * _Nonnull)getInset SWIFT_WARN_UNUSED_RESULT;
|
|
1527
|
-
- (void)setInsetLeft:(float)left :(NSInteger)type;
|
|
1528
|
-
- (void)setInsetRight:(float)right :(NSInteger)type;
|
|
1529
|
-
- (void)setInsetTop:(float)top :(NSInteger)type;
|
|
1530
|
-
- (void)setInsetBottom:(float)bottom :(NSInteger)type;
|
|
1531
|
-
- (MasonLengthPercentageAutoCompat * _Nonnull)getInsetLeft SWIFT_WARN_UNUSED_RESULT;
|
|
1532
|
-
- (MasonLengthPercentageAutoCompat * _Nonnull)getInsetRight SWIFT_WARN_UNUSED_RESULT;
|
|
1533
|
-
- (MasonLengthPercentageAutoCompat * _Nonnull)getInsetTop SWIFT_WARN_UNUSED_RESULT;
|
|
1534
|
-
- (MasonLengthPercentageAutoCompat * _Nonnull)getInsetBottom SWIFT_WARN_UNUSED_RESULT;
|
|
1535
|
-
- (void)setMinSize:(float)width :(float)height;
|
|
1536
|
-
- (MasonDimensionSizeCompat * _Nonnull)getMinSize SWIFT_WARN_UNUSED_RESULT;
|
|
1537
|
-
- (void)setMinSizeWidth:(float)width :(NSInteger)type;
|
|
1538
|
-
- (void)setMinSizeHeight:(float)height :(NSInteger)type;
|
|
1539
|
-
- (MasonDimensionCompat * _Nonnull)getMinSizeWidth SWIFT_WARN_UNUSED_RESULT;
|
|
1540
|
-
- (MasonDimensionCompat * _Nonnull)getMinSizeHeight SWIFT_WARN_UNUSED_RESULT;
|
|
1541
|
-
- (void)setSize:(float)width :(float)height;
|
|
1542
|
-
- (void)setSizeWidth:(float)width :(NSInteger)type;
|
|
1543
|
-
- (void)setSizeHeight:(float)height :(NSInteger)type;
|
|
1544
|
-
- (MasonDimensionSizeCompat * _Nonnull)getSize SWIFT_WARN_UNUSED_RESULT;
|
|
1545
|
-
- (MasonDimensionCompat * _Nonnull)getSizeWidth SWIFT_WARN_UNUSED_RESULT;
|
|
1546
|
-
- (MasonDimensionCompat * _Nonnull)getSizeHeight SWIFT_WARN_UNUSED_RESULT;
|
|
1547
|
-
- (void)setMaxSize:(float)width :(float)height;
|
|
1548
|
-
- (MasonDimensionSizeCompat * _Nonnull)getMaxSize SWIFT_WARN_UNUSED_RESULT;
|
|
1549
|
-
- (void)setMaxSizeWidth:(float)width :(NSInteger)type;
|
|
1550
|
-
- (void)setMaxSizeHeight:(float)height :(NSInteger)type;
|
|
1551
|
-
- (MasonDimensionCompat * _Nonnull)getMaxSizeWidth SWIFT_WARN_UNUSED_RESULT;
|
|
1552
|
-
- (MasonDimensionCompat * _Nonnull)getMaxSizeHeight SWIFT_WARN_UNUSED_RESULT;
|
|
1553
|
-
- (void)setGap:(float)width :(float)height;
|
|
1554
|
-
- (void)setGapWithWidthHeightType:(float)width :(int8_t)width_type :(float)height :(int8_t)height_type;
|
|
1555
|
-
- (MasonLengthPercentageSizeCompat * _Nonnull)getGap SWIFT_WARN_UNUSED_RESULT;
|
|
1556
|
-
- (void)setRowGap:(float)row :(NSInteger)type;
|
|
1557
|
-
- (void)setColumnGap:(float)column :(NSInteger)type;
|
|
1558
|
-
- (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
|
|
1559
|
-
- (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
|
|
1560
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1561
|
-
@end
|
|
1562
|
-
|
|
1563
|
-
SWIFT_CLASS_NAMED("MasonVerticalAlignValue")
|
|
1564
|
-
@interface MasonVerticalAlignValue : NSObject
|
|
1565
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1566
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1567
|
-
@end
|
|
1568
|
-
|
|
1569
|
-
SWIFT_CLASS_NAMED("MaxSizing")
|
|
1570
|
-
@interface MaxSizing : NSObject
|
|
1571
|
-
@property (nonatomic, readonly) float value;
|
|
1572
|
-
+ (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1573
|
-
+ (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1574
|
-
+ (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1575
|
-
+ (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1576
|
-
+ (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
1577
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
|
|
1578
|
-
+ (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1579
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
|
|
1580
|
-
+ (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
1581
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
|
|
1582
|
-
+ (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
1583
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1584
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1585
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1586
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1587
|
-
@end
|
|
1588
|
-
|
|
1589
|
-
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
1590
|
-
@interface MeasureOutput : NSObject
|
|
1591
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1592
|
-
@end
|
|
1593
|
-
|
|
1594
|
-
@class MinSizing;
|
|
1595
|
-
SWIFT_CLASS_NAMED("MinMax")
|
|
1596
|
-
@interface MinMax : NSObject
|
|
1597
|
-
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
1598
|
-
+ (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1599
|
-
+ (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1600
|
-
+ (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
|
|
1601
|
-
+ (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1602
|
-
+ (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
|
|
1603
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
|
|
1604
|
-
+ (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1605
|
-
+ (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
|
|
1606
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1607
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1608
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1609
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1610
|
-
@end
|
|
1611
|
-
|
|
1612
|
-
SWIFT_CLASS_NAMED("MinSizing")
|
|
1613
|
-
@interface MinSizing : NSObject
|
|
1614
|
-
@property (nonatomic, readonly) float value;
|
|
1615
|
-
+ (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
|
|
1616
|
-
+ (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
|
|
1617
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
|
|
1618
|
-
+ (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
|
|
1619
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
|
|
1620
|
-
+ (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
|
|
1621
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
|
|
1622
|
-
+ (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
|
|
1623
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1624
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
1625
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1626
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1627
|
-
@end
|
|
1628
|
-
|
|
1629
|
-
SWIFT_CLASS_NAMED("NSCFontDescriptors")
|
|
1630
|
-
@interface NSCFontDescriptors : NSObject <NSMutableCopying>
|
|
1631
|
-
- (id _Nonnull)mutableCopyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
1632
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
1633
|
-
- (void)update:(NSString * _Nonnull)value;
|
|
1634
|
-
- (void)setFontWeight:(NSString * _Nonnull)value;
|
|
1635
|
-
- (void)setFontStyle:(NSString * _Nonnull)value;
|
|
1636
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1637
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1638
|
-
@end
|
|
1639
|
-
|
|
1640
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontDisplay, "NSCFontDisplay", open) {
|
|
1641
|
-
NSCFontDisplayAuto = 0,
|
|
1642
|
-
NSCFontDisplayBlock = 1,
|
|
1643
|
-
NSCFontDisplayFallback = 2,
|
|
1644
|
-
NSCFontDisplayOptional = 3,
|
|
1645
|
-
NSCFontDisplaySwap = 4,
|
|
1646
|
-
};
|
|
1647
|
-
|
|
1648
|
-
@class NSData;
|
|
1649
|
-
enum NSCFontFaceStatus : NSInteger;
|
|
1650
|
-
enum NSCFontWeight : NSInteger;
|
|
1651
|
-
SWIFT_CLASS_NAMED("NSCFontFace")
|
|
1652
|
-
@interface NSCFontFace : NSObject
|
|
1653
|
-
@property (nonatomic, readonly) CGFontRef _Nullable font;
|
|
1654
|
-
@property (nonatomic, readonly, strong) NSData * _Nullable fontData;
|
|
1655
|
-
- (void)updateDescriptorWithValue:(NSString * _Nonnull)value;
|
|
1656
|
-
+ (NSCFontFace * _Nullable)loadFromStyleWithStyle:(NSString * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
|
|
1657
|
-
+ (void)importFromRemoteWithUrl:(NSString * _Nonnull)url load:(BOOL)load callback:(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nullable, NSString * _Nullable))callback;
|
|
1658
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
1659
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family owner:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
|
|
1660
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family source:(NSString * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
1661
|
-
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family data:(NSData * _Nonnull)source OBJC_DESIGNATED_INITIALIZER;
|
|
1662
|
-
- (nonnull instancetype)init:(NSString * _Nonnull)family :(NSString * _Nullable)source :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
1663
|
-
- (nonnull instancetype)init:(NSString * _Nonnull)family data:(NSData * _Nullable)data :(NSCFontDescriptors * _Nullable)descriptors OBJC_DESIGNATED_INITIALIZER;
|
|
1664
|
-
@property (nonatomic) enum NSCFontFaceStatus status;
|
|
1665
|
-
@property (nonatomic) enum NSCFontDisplay display;
|
|
1666
|
-
- (void)setFontDisplayWithValue:(NSString * _Nonnull)value;
|
|
1667
|
-
@property (nonatomic, copy) NSString * _Nonnull style;
|
|
1668
|
-
- (void)setFontStyleWithValue:(NSString * _Nonnull)value angle:(NSString * _Nullable)angle;
|
|
1669
|
-
@property (nonatomic) enum NSCFontWeight weight;
|
|
1670
|
-
- (void)setFontWeightWithValue:(NSString * _Nonnull)value;
|
|
1671
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull family;
|
|
1672
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull ascentOverride;
|
|
1673
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull descentOverride;
|
|
1674
|
-
- (void)load:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
1675
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1676
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1677
|
-
@end
|
|
1678
|
-
|
|
1679
|
-
enum NSCFontFaceSetStatus : NSInteger;
|
|
1680
|
-
@class NSEnumerator;
|
|
1681
|
-
SWIFT_CLASS_NAMED("NSCFontFaceSet")
|
|
1682
|
-
@interface NSCFontFaceSet : NSObject
|
|
1683
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSCFontFaceSet * _Nonnull instance;)
|
|
1684
|
-
+ (NSCFontFaceSet * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
|
|
1685
|
-
@property (nonatomic) enum NSCFontFaceSetStatus status;
|
|
1686
|
-
@property (nonatomic, copy) void (^ _Nullable onStatus)(enum NSCFontFaceSetStatus);
|
|
1687
|
-
- (NSEnumerator * _Nonnull)iter SWIFT_WARN_UNUSED_RESULT;
|
|
1688
|
-
- (NSArray * _Nonnull)array SWIFT_WARN_UNUSED_RESULT;
|
|
1689
|
-
- (NSCFontFace * _Nonnull)get:(NSString * _Nonnull)fontFamily SWIFT_WARN_UNUSED_RESULT;
|
|
1690
|
-
- (NSCFontFace * _Nullable)getOrNil:(NSString * _Nonnull)fontFamily SWIFT_WARN_UNUSED_RESULT;
|
|
1691
|
-
- (void)add:(NSCFontFace * _Nonnull)font;
|
|
1692
|
-
- (void)clear;
|
|
1693
|
-
- (void)delete:(NSCFontFace * _Nonnull)font;
|
|
1694
|
-
- (BOOL)check:(NSString * _Nonnull)font :(NSString * _Nullable)text SWIFT_WARN_UNUSED_RESULT;
|
|
1695
|
-
- (void)load:(NSString * _Nonnull)font :(NSString * _Nullable)text :(void (^ _Nonnull)(NSArray<NSCFontFace *> * _Nonnull, NSString * _Nullable))callback;
|
|
1696
|
-
@property (nonatomic, readonly) NSInteger size;
|
|
1697
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1698
|
-
@end
|
|
1699
|
-
|
|
1700
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceSetStatus, "NSCFontFaceSetStatus", open) {
|
|
1701
|
-
NSCFontFaceSetStatusLoading = 0,
|
|
1702
|
-
NSCFontFaceSetStatusLoaded = 1,
|
|
1703
|
-
};
|
|
1704
|
-
|
|
1705
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontFaceStatus, "NSCFontFaceStatus", open) {
|
|
1706
|
-
NSCFontFaceStatusUnloaded = 0,
|
|
1707
|
-
NSCFontFaceStatusLoading = 1,
|
|
1708
|
-
NSCFontFaceStatusLoaded = 2,
|
|
1709
|
-
NSCFontFaceStatusError = 3,
|
|
1710
|
-
};
|
|
1711
|
-
|
|
1712
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontWeight, "NSCFontWeight", open) {
|
|
1713
|
-
NSCFontWeightThin = 0,
|
|
1714
|
-
NSCFontWeightExtraLight = 1,
|
|
1715
|
-
NSCFontWeightLight = 2,
|
|
1716
|
-
NSCFontWeightNormal = 3,
|
|
1717
|
-
NSCFontWeightMedium = 4,
|
|
1718
|
-
NSCFontWeightSemiBold = 5,
|
|
1719
|
-
NSCFontWeightBold = 6,
|
|
1720
|
-
NSCFontWeightExtraBold = 7,
|
|
1721
|
-
NSCFontWeightBlack = 8,
|
|
1722
|
-
};
|
|
1723
|
-
|
|
1724
|
-
@class NSUUID;
|
|
1725
|
-
@class MasonScroll;
|
|
1726
|
-
SWIFT_CLASS_NAMED("NSCMason")
|
|
1727
|
-
@interface NSCMason : NSObject
|
|
1728
|
-
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
1729
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull shared;)
|
|
1730
|
-
+ (NSCMason * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
1731
|
-
+ (void)setShared:(NSCMason * _Nonnull)value;
|
|
1732
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1733
|
-
- (void)setDeviceScale:(float)value;
|
|
1734
|
-
- (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
|
|
1735
|
-
- (void)configureStyleForView:(UIView * _Nonnull)view :(SWIFT_NOESCAPE void (^ _Nonnull)(MasonStyle * _Nonnull))block;
|
|
1736
|
-
- (MasonStyle * _Nonnull)styleForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT;
|
|
1737
|
-
- (MasonStyle * _Nullable)styleForViewOrNode:(id _Nullable)viewOrNode SWIFT_WARN_UNUSED_RESULT;
|
|
1738
|
-
- (MasonLayout * _Nonnull)layoutForView:(UIView * _Nonnull)view;
|
|
1739
|
-
- (NSUUID * _Nonnull)addEventListener:(MasonNode * _Nonnull)node :(NSString * _Nonnull)event :(void (^ _Nonnull)(MasonEvent * _Nonnull))listener;
|
|
1740
|
-
- (BOOL)removeEventListener:(MasonNode * _Nonnull)node :(NSString * _Nonnull)event id:(NSUUID * _Nonnull)id;
|
|
1741
|
-
- (BOOL)removeEventListener:(MasonNode * _Nonnull)node :(NSString * _Nonnull)event;
|
|
1742
|
-
- (void)dispatch:(MasonEvent * _Nonnull)event :(MasonNode * _Nonnull)node;
|
|
1743
|
-
@property (nonatomic, strong) MasonHTMLParser * _Nonnull htmlParser;
|
|
1744
|
-
- (void)clear;
|
|
1745
|
-
- (MasonDocument * _Nonnull)createDocument SWIFT_WARN_UNUSED_RESULT;
|
|
1746
|
-
- (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
|
|
1747
|
-
- (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
|
|
1748
|
-
- (MasonTextNode * _Nonnull)createTextNode:(NSString * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
|
|
1749
|
-
- (MasonText * _Nonnull)createTextViewWithType:(enum MasonTextType)type SWIFT_WARN_UNUSED_RESULT;
|
|
1750
|
-
- (MasonImg * _Nonnull)createImageView SWIFT_WARN_UNUSED_RESULT;
|
|
1751
|
-
- (MasonScroll * _Nonnull)createScrollView SWIFT_WARN_UNUSED_RESULT;
|
|
1752
|
-
- (MasonButton * _Nonnull)createButton SWIFT_WARN_UNUSED_RESULT;
|
|
1753
|
-
- (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
|
|
1754
|
-
- (MasonBr * _Nonnull)createBr SWIFT_WARN_UNUSED_RESULT;
|
|
1755
|
-
- (MasonInput * _Nonnull)createInput:(enum MasonInputType)type SWIFT_WARN_UNUSED_RESULT;
|
|
1756
|
-
- (void)printTree:(MasonNode * _Nonnull)node;
|
|
1757
|
-
- (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
|
|
1758
|
-
- (MasonNode * _Nonnull)createImageNode SWIFT_WARN_UNUSED_RESULT;
|
|
1759
|
-
- (MasonNode * _Nonnull)createButtonNode SWIFT_WARN_UNUSED_RESULT;
|
|
1760
|
-
- (MasonNode * _Nonnull)createLineBreakNode SWIFT_WARN_UNUSED_RESULT;
|
|
1761
|
-
- (MasonList * _Nonnull)createListViewWithIsOrdered:(BOOL)isOrdered SWIFT_WARN_UNUSED_RESULT;
|
|
1762
|
-
- (MasonNode * _Nonnull)createListItemNode SWIFT_WARN_UNUSED_RESULT;
|
|
1763
|
-
- (MasonLi * _Nonnull)createListItem SWIFT_WARN_UNUSED_RESULT;
|
|
1764
|
-
- (MasonTextArea * _Nonnull)createTextArea SWIFT_WARN_UNUSED_RESULT;
|
|
1765
|
-
@property (nonatomic) BOOL preflight;
|
|
1766
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) float scale;)
|
|
1767
|
-
+ (float)scale SWIFT_WARN_UNUSED_RESULT;
|
|
1768
|
-
@end
|
|
1769
|
-
|
|
1770
|
-
@interface NSObject (SWIFT_EXTENSION(Mason))
|
|
1771
|
-
@property (nonatomic, copy) NSString * _Nonnull mason_innerHTML;
|
|
1772
|
-
- (NSUUID * _Nonnull)mason_addEventListener:(NSString * _Nonnull)event :(void (^ _Nonnull)(MasonEvent * _Nonnull))listener;
|
|
1773
|
-
- (BOOL)mason_removeEventListener:(NSString * _Nonnull)event id:(NSUUID * _Nonnull)id;
|
|
1774
|
-
- (BOOL)mason_removeEventListener:(NSString * _Nonnull)event;
|
|
1775
|
-
- (void)mason_dispatch:(MasonEvent * _Nonnull)event;
|
|
1776
|
-
- (void)mason_syncStyle:(NSString * _Nonnull)low :(NSString * _Nonnull)high;
|
|
1777
|
-
- (void)mason_addView:(UIView * _Nonnull)view;
|
|
1778
|
-
- (void)mason_addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1779
|
-
- (void)mason_markNodeDirty;
|
|
1780
|
-
- (BOOL)mason_isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1781
|
-
- (void)mason_configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonStyle * _Nonnull))block;
|
|
1782
|
-
- (MasonLayout * _Nonnull)mason_layout;
|
|
1783
|
-
- (void)mason_compute;
|
|
1784
|
-
- (void)mason_computeWithWidth:(float)width height:(float)height;
|
|
1785
|
-
- (void)mason_computeMaxContent;
|
|
1786
|
-
- (void)mason_computeMinContent;
|
|
1787
|
-
- (void)mason_computeWithSize:(float)width :(float)height;
|
|
1788
|
-
- (void)mason_computeWithViewSize;
|
|
1789
|
-
- (void)mason_computeWithViewSizeWithLayout:(BOOL)layout;
|
|
1790
|
-
- (void)mason_computeWithMaxContent;
|
|
1791
|
-
- (void)mason_computeWithMinContent;
|
|
1792
|
-
- (void)mason_attachAndApply;
|
|
1793
|
-
- (void)mason_requestLayout;
|
|
1794
|
-
- (void)mason_invalidateLayout;
|
|
1795
|
-
- (void)mason_append:(id <MasonElementObjc> _Nonnull)element;
|
|
1796
|
-
- (void)mason_appendWithText:(NSString * _Nonnull)text;
|
|
1797
|
-
- (void)mason_appendWithNode:(MasonNode * _Nonnull)node;
|
|
1798
|
-
- (void)mason_appendWithTexts:(NSArray<NSString *> * _Nonnull)texts;
|
|
1799
|
-
- (void)mason_appendWithElements:(NSArray<id <MasonElementObjc>> * _Nonnull)elements;
|
|
1800
|
-
- (void)mason_appendWithNodes:(NSArray<MasonNode *> * _Nonnull)nodes;
|
|
1801
|
-
- (void)mason_prepend:(id <MasonElementObjc> _Nonnull)element;
|
|
1802
|
-
- (void)mason_prependWithText:(NSString * _Nonnull)text;
|
|
1803
|
-
- (void)mason_prependWithNode:(MasonNode * _Nonnull)node;
|
|
1804
|
-
- (void)mason_prependWithTexts:(NSArray<NSString *> * _Nonnull)texts;
|
|
1805
|
-
- (void)mason_prependWithElements:(NSArray<id <MasonElementObjc>> * _Nonnull)elements;
|
|
1806
|
-
- (void)mason_prependWithNodes:(NSArray<MasonNode *> * _Nonnull)nodes;
|
|
1807
|
-
- (void)mason_addChildAtText:(NSString * _Nonnull)text :(NSInteger)index;
|
|
1808
|
-
- (void)mason_addChildAtElement:(id <MasonElementObjc> _Nonnull)element :(NSInteger)index;
|
|
1809
|
-
- (void)mason_addChildAtNode:(MasonNode * _Nonnull)node :(NSInteger)index;
|
|
1810
|
-
- (void)mason_replaceChildAtText:(NSString * _Nonnull)text :(NSInteger)index;
|
|
1811
|
-
- (void)mason_replaceChildAtElement:(id <MasonElementObjc> _Nonnull)element :(NSInteger)index;
|
|
1812
|
-
- (void)mason_replaceChildAtNode:(MasonNode * _Nonnull)node :(NSInteger)index;
|
|
1813
|
-
@end
|
|
1814
|
-
|
|
1815
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonObjectFit, "ObjectFit", open) {
|
|
1816
|
-
MasonObjectFitContain = 0,
|
|
1817
|
-
MasonObjectFitCover = 1,
|
|
1818
|
-
MasonObjectFitFill = 2,
|
|
1819
|
-
MasonObjectFitNone = 3,
|
|
1820
|
-
MasonObjectFitScaleDown = 4,
|
|
1821
|
-
};
|
|
1822
|
-
|
|
1823
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonOverflow, "Overflow", open) {
|
|
1824
|
-
MasonOverflowVisible = 0,
|
|
1825
|
-
MasonOverflowHidden = 1,
|
|
1826
|
-
MasonOverflowScroll = 2,
|
|
1827
|
-
MasonOverflowClip = 3,
|
|
1828
|
-
MasonOverflowAuto = 4,
|
|
1829
|
-
};
|
|
1830
|
-
|
|
1831
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonPosition, "Position", open) {
|
|
1832
|
-
MasonPositionRelative = 0,
|
|
1833
|
-
MasonPositionAbsolute = 1,
|
|
1834
|
-
};
|
|
1835
|
-
|
|
1836
|
-
typedef SWIFT_ENUM_NAMED(uint16_t, PseudoState, "PseudoState", open) {
|
|
1837
|
-
PseudoStateDefault = 0,
|
|
1838
|
-
PseudoStateHover = 0x01,
|
|
1839
|
-
PseudoStateActive = 0x02,
|
|
1840
|
-
PseudoStateFocus = 0x04,
|
|
1841
|
-
PseudoStateFocusWithin = 0x08,
|
|
1842
|
-
PseudoStateFocusVisible = 0x10,
|
|
1843
|
-
PseudoStateDisabled = 0x40,
|
|
1844
|
-
PseudoStateChecked = 0x80,
|
|
1845
|
-
};
|
|
1846
|
-
|
|
1847
|
-
SWIFT_CLASS_NAMED("Scroll")
|
|
1848
|
-
@interface MasonScroll : UIScrollView <MasonElementObjc, UIScrollViewDelegate>
|
|
1849
|
-
- (void)drawRect:(CGRect)rect;
|
|
1850
|
-
- (void)layoutSubviews;
|
|
1851
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1852
|
-
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1853
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1854
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1855
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1856
|
-
- (void)scrollViewWillBeginDragging:(UIScrollView * _Nonnull)scrollView;
|
|
1857
|
-
- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView;
|
|
1858
|
-
- (void)addView:(UIView * _Nonnull)view;
|
|
1859
|
-
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1860
|
-
- (void)setSize:(float)width :(float)height;
|
|
1861
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1862
|
-
@end
|
|
1863
|
-
|
|
1864
|
-
SWIFT_CLASS_NAMED("SwiftHelpers")
|
|
1865
|
-
@interface MasonSwiftHelpers : NSObject
|
|
1866
|
-
+ (void)markNodeDirty:(id <MasonElementObjc> _Nonnull)element;
|
|
1867
|
-
+ (BOOL)isNodeDirty:(id <MasonElementObjc> _Nonnull)element SWIFT_WARN_UNUSED_RESULT;
|
|
1868
|
-
+ (void)configure:(id <MasonElementObjc> _Nonnull)element :(SWIFT_NOESCAPE void (^ _Nonnull)(MasonStyle * _Nonnull))block;
|
|
1869
|
-
+ (MasonLayout * _Nonnull)layout:(id <MasonElementObjc> _Nonnull)element;
|
|
1870
|
-
+ (void)compute:(id <MasonElementObjc> _Nonnull)element;
|
|
1871
|
-
+ (void)compute:(id <MasonElementObjc> _Nonnull)element :(float)width :(float)height;
|
|
1872
|
-
+ (void)computeMaxContent:(id <MasonElementObjc> _Nonnull)element;
|
|
1873
|
-
+ (void)computeMinContent:(id <MasonElementObjc> _Nonnull)element;
|
|
1874
|
-
+ (void)computeWithSize:(id <MasonElementObjc> _Nonnull)element :(float)width :(float)height;
|
|
1875
|
-
+ (void)computeWithViewSize:(id <MasonElementObjc> _Nonnull)element;
|
|
1876
|
-
+ (void)computeWithViewSize:(id <MasonElementObjc> _Nonnull)element layout:(BOOL)layout;
|
|
1877
|
-
+ (void)computeWithMaxContent:(id <MasonElementObjc> _Nonnull)element;
|
|
1878
|
-
+ (void)computeWithMinContent:(id <MasonElementObjc> _Nonnull)element;
|
|
1879
|
-
+ (void)attachAndApply:(id <MasonElementObjc> _Nonnull)element;
|
|
1880
|
-
+ (void)requestLayout:(id <MasonElementObjc> _Nonnull)element;
|
|
1881
|
-
+ (void)append:(id <MasonElementObjc> _Nonnull)parent :(id <MasonElementObjc> _Nonnull)element;
|
|
1882
|
-
+ (void)append:(id <MasonElementObjc> _Nonnull)parent text:(NSString * _Nonnull)text;
|
|
1883
|
-
+ (void)append:(id <MasonElementObjc> _Nonnull)parent node:(MasonNode * _Nonnull)node;
|
|
1884
|
-
+ (void)append:(id <MasonElementObjc> _Nonnull)parent texts:(NSArray<NSString *> * _Nonnull)texts;
|
|
1885
|
-
+ (void)append:(id <MasonElementObjc> _Nonnull)parent elements:(NSArray<id <MasonElementObjc>> * _Nonnull)elements;
|
|
1886
|
-
+ (void)append:(id <MasonElementObjc> _Nonnull)parent nodes:(NSArray<MasonNode *> * _Nonnull)nodes;
|
|
1887
|
-
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent :(id <MasonElementObjc> _Nonnull)element;
|
|
1888
|
-
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent string:(NSString * _Nonnull)string;
|
|
1889
|
-
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent node:(MasonNode * _Nonnull)node;
|
|
1890
|
-
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent strings:(NSArray<NSString *> * _Nonnull)strings;
|
|
1891
|
-
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent elements:(NSArray<id <MasonElementObjc>> * _Nonnull)elements;
|
|
1892
|
-
+ (void)prepend:(id <MasonElementObjc> _Nonnull)parent nodes:(NSArray<MasonNode *> * _Nonnull)nodes;
|
|
1893
|
-
+ (void)addChildAt:(id <MasonElementObjc> _Nonnull)parent text:(NSString * _Nonnull)text :(NSInteger)index;
|
|
1894
|
-
+ (void)addChildAt:(id <MasonElementObjc> _Nonnull)parent element:(id <MasonElementObjc> _Nonnull)element :(NSInteger)index;
|
|
1895
|
-
+ (void)addChildAt:(id <MasonElementObjc> _Nonnull)parent node:(MasonNode * _Nonnull)node :(NSInteger)index;
|
|
1896
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1897
|
-
@end
|
|
1898
|
-
|
|
1899
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "TextAlign", open) {
|
|
1900
|
-
MasonTextAlignAuto = 0,
|
|
1901
|
-
MasonTextAlignLeft = 1,
|
|
1902
|
-
MasonTextAlignRight = 2,
|
|
1903
|
-
MasonTextAlignCenter = 3,
|
|
1904
|
-
MasonTextAlignJustify = 4,
|
|
1905
|
-
MasonTextAlignStart = 5,
|
|
1906
|
-
MasonTextAlignEnd = 6,
|
|
1907
|
-
};
|
|
1908
|
-
|
|
1909
|
-
SWIFT_CLASS_NAMED("TextEngine")
|
|
1910
|
-
@interface MasonTextEngine : NSObject
|
|
1911
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1912
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1913
|
-
@end
|
|
1914
|
-
|
|
1915
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextJustify, "TextJustify", open) {
|
|
1916
|
-
MasonTextJustifyNone = 0,
|
|
1917
|
-
MasonTextJustifyAuto = 1,
|
|
1918
|
-
MasonTextJustifyInterWord = 2,
|
|
1919
|
-
MasonTextJustifyInterCharacter = 3,
|
|
1920
|
-
MasonTextJustifyDistribute = 4,
|
|
1921
|
-
};
|
|
1922
|
-
|
|
1923
|
-
SWIFT_CLASS_NAMED("TextOverflowCompat")
|
|
1924
|
-
@interface MasonTextOverflowCompat : NSObject
|
|
1925
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonTextOverflowCompat * _Nonnull Clip;)
|
|
1926
|
-
+ (MasonTextOverflowCompat * _Nonnull)Clip SWIFT_WARN_UNUSED_RESULT;
|
|
1927
|
-
+ (MasonTextOverflowCompat * _Nonnull)Ellipse:(NSString * _Nullable)value SWIFT_WARN_UNUSED_RESULT;
|
|
1928
|
-
+ (MasonTextOverflowCompat * _Nonnull)Custom:(NSString * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1929
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1930
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1931
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1932
|
-
@end
|
|
1933
|
-
|
|
1934
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextTransform, "TextTransform", open) {
|
|
1935
|
-
MasonTextTransformNone = 0,
|
|
1936
|
-
MasonTextTransformCapitalize = 1,
|
|
1937
|
-
MasonTextTransformUppercase = 2,
|
|
1938
|
-
MasonTextTransformLowercase = 3,
|
|
1939
|
-
MasonTextTransformFullWidth = 4,
|
|
1940
|
-
MasonTextTransformFullSizeKana = 5,
|
|
1941
|
-
MasonTextTransformMathAuto = 6,
|
|
1942
|
-
};
|
|
1943
|
-
|
|
1944
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextWrap, "TextWrap", open) {
|
|
1945
|
-
MasonTextWrapWrap = 0,
|
|
1946
|
-
MasonTextWrapNoWrap = 1,
|
|
1947
|
-
MasonTextWrapBalance = 2,
|
|
1948
|
-
MasonTextWrapPretty = 3,
|
|
1949
|
-
};
|
|
1950
|
-
|
|
1951
|
-
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
1952
|
-
@interface TrackSizingFunction : NSObject
|
|
1953
|
-
@property (nonatomic, readonly) BOOL isRepeating;
|
|
1954
|
-
@property (nonatomic, readonly) id _Nullable value;
|
|
1955
|
-
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1956
|
-
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(MasonGridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1957
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1958
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1959
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1960
|
-
@end
|
|
1961
|
-
|
|
1962
|
-
typedef SWIFT_ENUM(uint8_t, TransformOpType, open) {
|
|
1963
|
-
TransformOpTypeNone = 0,
|
|
1964
|
-
TransformOpTypeTranslate = 1,
|
|
1965
|
-
TransformOpTypeTranslateX = 2,
|
|
1966
|
-
TransformOpTypeTranslateY = 3,
|
|
1967
|
-
TransformOpTypeScale = 4,
|
|
1968
|
-
TransformOpTypeScaleX = 5,
|
|
1969
|
-
TransformOpTypeScaleY = 6,
|
|
1970
|
-
TransformOpTypeRotate = 7,
|
|
1971
|
-
TransformOpTypeSkewX = 8,
|
|
1972
|
-
TransformOpTypeSkewY = 9,
|
|
1973
|
-
};
|
|
1974
|
-
|
|
1975
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, MasonWhiteSpace, "WhiteSpace", open) {
|
|
1976
|
-
MasonWhiteSpaceNormal = 0,
|
|
1977
|
-
MasonWhiteSpacePre = 1,
|
|
1978
|
-
MasonWhiteSpacePreWrap = 2,
|
|
1979
|
-
MasonWhiteSpacePreLine = 3,
|
|
1980
|
-
MasonWhiteSpaceNoWrap = 4,
|
|
1981
|
-
MasonWhiteSpaceBreakSpaces = 5,
|
|
1982
|
-
};
|
|
1983
|
-
|
|
1984
|
-
#endif
|
|
1985
|
-
#if __has_attribute(external_source_symbol)
|
|
1986
|
-
# pragma clang attribute pop
|
|
1987
|
-
#endif
|
|
1988
|
-
#if defined(__cplusplus)
|
|
1989
|
-
#endif
|
|
1990
|
-
#pragma clang diagnostic pop
|
|
1991
|
-
#endif
|
|
1992
|
-
|
|
1993
|
-
#else
|
|
1994
|
-
#error unsupported Swift architecture
|
|
1995
|
-
#endif
|