@triniwiz/nativescript-masonkit 1.0.0-beta.59 → 1.0.0-beta.60
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 +3 -2
- package/common.js +17 -2
- package/common.js.map +1 -1
- package/index.android.d.ts +1 -0
- package/index.android.js +1 -0
- package/index.android.js.map +1 -1
- package/index.d.ts +17 -1
- package/index.ios.d.ts +1 -0
- package/index.ios.js +1 -0
- package/index.ios.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +80 -6
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +58 -42
- 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 +20599 -16771
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +544 -235
- 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 +544 -235
- 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 +7413 -4917
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +160 -12
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +58 -42
- 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 +20295 -16467
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +544 -235
- 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 +544 -235
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +20295 -16467
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +544 -235
- 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 +544 -235
- 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 +7408 -4912
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +7103 -4752
- package/style.d.ts +1 -0
- package/style.js +586 -362
- package/style.js.map +1 -1
- package/text-node/index.android.d.ts +13 -0
- package/text-node/index.android.js +35 -0
- package/text-node/index.android.js.map +1 -0
- package/text-node/index.ios.d.ts +13 -0
- package/text-node/index.ios.js +35 -0
- package/text-node/index.ios.js.map +1 -0
- package/tree/index.android.d.ts +1 -0
- package/tree/index.android.js +3 -0
- package/tree/index.android.js.map +1 -1
- package/tree/index.ios.d.ts +1 -0
- package/tree/index.ios.js +3 -0
- package/tree/index.ios.js.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios15.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Mason
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
|
5
5
|
import CoreImage.CIFilterBuiltins
|
|
6
6
|
import CoreGraphics
|
|
7
7
|
import CoreImage
|
|
@@ -21,7 +21,9 @@ import _SwiftConcurrencyShims
|
|
|
21
21
|
case optional
|
|
22
22
|
case swap
|
|
23
23
|
public typealias RawValue = Swift.Int
|
|
24
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
24
25
|
public init?(rawValue: Swift.Int)
|
|
26
|
+
#endif
|
|
25
27
|
public var rawValue: Swift.Int {
|
|
26
28
|
get
|
|
27
29
|
}
|
|
@@ -40,7 +42,9 @@ import _SwiftConcurrencyShims
|
|
|
40
42
|
get
|
|
41
43
|
}
|
|
42
44
|
public typealias RawValue = Swift.Int
|
|
45
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
43
46
|
public init?(rawValue: Swift.Int)
|
|
47
|
+
#endif
|
|
44
48
|
public var rawValue: Swift.Int {
|
|
45
49
|
get
|
|
46
50
|
}
|
|
@@ -64,12 +68,14 @@ import _SwiftConcurrencyShims
|
|
|
64
68
|
case loaded
|
|
65
69
|
case error
|
|
66
70
|
public typealias RawValue = Swift.Int
|
|
71
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
67
72
|
public init?(rawValue: Swift.Int)
|
|
73
|
+
#endif
|
|
68
74
|
public var rawValue: Swift.Int {
|
|
69
75
|
get
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
|
-
@objcMembers @objc(NSCFontFace) public class NSCFontFace : ObjectiveC.NSObject {
|
|
78
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(NSCFontFace) public class NSCFontFace : ObjectiveC.NSObject {
|
|
73
79
|
@objc public var font: CoreGraphics.CGFont? {
|
|
74
80
|
get
|
|
75
81
|
}
|
|
@@ -77,14 +83,22 @@ import _SwiftConcurrencyShims
|
|
|
77
83
|
get
|
|
78
84
|
}
|
|
79
85
|
@objc public func updateDescriptor(value: Swift.String)
|
|
86
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
80
87
|
@objc public static func loadFromStyle(style: Swift.String) -> Mason.NSCFontFace?
|
|
88
|
+
#endif
|
|
89
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
81
90
|
@objc public static func importFromRemote(url: Swift.String, load: Swift.Bool, callback: @escaping ([Mason.NSCFontFace]?, Swift.String?) -> Swift.Void)
|
|
91
|
+
#endif
|
|
82
92
|
@objc public init(family: Swift.String)
|
|
83
93
|
@objc public init(family: Swift.String, owner style: Mason.MasonStyle)
|
|
84
94
|
@objc public init(family: Swift.String, source: Swift.String)
|
|
85
95
|
@objc public init(family: Swift.String, data source: Foundation.NSData)
|
|
96
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
86
97
|
@objc public init(_ family: Swift.String, _ source: Swift.String? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
98
|
+
#endif
|
|
99
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
87
100
|
@objc public init(_ family: Swift.String, data: Foundation.NSData? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
101
|
+
#endif
|
|
88
102
|
@objc public var status: Mason.NSCFontFaceStatus
|
|
89
103
|
@objc public var display: Mason.NSCFontDisplay
|
|
90
104
|
@objc public func setFontDisplay(value: Swift.String)
|
|
@@ -92,7 +106,9 @@ import _SwiftConcurrencyShims
|
|
|
92
106
|
@objc get
|
|
93
107
|
@objc set
|
|
94
108
|
}
|
|
109
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
95
110
|
@objc public func setFontStyle(value: Swift.String, angle: Swift.String?)
|
|
111
|
+
#endif
|
|
96
112
|
@objc public var weight: Mason.NSCFontWeight {
|
|
97
113
|
@objc get
|
|
98
114
|
@objc set
|
|
@@ -107,7 +123,9 @@ import _SwiftConcurrencyShims
|
|
|
107
123
|
@objc public var descentOverride: Swift.String {
|
|
108
124
|
@objc get
|
|
109
125
|
}
|
|
126
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
110
127
|
@objc public func load(_ callback: @escaping (Swift.String?) -> Swift.Void)
|
|
128
|
+
#endif
|
|
111
129
|
@objc deinit
|
|
112
130
|
}
|
|
113
131
|
@objcMembers @objc(MasonDocument) public class MasonDocument : ObjectiveC.NSObject {
|
|
@@ -139,13 +157,17 @@ public struct Line<T> {
|
|
|
139
157
|
@objc public static func FitContent(fit: Swift.Float) -> Mason.MinMax
|
|
140
158
|
@objc public static func FitContentPercent(fit: Swift.Float) -> Mason.MinMax
|
|
141
159
|
@objc public static let Auto: Mason.MinMax
|
|
160
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
142
161
|
@objc public static func fromTypeValue(_ minType: Swift.Int, _ minValue: Swift.Float, _ maxType: Swift.Int, _ maxValue: Swift.Float) -> Mason.MinMax?
|
|
162
|
+
#endif
|
|
143
163
|
@objc public var cssValue: Swift.String {
|
|
144
164
|
@objc get
|
|
145
165
|
}
|
|
166
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
146
167
|
@objc public var jsonValue: Swift.String? {
|
|
147
168
|
@objc get
|
|
148
169
|
}
|
|
170
|
+
#endif
|
|
149
171
|
required public init(from decoder: any Swift.Decoder) throws
|
|
150
172
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
151
173
|
@objc deinit
|
|
@@ -157,7 +179,9 @@ final public class CSSBorderRenderer {
|
|
|
157
179
|
@objc override dynamic public func layoutSublayers()
|
|
158
180
|
@objc override dynamic public init()
|
|
159
181
|
@objc override dynamic public init(layer: Any)
|
|
182
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
160
183
|
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
184
|
+
#endif
|
|
161
185
|
@objc deinit
|
|
162
186
|
}
|
|
163
187
|
public enum BorderStyle : Swift.Equatable {
|
|
@@ -171,14 +195,18 @@ final public class CSSBorderRenderer {
|
|
|
171
195
|
case ridge
|
|
172
196
|
case inset
|
|
173
197
|
case outset
|
|
198
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
174
199
|
public init?(rawValue: Swift.Int32)
|
|
200
|
+
#endif
|
|
175
201
|
public var rawValue: Swift.Int32 {
|
|
176
202
|
get
|
|
177
203
|
}
|
|
204
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
178
205
|
public init?(name: Swift.String)
|
|
206
|
+
#endif
|
|
179
207
|
public static func == (a: Mason.CSSBorderRenderer.BorderStyle, b: Mason.CSSBorderRenderer.BorderStyle) -> Swift.Bool
|
|
180
208
|
}
|
|
181
|
-
public
|
|
209
|
+
public class BorderSide : Swift.CustomStringConvertible {
|
|
182
210
|
public var description: Swift.String {
|
|
183
211
|
get
|
|
184
212
|
}
|
|
@@ -196,6 +224,7 @@ final public class CSSBorderRenderer {
|
|
|
196
224
|
set
|
|
197
225
|
}
|
|
198
226
|
public init(style: Mason.MasonStyle, side sideType: Mason.CSSBorderRenderer.Side)
|
|
227
|
+
@objc deinit
|
|
199
228
|
}
|
|
200
229
|
public struct CornerRadius : Swift.Equatable {
|
|
201
230
|
public var horizontal: Mason.MasonLengthPercentage
|
|
@@ -261,10 +290,18 @@ final public class CSSBorderRenderer {
|
|
|
261
290
|
@objc deinit
|
|
262
291
|
}
|
|
263
292
|
extension Mason.Button {
|
|
293
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
264
294
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesBegan(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
295
|
+
#endif
|
|
296
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
265
297
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
298
|
+
#endif
|
|
299
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
266
300
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesEnded(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
301
|
+
#endif
|
|
302
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
267
303
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesCancelled(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
304
|
+
#endif
|
|
268
305
|
}
|
|
269
306
|
@_inheritsConvenienceInitializers @objc(NSCMason) @objcMembers public class NSCMason : ObjectiveC.NSObject {
|
|
270
307
|
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
@@ -277,7 +314,9 @@ extension Mason.Button {
|
|
|
277
314
|
@objc public func nodeForView(_ view: UIKit.UIView, _ isLeaf: Swift.Bool = true) -> Mason.MasonNode
|
|
278
315
|
@objc public func configureStyleForView(_ view: UIKit.UIView, _ block: (Mason.MasonStyle) -> Swift.Void)
|
|
279
316
|
@objc public func styleForView(_ view: UIKit.UIView) -> Mason.MasonStyle
|
|
317
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
280
318
|
@objc public func styleForViewOrNode(_ viewOrNode: Any?) -> Mason.MasonStyle?
|
|
319
|
+
#endif
|
|
281
320
|
@objc @discardableResult
|
|
282
321
|
public func layoutForView(_ view: UIKit.UIView) -> Mason.MasonLayout
|
|
283
322
|
@objc @discardableResult
|
|
@@ -304,204 +343,15 @@ extension Mason.Button {
|
|
|
304
343
|
@objc public func createTextNode() -> Mason.MasonNode
|
|
305
344
|
@objc public func createImageNode() -> Mason.MasonNode
|
|
306
345
|
@objc public func createLineBreakNode() -> Mason.MasonNode
|
|
346
|
+
@objc public func createListView(isOrdered: Swift.Bool = false) -> Mason.MasonList
|
|
347
|
+
public func createListItemNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
348
|
+
@objc public func createListItemNode() -> Mason.MasonNode
|
|
349
|
+
@objc public func createListItem() -> Mason.MasonLi
|
|
307
350
|
}
|
|
308
351
|
@_inheritsConvenienceInitializers @objcMembers @objc(MeasureOutput) public class MeasureOutput : ObjectiveC.NSObject {
|
|
309
352
|
@objc override dynamic public init()
|
|
310
353
|
@objc deinit
|
|
311
354
|
}
|
|
312
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
313
|
-
@objc var engine: Mason.TextEngine { get }
|
|
314
|
-
@objc var node: Mason.MasonNode { get }
|
|
315
|
-
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
316
|
-
}
|
|
317
|
-
extension Mason.TextContainer {
|
|
318
|
-
public func onTextStyleChanged(change: Swift.Int64)
|
|
319
|
-
}
|
|
320
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
321
|
-
public var textContent: Swift.String {
|
|
322
|
-
get
|
|
323
|
-
set
|
|
324
|
-
}
|
|
325
|
-
@objc deinit
|
|
326
|
-
}
|
|
327
|
-
@objc public protocol MasonCharacterData {
|
|
328
|
-
@objc var data: Swift.String { get set }
|
|
329
|
-
@objc var length: Swift.Int { get }
|
|
330
|
-
@objc @discardableResult
|
|
331
|
-
func appendData(_ s: Swift.String) -> Self
|
|
332
|
-
@objc @discardableResult
|
|
333
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
334
|
-
@objc @discardableResult
|
|
335
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
336
|
-
@objc @discardableResult
|
|
337
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
338
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
339
|
-
@objc @discardableResult
|
|
340
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
341
|
-
@objc @discardableResult
|
|
342
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
343
|
-
}
|
|
344
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
345
|
-
@objc public var data: Swift.String {
|
|
346
|
-
@objc get
|
|
347
|
-
@objc set
|
|
348
|
-
}
|
|
349
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
350
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
351
|
-
@objc public var length: Swift.Int {
|
|
352
|
-
@objc get
|
|
353
|
-
}
|
|
354
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
355
|
-
@discardableResult
|
|
356
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
357
|
-
@discardableResult
|
|
358
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
359
|
-
@discardableResult
|
|
360
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
361
|
-
@discardableResult
|
|
362
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
363
|
-
@discardableResult
|
|
364
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
365
|
-
@discardableResult
|
|
366
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
367
|
-
@objc deinit
|
|
368
|
-
}
|
|
369
|
-
extension Mason.MasonTextNode {
|
|
370
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
371
|
-
}
|
|
372
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
373
|
-
case None
|
|
374
|
-
case P
|
|
375
|
-
case Span
|
|
376
|
-
case Code
|
|
377
|
-
case H1
|
|
378
|
-
case H2
|
|
379
|
-
case H3
|
|
380
|
-
case H4
|
|
381
|
-
case H5
|
|
382
|
-
case H6
|
|
383
|
-
case Li
|
|
384
|
-
case Blockquote
|
|
385
|
-
case B
|
|
386
|
-
case Pre
|
|
387
|
-
case Strong
|
|
388
|
-
case Em
|
|
389
|
-
case I
|
|
390
|
-
case A
|
|
391
|
-
public typealias RawValue = Swift.Int32
|
|
392
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
393
|
-
get
|
|
394
|
-
}
|
|
395
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
396
|
-
public var description: Swift.String {
|
|
397
|
-
get
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
public enum InlineSegmentPayload {
|
|
401
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
402
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
403
|
-
}
|
|
404
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
405
|
-
@objc override dynamic public init()
|
|
406
|
-
@objc override dynamic public init(layer: Any)
|
|
407
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
408
|
-
@objc deinit
|
|
409
|
-
}
|
|
410
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
411
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
412
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
413
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
414
|
-
@objc get
|
|
415
|
-
@objc set
|
|
416
|
-
}
|
|
417
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
418
|
-
@objc get
|
|
419
|
-
}
|
|
420
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
421
|
-
@objc get
|
|
422
|
-
}
|
|
423
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
424
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
425
|
-
@objc get
|
|
426
|
-
}
|
|
427
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
428
|
-
@objc get
|
|
429
|
-
}
|
|
430
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
431
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
432
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
433
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
434
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
435
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
436
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
437
|
-
get
|
|
438
|
-
set
|
|
439
|
-
}
|
|
440
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
441
|
-
@objc get
|
|
442
|
-
@objc set
|
|
443
|
-
}
|
|
444
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
445
|
-
@objc get
|
|
446
|
-
@objc set
|
|
447
|
-
}
|
|
448
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
449
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
450
|
-
@objc get
|
|
451
|
-
@objc set
|
|
452
|
-
}
|
|
453
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
454
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
455
|
-
@objc get
|
|
456
|
-
@objc set
|
|
457
|
-
}
|
|
458
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
459
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
460
|
-
@objc get
|
|
461
|
-
@objc set
|
|
462
|
-
}
|
|
463
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
464
|
-
@objc get
|
|
465
|
-
@objc set
|
|
466
|
-
}
|
|
467
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
468
|
-
@objc get
|
|
469
|
-
@objc set
|
|
470
|
-
}
|
|
471
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
472
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
473
|
-
@objc get
|
|
474
|
-
@objc set
|
|
475
|
-
}
|
|
476
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
477
|
-
@objc get
|
|
478
|
-
@objc set
|
|
479
|
-
}
|
|
480
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
481
|
-
@objc get
|
|
482
|
-
@objc set
|
|
483
|
-
}
|
|
484
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
485
|
-
@objc get
|
|
486
|
-
@objc set
|
|
487
|
-
}
|
|
488
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
489
|
-
@objc get
|
|
490
|
-
@objc set
|
|
491
|
-
}
|
|
492
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
493
|
-
@objc get
|
|
494
|
-
@objc set
|
|
495
|
-
}
|
|
496
|
-
@objc deinit
|
|
497
|
-
}
|
|
498
|
-
extension Mason.MasonText {
|
|
499
|
-
@objc @discardableResult
|
|
500
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
501
|
-
}
|
|
502
|
-
extension Mason.MasonText {
|
|
503
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
504
|
-
}
|
|
505
355
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MaxSizing) public class MaxSizing : ObjectiveC.NSObject, Swift.Codable {
|
|
506
356
|
@objc public var value: Swift.Float {
|
|
507
357
|
get
|
|
@@ -517,9 +367,11 @@ extension Mason.MasonText {
|
|
|
517
367
|
@objc public var cssValue: Swift.String {
|
|
518
368
|
@objc get
|
|
519
369
|
}
|
|
370
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
520
371
|
@objc public var jsonValue: Swift.String? {
|
|
521
372
|
@objc get
|
|
522
373
|
}
|
|
374
|
+
#endif
|
|
523
375
|
required public init(from decoder: any Swift.Decoder) throws
|
|
524
376
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
525
377
|
@objc deinit
|
|
@@ -572,7 +424,9 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
572
424
|
public var rawValue: Swift.Int32 {
|
|
573
425
|
get
|
|
574
426
|
}
|
|
427
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
575
428
|
public init?(rawValue: Swift.Int32)
|
|
429
|
+
#endif
|
|
576
430
|
}
|
|
577
431
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
578
432
|
@objc public var mason: Mason.NSCMason {
|
|
@@ -591,15 +445,21 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
591
445
|
}
|
|
592
446
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
593
447
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
448
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
594
449
|
@objc public var parent: Mason.MasonNode? {
|
|
595
450
|
@objc get
|
|
596
451
|
}
|
|
452
|
+
#endif
|
|
453
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
597
454
|
@objc public var parentNode: Mason.MasonNode? {
|
|
598
455
|
@objc get
|
|
599
456
|
}
|
|
457
|
+
#endif
|
|
458
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
600
459
|
public var parentElement: (any Mason.MasonElement)? {
|
|
601
460
|
get
|
|
602
461
|
}
|
|
462
|
+
#endif
|
|
603
463
|
@objc public var type: Mason.MasonNodeType {
|
|
604
464
|
get
|
|
605
465
|
}
|
|
@@ -615,7 +475,9 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
615
475
|
@objc get
|
|
616
476
|
}
|
|
617
477
|
@objc public func markDirty()
|
|
478
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
618
479
|
@objc public func getRoot() -> UIKit.UIView?
|
|
480
|
+
#endif
|
|
619
481
|
@objc public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
620
482
|
}
|
|
621
483
|
extension Mason.MasonNode {
|
|
@@ -726,9 +588,11 @@ extension Mason.MasonElement {
|
|
|
726
588
|
@objc public var cssValue: Swift.String {
|
|
727
589
|
@objc get
|
|
728
590
|
}
|
|
591
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
729
592
|
@objc public var jsonValue: Swift.String? {
|
|
730
593
|
@objc get
|
|
731
594
|
}
|
|
595
|
+
#endif
|
|
732
596
|
required public init(from decoder: any Swift.Decoder) throws
|
|
733
597
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
734
598
|
@objc deinit
|
|
@@ -781,10 +645,12 @@ extension Mason.MasonEventTarget {
|
|
|
781
645
|
@objc get
|
|
782
646
|
@objc set
|
|
783
647
|
}
|
|
648
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
784
649
|
@objc @_Concurrency.MainActor @preconcurrency public var valueAsDate: Foundation.Date? {
|
|
785
650
|
@objc get
|
|
786
651
|
@objc set
|
|
787
652
|
}
|
|
653
|
+
#endif
|
|
788
654
|
@objc @_Concurrency.MainActor @preconcurrency public var placeholder: Swift.String {
|
|
789
655
|
@objc get
|
|
790
656
|
@objc set
|
|
@@ -793,6 +659,205 @@ extension Mason.MasonEventTarget {
|
|
|
793
659
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
794
660
|
@objc deinit
|
|
795
661
|
}
|
|
662
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
663
|
+
case None
|
|
664
|
+
case P
|
|
665
|
+
case Span
|
|
666
|
+
case Code
|
|
667
|
+
case H1
|
|
668
|
+
case H2
|
|
669
|
+
case H3
|
|
670
|
+
case H4
|
|
671
|
+
case H5
|
|
672
|
+
case H6
|
|
673
|
+
case Li
|
|
674
|
+
case Blockquote
|
|
675
|
+
case B
|
|
676
|
+
case Pre
|
|
677
|
+
case Strong
|
|
678
|
+
case Em
|
|
679
|
+
case I
|
|
680
|
+
case A
|
|
681
|
+
public typealias RawValue = Swift.Int32
|
|
682
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
683
|
+
get
|
|
684
|
+
}
|
|
685
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
686
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
687
|
+
#endif
|
|
688
|
+
public var description: Swift.String {
|
|
689
|
+
get
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
public enum InlineSegmentPayload {
|
|
693
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
694
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
695
|
+
}
|
|
696
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
697
|
+
@objc override dynamic public init()
|
|
698
|
+
@objc override dynamic public init(layer: Any)
|
|
699
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
700
|
+
@objc deinit
|
|
701
|
+
}
|
|
702
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
703
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
704
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
705
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
706
|
+
@objc get
|
|
707
|
+
@objc set
|
|
708
|
+
}
|
|
709
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
710
|
+
@objc get
|
|
711
|
+
}
|
|
712
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
713
|
+
@objc get
|
|
714
|
+
}
|
|
715
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
716
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
717
|
+
@objc get
|
|
718
|
+
}
|
|
719
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
720
|
+
@objc get
|
|
721
|
+
}
|
|
722
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
723
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
724
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
725
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
726
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
727
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
728
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
729
|
+
get
|
|
730
|
+
set
|
|
731
|
+
}
|
|
732
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
733
|
+
@objc get
|
|
734
|
+
@objc set
|
|
735
|
+
}
|
|
736
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
737
|
+
@objc get
|
|
738
|
+
@objc set
|
|
739
|
+
}
|
|
740
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
741
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
742
|
+
@objc get
|
|
743
|
+
@objc set
|
|
744
|
+
}
|
|
745
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
746
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
747
|
+
@objc get
|
|
748
|
+
@objc set
|
|
749
|
+
}
|
|
750
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
751
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
752
|
+
@objc get
|
|
753
|
+
@objc set
|
|
754
|
+
}
|
|
755
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
756
|
+
@objc get
|
|
757
|
+
@objc set
|
|
758
|
+
}
|
|
759
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
760
|
+
@objc get
|
|
761
|
+
@objc set
|
|
762
|
+
}
|
|
763
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
764
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
765
|
+
@objc get
|
|
766
|
+
@objc set
|
|
767
|
+
}
|
|
768
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
769
|
+
@objc get
|
|
770
|
+
@objc set
|
|
771
|
+
}
|
|
772
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
773
|
+
@objc get
|
|
774
|
+
@objc set
|
|
775
|
+
}
|
|
776
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
777
|
+
@objc get
|
|
778
|
+
@objc set
|
|
779
|
+
}
|
|
780
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
781
|
+
@objc get
|
|
782
|
+
@objc set
|
|
783
|
+
}
|
|
784
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
785
|
+
@objc get
|
|
786
|
+
@objc set
|
|
787
|
+
}
|
|
788
|
+
@objc deinit
|
|
789
|
+
}
|
|
790
|
+
extension Mason.MasonText {
|
|
791
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
792
|
+
@objc @discardableResult
|
|
793
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
794
|
+
#endif
|
|
795
|
+
}
|
|
796
|
+
extension Mason.MasonText {
|
|
797
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
798
|
+
}
|
|
799
|
+
@objc public protocol MasonCharacterData {
|
|
800
|
+
@objc var data: Swift.String { get set }
|
|
801
|
+
@objc var length: Swift.Int { get }
|
|
802
|
+
@objc @discardableResult
|
|
803
|
+
func appendData(_ s: Swift.String) -> Self
|
|
804
|
+
@objc @discardableResult
|
|
805
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
806
|
+
@objc @discardableResult
|
|
807
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
808
|
+
@objc @discardableResult
|
|
809
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
810
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
811
|
+
@objc @discardableResult
|
|
812
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
813
|
+
@objc @discardableResult
|
|
814
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
815
|
+
}
|
|
816
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
817
|
+
@objc public var data: Swift.String {
|
|
818
|
+
@objc get
|
|
819
|
+
@objc set
|
|
820
|
+
}
|
|
821
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
822
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
823
|
+
#endif
|
|
824
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
825
|
+
@objc public var length: Swift.Int {
|
|
826
|
+
@objc get
|
|
827
|
+
}
|
|
828
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
829
|
+
@discardableResult
|
|
830
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
831
|
+
@discardableResult
|
|
832
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
833
|
+
@discardableResult
|
|
834
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
835
|
+
@discardableResult
|
|
836
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
837
|
+
@discardableResult
|
|
838
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
839
|
+
@discardableResult
|
|
840
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
841
|
+
@objc deinit
|
|
842
|
+
}
|
|
843
|
+
extension Mason.MasonTextNode {
|
|
844
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
845
|
+
}
|
|
846
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
847
|
+
@objc var engine: Mason.TextEngine { get }
|
|
848
|
+
@objc var node: Mason.MasonNode { get }
|
|
849
|
+
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
850
|
+
}
|
|
851
|
+
extension Mason.TextContainer {
|
|
852
|
+
public func onTextStyleChanged(change: Swift.Int64)
|
|
853
|
+
}
|
|
854
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
855
|
+
public var textContent: Swift.String {
|
|
856
|
+
get
|
|
857
|
+
set
|
|
858
|
+
}
|
|
859
|
+
@objc deinit
|
|
860
|
+
}
|
|
796
861
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(MasonLayout) @objcMembers public class MasonLayout : ObjectiveC.NSObject, Swift.Codable {
|
|
797
862
|
@objc final public let order: Swift.Int
|
|
798
863
|
@objc final public let x: Swift.Float
|
|
@@ -864,6 +929,9 @@ extension Mason.MasonEventTarget {
|
|
|
864
929
|
@objc public var paddingLeft: Swift.Float {
|
|
865
930
|
@objc get
|
|
866
931
|
}
|
|
932
|
+
@objc public var sizeIsEmpty: Swift.Bool {
|
|
933
|
+
@objc get
|
|
934
|
+
}
|
|
867
935
|
@objc public var contentSizeIsEmpty: Swift.Bool {
|
|
868
936
|
@objc get
|
|
869
937
|
}
|
|
@@ -889,13 +957,71 @@ extension Mason.MasonEventTarget {
|
|
|
889
957
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
890
958
|
required public init(from decoder: any Swift.Decoder) throws
|
|
891
959
|
}
|
|
960
|
+
@_hasMissingDesignatedInitializers @objc(MasonList) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonList : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegate, UIKit.UICollectionViewDelegateFlowLayout {
|
|
961
|
+
@objc @_Concurrency.MainActor @preconcurrency public var delegate: (any Mason.MasonList.MasonListDelegate)?
|
|
962
|
+
@objc(MasonListDelegate) public protocol MasonListDelegate {
|
|
963
|
+
@objc func list(_ list: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell
|
|
964
|
+
@objc func list(_ list: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
|
|
965
|
+
}
|
|
966
|
+
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class MasonListCell : UIKit.UICollectionViewCell {
|
|
967
|
+
@_Concurrency.MainActor @preconcurrency public var willMove: ((Mason.MasonList.MasonListCell) -> Swift.Void)?
|
|
968
|
+
@_Concurrency.MainActor @preconcurrency public var view: (any Mason.MasonElement)? {
|
|
969
|
+
get
|
|
970
|
+
}
|
|
971
|
+
@_Concurrency.MainActor @preconcurrency public static func initWithEmptyBackground() -> Mason.MasonList.MasonListCell
|
|
972
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
973
|
+
@_Concurrency.MainActor @preconcurrency public func setView(_ newView: (any Mason.MasonElement)?)
|
|
974
|
+
#endif
|
|
975
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
976
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toSuperview newSuperview: UIKit.UIView?)
|
|
977
|
+
#endif
|
|
978
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func prepareForReuse()
|
|
979
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func preferredLayoutAttributesFitting(_ layoutAttributes: UIKit.UICollectionViewLayoutAttributes) -> UIKit.UICollectionViewLayoutAttributes
|
|
980
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
981
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
982
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
983
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
984
|
+
#endif
|
|
985
|
+
@objc deinit
|
|
986
|
+
}
|
|
987
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
988
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
989
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
990
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
991
|
+
@objc get
|
|
992
|
+
}
|
|
993
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
994
|
+
@objc get
|
|
995
|
+
}
|
|
996
|
+
@objc @_Concurrency.MainActor @preconcurrency public var values: Foundation.NSMutableData {
|
|
997
|
+
@objc get
|
|
998
|
+
@objc set
|
|
999
|
+
}
|
|
1000
|
+
@objc @_Concurrency.MainActor @preconcurrency public var count: Swift.Int {
|
|
1001
|
+
@objc get
|
|
1002
|
+
@objc set
|
|
1003
|
+
}
|
|
1004
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
1005
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1006
|
+
@objc @_Concurrency.MainActor @preconcurrency public func register(cellClass: Swift.AnyClass?, forCellWithReuseIdentifier identifier: Swift.String)
|
|
1007
|
+
#endif
|
|
1008
|
+
@objc @_Concurrency.MainActor @preconcurrency public func reload()
|
|
1009
|
+
@objc @_Concurrency.MainActor @preconcurrency public var isOrdered: Swift.Bool
|
|
1010
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int
|
|
1011
|
+
@_Concurrency.MainActor @preconcurrency @objc public func numberOfSections(in collectionView: UIKit.UICollectionView) -> Swift.Int
|
|
1012
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell
|
|
1013
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
|
|
1014
|
+
@objc deinit
|
|
1015
|
+
}
|
|
892
1016
|
@_hasMissingDesignatedInitializers @objc(TrackSizingFunction) @objcMembers public class TrackSizingFunction : ObjectiveC.NSObject {
|
|
893
1017
|
@objc public var isRepeating: Swift.Bool {
|
|
894
1018
|
get
|
|
895
1019
|
}
|
|
1020
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
896
1021
|
@objc public var value: Any? {
|
|
897
1022
|
@objc get
|
|
898
1023
|
}
|
|
1024
|
+
#endif
|
|
899
1025
|
@objc public static func Single(_ value: Mason.MinMax) -> Mason.TrackSizingFunction
|
|
900
1026
|
@objc public static func AutoRepeat(_ gridTrackRepetition: Mason.GridTrackRepetition, _ value: Swift.Array<Mason.MinMax>) -> Mason.TrackSizingFunction
|
|
901
1027
|
@objc public var cssValue: Swift.String {
|
|
@@ -915,9 +1041,11 @@ extension Mason.MasonEventTarget {
|
|
|
915
1041
|
@objc public var cssValue: Swift.String {
|
|
916
1042
|
@objc get
|
|
917
1043
|
}
|
|
1044
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
918
1045
|
@objc public var jsonValue: Swift.String? {
|
|
919
1046
|
@objc get
|
|
920
1047
|
}
|
|
1048
|
+
#endif
|
|
921
1049
|
@objc public static let Auto: Mason.MasonDimensionCompat
|
|
922
1050
|
@objc public static let Zero: Mason.MasonDimensionCompat
|
|
923
1051
|
@objc deinit
|
|
@@ -936,9 +1064,11 @@ extension Mason.MasonEventTarget {
|
|
|
936
1064
|
@objc public var cssValue: Swift.String {
|
|
937
1065
|
@objc get
|
|
938
1066
|
}
|
|
1067
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
939
1068
|
@objc public var jsonValue: Swift.String? {
|
|
940
1069
|
@objc get
|
|
941
1070
|
}
|
|
1071
|
+
#endif
|
|
942
1072
|
@objc public static let Auto: Mason.MasonLengthPercentageAutoCompat
|
|
943
1073
|
@objc public static let Zero: Mason.MasonLengthPercentageAutoCompat
|
|
944
1074
|
@objc deinit
|
|
@@ -957,9 +1087,11 @@ extension Mason.MasonEventTarget {
|
|
|
957
1087
|
@objc public var cssValue: Swift.String {
|
|
958
1088
|
@objc get
|
|
959
1089
|
}
|
|
1090
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
960
1091
|
@objc public var jsonValue: Swift.String? {
|
|
961
1092
|
@objc get
|
|
962
1093
|
}
|
|
1094
|
+
#endif
|
|
963
1095
|
@objc public static let Zero: Mason.MasonLengthPercentageCompat
|
|
964
1096
|
@objc deinit
|
|
965
1097
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -977,9 +1109,11 @@ extension Mason.MasonEventTarget {
|
|
|
977
1109
|
@objc public var cssValue: Swift.String {
|
|
978
1110
|
@objc get
|
|
979
1111
|
}
|
|
1112
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
980
1113
|
@objc public var jsonValue: Swift.String? {
|
|
981
1114
|
@objc get
|
|
982
1115
|
}
|
|
1116
|
+
#endif
|
|
983
1117
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
984
1118
|
@objc deinit
|
|
985
1119
|
}
|
|
@@ -987,7 +1121,9 @@ extension Mason.MasonEventTarget {
|
|
|
987
1121
|
case loading
|
|
988
1122
|
case loaded
|
|
989
1123
|
public typealias RawValue = Swift.Int
|
|
1124
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
990
1125
|
public init?(rawValue: Swift.Int)
|
|
1126
|
+
#endif
|
|
991
1127
|
public var rawValue: Swift.Int {
|
|
992
1128
|
get
|
|
993
1129
|
}
|
|
@@ -998,11 +1134,19 @@ extension Mason.MasonEventTarget {
|
|
|
998
1134
|
@objc public var onStatus: ((Mason.NSCFontFaceSetStatus) -> Swift.Void)?
|
|
999
1135
|
@objc public func iter() -> Foundation.NSEnumerator
|
|
1000
1136
|
@objc public func array() -> [Any]
|
|
1137
|
+
@objc public func get(_ fontFamily: Swift.String) -> Mason.NSCFontFace
|
|
1138
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1139
|
+
@objc public func getOrNil(_ fontFamily: Swift.String) -> Mason.NSCFontFace?
|
|
1140
|
+
#endif
|
|
1001
1141
|
@objc public func add(_ font: Mason.NSCFontFace)
|
|
1002
1142
|
@objc public func clear()
|
|
1003
1143
|
@objc public func delete(_ font: Mason.NSCFontFace)
|
|
1144
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1004
1145
|
@objc public func check(_ font: Swift.String, _ text: Swift.String?) -> Swift.Bool
|
|
1146
|
+
#endif
|
|
1147
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1005
1148
|
@objc public func load(_ font: Swift.String, _ text: Swift.String?, _ callback: @escaping ([Mason.NSCFontFace], Swift.String?) -> Swift.Void)
|
|
1149
|
+
#endif
|
|
1006
1150
|
@objc public var size: Swift.Int {
|
|
1007
1151
|
@objc get
|
|
1008
1152
|
}
|
|
@@ -1047,7 +1191,9 @@ extension Mason.MasonEventTarget {
|
|
|
1047
1191
|
@objc public var currentTarget: Any? {
|
|
1048
1192
|
get
|
|
1049
1193
|
}
|
|
1194
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1050
1195
|
@objc public init(type eventType: Swift.String, bubbles eventBubbles: Swift.Bool = false, cancelable eventCancelable: Swift.Bool = false, options: Mason.MasonEventOptions? = nil)
|
|
1196
|
+
#endif
|
|
1051
1197
|
@objc public func preventDefault()
|
|
1052
1198
|
@objc public func stopPropagation()
|
|
1053
1199
|
@objc public func stopImmediatePropagation()
|
|
@@ -1056,14 +1202,18 @@ extension Mason.MasonEventTarget {
|
|
|
1056
1202
|
@objcMembers @objc(MasonInputEvent) public class MasonInputEvent : Mason.MasonEvent {
|
|
1057
1203
|
@objc final public let data: Swift.String?
|
|
1058
1204
|
@objc final public let inputType: Swift.String?
|
|
1205
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1059
1206
|
@objc public init(type: Swift.String, data inputData: Swift.String? = nil, inputType masonInputType: Swift.String? = nil, options: Mason.MasonEventOptions? = nil)
|
|
1207
|
+
#endif
|
|
1060
1208
|
@objc deinit
|
|
1061
1209
|
}
|
|
1062
1210
|
@objcMembers @objc(MasonFileInputEvent) public class MasonFileInputEvent : Mason.MasonEvent {
|
|
1063
1211
|
@objc final public let data: Swift.String?
|
|
1064
1212
|
@objc final public let inputType: Swift.String?
|
|
1065
1213
|
@objc final public let rawData: [Foundation.URL]
|
|
1214
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1066
1215
|
@objc public init(type: Swift.String, data inputData: Swift.String? = nil, inputType masonInputType: Swift.String? = nil, options: Mason.MasonEventOptions? = nil, rawData inputRawData: [Foundation.URL])
|
|
1216
|
+
#endif
|
|
1067
1217
|
@objc deinit
|
|
1068
1218
|
}
|
|
1069
1219
|
@objcMembers @objc(MasonMouseEvent) public class MasonMouseEvent : Mason.MasonEvent {
|
|
@@ -1118,7 +1268,9 @@ extension Mason.MasonEventTarget {
|
|
|
1118
1268
|
@objc public var pageY: Swift.Float {
|
|
1119
1269
|
get
|
|
1120
1270
|
}
|
|
1271
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1121
1272
|
@objc public init(type: Swift.String, options: Mason.MasonMouseEventOptions? = nil)
|
|
1273
|
+
#endif
|
|
1122
1274
|
@objc deinit
|
|
1123
1275
|
}
|
|
1124
1276
|
@objcMembers @objc(MasonDimensionRectCompat) public class MasonDimensionRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
@@ -1172,15 +1324,23 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1172
1324
|
@objc public var font: Mason.NSCFontFace! {
|
|
1173
1325
|
get
|
|
1174
1326
|
}
|
|
1327
|
+
@objc public func prepareMut()
|
|
1175
1328
|
@objc public var values: Foundation.NSMutableData {
|
|
1176
1329
|
@objc get
|
|
1177
|
-
@objc set
|
|
1178
1330
|
}
|
|
1179
1331
|
@objc public var textValues: Foundation.NSMutableData {
|
|
1180
1332
|
@objc get
|
|
1181
1333
|
@objc set
|
|
1182
1334
|
}
|
|
1183
1335
|
@objc public init(node: Mason.MasonNode)
|
|
1336
|
+
@objc public var listStylePosition: Mason.ListStylePosition {
|
|
1337
|
+
@objc get
|
|
1338
|
+
@objc set
|
|
1339
|
+
}
|
|
1340
|
+
@objc public var listStyleType: Mason.ListStyleType {
|
|
1341
|
+
@objc get
|
|
1342
|
+
@objc set
|
|
1343
|
+
}
|
|
1184
1344
|
@objc public var zIndex: Swift.Int32 {
|
|
1185
1345
|
@objc get
|
|
1186
1346
|
@objc set
|
|
@@ -1543,10 +1703,12 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1543
1703
|
@objc public func setGapColumn(_ value: Swift.Float, _ type: Swift.Int)
|
|
1544
1704
|
@objc public func setRowGap(_ value: Swift.Float, _ type: Swift.Int)
|
|
1545
1705
|
@objc public func setColumnGap(_ value: Swift.Float, _ type: Swift.Int)
|
|
1706
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1546
1707
|
public var aspectRatio: Swift.Float? {
|
|
1547
1708
|
get
|
|
1548
1709
|
set
|
|
1549
1710
|
}
|
|
1711
|
+
#endif
|
|
1550
1712
|
@objc public var gridArea: Swift.String {
|
|
1551
1713
|
@objc get
|
|
1552
1714
|
@objc set
|
|
@@ -1705,7 +1867,9 @@ extension UIKit.UIImage {
|
|
|
1705
1867
|
}
|
|
1706
1868
|
}
|
|
1707
1869
|
public static func chevron(direction: UIKit.UIImage.ChevronDirection, color: UIKit.UIColor, size: CoreFoundation.CGSize = CGSize(width: 16, height: 6), lineWidth: CoreFoundation.CGFloat = 1.5, scale: CoreFoundation.CGFloat = UIScreen.main.scale) -> UIKit.UIImage
|
|
1870
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1708
1871
|
public func mason_resize(to size: CoreFoundation.CGSize) -> UIKit.UIImage?
|
|
1872
|
+
#endif
|
|
1709
1873
|
}
|
|
1710
1874
|
@objc extension ObjectiveC.NSObject {
|
|
1711
1875
|
@discardableResult
|
|
@@ -1760,7 +1924,9 @@ extension UIKit.UIImage {
|
|
|
1760
1924
|
@objc override dynamic public func layoutSublayers()
|
|
1761
1925
|
@objc override dynamic public init()
|
|
1762
1926
|
@objc override dynamic public init(layer: Any)
|
|
1927
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1763
1928
|
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
1929
|
+
#endif
|
|
1764
1930
|
@objc deinit
|
|
1765
1931
|
}
|
|
1766
1932
|
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
@@ -1771,12 +1937,16 @@ extension UIKit.UIImage {
|
|
|
1771
1937
|
public var rawValue: Mason.LoadingState.RawValue {
|
|
1772
1938
|
get
|
|
1773
1939
|
}
|
|
1940
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1774
1941
|
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1942
|
+
#endif
|
|
1775
1943
|
}
|
|
1776
1944
|
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
1777
1945
|
@objc override dynamic public init()
|
|
1946
|
+
public init(view: Mason.Img)
|
|
1778
1947
|
@objc override dynamic public init(layer: Any)
|
|
1779
1948
|
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1949
|
+
@objc override dynamic public func layoutSublayers()
|
|
1780
1950
|
@objc deinit
|
|
1781
1951
|
}
|
|
1782
1952
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
@@ -1802,57 +1972,69 @@ extension UIKit.UIImage {
|
|
|
1802
1972
|
@objc get
|
|
1803
1973
|
@objc set
|
|
1804
1974
|
}
|
|
1975
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1805
1976
|
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1977
|
+
#endif
|
|
1806
1978
|
@objc deinit
|
|
1807
1979
|
}
|
|
1808
1980
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1809
1981
|
case Auto
|
|
1810
1982
|
case Points
|
|
1811
1983
|
case Percent
|
|
1812
|
-
public typealias RawValue = Swift.
|
|
1984
|
+
public typealias RawValue = Swift.Int8
|
|
1813
1985
|
public var rawValue: Mason.MasonDimensionCompatType.RawValue {
|
|
1814
1986
|
get
|
|
1815
1987
|
}
|
|
1988
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1816
1989
|
public init?(rawValue: Mason.MasonDimensionCompatType.RawValue)
|
|
1990
|
+
#endif
|
|
1817
1991
|
}
|
|
1818
1992
|
@objc(MasonLengthPercentageAutoCompatType) public enum MasonLengthPercentageAutoCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1819
1993
|
case Auto
|
|
1820
1994
|
case Points
|
|
1821
1995
|
case Percent
|
|
1822
|
-
public typealias RawValue = Swift.
|
|
1996
|
+
public typealias RawValue = Swift.Int8
|
|
1823
1997
|
public var rawValue: Mason.MasonLengthPercentageAutoCompatType.RawValue {
|
|
1824
1998
|
get
|
|
1825
1999
|
}
|
|
2000
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1826
2001
|
public init?(rawValue: Mason.MasonLengthPercentageAutoCompatType.RawValue)
|
|
2002
|
+
#endif
|
|
1827
2003
|
}
|
|
1828
2004
|
@objc(MasonLengthPercentageCompatType) public enum MasonLengthPercentageCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1829
2005
|
case Points
|
|
1830
2006
|
case Percent
|
|
1831
|
-
public typealias RawValue = Swift.
|
|
2007
|
+
public typealias RawValue = Swift.Int8
|
|
1832
2008
|
public var rawValue: Mason.MasonLengthPercentageCompatType.RawValue {
|
|
1833
2009
|
get
|
|
1834
2010
|
}
|
|
2011
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1835
2012
|
public init?(rawValue: Mason.MasonLengthPercentageCompatType.RawValue)
|
|
2013
|
+
#endif
|
|
1836
2014
|
}
|
|
1837
2015
|
@objc(MasonBoxSizing) public enum BoxSizing : Swift.Int, Swift.RawRepresentable {
|
|
1838
2016
|
case BorderBox
|
|
1839
2017
|
case ContentBox
|
|
1840
|
-
public typealias RawValue = Swift.
|
|
2018
|
+
public typealias RawValue = Swift.Int8
|
|
1841
2019
|
public var rawValue: Mason.BoxSizing.RawValue {
|
|
1842
2020
|
get
|
|
1843
2021
|
}
|
|
2022
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1844
2023
|
public init?(rawValue: Mason.BoxSizing.RawValue)
|
|
2024
|
+
#endif
|
|
1845
2025
|
}
|
|
1846
2026
|
@objc(MasonAlign) public enum Align : Swift.Int, Swift.RawRepresentable {
|
|
1847
2027
|
case Auto
|
|
1848
2028
|
case Left
|
|
1849
2029
|
case Right
|
|
1850
2030
|
case Center
|
|
1851
|
-
public typealias RawValue = Swift.
|
|
2031
|
+
public typealias RawValue = Swift.Int8
|
|
1852
2032
|
public var rawValue: Mason.Align.RawValue {
|
|
1853
2033
|
get
|
|
1854
2034
|
}
|
|
2035
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1855
2036
|
public init?(rawValue: Mason.Align.RawValue)
|
|
2037
|
+
#endif
|
|
1856
2038
|
}
|
|
1857
2039
|
@objc(MasonTextAlign) public enum TextAlign : Swift.Int, Swift.RawRepresentable {
|
|
1858
2040
|
case Auto
|
|
@@ -1862,11 +2044,13 @@ extension UIKit.UIImage {
|
|
|
1862
2044
|
case Justify
|
|
1863
2045
|
case Start
|
|
1864
2046
|
case End
|
|
1865
|
-
public typealias RawValue = Swift.
|
|
2047
|
+
public typealias RawValue = Swift.Int8
|
|
1866
2048
|
public var rawValue: Mason.TextAlign.RawValue {
|
|
1867
2049
|
get
|
|
1868
2050
|
}
|
|
2051
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1869
2052
|
public init?(rawValue: Mason.TextAlign.RawValue)
|
|
2053
|
+
#endif
|
|
1870
2054
|
}
|
|
1871
2055
|
public func MasonDimensionFromPoints(value: Swift.Float) -> Mason.MasonDimension
|
|
1872
2056
|
public func MasonDimensionFromPercent(value: Swift.Float) -> Mason.MasonDimension
|
|
@@ -1878,9 +2062,11 @@ public enum MasonDimension : Swift.Codable, Swift.Equatable {
|
|
|
1878
2062
|
public var cssValue: Swift.String {
|
|
1879
2063
|
get
|
|
1880
2064
|
}
|
|
2065
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1881
2066
|
public var jsonValue: Swift.String? {
|
|
1882
2067
|
get
|
|
1883
2068
|
}
|
|
2069
|
+
#endif
|
|
1884
2070
|
public init(from decoder: any Swift.Decoder) throws
|
|
1885
2071
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1886
2072
|
public static func == (a: Mason.MasonDimension, b: Mason.MasonDimension) -> Swift.Bool
|
|
@@ -1895,9 +2081,11 @@ public enum MasonLengthPercentage : Swift.Codable, Swift.Equatable {
|
|
|
1895
2081
|
public var cssValue: Swift.String {
|
|
1896
2082
|
get
|
|
1897
2083
|
}
|
|
2084
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1898
2085
|
public var jsonValue: Swift.String? {
|
|
1899
2086
|
get
|
|
1900
2087
|
}
|
|
2088
|
+
#endif
|
|
1901
2089
|
public init(from decoder: any Swift.Decoder) throws
|
|
1902
2090
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1903
2091
|
public static func == (a: Mason.MasonLengthPercentage, b: Mason.MasonLengthPercentage) -> Swift.Bool
|
|
@@ -1913,9 +2101,11 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1913
2101
|
public var cssValue: Swift.String {
|
|
1914
2102
|
get
|
|
1915
2103
|
}
|
|
2104
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1916
2105
|
public var jsonValue: Swift.String? {
|
|
1917
2106
|
get
|
|
1918
2107
|
}
|
|
2108
|
+
#endif
|
|
1919
2109
|
public init(from decoder: any Swift.Decoder) throws
|
|
1920
2110
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1921
2111
|
}
|
|
@@ -1928,11 +2118,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1928
2118
|
case Stretch
|
|
1929
2119
|
case FlexStart
|
|
1930
2120
|
case FlexEnd
|
|
1931
|
-
public typealias RawValue = Swift.
|
|
2121
|
+
public typealias RawValue = Swift.Int8
|
|
1932
2122
|
public var rawValue: Mason.AlignItems.RawValue {
|
|
1933
2123
|
get
|
|
1934
2124
|
}
|
|
2125
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1935
2126
|
public init?(rawValue: Mason.AlignItems.RawValue)
|
|
2127
|
+
#endif
|
|
1936
2128
|
}
|
|
1937
2129
|
@objc(MasonAlignSelf) public enum AlignSelf : Swift.Int, Swift.RawRepresentable {
|
|
1938
2130
|
case Normal = -1
|
|
@@ -1943,11 +2135,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1943
2135
|
case Stretch
|
|
1944
2136
|
case FlexStart
|
|
1945
2137
|
case FlexEnd
|
|
1946
|
-
public typealias RawValue = Swift.
|
|
2138
|
+
public typealias RawValue = Swift.Int8
|
|
1947
2139
|
public var rawValue: Mason.AlignSelf.RawValue {
|
|
1948
2140
|
get
|
|
1949
2141
|
}
|
|
2142
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1950
2143
|
public init?(rawValue: Mason.AlignSelf.RawValue)
|
|
2144
|
+
#endif
|
|
1951
2145
|
}
|
|
1952
2146
|
@objc(MasonAlignContent) public enum AlignContent : Swift.Int, Swift.RawRepresentable {
|
|
1953
2147
|
case Normal = -1
|
|
@@ -1960,21 +2154,25 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1960
2154
|
case SpaceEvenly
|
|
1961
2155
|
case FlexStart
|
|
1962
2156
|
case FlexEnd
|
|
1963
|
-
public typealias RawValue = Swift.
|
|
2157
|
+
public typealias RawValue = Swift.Int8
|
|
1964
2158
|
public var rawValue: Mason.AlignContent.RawValue {
|
|
1965
2159
|
get
|
|
1966
2160
|
}
|
|
2161
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1967
2162
|
public init?(rawValue: Mason.AlignContent.RawValue)
|
|
2163
|
+
#endif
|
|
1968
2164
|
}
|
|
1969
2165
|
@objc(MasonDirection) public enum Direction : Swift.Int, Swift.RawRepresentable {
|
|
1970
2166
|
case Inherit
|
|
1971
2167
|
case LTR
|
|
1972
2168
|
case RTL
|
|
1973
|
-
public typealias RawValue = Swift.
|
|
2169
|
+
public typealias RawValue = Swift.Int8
|
|
1974
2170
|
public var rawValue: Mason.Direction.RawValue {
|
|
1975
2171
|
get
|
|
1976
2172
|
}
|
|
2173
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1977
2174
|
public init?(rawValue: Mason.Direction.RawValue)
|
|
2175
|
+
#endif
|
|
1978
2176
|
}
|
|
1979
2177
|
@objc(MasonDisplay) public enum Display : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1980
2178
|
case None
|
|
@@ -1985,11 +2183,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1985
2183
|
case InlineBlock
|
|
1986
2184
|
case InlineFlex
|
|
1987
2185
|
case InlineGrid
|
|
1988
|
-
public typealias RawValue = Swift.
|
|
2186
|
+
public typealias RawValue = Swift.Int8
|
|
1989
2187
|
public var rawValue: Mason.Display.RawValue {
|
|
1990
2188
|
get
|
|
1991
2189
|
}
|
|
2190
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1992
2191
|
public init?(rawValue: Mason.Display.RawValue)
|
|
2192
|
+
#endif
|
|
1993
2193
|
public var description: Swift.String {
|
|
1994
2194
|
get
|
|
1995
2195
|
}
|
|
@@ -1999,11 +2199,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1999
2199
|
case Column
|
|
2000
2200
|
case RowReverse
|
|
2001
2201
|
case ColumnReverse
|
|
2002
|
-
public typealias RawValue = Swift.
|
|
2202
|
+
public typealias RawValue = Swift.Int8
|
|
2003
2203
|
public var rawValue: Mason.FlexDirection.RawValue {
|
|
2004
2204
|
get
|
|
2005
2205
|
}
|
|
2206
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2006
2207
|
public init?(rawValue: Mason.FlexDirection.RawValue)
|
|
2208
|
+
#endif
|
|
2007
2209
|
public var description: Swift.String {
|
|
2008
2210
|
get
|
|
2009
2211
|
}
|
|
@@ -2017,11 +2219,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
2017
2219
|
case Stretch
|
|
2018
2220
|
case FlexStart
|
|
2019
2221
|
case FlexEnd
|
|
2020
|
-
public typealias RawValue = Swift.
|
|
2222
|
+
public typealias RawValue = Swift.Int8
|
|
2021
2223
|
public var rawValue: Mason.JustifyItems.RawValue {
|
|
2022
2224
|
get
|
|
2023
2225
|
}
|
|
2226
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2024
2227
|
public init?(rawValue: Mason.JustifyItems.RawValue)
|
|
2228
|
+
#endif
|
|
2025
2229
|
}
|
|
2026
2230
|
@objc(MasonJustifySelf) public enum JustifySelf : Swift.Int, Swift.RawRepresentable {
|
|
2027
2231
|
case Normal = -1
|
|
@@ -2032,11 +2236,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
2032
2236
|
case Stretch
|
|
2033
2237
|
case FlexStart
|
|
2034
2238
|
case FlexEnd
|
|
2035
|
-
public typealias RawValue = Swift.
|
|
2239
|
+
public typealias RawValue = Swift.Int8
|
|
2036
2240
|
public var rawValue: Mason.JustifySelf.RawValue {
|
|
2037
2241
|
get
|
|
2038
2242
|
}
|
|
2243
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2039
2244
|
public init?(rawValue: Mason.JustifySelf.RawValue)
|
|
2245
|
+
#endif
|
|
2040
2246
|
}
|
|
2041
2247
|
@objc(MasonJustifyContent) public enum JustifyContent : Swift.Int, Swift.RawRepresentable {
|
|
2042
2248
|
case Normal = -1
|
|
@@ -2049,11 +2255,13 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
2049
2255
|
case SpaceEvenly
|
|
2050
2256
|
case FlexStart
|
|
2051
2257
|
case FlexEnd
|
|
2052
|
-
public typealias RawValue = Swift.
|
|
2258
|
+
public typealias RawValue = Swift.Int8
|
|
2053
2259
|
public var rawValue: Mason.JustifyContent.RawValue {
|
|
2054
2260
|
get
|
|
2055
2261
|
}
|
|
2262
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2056
2263
|
public init?(rawValue: Mason.JustifyContent.RawValue)
|
|
2264
|
+
#endif
|
|
2057
2265
|
}
|
|
2058
2266
|
@objc(MasonOverflow) public enum Overflow : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
2059
2267
|
case Visible
|
|
@@ -2061,49 +2269,59 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
2061
2269
|
case Scroll
|
|
2062
2270
|
case Clip
|
|
2063
2271
|
case Auto
|
|
2064
|
-
public typealias RawValue = Swift.
|
|
2272
|
+
public typealias RawValue = Swift.Int8
|
|
2065
2273
|
public var rawValue: Mason.Overflow.RawValue {
|
|
2066
2274
|
get
|
|
2067
2275
|
}
|
|
2276
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2068
2277
|
public init?(rawValue: Mason.Overflow.RawValue)
|
|
2278
|
+
#endif
|
|
2069
2279
|
}
|
|
2070
2280
|
@objc(MasonPosition) public enum Position : Swift.Int, Swift.RawRepresentable {
|
|
2071
2281
|
case Relative
|
|
2072
2282
|
case Absolute
|
|
2073
|
-
public typealias RawValue = Swift.
|
|
2283
|
+
public typealias RawValue = Swift.Int8
|
|
2074
2284
|
public var rawValue: Mason.Position.RawValue {
|
|
2075
2285
|
get
|
|
2076
2286
|
}
|
|
2287
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2077
2288
|
public init?(rawValue: Mason.Position.RawValue)
|
|
2289
|
+
#endif
|
|
2078
2290
|
}
|
|
2079
2291
|
@objc(MasonFlexWrap) public enum FlexWrap : Swift.Int, Swift.RawRepresentable {
|
|
2080
2292
|
case NoWrap
|
|
2081
2293
|
case Wrap
|
|
2082
2294
|
case WrapReverse
|
|
2083
|
-
public typealias RawValue = Swift.
|
|
2295
|
+
public typealias RawValue = Swift.Int8
|
|
2084
2296
|
public var rawValue: Mason.FlexWrap.RawValue {
|
|
2085
2297
|
get
|
|
2086
2298
|
}
|
|
2299
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2087
2300
|
public init?(rawValue: Mason.FlexWrap.RawValue)
|
|
2301
|
+
#endif
|
|
2088
2302
|
}
|
|
2089
2303
|
@objc(MasonGridAutoFlowWrap) public enum GridAutoFlow : Swift.Int, Swift.RawRepresentable {
|
|
2090
2304
|
case Row
|
|
2091
2305
|
case Column
|
|
2092
2306
|
case RowDense
|
|
2093
2307
|
case ColumnDense
|
|
2094
|
-
public typealias RawValue = Swift.
|
|
2308
|
+
public typealias RawValue = Swift.Int8
|
|
2095
2309
|
public var rawValue: Mason.GridAutoFlow.RawValue {
|
|
2096
2310
|
get
|
|
2097
2311
|
}
|
|
2312
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2098
2313
|
public init?(rawValue: Mason.GridAutoFlow.RawValue)
|
|
2314
|
+
#endif
|
|
2099
2315
|
}
|
|
2100
2316
|
public enum GridPlacement : Swift.Codable {
|
|
2101
2317
|
case Auto
|
|
2102
2318
|
case Line(Swift.Int16)
|
|
2103
2319
|
case Span(Swift.Int16)
|
|
2320
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2104
2321
|
public var jsonValue: Swift.String? {
|
|
2105
2322
|
get
|
|
2106
2323
|
}
|
|
2324
|
+
#endif
|
|
2107
2325
|
public init(from decoder: any Swift.Decoder) throws
|
|
2108
2326
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
2109
2327
|
}
|
|
@@ -2111,11 +2329,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
2111
2329
|
case Auto
|
|
2112
2330
|
case Line
|
|
2113
2331
|
case Span
|
|
2114
|
-
public typealias RawValue = Swift.
|
|
2332
|
+
public typealias RawValue = Swift.Int8
|
|
2115
2333
|
public var rawValue: Mason.GridPlacementCompatType.RawValue {
|
|
2116
2334
|
get
|
|
2117
2335
|
}
|
|
2336
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2118
2337
|
public init?(rawValue: Mason.GridPlacementCompatType.RawValue)
|
|
2338
|
+
#endif
|
|
2119
2339
|
}
|
|
2120
2340
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonGridTrackRepetition) public class GridTrackRepetition : ObjectiveC.NSObject {
|
|
2121
2341
|
@objc public var cssValue: Swift.String {
|
|
@@ -2137,11 +2357,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
2137
2357
|
case Underline
|
|
2138
2358
|
case Overline
|
|
2139
2359
|
case LineThrough
|
|
2140
|
-
public typealias RawValue = Swift.
|
|
2360
|
+
public typealias RawValue = Swift.Int8
|
|
2141
2361
|
public var rawValue: Mason.DecorationLine.RawValue {
|
|
2142
2362
|
get
|
|
2143
2363
|
}
|
|
2364
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2144
2365
|
public init?(rawValue: Mason.DecorationLine.RawValue)
|
|
2366
|
+
#endif
|
|
2145
2367
|
}
|
|
2146
2368
|
@objc(MasonTextTransform) public enum TextTransform : Swift.Int, Swift.RawRepresentable {
|
|
2147
2369
|
case None
|
|
@@ -2151,21 +2373,25 @@ public enum GridPlacement : Swift.Codable {
|
|
|
2151
2373
|
case FullWidth
|
|
2152
2374
|
case FullSizeKana
|
|
2153
2375
|
case MathAuto
|
|
2154
|
-
public typealias RawValue = Swift.
|
|
2376
|
+
public typealias RawValue = Swift.Int8
|
|
2155
2377
|
public var rawValue: Mason.TextTransform.RawValue {
|
|
2156
2378
|
get
|
|
2157
2379
|
}
|
|
2380
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2158
2381
|
public init?(rawValue: Mason.TextTransform.RawValue)
|
|
2382
|
+
#endif
|
|
2159
2383
|
}
|
|
2160
2384
|
@objc(MasonFontStyle) public enum FontStyle : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2161
2385
|
case Normal
|
|
2162
2386
|
case Italic
|
|
2163
2387
|
case Oblique
|
|
2164
|
-
public typealias RawValue = Swift.
|
|
2388
|
+
public typealias RawValue = Swift.Int8
|
|
2165
2389
|
public var rawValue: Mason.FontStyle.RawValue {
|
|
2166
2390
|
get
|
|
2167
2391
|
}
|
|
2392
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2168
2393
|
public init?(rawValue: Mason.FontStyle.RawValue)
|
|
2394
|
+
#endif
|
|
2169
2395
|
public var description: Swift.String {
|
|
2170
2396
|
get
|
|
2171
2397
|
}
|
|
@@ -2175,11 +2401,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
2175
2401
|
case NoWrap
|
|
2176
2402
|
case Balance
|
|
2177
2403
|
case Pretty
|
|
2178
|
-
public typealias RawValue = Swift.
|
|
2404
|
+
public typealias RawValue = Swift.Int8
|
|
2179
2405
|
public var rawValue: Mason.TextWrap.RawValue {
|
|
2180
2406
|
get
|
|
2181
2407
|
}
|
|
2408
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2182
2409
|
public init?(rawValue: Mason.TextWrap.RawValue)
|
|
2410
|
+
#endif
|
|
2183
2411
|
public var description: Swift.String {
|
|
2184
2412
|
get
|
|
2185
2413
|
}
|
|
@@ -2191,11 +2419,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
2191
2419
|
case PreLine
|
|
2192
2420
|
case NoWrap
|
|
2193
2421
|
case BreakSpaces
|
|
2194
|
-
public typealias RawValue = Swift.
|
|
2422
|
+
public typealias RawValue = Swift.Int8
|
|
2195
2423
|
public var rawValue: Mason.WhiteSpace.RawValue {
|
|
2196
2424
|
get
|
|
2197
2425
|
}
|
|
2426
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2198
2427
|
public init?(rawValue: Mason.WhiteSpace.RawValue)
|
|
2428
|
+
#endif
|
|
2199
2429
|
public var description: Swift.String {
|
|
2200
2430
|
get
|
|
2201
2431
|
}
|
|
@@ -2205,11 +2435,13 @@ public enum GridPlacement : Swift.Codable {
|
|
|
2205
2435
|
case Pre
|
|
2206
2436
|
case PreWrap
|
|
2207
2437
|
case PreLine
|
|
2208
|
-
public typealias RawValue = Swift.
|
|
2438
|
+
public typealias RawValue = Swift.Int8
|
|
2209
2439
|
public var rawValue: Mason.LineHeight.RawValue {
|
|
2210
2440
|
get
|
|
2211
2441
|
}
|
|
2442
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2212
2443
|
public init?(rawValue: Mason.LineHeight.RawValue)
|
|
2444
|
+
#endif
|
|
2213
2445
|
public var description: Swift.String {
|
|
2214
2446
|
get
|
|
2215
2447
|
}
|
|
@@ -2218,14 +2450,16 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
2218
2450
|
case Clip
|
|
2219
2451
|
case Ellipse(Swift.String?)
|
|
2220
2452
|
case Custom(Swift.String)
|
|
2221
|
-
public typealias RawValue = Swift.
|
|
2453
|
+
public typealias RawValue = Swift.Int8
|
|
2222
2454
|
public var description: Swift.String {
|
|
2223
2455
|
get
|
|
2224
2456
|
}
|
|
2225
2457
|
}
|
|
2226
2458
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonTextOverflowCompat) public class TextOverflowCompat : ObjectiveC.NSObject {
|
|
2227
2459
|
@objc public static let Clip: Mason.TextOverflowCompat
|
|
2460
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2228
2461
|
@objc public static func Ellipse(_ value: Swift.String? = nil) -> Mason.TextOverflowCompat
|
|
2462
|
+
#endif
|
|
2229
2463
|
@objc public static func Custom(_ value: Swift.String) -> Mason.TextOverflowCompat
|
|
2230
2464
|
@objc override dynamic public var description: Swift.String {
|
|
2231
2465
|
@objc get
|
|
@@ -2238,11 +2472,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
2238
2472
|
case InterWord
|
|
2239
2473
|
case InterCharacter
|
|
2240
2474
|
case Distribute
|
|
2241
|
-
public typealias RawValue = Swift.
|
|
2475
|
+
public typealias RawValue = Swift.Int8
|
|
2242
2476
|
public var rawValue: Mason.TextJustify.RawValue {
|
|
2243
2477
|
get
|
|
2244
2478
|
}
|
|
2479
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2245
2480
|
public init?(rawValue: Mason.TextJustify.RawValue)
|
|
2481
|
+
#endif
|
|
2246
2482
|
public var description: Swift.String {
|
|
2247
2483
|
get
|
|
2248
2484
|
}
|
|
@@ -2253,11 +2489,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
2253
2489
|
case Dotted
|
|
2254
2490
|
case Dashed
|
|
2255
2491
|
case Wavy
|
|
2256
|
-
public typealias RawValue = Swift.
|
|
2492
|
+
public typealias RawValue = Swift.Int8
|
|
2257
2493
|
public var rawValue: Mason.DecorationStyle.RawValue {
|
|
2258
2494
|
get
|
|
2259
2495
|
}
|
|
2496
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2260
2497
|
public init?(rawValue: Mason.DecorationStyle.RawValue)
|
|
2498
|
+
#endif
|
|
2261
2499
|
public var description: Swift.String {
|
|
2262
2500
|
get
|
|
2263
2501
|
}
|
|
@@ -2266,11 +2504,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
2266
2504
|
case None
|
|
2267
2505
|
case Left
|
|
2268
2506
|
case Right
|
|
2269
|
-
public typealias RawValue = Swift.
|
|
2507
|
+
public typealias RawValue = Swift.Int8
|
|
2270
2508
|
public var rawValue: Mason.MasonFloat.RawValue {
|
|
2271
2509
|
get
|
|
2272
2510
|
}
|
|
2511
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2273
2512
|
public init?(rawValue: Mason.MasonFloat.RawValue)
|
|
2513
|
+
#endif
|
|
2274
2514
|
public var description: Swift.String {
|
|
2275
2515
|
get
|
|
2276
2516
|
}
|
|
@@ -2280,11 +2520,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
2280
2520
|
case Left
|
|
2281
2521
|
case Right
|
|
2282
2522
|
case Both
|
|
2283
|
-
public typealias RawValue = Swift.
|
|
2523
|
+
public typealias RawValue = Swift.Int8
|
|
2284
2524
|
public var rawValue: Mason.Clear.RawValue {
|
|
2285
2525
|
get
|
|
2286
2526
|
}
|
|
2527
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2287
2528
|
public init?(rawValue: Mason.Clear.RawValue)
|
|
2529
|
+
#endif
|
|
2288
2530
|
public var description: Swift.String {
|
|
2289
2531
|
get
|
|
2290
2532
|
}
|
|
@@ -2295,11 +2537,13 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
2295
2537
|
case Fill
|
|
2296
2538
|
case None
|
|
2297
2539
|
case ScaleDown
|
|
2298
|
-
public typealias RawValue = Swift.
|
|
2540
|
+
public typealias RawValue = Swift.Int8
|
|
2299
2541
|
public var rawValue: Mason.ObjectFit.RawValue {
|
|
2300
2542
|
get
|
|
2301
2543
|
}
|
|
2544
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2302
2545
|
public init?(rawValue: Mason.ObjectFit.RawValue)
|
|
2546
|
+
#endif
|
|
2303
2547
|
public var description: Swift.String {
|
|
2304
2548
|
get
|
|
2305
2549
|
}
|
|
@@ -2338,8 +2582,8 @@ public enum VerticalAlign {
|
|
|
2338
2582
|
public init(style: Mason.MasonStyle)
|
|
2339
2583
|
@objc deinit
|
|
2340
2584
|
}
|
|
2341
|
-
@objc(MasonInputType) public enum MasonInputType : Swift.
|
|
2342
|
-
public typealias RawValue = Swift.
|
|
2585
|
+
@objc(MasonInputType) public enum MasonInputType : Swift.Int8, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2586
|
+
public typealias RawValue = Swift.Int8
|
|
2343
2587
|
case Text
|
|
2344
2588
|
case Button
|
|
2345
2589
|
case Checkbox
|
|
@@ -2357,10 +2601,50 @@ public enum VerticalAlign {
|
|
|
2357
2601
|
public var description: Swift.String {
|
|
2358
2602
|
get
|
|
2359
2603
|
}
|
|
2604
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2360
2605
|
public init?(rawValue: Swift.Int32)
|
|
2606
|
+
#endif
|
|
2361
2607
|
public var rawValue: Swift.Int32 {
|
|
2362
2608
|
get
|
|
2363
2609
|
}
|
|
2610
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2611
|
+
public init?(rawValue: Swift.Int8)
|
|
2612
|
+
#endif
|
|
2613
|
+
public var rawValue: Swift.Int8 {
|
|
2614
|
+
get
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
@objc(MasonListStylePosition) public enum ListStylePosition : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2618
|
+
case Outside
|
|
2619
|
+
case Inside
|
|
2620
|
+
public typealias RawValue = Swift.Int8
|
|
2621
|
+
public var rawValue: Mason.ListStylePosition.RawValue {
|
|
2622
|
+
get
|
|
2623
|
+
}
|
|
2624
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2625
|
+
public init?(rawValue: Mason.ListStylePosition.RawValue)
|
|
2626
|
+
#endif
|
|
2627
|
+
public var description: Swift.String {
|
|
2628
|
+
get
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
@objc(MasonListStyleType) public enum ListStyleType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2632
|
+
case None
|
|
2633
|
+
case Custom
|
|
2634
|
+
case Disc
|
|
2635
|
+
case Circle
|
|
2636
|
+
case Square
|
|
2637
|
+
case Decimal
|
|
2638
|
+
public typealias RawValue = Swift.Int8
|
|
2639
|
+
public var rawValue: Mason.ListStyleType.RawValue {
|
|
2640
|
+
get
|
|
2641
|
+
}
|
|
2642
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
2643
|
+
public init?(rawValue: Mason.ListStyleType.RawValue)
|
|
2644
|
+
#endif
|
|
2645
|
+
public var description: Swift.String {
|
|
2646
|
+
get
|
|
2647
|
+
}
|
|
2364
2648
|
}
|
|
2365
2649
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2366
2650
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
@@ -2580,7 +2864,7 @@ public enum VerticalAlign {
|
|
|
2580
2864
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxSizeWidth() -> Mason.MasonDimensionCompat
|
|
2581
2865
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxSizeHeight() -> Mason.MasonDimensionCompat
|
|
2582
2866
|
@objc @_Concurrency.MainActor @preconcurrency public func setGap(_ width: Swift.Float, _ height: Swift.Float)
|
|
2583
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setGapWithWidthHeightType(_ width: Swift.Float, _ width_type: Swift.
|
|
2867
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setGapWithWidthHeightType(_ width: Swift.Float, _ width_type: Swift.Int8, _ height: Swift.Float, _ height_type: Swift.Int8)
|
|
2584
2868
|
@objc @_Concurrency.MainActor @preconcurrency public func getGap() -> Mason.MasonLengthPercentageSizeCompat
|
|
2585
2869
|
@objc @_Concurrency.MainActor @preconcurrency public func setRowGap(_ row: Swift.Float, _ type: Swift.Int)
|
|
2586
2870
|
@objc @_Concurrency.MainActor @preconcurrency public func setColumnGap(_ column: Swift.Float, _ type: Swift.Int)
|
|
@@ -2616,6 +2900,27 @@ public enum VerticalAlign {
|
|
|
2616
2900
|
}
|
|
2617
2901
|
@objc deinit
|
|
2618
2902
|
}
|
|
2903
|
+
@_hasMissingDesignatedInitializers @objc(MasonLi) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonLi : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2904
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2905
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
2906
|
+
@_Concurrency.MainActor @preconcurrency @objc public var node: Mason.MasonNode {
|
|
2907
|
+
get
|
|
2908
|
+
}
|
|
2909
|
+
@objc @_Concurrency.MainActor @preconcurrency public var mason: Mason.NSCMason {
|
|
2910
|
+
get
|
|
2911
|
+
}
|
|
2912
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2913
|
+
@objc get
|
|
2914
|
+
}
|
|
2915
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2916
|
+
@objc get
|
|
2917
|
+
}
|
|
2918
|
+
@objc @_Concurrency.MainActor @preconcurrency public var isOrdered: Swift.Bool
|
|
2919
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2920
|
+
@objc @_Concurrency.MainActor @preconcurrency public func resetForRecycle()
|
|
2921
|
+
@objc @_Concurrency.MainActor @preconcurrency public func bind(position: Swift.Int, isOrdered: Swift.Bool)
|
|
2922
|
+
@objc deinit
|
|
2923
|
+
}
|
|
2619
2924
|
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
2620
2925
|
extension Mason.NSCFontDisplay : Swift.Hashable {}
|
|
2621
2926
|
extension Mason.NSCFontWeight : Swift.Equatable {}
|
|
@@ -2624,10 +2929,10 @@ extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
|
2624
2929
|
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
2625
2930
|
extension Mason.CSSBorderRenderer.Side : Swift.Equatable {}
|
|
2626
2931
|
extension Mason.CSSBorderRenderer.Side : Swift.Hashable {}
|
|
2627
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2628
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2629
2932
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
2630
2933
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2934
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2935
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2631
2936
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
2632
2937
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
2633
2938
|
extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
@@ -2702,3 +3007,7 @@ extension Mason.VerticalAlign : Swift.Equatable {}
|
|
|
2702
3007
|
extension Mason.VerticalAlign : Swift.Hashable {}
|
|
2703
3008
|
extension Mason.MasonInputType : Swift.Equatable {}
|
|
2704
3009
|
extension Mason.MasonInputType : Swift.Hashable {}
|
|
3010
|
+
extension Mason.ListStylePosition : Swift.Equatable {}
|
|
3011
|
+
extension Mason.ListStylePosition : Swift.Hashable {}
|
|
3012
|
+
extension Mason.ListStyleType : Swift.Equatable {}
|
|
3013
|
+
extension Mason.ListStyleType : Swift.Hashable {}
|