@triniwiz/nativescript-masonkit 1.0.0-beta.7 → 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/DOCS.md +930 -0
- package/br/index.android.d.ts +10 -0
- package/br/index.android.js +31 -0
- package/br/index.android.js.map +1 -0
- package/br/index.ios.d.ts +11 -0
- package/br/index.ios.js +30 -0
- package/br/index.ios.js.map +1 -0
- package/button/index.android.d.ts +4 -2
- package/button/index.android.js +9 -5
- package/button/index.android.js.map +1 -1
- package/button/index.ios.d.ts +4 -5
- package/button/index.ios.js +17 -71
- package/button/index.ios.js.map +1 -1
- package/common.d.ts +207 -73
- package/common.js +1236 -1392
- package/common.js.map +1 -1
- package/img/index.android.d.ts +5 -4
- package/img/index.android.js +18 -6
- package/img/index.android.js.map +1 -1
- package/img/index.ios.d.ts +3 -2
- package/img/index.ios.js +27 -21
- package/img/index.ios.js.map +1 -1
- package/index.android.d.ts +7 -1
- package/index.android.js +7 -1
- package/index.android.js.map +1 -1
- package/index.d.ts +129 -2
- package/index.ios.d.ts +7 -1
- package/index.ios.js +7 -1
- package/index.ios.js.map +1 -1
- package/input/common.d.ts +20 -0
- package/input/common.js +65 -0
- package/input/common.js.map +1 -0
- package/input/index.android.d.ts +20 -0
- package/input/index.android.js +118 -0
- package/input/index.android.js.map +1 -0
- package/input/index.ios.d.ts +23 -0
- package/input/index.ios.js +171 -0
- package/input/index.ios.js.map +1 -0
- package/li/index.android.d.ts +12 -0
- package/li/index.android.js +57 -0
- package/li/index.android.js.map +1 -0
- package/li/index.ios.d.ts +14 -0
- package/li/index.ios.js +128 -0
- package/li/index.ios.js.map +1 -0
- package/list/common.d.ts +33 -0
- package/list/common.js +157 -0
- package/list/common.js.map +1 -0
- package/list/index.android.d.ts +28 -0
- package/list/index.android.js +155 -0
- package/list/index.android.js.map +1 -0
- package/list/index.ios.d.ts +42 -0
- package/list/index.ios.js +321 -0
- package/list/index.ios.js.map +1 -0
- package/package.json +8 -2
- 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 +572 -176
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +181 -50
- 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 +74785 -40729
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +1429 -346
- 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 +1429 -346
- 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 -4294
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +1144 -352
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +181 -50
- 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 +72517 -38461
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1674 -591
- 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 +1674 -591
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +72517 -38461
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1674 -591
- 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 +1674 -591
- 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 +31 -31
- 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 -4291
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +7982 -4167
- package/properties.d.ts +83 -0
- package/properties.js +1345 -0
- package/properties.js.map +1 -0
- package/pseudo.d.ts +9 -0
- package/pseudo.js +58 -0
- package/pseudo.js.map +1 -0
- package/scroll/index.android.d.ts +3 -2
- package/scroll/index.android.js +20 -5
- package/scroll/index.android.js.map +1 -1
- package/scroll/index.ios.d.ts +7 -4
- package/scroll/index.ios.js +88 -26
- package/scroll/index.ios.js.map +1 -1
- package/style.d.ts +231 -12
- package/style.js +1982 -811
- package/style.js.map +1 -1
- package/symbols.d.ts +12 -0
- package/symbols.js +13 -0
- package/symbols.js.map +1 -0
- package/text/index.android.d.ts +11 -5
- package/text/index.android.js +86 -104
- package/text/index.android.js.map +1 -1
- package/text/index.ios.d.ts +14 -11
- package/text/index.ios.js +111 -181
- package/text/index.ios.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/textarea/common.d.ts +8 -0
- package/textarea/common.js +28 -0
- package/textarea/common.js.map +1 -0
- package/textarea/index.android.d.ts +15 -0
- package/textarea/index.android.js +71 -0
- package/textarea/index.android.js.map +1 -0
- package/textarea/index.ios.d.ts +18 -0
- package/textarea/index.ios.js +134 -0
- package/textarea/index.ios.js.map +1 -0
- package/tree/index.android.d.ts +15 -2
- package/tree/index.android.js +83 -8
- package/tree/index.android.js.map +1 -1
- package/tree/index.ios.d.ts +24 -1
- package/tree/index.ios.js +72 -8
- package/tree/index.ios.js.map +1 -1
- package/utils/index.android.d.ts +13 -1
- package/utils/index.android.js +1 -1
- package/utils/index.android.js.map +1 -1
- package/utils/index.ios.d.ts +13 -1
- package/utils/index.ios.js +1 -1
- package/utils/index.ios.js.map +1 -1
- package/view/index.android.d.ts +3 -2
- package/view/index.android.js +22 -5
- package/view/index.android.js.map +1 -1
- package/view/index.ios.d.ts +4 -2
- package/view/index.ios.js +86 -16
- package/view/index.ios.js.map +1 -1
- package/web.d.ts +6 -0
- package/web.js +22 -0
- package/web.js.map +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +0 -100
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +0 -100
|
@@ -1,114 +1,24 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.1
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios15.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios15.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Mason
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
|
|
5
5
|
import CoreImage.CIFilterBuiltins
|
|
6
6
|
import CoreGraphics
|
|
7
7
|
import CoreImage
|
|
8
8
|
import CoreText
|
|
9
|
+
import FontManager
|
|
9
10
|
import Foundation
|
|
10
11
|
@_exported import Mason
|
|
12
|
+
import MetalKit
|
|
13
|
+
import MetalPerformanceShaders
|
|
14
|
+
import QuartzCore
|
|
11
15
|
import Swift
|
|
12
16
|
import UIKit
|
|
17
|
+
import UniformTypeIdentifiers
|
|
13
18
|
import _Concurrency
|
|
14
19
|
import _StringProcessing
|
|
15
20
|
import _SwiftConcurrencyShims
|
|
16
|
-
|
|
17
|
-
case auto
|
|
18
|
-
case block
|
|
19
|
-
case fallback
|
|
20
|
-
case optional
|
|
21
|
-
case swap
|
|
22
|
-
public typealias RawValue = Swift.Int
|
|
23
|
-
public init?(rawValue: Swift.Int)
|
|
24
|
-
public var rawValue: Swift.Int {
|
|
25
|
-
get
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
@objc(NSCFontWeight) public enum NSCFontWeight : Swift.Int, Swift.RawRepresentable, Swift.Codable, Swift.CustomStringConvertible {
|
|
29
|
-
case thin
|
|
30
|
-
case extraLight
|
|
31
|
-
case light
|
|
32
|
-
case normal
|
|
33
|
-
case medium
|
|
34
|
-
case semiBold
|
|
35
|
-
case bold
|
|
36
|
-
case extraBold
|
|
37
|
-
case black
|
|
38
|
-
public var description: Swift.String {
|
|
39
|
-
get
|
|
40
|
-
}
|
|
41
|
-
public typealias RawValue = Swift.Int
|
|
42
|
-
public init?(rawValue: Swift.Int)
|
|
43
|
-
public var rawValue: Swift.Int {
|
|
44
|
-
get
|
|
45
|
-
}
|
|
46
|
-
public var uiFontWeight: UIKit.UIFont.Weight {
|
|
47
|
-
get
|
|
48
|
-
}
|
|
49
|
-
public static func from(uiFontWeight: UIKit.UIFont.Weight) -> Mason.NSCFontWeight
|
|
50
|
-
}
|
|
51
|
-
@objcMembers @objc(NSCFontDescriptors) public class NSCFontDescriptors : ObjectiveC.NSObject, Swift.Codable {
|
|
52
|
-
@objc public init(family: Swift.String)
|
|
53
|
-
@objc public func update(_ value: Swift.String)
|
|
54
|
-
@objc public func setFontWeight(_ value: Swift.String)
|
|
55
|
-
@objc public func setFontStyle(_ value: Swift.String)
|
|
56
|
-
@objc deinit
|
|
57
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
58
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
59
|
-
}
|
|
60
|
-
@objc(NSCFontFaceStatus) public enum NSCFontFaceStatus : Swift.Int, Swift.RawRepresentable {
|
|
61
|
-
case unloaded
|
|
62
|
-
case loading
|
|
63
|
-
case loaded
|
|
64
|
-
case error
|
|
65
|
-
public typealias RawValue = Swift.Int
|
|
66
|
-
public init?(rawValue: Swift.Int)
|
|
67
|
-
public var rawValue: Swift.Int {
|
|
68
|
-
get
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
@objcMembers @objc(NSCFontFace) public class NSCFontFace : ObjectiveC.NSObject {
|
|
72
|
-
@objc public var font: CoreGraphics.CGFont? {
|
|
73
|
-
get
|
|
74
|
-
}
|
|
75
|
-
@objc public var fontData: Foundation.NSData? {
|
|
76
|
-
get
|
|
77
|
-
}
|
|
78
|
-
@objc public func updateDescriptor(value: Swift.String)
|
|
79
|
-
@objc public static func loadFromStyle(style: Swift.String) -> Mason.NSCFontFace?
|
|
80
|
-
@objc public static func importFromRemote(url: Swift.String, load: Swift.Bool, callback: @escaping ([Mason.NSCFontFace]?, Swift.String?) -> Swift.Void)
|
|
81
|
-
@objc public init(family: Swift.String)
|
|
82
|
-
@objc public init(family: Swift.String, owner style: Mason.MasonStyle)
|
|
83
|
-
@objc public init(family: Swift.String, source: Swift.String)
|
|
84
|
-
@objc public init(family: Swift.String, data source: Foundation.NSData)
|
|
85
|
-
@objc public init(_ family: Swift.String, _ source: Swift.String? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
86
|
-
@objc public init(_ family: Swift.String, data: Foundation.NSData? = nil, _ descriptors: Mason.NSCFontDescriptors? = nil)
|
|
87
|
-
@objc public var status: Mason.NSCFontFaceStatus
|
|
88
|
-
@objc public var display: Mason.NSCFontDisplay
|
|
89
|
-
@objc public func setFontDisplay(value: Swift.String)
|
|
90
|
-
@objc public var style: Swift.String {
|
|
91
|
-
@objc get
|
|
92
|
-
@objc set
|
|
93
|
-
}
|
|
94
|
-
@objc public func setFontStyle(value: Swift.String, angle: Swift.String?)
|
|
95
|
-
@objc public var weight: Mason.NSCFontWeight {
|
|
96
|
-
@objc get
|
|
97
|
-
@objc set
|
|
98
|
-
}
|
|
99
|
-
@objc public func setFontWeight(value: Swift.String)
|
|
100
|
-
@objc public var family: Swift.String {
|
|
101
|
-
@objc get
|
|
102
|
-
}
|
|
103
|
-
@objc public var ascentOverride: Swift.String {
|
|
104
|
-
@objc get
|
|
105
|
-
}
|
|
106
|
-
@objc public var descentOverride: Swift.String {
|
|
107
|
-
@objc get
|
|
108
|
-
}
|
|
109
|
-
@objc public func load(_ callback: @escaping (Swift.String?) -> Swift.Void)
|
|
110
|
-
@objc deinit
|
|
111
|
-
}
|
|
21
|
+
import simd
|
|
112
22
|
@objcMembers @objc(MasonDocument) public class MasonDocument : ObjectiveC.NSObject {
|
|
113
23
|
@objc final public let node: Mason.MasonNode
|
|
114
24
|
@objc final public let mason: Mason.NSCMason
|
|
@@ -170,14 +80,14 @@ final public class CSSBorderRenderer {
|
|
|
170
80
|
case ridge
|
|
171
81
|
case inset
|
|
172
82
|
case outset
|
|
173
|
-
public init?(rawValue: Swift.
|
|
174
|
-
public var rawValue: Swift.
|
|
83
|
+
public init?(rawValue: Swift.Int8)
|
|
84
|
+
public var rawValue: Swift.Int8 {
|
|
175
85
|
get
|
|
176
86
|
}
|
|
177
87
|
public init?(name: Swift.String)
|
|
178
88
|
public static func == (a: Mason.CSSBorderRenderer.BorderStyle, b: Mason.CSSBorderRenderer.BorderStyle) -> Swift.Bool
|
|
179
89
|
}
|
|
180
|
-
public
|
|
90
|
+
public class BorderSide : Swift.CustomStringConvertible {
|
|
181
91
|
public var description: Swift.String {
|
|
182
92
|
get
|
|
183
93
|
}
|
|
@@ -195,6 +105,7 @@ final public class CSSBorderRenderer {
|
|
|
195
105
|
set
|
|
196
106
|
}
|
|
197
107
|
public init(style: Mason.MasonStyle, side sideType: Mason.CSSBorderRenderer.Side)
|
|
108
|
+
@objc deinit
|
|
198
109
|
}
|
|
199
110
|
public struct CornerRadius : Swift.Equatable {
|
|
200
111
|
public var horizontal: Mason.MasonLengthPercentage
|
|
@@ -205,7 +116,7 @@ final public class CSSBorderRenderer {
|
|
|
205
116
|
}
|
|
206
117
|
public static func == (a: Mason.CSSBorderRenderer.CornerRadius, b: Mason.CSSBorderRenderer.CornerRadius) -> Swift.Bool
|
|
207
118
|
}
|
|
208
|
-
public struct BorderRadius {
|
|
119
|
+
public struct BorderRadius : Swift.Equatable {
|
|
209
120
|
public var topLeft: Mason.CSSBorderRenderer.CornerRadius
|
|
210
121
|
public var topRight: Mason.CSSBorderRenderer.CornerRadius
|
|
211
122
|
public var bottomRight: Mason.CSSBorderRenderer.CornerRadius
|
|
@@ -213,6 +124,7 @@ final public class CSSBorderRenderer {
|
|
|
213
124
|
public static var zero: Mason.CSSBorderRenderer.BorderRadius {
|
|
214
125
|
get
|
|
215
126
|
}
|
|
127
|
+
public static func == (a: Mason.CSSBorderRenderer.BorderRadius, b: Mason.CSSBorderRenderer.BorderRadius) -> Swift.Bool
|
|
216
128
|
}
|
|
217
129
|
final public var top: Mason.CSSBorderRenderer.BorderSide
|
|
218
130
|
final public var right: Mason.CSSBorderRenderer.BorderSide
|
|
@@ -220,6 +132,9 @@ final public class CSSBorderRenderer {
|
|
|
220
132
|
final public var left: Mason.CSSBorderRenderer.BorderSide
|
|
221
133
|
final public var radius: Mason.CSSBorderRenderer.BorderRadius
|
|
222
134
|
public init(style: Mason.MasonStyle)
|
|
135
|
+
final public func hasRadii() -> Swift.Bool
|
|
136
|
+
final public func getClipPath(rect: CoreFoundation.CGRect, radius: Mason.CSSBorderRenderer.BorderRadius) -> UIKit.UIBezierPath
|
|
137
|
+
final public func invalidateCache()
|
|
223
138
|
final public func draw(in ctx: CoreGraphics.CGContext, rect: CoreFoundation.CGRect)
|
|
224
139
|
public enum Side {
|
|
225
140
|
case top, right, bottom, left
|
|
@@ -231,7 +146,7 @@ final public class CSSBorderRenderer {
|
|
|
231
146
|
}
|
|
232
147
|
@objc deinit
|
|
233
148
|
}
|
|
234
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(MasonButton) @_Concurrency.MainActor @preconcurrency public class Button : UIKit.UIControl, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
149
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(MasonButton) @_Concurrency.MainActor @preconcurrency public class Button : UIKit.UIControl, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
235
150
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
236
151
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
237
152
|
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
@@ -251,19 +166,24 @@ final public class CSSBorderRenderer {
|
|
|
251
166
|
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
252
167
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
253
168
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
169
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
170
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
171
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
172
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
254
173
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
255
174
|
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
256
175
|
@objc get
|
|
257
176
|
}
|
|
258
|
-
@_Concurrency.MainActor @preconcurrency @objc public func
|
|
177
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
259
178
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
260
179
|
@objc deinit
|
|
261
180
|
}
|
|
262
181
|
extension Mason.Button {
|
|
263
182
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesBegan(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
264
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
265
183
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesEnded(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
266
184
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesCancelled(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
185
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
|
|
186
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
|
|
267
187
|
}
|
|
268
188
|
@_inheritsConvenienceInitializers @objc(NSCMason) @objcMembers public class NSCMason : ObjectiveC.NSObject {
|
|
269
189
|
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
@@ -279,6 +199,17 @@ extension Mason.Button {
|
|
|
279
199
|
@objc public func styleForViewOrNode(_ viewOrNode: Any?) -> Mason.MasonStyle?
|
|
280
200
|
@objc @discardableResult
|
|
281
201
|
public func layoutForView(_ view: UIKit.UIView) -> Mason.MasonLayout
|
|
202
|
+
@objc @discardableResult
|
|
203
|
+
public func addEventListener(_ node: Mason.MasonNode, _ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
204
|
+
@objc @discardableResult
|
|
205
|
+
public func removeEventListener(_ node: Mason.MasonNode, _ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
206
|
+
@objc @discardableResult
|
|
207
|
+
public func removeEventListener(_ node: Mason.MasonNode, _ event: Swift.String) -> Swift.Bool
|
|
208
|
+
@objc public func dispatch(_ event: Mason.MasonEvent, _ node: Mason.MasonNode)
|
|
209
|
+
@objc public var htmlParser: Mason.HTMLParser {
|
|
210
|
+
@objc get
|
|
211
|
+
@objc set
|
|
212
|
+
}
|
|
282
213
|
@objc public func clear()
|
|
283
214
|
@objc public func createDocument() -> Mason.MasonDocument
|
|
284
215
|
@objc public func createView() -> Mason.MasonUIView
|
|
@@ -291,9 +222,22 @@ extension Mason.Button {
|
|
|
291
222
|
@objc public func createNode() -> Mason.MasonNode
|
|
292
223
|
public func createNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
293
224
|
@objc public func createBr() -> Mason.MasonBr
|
|
225
|
+
@objc public func createInput(_ type: Mason.MasonInputType = .Text) -> Mason.MasonInput
|
|
294
226
|
@objc public func printTree(_ node: Mason.MasonNode)
|
|
295
227
|
@objc public func createTextNode() -> Mason.MasonNode
|
|
296
228
|
@objc public func createImageNode() -> Mason.MasonNode
|
|
229
|
+
@objc public func createButtonNode() -> Mason.MasonNode
|
|
230
|
+
@objc public func createLineBreakNode() -> Mason.MasonNode
|
|
231
|
+
@objc public func createListView(isOrdered: Swift.Bool = false) -> Mason.MasonList
|
|
232
|
+
public func createListItemNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
|
|
233
|
+
@objc public func createListItemNode() -> Mason.MasonNode
|
|
234
|
+
@objc public func createListItem() -> Mason.MasonLi
|
|
235
|
+
@objc public func createTextArea() -> Mason.MasonTextArea
|
|
236
|
+
@objc public var preflight: Swift.Bool {
|
|
237
|
+
@objc get
|
|
238
|
+
@objc set
|
|
239
|
+
}
|
|
240
|
+
@objc public static let scale: Swift.Float
|
|
297
241
|
}
|
|
298
242
|
@_inheritsConvenienceInitializers @objcMembers @objc(MeasureOutput) public class MeasureOutput : ObjectiveC.NSObject {
|
|
299
243
|
@objc override dynamic public init()
|
|
@@ -371,6 +315,21 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
371
315
|
}
|
|
372
316
|
public init?(rawValue: Swift.Int32)
|
|
373
317
|
}
|
|
318
|
+
@objc(PseudoState) public enum PseudoState : Swift.UInt16 {
|
|
319
|
+
case `default` = 0
|
|
320
|
+
case hover = 0x01
|
|
321
|
+
case active = 0x02
|
|
322
|
+
case focus = 0x04
|
|
323
|
+
case focusWithin = 0x08
|
|
324
|
+
case focusVisible = 0x10
|
|
325
|
+
case disabled = 0x40
|
|
326
|
+
case checked = 0x80
|
|
327
|
+
public init?(rawValue: Swift.UInt16)
|
|
328
|
+
public typealias RawValue = Swift.UInt16
|
|
329
|
+
public var rawValue: Swift.UInt16 {
|
|
330
|
+
get
|
|
331
|
+
}
|
|
332
|
+
}
|
|
374
333
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
375
334
|
@objc public var mason: Mason.NSCMason {
|
|
376
335
|
get
|
|
@@ -383,10 +342,26 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
383
342
|
@objc public var computedLayout: Mason.MasonLayout {
|
|
384
343
|
get
|
|
385
344
|
}
|
|
345
|
+
@objc public var isLayoutValid: Swift.Bool
|
|
386
346
|
@objc public var document: Mason.MasonDocument? {
|
|
387
347
|
get
|
|
388
348
|
}
|
|
389
349
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
350
|
+
@objc public func setPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String, _ value: Swift.String)
|
|
351
|
+
@objc public func getPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String) -> Swift.String?
|
|
352
|
+
@objc public func clearPseudoString(_ pseudoState: Swift.UInt16, _ key: Swift.String)
|
|
353
|
+
@objc public var pseudoMask: Swift.UInt16 {
|
|
354
|
+
@objc get
|
|
355
|
+
}
|
|
356
|
+
@objc public func hasPseudo(_ state: Mason.PseudoState) -> Swift.Bool
|
|
357
|
+
@objc public func setPseudo(_ state: Mason.PseudoState, _ enabled: Swift.Bool, autoDirty: Swift.Bool = true)
|
|
358
|
+
@objc public func getPseudoBuffer(_ flags: Swift.UInt16) -> Foundation.NSMutableData?
|
|
359
|
+
@objc public func preparePseudoBuffer(_ flags: Swift.UInt16) -> Foundation.NSMutableData
|
|
360
|
+
public func hasPseudoSetFor(_ key: Mason.StateKeys) -> Swift.Bool
|
|
361
|
+
public func hasPseudoSetInBuffer(_ flags: Swift.UInt16, _ key: Mason.StateKeys) -> Swift.Bool
|
|
362
|
+
public func getPseudoSetFlags(_ flags: Swift.UInt16) -> Mason.StateKeys
|
|
363
|
+
public static func markPseudoSet(buf: Swift.UnsafeMutableBufferPointer<Swift.UInt8>, key: Mason.StateKeys)
|
|
364
|
+
public static func markPseudoSet(_ buf: Foundation.NSMutableData, _ key: Mason.StateKeys)
|
|
390
365
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
391
366
|
@objc public var parent: Mason.MasonNode? {
|
|
392
367
|
@objc get
|
|
@@ -418,6 +393,7 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
|
|
|
418
393
|
extension Mason.MasonNode {
|
|
419
394
|
@objc dynamic public func setChildren(value: [Mason.MasonNode])
|
|
420
395
|
@objc dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
396
|
+
@objc dynamic public func removeAllChildren()
|
|
421
397
|
}
|
|
422
398
|
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
423
399
|
@objc var style: Mason.MasonStyle { get }
|
|
@@ -428,6 +404,7 @@ public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
|
428
404
|
var style: Mason.MasonStyle { get }
|
|
429
405
|
var node: Mason.MasonNode { get }
|
|
430
406
|
var uiView: UIKit.UIView { get }
|
|
407
|
+
var innerHTML: Swift.String { get set }
|
|
431
408
|
func markNodeDirty()
|
|
432
409
|
func isNodeDirty() -> Swift.Bool
|
|
433
410
|
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
@@ -464,14 +441,20 @@ public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
|
464
441
|
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
465
442
|
}
|
|
466
443
|
extension Mason.MasonElement {
|
|
444
|
+
public var innerHTML: Swift.String {
|
|
445
|
+
get
|
|
446
|
+
set
|
|
447
|
+
}
|
|
448
|
+
public func dispatch(_ event: Mason.MasonEvent)
|
|
467
449
|
public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
468
|
-
public func syncStyle(_
|
|
450
|
+
public func syncStyle(_ low: Swift.String, _ high: Swift.String)
|
|
469
451
|
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
470
452
|
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
471
453
|
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
472
454
|
public func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
473
455
|
public func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
474
456
|
public func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
457
|
+
public func removeAllChildren()
|
|
475
458
|
public var style: Mason.MasonStyle {
|
|
476
459
|
get
|
|
477
460
|
}
|
|
@@ -481,6 +464,7 @@ extension Mason.MasonElement {
|
|
|
481
464
|
public func invalidateLayout()
|
|
482
465
|
public func addView(_ view: UIKit.UIView)
|
|
483
466
|
public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
467
|
+
public func autoComputeIfRoot()
|
|
484
468
|
public func append(_ element: any Mason.MasonElement)
|
|
485
469
|
public func append(text: Swift.String)
|
|
486
470
|
public func append(node childNode: Mason.MasonNode)
|
|
@@ -529,38 +513,326 @@ extension Mason.MasonElement {
|
|
|
529
513
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
530
514
|
@objc deinit
|
|
531
515
|
}
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
@
|
|
535
|
-
|
|
536
|
-
@
|
|
537
|
-
|
|
538
|
-
|
|
516
|
+
public protocol MasonEventTarget {
|
|
517
|
+
var node: Mason.MasonNode { get }
|
|
518
|
+
@discardableResult
|
|
519
|
+
func addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
520
|
+
@discardableResult
|
|
521
|
+
func removeEventListener(_ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
522
|
+
@discardableResult
|
|
523
|
+
func removeEventListener(_ event: Swift.String) -> Swift.Bool
|
|
524
|
+
func dispatch(_ event: Mason.MasonEvent)
|
|
525
|
+
}
|
|
526
|
+
extension Mason.MasonEventTarget {
|
|
527
|
+
@discardableResult
|
|
528
|
+
public func addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
529
|
+
@discardableResult
|
|
530
|
+
public func removeEventListener(_ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
531
|
+
@discardableResult
|
|
532
|
+
public func removeEventListener(_ event: Swift.String) -> Swift.Bool
|
|
533
|
+
}
|
|
534
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonInput) @_Concurrency.MainActor @preconcurrency public class MasonInput : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement {
|
|
535
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
536
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
537
|
+
@objc @_Concurrency.MainActor @preconcurrency public var multiple: Swift.Bool {
|
|
538
|
+
@objc get
|
|
539
|
+
@objc set
|
|
540
|
+
}
|
|
541
|
+
@objc @_Concurrency.MainActor @preconcurrency public var accept: Swift.String
|
|
542
|
+
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
543
|
+
@objc get
|
|
544
|
+
}
|
|
545
|
+
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
546
|
+
@objc get
|
|
547
|
+
}
|
|
548
|
+
@objc @_Concurrency.MainActor @preconcurrency public var type: Mason.MasonInputType {
|
|
549
|
+
@objc get
|
|
550
|
+
@objc set
|
|
551
|
+
}
|
|
552
|
+
@objc @_Concurrency.MainActor @preconcurrency public var size: Swift.Int32 {
|
|
553
|
+
@objc get
|
|
554
|
+
@objc set
|
|
555
|
+
}
|
|
556
|
+
@objc @_Concurrency.MainActor @preconcurrency public var value: Swift.String {
|
|
557
|
+
@objc get
|
|
558
|
+
@objc set
|
|
559
|
+
}
|
|
560
|
+
@objc @_Concurrency.MainActor @preconcurrency public var valueAsNumber: Swift.Double {
|
|
561
|
+
@objc get
|
|
562
|
+
@objc set
|
|
563
|
+
}
|
|
564
|
+
@objc @_Concurrency.MainActor @preconcurrency public var valueAsDate: Foundation.Date? {
|
|
565
|
+
@objc get
|
|
566
|
+
@objc set
|
|
567
|
+
}
|
|
568
|
+
@objc @_Concurrency.MainActor @preconcurrency public var placeholder: Swift.String {
|
|
569
|
+
@objc get
|
|
570
|
+
@objc set
|
|
571
|
+
}
|
|
572
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
573
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
574
|
+
@objc deinit
|
|
575
|
+
}
|
|
576
|
+
final public class MasonLayoutTree {
|
|
577
|
+
final public var nodeCount: Swift.Int {
|
|
578
|
+
get
|
|
579
|
+
}
|
|
580
|
+
public init()
|
|
581
|
+
final public func fromFloatArray(_ args: [Swift.Float])
|
|
582
|
+
final public func fromFloatPointer(_ ptr: Swift.UnsafePointer<Swift.Float>, count: Swift.Int)
|
|
583
|
+
@objc deinit
|
|
584
|
+
}
|
|
585
|
+
public struct MasonNodeView {
|
|
586
|
+
public var x: Swift.Float {
|
|
587
|
+
get
|
|
588
|
+
}
|
|
589
|
+
public var y: Swift.Float {
|
|
590
|
+
get
|
|
591
|
+
}
|
|
592
|
+
public var width: Swift.Float {
|
|
593
|
+
get
|
|
594
|
+
}
|
|
595
|
+
public var height: Swift.Float {
|
|
596
|
+
get
|
|
597
|
+
}
|
|
598
|
+
public var borderTop: Swift.Float {
|
|
599
|
+
get
|
|
600
|
+
}
|
|
601
|
+
public var borderRight: Swift.Float {
|
|
602
|
+
get
|
|
603
|
+
}
|
|
604
|
+
public var borderBottom: Swift.Float {
|
|
605
|
+
get
|
|
606
|
+
}
|
|
607
|
+
public var borderLeft: Swift.Float {
|
|
608
|
+
get
|
|
609
|
+
}
|
|
610
|
+
public var marginTop: Swift.Float {
|
|
611
|
+
get
|
|
612
|
+
}
|
|
613
|
+
public var marginRight: Swift.Float {
|
|
614
|
+
get
|
|
615
|
+
}
|
|
616
|
+
public var marginBottom: Swift.Float {
|
|
617
|
+
get
|
|
618
|
+
}
|
|
619
|
+
public var marginLeft: Swift.Float {
|
|
620
|
+
get
|
|
621
|
+
}
|
|
622
|
+
public var paddingTop: Swift.Float {
|
|
623
|
+
get
|
|
624
|
+
}
|
|
625
|
+
public var paddingRight: Swift.Float {
|
|
626
|
+
get
|
|
627
|
+
}
|
|
628
|
+
public var paddingBottom: Swift.Float {
|
|
539
629
|
get
|
|
540
630
|
}
|
|
541
|
-
public var
|
|
631
|
+
public var paddingLeft: Swift.Float {
|
|
542
632
|
get
|
|
543
633
|
}
|
|
544
|
-
public var
|
|
634
|
+
public var contentWidth: Swift.Float {
|
|
545
635
|
get
|
|
546
636
|
}
|
|
547
|
-
public var
|
|
637
|
+
public var contentHeight: Swift.Float {
|
|
548
638
|
get
|
|
549
639
|
}
|
|
550
|
-
public var
|
|
640
|
+
public var scrollbarWidth: Swift.Float {
|
|
551
641
|
get
|
|
552
642
|
}
|
|
553
|
-
|
|
554
|
-
|
|
643
|
+
public var scrollbarHeight: Swift.Float {
|
|
644
|
+
get
|
|
645
|
+
}
|
|
646
|
+
public var hasChildren: Swift.Bool {
|
|
647
|
+
get
|
|
648
|
+
}
|
|
649
|
+
public var children: [Mason.MasonNodeView] {
|
|
650
|
+
get
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
@_hasMissingDesignatedInitializers @objc(MasonRectHelper) @objcMembers public class MasonRectHelper : ObjectiveC.NSObject {
|
|
654
|
+
@objc public var top: Swift.Float {
|
|
655
|
+
@objc get
|
|
656
|
+
}
|
|
657
|
+
@objc public var right: Swift.Float {
|
|
658
|
+
@objc get
|
|
659
|
+
}
|
|
660
|
+
@objc public var bottom: Swift.Float {
|
|
661
|
+
@objc get
|
|
662
|
+
}
|
|
663
|
+
@objc public var left: Swift.Float {
|
|
664
|
+
@objc get
|
|
665
|
+
}
|
|
666
|
+
@objc public func isEmpty() -> Swift.Bool
|
|
667
|
+
@objc deinit
|
|
668
|
+
}
|
|
669
|
+
@_hasMissingDesignatedInitializers @objc(MasonSizeHelper) @objcMembers public class MasonSizeHelper : ObjectiveC.NSObject {
|
|
670
|
+
@objc public var width: Swift.Float {
|
|
671
|
+
@objc get
|
|
672
|
+
}
|
|
673
|
+
@objc public var height: Swift.Float {
|
|
674
|
+
@objc get
|
|
675
|
+
}
|
|
676
|
+
@objc deinit
|
|
677
|
+
}
|
|
678
|
+
@objc(MasonLayout) @objcMembers public class MasonLayout : ObjectiveC.NSObject {
|
|
679
|
+
public init(tree: Mason.MasonLayoutTree, index: Swift.Int)
|
|
680
|
+
@objc public static let empty: Mason.MasonLayout
|
|
681
|
+
@objc public var x: Swift.Float {
|
|
682
|
+
@objc get
|
|
683
|
+
}
|
|
684
|
+
@objc public var y: Swift.Float {
|
|
685
|
+
@objc get
|
|
686
|
+
}
|
|
687
|
+
@objc public var width: Swift.Float {
|
|
688
|
+
@objc get
|
|
689
|
+
}
|
|
690
|
+
@objc public var height: Swift.Float {
|
|
691
|
+
@objc get
|
|
692
|
+
}
|
|
693
|
+
@objc public var borderTop: Swift.Float {
|
|
694
|
+
@objc get
|
|
695
|
+
}
|
|
696
|
+
@objc public var borderRight: Swift.Float {
|
|
697
|
+
@objc get
|
|
698
|
+
}
|
|
699
|
+
@objc public var borderBottom: Swift.Float {
|
|
700
|
+
@objc get
|
|
701
|
+
}
|
|
702
|
+
@objc public var borderLeft: Swift.Float {
|
|
703
|
+
@objc get
|
|
704
|
+
}
|
|
705
|
+
@objc public var marginTop: Swift.Float {
|
|
706
|
+
@objc get
|
|
707
|
+
}
|
|
708
|
+
@objc public var marginRight: Swift.Float {
|
|
709
|
+
@objc get
|
|
710
|
+
}
|
|
711
|
+
@objc public var marginBottom: Swift.Float {
|
|
712
|
+
@objc get
|
|
713
|
+
}
|
|
714
|
+
@objc public var marginLeft: Swift.Float {
|
|
715
|
+
@objc get
|
|
716
|
+
}
|
|
717
|
+
@objc public var paddingTop: Swift.Float {
|
|
718
|
+
@objc get
|
|
719
|
+
}
|
|
720
|
+
@objc public var paddingRight: Swift.Float {
|
|
721
|
+
@objc get
|
|
722
|
+
}
|
|
723
|
+
@objc public var paddingBottom: Swift.Float {
|
|
724
|
+
@objc get
|
|
725
|
+
}
|
|
726
|
+
@objc public var paddingLeft: Swift.Float {
|
|
727
|
+
@objc get
|
|
728
|
+
}
|
|
729
|
+
@objc public var contentWidth: Swift.Float {
|
|
730
|
+
@objc get
|
|
731
|
+
}
|
|
732
|
+
@objc public var contentHeight: Swift.Float {
|
|
733
|
+
@objc get
|
|
734
|
+
}
|
|
735
|
+
@objc public var scrollbarWidth: Swift.Float {
|
|
736
|
+
@objc get
|
|
737
|
+
}
|
|
738
|
+
@objc public var scrollbarHeight: Swift.Float {
|
|
739
|
+
@objc get
|
|
740
|
+
}
|
|
741
|
+
@objc public var sizeIsEmpty: Swift.Bool {
|
|
742
|
+
@objc get
|
|
743
|
+
}
|
|
744
|
+
@objc public var paddingIsEmpty: Swift.Bool {
|
|
745
|
+
@objc get
|
|
746
|
+
}
|
|
747
|
+
@objc public var marginIsEmpty: Swift.Bool {
|
|
748
|
+
@objc get
|
|
749
|
+
}
|
|
750
|
+
@objc public var borderIsEmpty: Swift.Bool {
|
|
751
|
+
@objc get
|
|
752
|
+
}
|
|
753
|
+
@objc public var border: Mason.MasonRectHelper {
|
|
754
|
+
@objc get
|
|
755
|
+
}
|
|
756
|
+
@objc public var margin: Mason.MasonRectHelper {
|
|
757
|
+
@objc get
|
|
758
|
+
}
|
|
759
|
+
@objc public var padding: Mason.MasonRectHelper {
|
|
760
|
+
@objc get
|
|
761
|
+
}
|
|
762
|
+
@objc public var contentSize: Mason.MasonSizeHelper {
|
|
763
|
+
@objc get
|
|
764
|
+
}
|
|
765
|
+
@objc public var scrollbarSize: Mason.MasonSizeHelper {
|
|
766
|
+
@objc get
|
|
767
|
+
}
|
|
555
768
|
@objc public var hasChildren: Swift.Bool {
|
|
556
769
|
@objc get
|
|
557
770
|
}
|
|
558
|
-
@objc
|
|
771
|
+
@objc public var children: [Mason.MasonLayout] {
|
|
559
772
|
@objc get
|
|
560
773
|
}
|
|
561
774
|
@objc deinit
|
|
562
|
-
|
|
563
|
-
|
|
775
|
+
}
|
|
776
|
+
@_hasMissingDesignatedInitializers @objc(MasonList) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonList : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegate, UIKit.UICollectionViewDelegateFlowLayout, UIKit.UICollectionViewDataSourcePrefetching {
|
|
777
|
+
@objc @_Concurrency.MainActor @preconcurrency public var delegate: (any Mason.MasonList.MasonListDelegate)?
|
|
778
|
+
@objc(MasonListDelegate) public protocol MasonListDelegate {
|
|
779
|
+
@objc func list(_ list: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell
|
|
780
|
+
@objc func list(_ list: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
|
|
781
|
+
}
|
|
782
|
+
@_inheritsConvenienceInitializers @objc(MasonListCell) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonListCell : UIKit.UICollectionViewCell {
|
|
783
|
+
@objc @_Concurrency.MainActor @preconcurrency public var willMove: ((Mason.MasonList.MasonListCell) -> Swift.Void)?
|
|
784
|
+
@_Concurrency.MainActor @preconcurrency public var view: (any Mason.MasonElement)? {
|
|
785
|
+
get
|
|
786
|
+
}
|
|
787
|
+
@objc @_Concurrency.MainActor @preconcurrency public static func initWithEmptyBackground() -> Mason.MasonList.MasonListCell
|
|
788
|
+
@_Concurrency.MainActor @preconcurrency public func setView(_ newView: (any Mason.MasonElement)?)
|
|
789
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setView(compat view: (any Mason.MasonElementObjc)?)
|
|
790
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toSuperview newSuperview: UIKit.UIView?)
|
|
791
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func prepareForReuse()
|
|
792
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func preferredLayoutAttributesFitting(_ layoutAttributes: UIKit.UICollectionViewLayoutAttributes) -> UIKit.UICollectionViewLayoutAttributes
|
|
793
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
794
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
795
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
796
|
+
@objc deinit
|
|
797
|
+
}
|
|
798
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
799
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
800
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
801
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
802
|
+
@objc get
|
|
803
|
+
}
|
|
804
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
805
|
+
@objc get
|
|
806
|
+
}
|
|
807
|
+
@objc @_Concurrency.MainActor @preconcurrency public var staticItems: [Swift.Int : Mason.MasonLi] {
|
|
808
|
+
get
|
|
809
|
+
}
|
|
810
|
+
@objc @_Concurrency.MainActor @preconcurrency public var staticViews: [Mason.MasonLi] {
|
|
811
|
+
@objc get
|
|
812
|
+
@objc set
|
|
813
|
+
}
|
|
814
|
+
@objc @_Concurrency.MainActor @preconcurrency public var values: Foundation.NSMutableData {
|
|
815
|
+
@objc get
|
|
816
|
+
@objc set
|
|
817
|
+
}
|
|
818
|
+
@objc @_Concurrency.MainActor @preconcurrency public var count: Swift.Int {
|
|
819
|
+
@objc get
|
|
820
|
+
@objc set
|
|
821
|
+
}
|
|
822
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
823
|
+
@objc @_Concurrency.MainActor @preconcurrency public func register(cellClass: Swift.AnyClass?, forCellWithReuseIdentifier identifier: Swift.String)
|
|
824
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ item: Mason.MasonLi)
|
|
825
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ item: Mason.MasonLi, at index: Swift.Int)
|
|
826
|
+
@objc @_Concurrency.MainActor @preconcurrency public func reload()
|
|
827
|
+
@objc @_Concurrency.MainActor @preconcurrency public var isOrdered: Swift.Bool
|
|
828
|
+
@objc @_Concurrency.MainActor @preconcurrency public func invalidateSizeCache()
|
|
829
|
+
@objc @_Concurrency.MainActor @preconcurrency public func invalidateSizeCache(at index: Swift.Int)
|
|
830
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, prefetchItemsAt indexPaths: [Foundation.IndexPath])
|
|
831
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int
|
|
832
|
+
@_Concurrency.MainActor @preconcurrency @objc public func numberOfSections(in collectionView: UIKit.UICollectionView) -> Swift.Int
|
|
833
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell
|
|
834
|
+
@_Concurrency.MainActor @preconcurrency @objc public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
|
|
835
|
+
@objc deinit
|
|
564
836
|
}
|
|
565
837
|
@_hasMissingDesignatedInitializers @objc(TrackSizingFunction) @objcMembers public class TrackSizingFunction : ObjectiveC.NSObject {
|
|
566
838
|
@objc public var isRepeating: Swift.Bool {
|
|
@@ -576,6 +848,19 @@ extension Mason.MasonElement {
|
|
|
576
848
|
}
|
|
577
849
|
@objc deinit
|
|
578
850
|
}
|
|
851
|
+
@_hasMissingDesignatedInitializers public class CSSFilters {
|
|
852
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class CSSFilter : ObjectiveC.NSObject {
|
|
853
|
+
@objc override dynamic public init()
|
|
854
|
+
public func reset()
|
|
855
|
+
public func parse(css: Swift.String)
|
|
856
|
+
public func invalidate()
|
|
857
|
+
public func applyFast(in context: CoreGraphics.CGContext, rect: CoreFoundation.CGRect) -> Swift.Bool
|
|
858
|
+
public func apply(to view: UIKit.UIView)
|
|
859
|
+
public func applyAsBackdrop(to view: UIKit.UIView)
|
|
860
|
+
@objc deinit
|
|
861
|
+
}
|
|
862
|
+
@objc deinit
|
|
863
|
+
}
|
|
579
864
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonDimensionCompat) public class MasonDimensionCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
580
865
|
@objc public init(points: Swift.Float)
|
|
581
866
|
@objc public init(percent: Swift.Float)
|
|
@@ -647,39 +932,157 @@ extension Mason.MasonElement {
|
|
|
647
932
|
@objc public var value: Swift.Int16 {
|
|
648
933
|
@objc get
|
|
649
934
|
}
|
|
650
|
-
@objc public var cssValue: Swift.String {
|
|
651
|
-
@objc get
|
|
935
|
+
@objc public var cssValue: Swift.String {
|
|
936
|
+
@objc get
|
|
937
|
+
}
|
|
938
|
+
@objc public var jsonValue: Swift.String? {
|
|
939
|
+
@objc get
|
|
940
|
+
}
|
|
941
|
+
@objc public static let Auto: Mason.GridPlacementCompat
|
|
942
|
+
@objc deinit
|
|
943
|
+
}
|
|
944
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextArea) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonTextArea : Mason.MasonTextInput, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
945
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
946
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
947
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
948
|
+
@objc get
|
|
949
|
+
}
|
|
950
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
951
|
+
@objc get
|
|
952
|
+
}
|
|
953
|
+
@objc @_Concurrency.MainActor @preconcurrency public var rows: Swift.Int {
|
|
954
|
+
@objc get
|
|
955
|
+
@objc set
|
|
956
|
+
}
|
|
957
|
+
@objc @_Concurrency.MainActor @preconcurrency public var cols: Swift.Int {
|
|
958
|
+
@objc get
|
|
959
|
+
@objc set
|
|
960
|
+
}
|
|
961
|
+
@objc @_Concurrency.MainActor @preconcurrency public var name: Swift.String
|
|
962
|
+
@objc @_Concurrency.MainActor @preconcurrency public var maxLength: Swift.Int
|
|
963
|
+
@objc @_Concurrency.MainActor @preconcurrency public var value: Swift.String {
|
|
964
|
+
@objc get
|
|
965
|
+
@objc set
|
|
966
|
+
}
|
|
967
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason doc: Mason.NSCMason)
|
|
968
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
969
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
970
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
971
|
+
@_Concurrency.MainActor @preconcurrency @objc override public func textViewDidChange(_ textView: UIKit.UITextView)
|
|
972
|
+
@objc @_Concurrency.MainActor @preconcurrency public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
973
|
+
@_Concurrency.MainActor @preconcurrency @objc override public func textView(_ textView: UIKit.UITextView, shouldChangeTextIn range: Foundation.NSRange, replacementText text: Swift.String) -> Swift.Bool
|
|
974
|
+
@objc deinit
|
|
975
|
+
}
|
|
976
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(MasonEventOptions) public class MasonEventOptions : ObjectiveC.NSObject {
|
|
977
|
+
@objc public var isComposing: Swift.Bool
|
|
978
|
+
@objc override dynamic public init()
|
|
979
|
+
@objc public init(isComposing: Swift.Bool = false)
|
|
980
|
+
@objc deinit
|
|
981
|
+
}
|
|
982
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(MasonMouseEventOptions) public class MasonMouseEventOptions : Mason.MasonEventOptions {
|
|
983
|
+
@objc override dynamic public init()
|
|
984
|
+
@objc override public init(isComposing: Swift.Bool = super)
|
|
985
|
+
@objc deinit
|
|
986
|
+
}
|
|
987
|
+
@objcMembers @objc(MasonEvent) public class MasonEvent : ObjectiveC.NSObject {
|
|
988
|
+
@objc final public let type: Swift.String
|
|
989
|
+
@objc public var bubbles: Swift.Bool {
|
|
990
|
+
get
|
|
991
|
+
}
|
|
992
|
+
@objc public var cancelable: Swift.Bool {
|
|
993
|
+
get
|
|
994
|
+
}
|
|
995
|
+
@objc public var isComposing: Swift.Bool {
|
|
996
|
+
get
|
|
997
|
+
}
|
|
998
|
+
@objc final public let timeStamp: Swift.Double
|
|
999
|
+
@objc public var defaultPrevented: Swift.Bool {
|
|
1000
|
+
get
|
|
1001
|
+
}
|
|
1002
|
+
@objc public var propagationStopped: Swift.Bool {
|
|
1003
|
+
get
|
|
1004
|
+
}
|
|
1005
|
+
@objc public var immediatePropagationStopped: Swift.Bool {
|
|
1006
|
+
get
|
|
1007
|
+
}
|
|
1008
|
+
@objc public var target: Any? {
|
|
1009
|
+
get
|
|
1010
|
+
}
|
|
1011
|
+
@objc public var currentTarget: Any? {
|
|
1012
|
+
get
|
|
1013
|
+
}
|
|
1014
|
+
@objc public init(type eventType: Swift.String, bubbles eventBubbles: Swift.Bool = false, cancelable eventCancelable: Swift.Bool = false, options: Mason.MasonEventOptions? = nil)
|
|
1015
|
+
@objc public func preventDefault()
|
|
1016
|
+
@objc public func stopPropagation()
|
|
1017
|
+
@objc public func stopImmediatePropagation()
|
|
1018
|
+
@objc deinit
|
|
1019
|
+
}
|
|
1020
|
+
@objcMembers @objc(MasonInputEvent) public class MasonInputEvent : Mason.MasonEvent {
|
|
1021
|
+
@objc final public let data: Swift.String?
|
|
1022
|
+
@objc final public let inputType: Swift.String?
|
|
1023
|
+
@objc public init(type: Swift.String, data inputData: Swift.String? = nil, inputType masonInputType: Swift.String? = nil, options: Mason.MasonEventOptions? = nil)
|
|
1024
|
+
@objc deinit
|
|
1025
|
+
}
|
|
1026
|
+
@objcMembers @objc(MasonFileInputEvent) public class MasonFileInputEvent : Mason.MasonEvent {
|
|
1027
|
+
@objc final public let data: Swift.String?
|
|
1028
|
+
@objc final public let inputType: Swift.String?
|
|
1029
|
+
@objc final public let rawData: [Foundation.URL]
|
|
1030
|
+
@objc public init(type: Swift.String, data inputData: Swift.String? = nil, inputType masonInputType: Swift.String? = nil, options: Mason.MasonEventOptions? = nil, rawData inputRawData: [Foundation.URL])
|
|
1031
|
+
@objc deinit
|
|
1032
|
+
}
|
|
1033
|
+
@objcMembers @objc(MasonMouseEvent) public class MasonMouseEvent : Mason.MasonEvent {
|
|
1034
|
+
@objc public var button: Swift.Int {
|
|
1035
|
+
get
|
|
1036
|
+
}
|
|
1037
|
+
@objc public var buttons: Swift.Int {
|
|
1038
|
+
get
|
|
1039
|
+
}
|
|
1040
|
+
@objc public var clientX: Swift.Float {
|
|
1041
|
+
get
|
|
1042
|
+
}
|
|
1043
|
+
@objc public var clientY: Swift.Float {
|
|
1044
|
+
get
|
|
1045
|
+
}
|
|
1046
|
+
@objc public var ctrlKey: Swift.Bool {
|
|
1047
|
+
get
|
|
1048
|
+
}
|
|
1049
|
+
@objc public var shiftKey: Swift.Bool {
|
|
1050
|
+
get
|
|
1051
|
+
}
|
|
1052
|
+
@objc public var altKey: Swift.Bool {
|
|
1053
|
+
get
|
|
1054
|
+
}
|
|
1055
|
+
@objc public var metaKey: Swift.Bool {
|
|
1056
|
+
get
|
|
1057
|
+
}
|
|
1058
|
+
@objc public var detail: Swift.Int {
|
|
1059
|
+
get
|
|
1060
|
+
}
|
|
1061
|
+
@objc public var screenX: Swift.Float {
|
|
1062
|
+
get
|
|
1063
|
+
}
|
|
1064
|
+
@objc public var screenY: Swift.Float {
|
|
1065
|
+
get
|
|
1066
|
+
}
|
|
1067
|
+
@objc public var relatedTarget: Any? {
|
|
1068
|
+
get
|
|
1069
|
+
}
|
|
1070
|
+
@objc public var region: Any? {
|
|
1071
|
+
get
|
|
1072
|
+
}
|
|
1073
|
+
@objc public var movementX: Swift.Int {
|
|
1074
|
+
get
|
|
652
1075
|
}
|
|
653
|
-
@objc public var
|
|
654
|
-
|
|
1076
|
+
@objc public var movementY: Swift.Int {
|
|
1077
|
+
get
|
|
655
1078
|
}
|
|
656
|
-
@objc public
|
|
657
|
-
@objc deinit
|
|
658
|
-
}
|
|
659
|
-
@objc(NSCFontFaceSetStatus) public enum NSCFontFaceSetStatus : Swift.Int, Swift.RawRepresentable {
|
|
660
|
-
case loading
|
|
661
|
-
case loaded
|
|
662
|
-
public typealias RawValue = Swift.Int
|
|
663
|
-
public init?(rawValue: Swift.Int)
|
|
664
|
-
public var rawValue: Swift.Int {
|
|
1079
|
+
@objc public var pageX: Swift.Float {
|
|
665
1080
|
get
|
|
666
1081
|
}
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
@objc public static let instance: Mason.NSCFontFaceSet
|
|
670
|
-
@objc public var status: Mason.NSCFontFaceSetStatus
|
|
671
|
-
@objc public var onStatus: ((Mason.NSCFontFaceSetStatus) -> Swift.Void)?
|
|
672
|
-
@objc public func iter() -> Foundation.NSEnumerator
|
|
673
|
-
@objc public func array() -> [Any]
|
|
674
|
-
@objc public func add(_ font: Mason.NSCFontFace)
|
|
675
|
-
@objc public func clear()
|
|
676
|
-
@objc public func delete(_ font: Mason.NSCFontFace)
|
|
677
|
-
@objc public func check(_ font: Swift.String, _ text: Swift.String?) -> Swift.Bool
|
|
678
|
-
@objc public func load(_ font: Swift.String, _ text: Swift.String?, _ callback: @escaping ([Mason.NSCFontFace], Swift.String?) -> Swift.Void)
|
|
679
|
-
@objc public var size: Swift.Int {
|
|
680
|
-
@objc get
|
|
1082
|
+
@objc public var pageY: Swift.Float {
|
|
1083
|
+
get
|
|
681
1084
|
}
|
|
682
|
-
@objc
|
|
1085
|
+
@objc public init(type: Swift.String, options: Mason.MasonMouseEventOptions? = nil)
|
|
683
1086
|
@objc deinit
|
|
684
1087
|
}
|
|
685
1088
|
@objcMembers @objc(MasonDimensionRectCompat) public class MasonDimensionRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
@@ -729,19 +1132,352 @@ public let MasonLengthPercentageRectMaxPercentWH: Mason.MasonRect<Mason.MasonLen
|
|
|
729
1132
|
public let MasonDimensionRectZero: Mason.MasonRect<Mason.MasonDimension>
|
|
730
1133
|
public let MasonLengthPercentageAutoRectZero: Mason.MasonRect<Mason.MasonLengthPercentageAuto>
|
|
731
1134
|
public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPercentage>
|
|
1135
|
+
public struct StyleKeys {
|
|
1136
|
+
public static let DISPLAY: Swift.Int
|
|
1137
|
+
public static let POSITION: Swift.Int
|
|
1138
|
+
public static let DIRECTION: Swift.Int
|
|
1139
|
+
public static let FLEX_DIRECTION: Swift.Int
|
|
1140
|
+
public static let FLEX_WRAP: Swift.Int
|
|
1141
|
+
public static let OVERFLOW_X: Swift.Int
|
|
1142
|
+
public static let OVERFLOW_Y: Swift.Int
|
|
1143
|
+
public static let ALIGN_ITEMS: Swift.Int
|
|
1144
|
+
public static let ALIGN_SELF: Swift.Int
|
|
1145
|
+
public static let ALIGN_CONTENT: Swift.Int
|
|
1146
|
+
public static let JUSTIFY_ITEMS: Swift.Int
|
|
1147
|
+
public static let JUSTIFY_SELF: Swift.Int
|
|
1148
|
+
public static let JUSTIFY_CONTENT: Swift.Int
|
|
1149
|
+
public static let INSET_LEFT_TYPE: Swift.Int
|
|
1150
|
+
public static let INSET_RIGHT_TYPE: Swift.Int
|
|
1151
|
+
public static let INSET_TOP_TYPE: Swift.Int
|
|
1152
|
+
public static let INSET_BOTTOM_TYPE: Swift.Int
|
|
1153
|
+
public static let INSET_LEFT_VALUE: Swift.Int
|
|
1154
|
+
public static let INSET_RIGHT_VALUE: Swift.Int
|
|
1155
|
+
public static let INSET_TOP_VALUE: Swift.Int
|
|
1156
|
+
public static let INSET_BOTTOM_VALUE: Swift.Int
|
|
1157
|
+
public static let MARGIN_LEFT_TYPE: Swift.Int
|
|
1158
|
+
public static let MARGIN_RIGHT_TYPE: Swift.Int
|
|
1159
|
+
public static let MARGIN_TOP_TYPE: Swift.Int
|
|
1160
|
+
public static let MARGIN_BOTTOM_TYPE: Swift.Int
|
|
1161
|
+
public static let MARGIN_LEFT_VALUE: Swift.Int
|
|
1162
|
+
public static let MARGIN_RIGHT_VALUE: Swift.Int
|
|
1163
|
+
public static let MARGIN_TOP_VALUE: Swift.Int
|
|
1164
|
+
public static let MARGIN_BOTTOM_VALUE: Swift.Int
|
|
1165
|
+
public static let PADDING_LEFT_TYPE: Swift.Int
|
|
1166
|
+
public static let PADDING_RIGHT_TYPE: Swift.Int
|
|
1167
|
+
public static let PADDING_TOP_TYPE: Swift.Int
|
|
1168
|
+
public static let PADDING_BOTTOM_TYPE: Swift.Int
|
|
1169
|
+
public static let PADDING_LEFT_VALUE: Swift.Int
|
|
1170
|
+
public static let PADDING_RIGHT_VALUE: Swift.Int
|
|
1171
|
+
public static let PADDING_TOP_VALUE: Swift.Int
|
|
1172
|
+
public static let PADDING_BOTTOM_VALUE: Swift.Int
|
|
1173
|
+
public static let BORDER_LEFT_TYPE: Swift.Int
|
|
1174
|
+
public static let BORDER_RIGHT_TYPE: Swift.Int
|
|
1175
|
+
public static let BORDER_TOP_TYPE: Swift.Int
|
|
1176
|
+
public static let BORDER_BOTTOM_TYPE: Swift.Int
|
|
1177
|
+
public static let BORDER_LEFT_VALUE: Swift.Int
|
|
1178
|
+
public static let BORDER_RIGHT_VALUE: Swift.Int
|
|
1179
|
+
public static let BORDER_TOP_VALUE: Swift.Int
|
|
1180
|
+
public static let BORDER_BOTTOM_VALUE: Swift.Int
|
|
1181
|
+
public static let FLEX_GROW: Swift.Int
|
|
1182
|
+
public static let FLEX_SHRINK: Swift.Int
|
|
1183
|
+
public static let FLEX_BASIS_TYPE: Swift.Int
|
|
1184
|
+
public static let FLEX_BASIS_VALUE: Swift.Int
|
|
1185
|
+
public static let WIDTH_TYPE: Swift.Int
|
|
1186
|
+
public static let HEIGHT_TYPE: Swift.Int
|
|
1187
|
+
public static let WIDTH_VALUE: Swift.Int
|
|
1188
|
+
public static let HEIGHT_VALUE: Swift.Int
|
|
1189
|
+
public static let MIN_WIDTH_TYPE: Swift.Int
|
|
1190
|
+
public static let MIN_HEIGHT_TYPE: Swift.Int
|
|
1191
|
+
public static let MIN_WIDTH_VALUE: Swift.Int
|
|
1192
|
+
public static let MIN_HEIGHT_VALUE: Swift.Int
|
|
1193
|
+
public static let MAX_WIDTH_TYPE: Swift.Int
|
|
1194
|
+
public static let MAX_HEIGHT_TYPE: Swift.Int
|
|
1195
|
+
public static let MAX_WIDTH_VALUE: Swift.Int
|
|
1196
|
+
public static let MAX_HEIGHT_VALUE: Swift.Int
|
|
1197
|
+
public static let GAP_ROW_TYPE: Swift.Int
|
|
1198
|
+
public static let GAP_COLUMN_TYPE: Swift.Int
|
|
1199
|
+
public static let GAP_ROW_VALUE: Swift.Int
|
|
1200
|
+
public static let GAP_COLUMN_VALUE: Swift.Int
|
|
1201
|
+
public static let ASPECT_RATIO: Swift.Int
|
|
1202
|
+
public static let GRID_AUTO_FLOW: Swift.Int
|
|
1203
|
+
public static let GRID_COLUMN_START_TYPE: Swift.Int
|
|
1204
|
+
public static let GRID_COLUMN_END_TYPE: Swift.Int
|
|
1205
|
+
public static let GRID_ROW_START_TYPE: Swift.Int
|
|
1206
|
+
public static let GRID_ROW_END_TYPE: Swift.Int
|
|
1207
|
+
public static let GRID_COLUMN_START_VALUE: Swift.Int
|
|
1208
|
+
public static let GRID_COLUMN_END_VALUE: Swift.Int
|
|
1209
|
+
public static let GRID_ROW_START_VALUE: Swift.Int
|
|
1210
|
+
public static let GRID_ROW_END_VALUE: Swift.Int
|
|
1211
|
+
public static let SCROLLBAR_WIDTH: Swift.Int
|
|
1212
|
+
public static let ALIGN: Swift.Int
|
|
1213
|
+
public static let BOX_SIZING: Swift.Int
|
|
1214
|
+
public static let OVERFLOW: Swift.Int
|
|
1215
|
+
public static let ITEM_IS_TABLE: Swift.Int
|
|
1216
|
+
public static let ITEM_IS_REPLACED: Swift.Int
|
|
1217
|
+
public static let DISPLAY_MODE: Swift.Int
|
|
1218
|
+
public static let FORCE_INLINE: Swift.Int
|
|
1219
|
+
public static let MIN_CONTENT_WIDTH: Swift.Int
|
|
1220
|
+
public static let MIN_CONTENT_HEIGHT: Swift.Int
|
|
1221
|
+
public static let MAX_CONTENT_WIDTH: Swift.Int
|
|
1222
|
+
public static let MAX_CONTENT_HEIGHT: Swift.Int
|
|
1223
|
+
public static let BORDER_LEFT_STYLE: Swift.Int
|
|
1224
|
+
public static let BORDER_RIGHT_STYLE: Swift.Int
|
|
1225
|
+
public static let BORDER_TOP_STYLE: Swift.Int
|
|
1226
|
+
public static let BORDER_BOTTOM_STYLE: Swift.Int
|
|
1227
|
+
public static let BORDER_LEFT_COLOR: Swift.Int
|
|
1228
|
+
public static let BORDER_RIGHT_COLOR: Swift.Int
|
|
1229
|
+
public static let BORDER_TOP_COLOR: Swift.Int
|
|
1230
|
+
public static let BORDER_BOTTOM_COLOR: Swift.Int
|
|
1231
|
+
public static let BORDER_RADIUS_TOP_LEFT_X_TYPE: Swift.Int
|
|
1232
|
+
public static let BORDER_RADIUS_TOP_LEFT_Y_TYPE: Swift.Int
|
|
1233
|
+
public static let BORDER_RADIUS_TOP_RIGHT_X_TYPE: Swift.Int
|
|
1234
|
+
public static let BORDER_RADIUS_TOP_RIGHT_Y_TYPE: Swift.Int
|
|
1235
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_X_TYPE: Swift.Int
|
|
1236
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_Y_TYPE: Swift.Int
|
|
1237
|
+
public static let BORDER_RADIUS_BOTTOM_LEFT_X_TYPE: Swift.Int
|
|
1238
|
+
public static let BORDER_RADIUS_BOTTOM_LEFT_Y_TYPE: Swift.Int
|
|
1239
|
+
public static let BORDER_RADIUS_TOP_LEFT_X_VALUE: Swift.Int
|
|
1240
|
+
public static let BORDER_RADIUS_TOP_LEFT_Y_VALUE: Swift.Int
|
|
1241
|
+
public static let BORDER_RADIUS_TOP_RIGHT_X_VALUE: Swift.Int
|
|
1242
|
+
public static let BORDER_RADIUS_TOP_RIGHT_Y_VALUE: Swift.Int
|
|
1243
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_X_VALUE: Swift.Int
|
|
1244
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_Y_VALUE: Swift.Int
|
|
1245
|
+
public static let BORDER_RADIUS_BOTTOM_LEFT_X_VALUE: Swift.Int
|
|
1246
|
+
public static let BORDER_RADIUS_BOTTOM_LEFT_Y_VALUE: Swift.Int
|
|
1247
|
+
public static let BORDER_RADIUS_TOP_LEFT_EXPONENT: Swift.Int
|
|
1248
|
+
public static let BORDER_RADIUS_TOP_RIGHT_EXPONENT: Swift.Int
|
|
1249
|
+
public static let BORDER_RADIUS_BOTTOM_RIGHT_EXPONENT: Swift.Int
|
|
1250
|
+
public static let BORDER_RADIUS_BOTTOM_LEFT_EXPONENT: Swift.Int
|
|
1251
|
+
public static let FLOAT: Swift.Int
|
|
1252
|
+
public static let CLEAR: Swift.Int
|
|
1253
|
+
public static let OBJECT_FIT: Swift.Int
|
|
1254
|
+
public static let FONT_METRICS_ASCENT_OFFSET: Swift.Int
|
|
1255
|
+
public static let FONT_METRICS_DESCENT_OFFSET: Swift.Int
|
|
1256
|
+
public static let FONT_METRICS_X_HEIGHT_OFFSET: Swift.Int
|
|
1257
|
+
public static let FONT_METRICS_LEADING_OFFSET: Swift.Int
|
|
1258
|
+
public static let FONT_METRICS_CAP_HEIGHT_OFFSET: Swift.Int
|
|
1259
|
+
public static let VERTICAL_ALIGN_OFFSET_OFFSET: Swift.Int
|
|
1260
|
+
public static let VERTICAL_ALIGN_IS_PERCENT_OFFSET: Swift.Int
|
|
1261
|
+
public static let VERTICAL_ALIGN_ENUM_OFFSET: Swift.Int
|
|
1262
|
+
public static let FIRST_BASELINE_OFFSET: Swift.Int
|
|
1263
|
+
public static let Z_INDEX: Swift.Int
|
|
1264
|
+
public static let ITEM_IS_LIST: Swift.Int
|
|
1265
|
+
public static let ITEM_IS_LIST_ITEM: Swift.Int
|
|
1266
|
+
public static let LIST_STYLE_POSITION: Swift.Int
|
|
1267
|
+
public static let LIST_STYLE_TYPE: Swift.Int
|
|
1268
|
+
public static let LIST_STYLE_POSITION_STATE: Swift.Int
|
|
1269
|
+
public static let LIST_STYLE_TYPE_STATE: Swift.Int
|
|
1270
|
+
public static let REF_COUNT: Swift.Int
|
|
1271
|
+
public static let FONT_COLOR: Swift.Int
|
|
1272
|
+
public static let FONT_COLOR_STATE: Swift.Int
|
|
1273
|
+
public static let FONT_SIZE: Swift.Int
|
|
1274
|
+
public static let FONT_SIZE_TYPE: Swift.Int
|
|
1275
|
+
public static let FONT_SIZE_STATE: Swift.Int
|
|
1276
|
+
public static let FONT_WEIGHT: Swift.Int
|
|
1277
|
+
public static let FONT_WEIGHT_STATE: Swift.Int
|
|
1278
|
+
public static let FONT_STYLE_SLANT: Swift.Int
|
|
1279
|
+
public static let FONT_STYLE_TYPE: Swift.Int
|
|
1280
|
+
public static let FONT_STYLE_STATE: Swift.Int
|
|
1281
|
+
public static let FONT_FAMILY_STATE: Swift.Int
|
|
1282
|
+
public static let FONT_RESOLVED_DIRTY: Swift.Int
|
|
1283
|
+
public static let BACKGROUND_COLOR: Swift.Int
|
|
1284
|
+
public static let BACKGROUND_COLOR_STATE: Swift.Int
|
|
1285
|
+
public static let BACKGROUND_COLOR_TYPE: Swift.Int
|
|
1286
|
+
public static let DECORATION_LINE: Swift.Int
|
|
1287
|
+
public static let DECORATION_LINE_STATE: Swift.Int
|
|
1288
|
+
public static let DECORATION_COLOR: Swift.Int
|
|
1289
|
+
public static let DECORATION_COLOR_STATE: Swift.Int
|
|
1290
|
+
public static let DECORATION_STYLE: Swift.Int
|
|
1291
|
+
public static let DECORATION_STYLE_STATE: Swift.Int
|
|
1292
|
+
public static let LETTER_SPACING: Swift.Int
|
|
1293
|
+
public static let LETTER_SPACING_STATE: Swift.Int
|
|
1294
|
+
public static let TEXT_WRAP: Swift.Int
|
|
1295
|
+
public static let TEXT_WRAP_STATE: Swift.Int
|
|
1296
|
+
public static let WHITE_SPACE: Swift.Int
|
|
1297
|
+
public static let WHITE_SPACE_STATE: Swift.Int
|
|
1298
|
+
public static let TEXT_TRANSFORM: Swift.Int
|
|
1299
|
+
public static let TEXT_TRANSFORM_STATE: Swift.Int
|
|
1300
|
+
public static let TEXT_ALIGN: Swift.Int
|
|
1301
|
+
public static let TEXT_ALIGN_STATE: Swift.Int
|
|
1302
|
+
public static let TEXT_JUSTIFY: Swift.Int
|
|
1303
|
+
public static let TEXT_JUSTIFY_STATE: Swift.Int
|
|
1304
|
+
public static let TEXT_INDENT: Swift.Int
|
|
1305
|
+
public static let TEXT_INDENT_TYPE: Swift.Int
|
|
1306
|
+
public static let TEXT_INDENT_STATE: Swift.Int
|
|
1307
|
+
public static let LINE_HEIGHT: Swift.Int
|
|
1308
|
+
public static let LINE_HEIGHT_STATE: Swift.Int
|
|
1309
|
+
public static let LINE_HEIGHT_TYPE: Swift.Int
|
|
1310
|
+
public static let DECORATION_THICKNESS: Swift.Int
|
|
1311
|
+
public static let DECORATION_THICKNESS_STATE: Swift.Int
|
|
1312
|
+
public static let TEXT_SHADOW_STATE: Swift.Int
|
|
1313
|
+
public static let TEXT_OVERFLOW: Swift.Int
|
|
1314
|
+
public static let TEXT_OVERFLOW_STATE: Swift.Int
|
|
1315
|
+
public static let PSEUDO_SET_MASK_LOW: Swift.Int
|
|
1316
|
+
public static let PSEUDO_SET_MASK_HIGH: Swift.Int
|
|
1317
|
+
public static let FILTER_BRIGHTNESS: Swift.Int
|
|
1318
|
+
public static let FILTER_BRIGHTNESS_STATE: Swift.Int
|
|
1319
|
+
public static let FONT_VARIANT_NUMERIC: Swift.Int
|
|
1320
|
+
public static let FONT_VARIANT_NUMERIC_STATE: Swift.Int
|
|
1321
|
+
public static let TRANSFORM_COUNT: Swift.Int
|
|
1322
|
+
public static let TRANSFORM_FLAGS: Swift.Int
|
|
1323
|
+
public static let TRANSFORM_OP_0: Swift.Int
|
|
1324
|
+
public static let TRANSFORM_OP_1: Swift.Int
|
|
1325
|
+
public static let TRANSFORM_OP_2: Swift.Int
|
|
1326
|
+
public static let TRANSFORM_OP_3: Swift.Int
|
|
1327
|
+
public static let TRANSFORM_OP_4: Swift.Int
|
|
1328
|
+
public static let TRANSFORM_OP_5: Swift.Int
|
|
1329
|
+
public static let TRANSFORM_MATRIX: Swift.Int
|
|
1330
|
+
public static let TRANSFORM_OP_SIZE: Swift.Int
|
|
1331
|
+
public static let MAX_INLINE_TRANSFORM_OPS: Swift.Int
|
|
1332
|
+
public static let TRANSFORM_FLAG_HAS_MATRIX: Swift.UInt8
|
|
1333
|
+
public static let TRANSFORM_FLAG_IS_3D: Swift.UInt8
|
|
1334
|
+
public static let OBJECT_POSITION_X_TYPE: Swift.Int
|
|
1335
|
+
public static let OBJECT_POSITION_Y_TYPE: Swift.Int
|
|
1336
|
+
public static let OBJECT_POSITION_X_VALUE: Swift.Int
|
|
1337
|
+
public static let OBJECT_POSITION_Y_VALUE: Swift.Int
|
|
1338
|
+
public static let OBJECT_POSITION_STATE: Swift.Int
|
|
1339
|
+
public static let WRITING_MODE: Swift.Int
|
|
1340
|
+
public static let WRITING_MODE_STATE: Swift.Int
|
|
1341
|
+
public static let UNICODE_BIDI: Swift.Int
|
|
1342
|
+
public static let UNICODE_BIDI_STATE: Swift.Int
|
|
1343
|
+
public static let HYPHENS: Swift.Int
|
|
1344
|
+
public static let HYPHENS_STATE: Swift.Int
|
|
1345
|
+
public static let CARET_COLOR: Swift.Int
|
|
1346
|
+
public static let CARET_COLOR_STATE: Swift.Int
|
|
1347
|
+
public static let WORD_SPACING: Swift.Int
|
|
1348
|
+
public static let WORD_SPACING_TYPE: Swift.Int
|
|
1349
|
+
public static let WORD_SPACING_STATE: Swift.Int
|
|
1350
|
+
public static let FONT_STRETCH: Swift.Int
|
|
1351
|
+
public static let FONT_STRETCH_STATE: Swift.Int
|
|
1352
|
+
}
|
|
1353
|
+
@objc public enum TransformOpType : Swift.UInt8 {
|
|
1354
|
+
case none = 0
|
|
1355
|
+
case translate = 1
|
|
1356
|
+
case translateX = 2
|
|
1357
|
+
case translateY = 3
|
|
1358
|
+
case scale = 4
|
|
1359
|
+
case scaleX = 5
|
|
1360
|
+
case scaleY = 6
|
|
1361
|
+
case rotate = 7
|
|
1362
|
+
case skewX = 8
|
|
1363
|
+
case skewY = 9
|
|
1364
|
+
public init?(rawValue: Swift.UInt8)
|
|
1365
|
+
public typealias RawValue = Swift.UInt8
|
|
1366
|
+
public var rawValue: Swift.UInt8 {
|
|
1367
|
+
get
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
public struct StateKeys : Swift.Equatable {
|
|
1371
|
+
public let low: Swift.UInt64
|
|
1372
|
+
public let high: Swift.UInt64
|
|
1373
|
+
public init(low: Swift.UInt64, high: Swift.UInt64)
|
|
1374
|
+
public init(_ value: Swift.UInt64)
|
|
1375
|
+
public func contains(_ other: Mason.StateKeys) -> Swift.Bool
|
|
1376
|
+
public func union(_ other: Mason.StateKeys) -> Mason.StateKeys
|
|
1377
|
+
public static let none: Mason.StateKeys
|
|
1378
|
+
public static let display: Mason.StateKeys
|
|
1379
|
+
public static let position: Mason.StateKeys
|
|
1380
|
+
public static let direction: Mason.StateKeys
|
|
1381
|
+
public static let flexDirection: Mason.StateKeys
|
|
1382
|
+
public static let flexWrap: Mason.StateKeys
|
|
1383
|
+
public static let overflowX: Mason.StateKeys
|
|
1384
|
+
public static let overflowY: Mason.StateKeys
|
|
1385
|
+
public static let alignItems: Mason.StateKeys
|
|
1386
|
+
public static let alignSelf: Mason.StateKeys
|
|
1387
|
+
public static let alignContent: Mason.StateKeys
|
|
1388
|
+
public static let justifyItems: Mason.StateKeys
|
|
1389
|
+
public static let justifySelf: Mason.StateKeys
|
|
1390
|
+
public static let justifyContent: Mason.StateKeys
|
|
1391
|
+
public static let inset: Mason.StateKeys
|
|
1392
|
+
public static let margin: Mason.StateKeys
|
|
1393
|
+
public static let padding: Mason.StateKeys
|
|
1394
|
+
public static let border: Mason.StateKeys
|
|
1395
|
+
public static let flexGrow: Mason.StateKeys
|
|
1396
|
+
public static let flexShrink: Mason.StateKeys
|
|
1397
|
+
public static let flexBasis: Mason.StateKeys
|
|
1398
|
+
public static let size: Mason.StateKeys
|
|
1399
|
+
public static let minSize: Mason.StateKeys
|
|
1400
|
+
public static let maxSize: Mason.StateKeys
|
|
1401
|
+
public static let gap: Mason.StateKeys
|
|
1402
|
+
public static let aspectRatio: Mason.StateKeys
|
|
1403
|
+
public static let gridAutoFlow: Mason.StateKeys
|
|
1404
|
+
public static let gridColumn: Mason.StateKeys
|
|
1405
|
+
public static let gridRow: Mason.StateKeys
|
|
1406
|
+
public static let scrollbarWidth: Mason.StateKeys
|
|
1407
|
+
public static let align: Mason.StateKeys
|
|
1408
|
+
public static let boxSizing: Mason.StateKeys
|
|
1409
|
+
public static let overflow: Mason.StateKeys
|
|
1410
|
+
public static let itemIsTable: Mason.StateKeys
|
|
1411
|
+
public static let itemIsReplaced: Mason.StateKeys
|
|
1412
|
+
public static let displayMode: Mason.StateKeys
|
|
1413
|
+
public static let forceInline: Mason.StateKeys
|
|
1414
|
+
public static let minContentWidth: Mason.StateKeys
|
|
1415
|
+
public static let minContentHeight: Mason.StateKeys
|
|
1416
|
+
public static let maxContentWidth: Mason.StateKeys
|
|
1417
|
+
public static let maxContentHeight: Mason.StateKeys
|
|
1418
|
+
public static let borderStyle: Mason.StateKeys
|
|
1419
|
+
public static let borderRadius: Mason.StateKeys
|
|
1420
|
+
public static let borderColor: Mason.StateKeys
|
|
1421
|
+
public static let float: Mason.StateKeys
|
|
1422
|
+
public static let clear: Mason.StateKeys
|
|
1423
|
+
public static let objectFit: Mason.StateKeys
|
|
1424
|
+
public static let zIndex: Mason.StateKeys
|
|
1425
|
+
public static let listStylePosition: Mason.StateKeys
|
|
1426
|
+
public static let listStyleType: Mason.StateKeys
|
|
1427
|
+
public static let invalidateText: Mason.StateKeys
|
|
1428
|
+
public static let color: Mason.StateKeys
|
|
1429
|
+
public static let decorationLine: Mason.StateKeys
|
|
1430
|
+
public static let decorationColor: Mason.StateKeys
|
|
1431
|
+
public static let textAlign: Mason.StateKeys
|
|
1432
|
+
public static let textJustify: Mason.StateKeys
|
|
1433
|
+
public static let backgroundColor: Mason.StateKeys
|
|
1434
|
+
public static let fontSize: Mason.StateKeys
|
|
1435
|
+
public static let textTransform: Mason.StateKeys
|
|
1436
|
+
public static let fontStyle: Mason.StateKeys
|
|
1437
|
+
public static let fontStyleSlant: Mason.StateKeys
|
|
1438
|
+
public static let textWrap: Mason.StateKeys
|
|
1439
|
+
public static let textOverflow: Mason.StateKeys
|
|
1440
|
+
public static let decorationStyle: Mason.StateKeys
|
|
1441
|
+
public static let whiteSpace: Mason.StateKeys
|
|
1442
|
+
public static let fontWeight: Mason.StateKeys
|
|
1443
|
+
public static let lineHeight: Mason.StateKeys
|
|
1444
|
+
public static let verticalAlign: Mason.StateKeys
|
|
1445
|
+
public static let decorationThinkness: Mason.StateKeys
|
|
1446
|
+
public static let textShadow: Mason.StateKeys
|
|
1447
|
+
public static let fontFamily: Mason.StateKeys
|
|
1448
|
+
public static let letterSpacing: Mason.StateKeys
|
|
1449
|
+
public static let fontVariantNumeric: Mason.StateKeys
|
|
1450
|
+
public static let objectPosition: Mason.StateKeys
|
|
1451
|
+
public static let writingMode: Mason.StateKeys
|
|
1452
|
+
public static let unicodeBidi: Mason.StateKeys
|
|
1453
|
+
public static let hyphens: Mason.StateKeys
|
|
1454
|
+
public static let caretColor: Mason.StateKeys
|
|
1455
|
+
public static let wordSpacing: Mason.StateKeys
|
|
1456
|
+
public static let fontStretch: Mason.StateKeys
|
|
1457
|
+
public static let pseudoText: Mason.StateKeys
|
|
1458
|
+
public static func == (a: Mason.StateKeys, b: Mason.StateKeys) -> Swift.Bool
|
|
1459
|
+
}
|
|
732
1460
|
@objc(MasonStyle) @objcMembers public class MasonStyle : ObjectiveC.NSObject {
|
|
733
|
-
@objc public var font:
|
|
1461
|
+
@objc public var font: FontManager.NSCFontFace! {
|
|
734
1462
|
get
|
|
735
1463
|
}
|
|
1464
|
+
@objc public func prepareMut()
|
|
736
1465
|
@objc public var values: Foundation.NSMutableData {
|
|
737
1466
|
@objc get
|
|
1467
|
+
}
|
|
1468
|
+
@objc public init(node: Mason.MasonNode)
|
|
1469
|
+
@objc public var listStylePosition: Mason.ListStylePosition {
|
|
1470
|
+
@objc get
|
|
738
1471
|
@objc set
|
|
739
1472
|
}
|
|
740
|
-
@objc public var
|
|
1473
|
+
@objc public var listStyleType: Mason.ListStyleType {
|
|
1474
|
+
@objc get
|
|
1475
|
+
@objc set
|
|
1476
|
+
}
|
|
1477
|
+
@objc public var zIndex: Swift.Int32 {
|
|
741
1478
|
@objc get
|
|
742
1479
|
@objc set
|
|
743
1480
|
}
|
|
744
|
-
@objc public init(node: Mason.MasonNode)
|
|
745
1481
|
@objc public var verticalAlign: Mason.MasonVerticalAlignValue {
|
|
746
1482
|
@objc get
|
|
747
1483
|
@objc set
|
|
@@ -808,11 +1544,20 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
808
1544
|
@objc get
|
|
809
1545
|
@objc set
|
|
810
1546
|
}
|
|
1547
|
+
public var fontVariantNumeric: Mason.FontVariantNumeric {
|
|
1548
|
+
get
|
|
1549
|
+
set
|
|
1550
|
+
}
|
|
1551
|
+
@objc public var fontVariantNumericString: Swift.String {
|
|
1552
|
+
@objc get
|
|
1553
|
+
@objc set
|
|
1554
|
+
}
|
|
811
1555
|
@objc public var decorationColor: Swift.UInt32 {
|
|
812
1556
|
@objc get
|
|
813
1557
|
@objc set
|
|
814
1558
|
}
|
|
815
1559
|
@objc public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1560
|
+
@objc public func setDecorationColor(css color: Swift.String)
|
|
816
1561
|
@objc public var decorationLine: Mason.DecorationLine {
|
|
817
1562
|
@objc get
|
|
818
1563
|
@objc set
|
|
@@ -985,6 +1730,22 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
985
1730
|
@objc get
|
|
986
1731
|
@objc set
|
|
987
1732
|
}
|
|
1733
|
+
public var paddingLeft: Mason.MasonLengthPercentage {
|
|
1734
|
+
get
|
|
1735
|
+
set
|
|
1736
|
+
}
|
|
1737
|
+
public var paddingTop: Mason.MasonLengthPercentage {
|
|
1738
|
+
get
|
|
1739
|
+
set
|
|
1740
|
+
}
|
|
1741
|
+
public var paddingRight: Mason.MasonLengthPercentage {
|
|
1742
|
+
get
|
|
1743
|
+
set
|
|
1744
|
+
}
|
|
1745
|
+
public var paddingBottom: Mason.MasonLengthPercentage {
|
|
1746
|
+
get
|
|
1747
|
+
set
|
|
1748
|
+
}
|
|
988
1749
|
@objc public func setPaddingLeft(_ value: Swift.Float, _ type: Swift.Int)
|
|
989
1750
|
@objc public func setPaddingRight(_ value: Swift.Float, _ type: Swift.Int)
|
|
990
1751
|
@objc public func setPaddingTop(_ value: Swift.Float, _ type: Swift.Int)
|
|
@@ -994,14 +1755,66 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
994
1755
|
@objc get
|
|
995
1756
|
@objc set
|
|
996
1757
|
}
|
|
1758
|
+
@objc public var boxShadow: Swift.String {
|
|
1759
|
+
@objc get
|
|
1760
|
+
@objc set
|
|
1761
|
+
}
|
|
997
1762
|
@objc public var borderRadius: Swift.String {
|
|
998
1763
|
@objc get
|
|
999
1764
|
@objc set
|
|
1000
1765
|
}
|
|
1766
|
+
@objc public var cornerShape: Swift.String {
|
|
1767
|
+
@objc get
|
|
1768
|
+
@objc set
|
|
1769
|
+
}
|
|
1770
|
+
@objc public var cornerShapeTopLeft: Swift.String {
|
|
1771
|
+
@objc get
|
|
1772
|
+
@objc set
|
|
1773
|
+
}
|
|
1774
|
+
@objc public var cornerShapeTopRight: Swift.String {
|
|
1775
|
+
@objc get
|
|
1776
|
+
@objc set
|
|
1777
|
+
}
|
|
1778
|
+
@objc public var cornerShapeBottomRight: Swift.String {
|
|
1779
|
+
@objc get
|
|
1780
|
+
@objc set
|
|
1781
|
+
}
|
|
1782
|
+
@objc public var cornerShapeBottomLeft: Swift.String {
|
|
1783
|
+
@objc get
|
|
1784
|
+
@objc set
|
|
1785
|
+
}
|
|
1001
1786
|
@objc public var border: Swift.String {
|
|
1002
1787
|
@objc get
|
|
1003
1788
|
@objc set
|
|
1004
1789
|
}
|
|
1790
|
+
@objc public var paddingCss: Swift.String {
|
|
1791
|
+
@objc get
|
|
1792
|
+
@objc set
|
|
1793
|
+
}
|
|
1794
|
+
@objc public var marginCss: Swift.String {
|
|
1795
|
+
@objc get
|
|
1796
|
+
@objc set
|
|
1797
|
+
}
|
|
1798
|
+
@objc public var insetCss: Swift.String {
|
|
1799
|
+
@objc get
|
|
1800
|
+
@objc set
|
|
1801
|
+
}
|
|
1802
|
+
@objc public var borderLeft: Swift.String {
|
|
1803
|
+
@objc get
|
|
1804
|
+
@objc set
|
|
1805
|
+
}
|
|
1806
|
+
@objc public var borderTop: Swift.String {
|
|
1807
|
+
@objc get
|
|
1808
|
+
@objc set
|
|
1809
|
+
}
|
|
1810
|
+
@objc public var borderRight: Swift.String {
|
|
1811
|
+
@objc get
|
|
1812
|
+
@objc set
|
|
1813
|
+
}
|
|
1814
|
+
@objc public var borderBottom: Swift.String {
|
|
1815
|
+
@objc get
|
|
1816
|
+
@objc set
|
|
1817
|
+
}
|
|
1005
1818
|
public var borderWidth: Mason.MasonRect<Mason.MasonLengthPercentage> {
|
|
1006
1819
|
get
|
|
1007
1820
|
set
|
|
@@ -1053,6 +1866,14 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1053
1866
|
@objc get
|
|
1054
1867
|
@objc set
|
|
1055
1868
|
}
|
|
1869
|
+
public var minWidth: Mason.MasonDimension {
|
|
1870
|
+
get
|
|
1871
|
+
set
|
|
1872
|
+
}
|
|
1873
|
+
public var minHeight: Mason.MasonDimension {
|
|
1874
|
+
get
|
|
1875
|
+
set
|
|
1876
|
+
}
|
|
1056
1877
|
@objc public func setMinSizeWidth(_ value: Swift.Float, _ type: Swift.Int)
|
|
1057
1878
|
@objc public func setMinSizeHeight(_ value: Swift.Float, _ type: Swift.Int)
|
|
1058
1879
|
@objc public func setMinSizeWidthHeight(_ value: Swift.Float, _ type: Swift.Int)
|
|
@@ -1077,6 +1898,23 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1077
1898
|
public func setSizeWidth(_ width: Mason.MasonDimension)
|
|
1078
1899
|
public func setSizeHeight(_ height: Mason.MasonDimension)
|
|
1079
1900
|
@objc public func setSizeWidthHeight(_ value: Swift.Float, _ type: Swift.Int)
|
|
1901
|
+
@objc public func setSizePoints(_ width: Swift.Float, _ height: Swift.Float)
|
|
1902
|
+
public var width: Mason.MasonDimension {
|
|
1903
|
+
get
|
|
1904
|
+
set
|
|
1905
|
+
}
|
|
1906
|
+
public var height: Mason.MasonDimension {
|
|
1907
|
+
get
|
|
1908
|
+
set
|
|
1909
|
+
}
|
|
1910
|
+
public var maxWidth: Mason.MasonDimension {
|
|
1911
|
+
get
|
|
1912
|
+
set
|
|
1913
|
+
}
|
|
1914
|
+
public var maxHeight: Mason.MasonDimension {
|
|
1915
|
+
get
|
|
1916
|
+
set
|
|
1917
|
+
}
|
|
1080
1918
|
public var maxSize: Mason.MasonSize<Mason.MasonDimension> {
|
|
1081
1919
|
get
|
|
1082
1920
|
set
|
|
@@ -1112,6 +1950,10 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1112
1950
|
@objc get
|
|
1113
1951
|
@objc set
|
|
1114
1952
|
}
|
|
1953
|
+
@objc public var transform: Swift.String {
|
|
1954
|
+
@objc get
|
|
1955
|
+
@objc set
|
|
1956
|
+
}
|
|
1115
1957
|
@objc public var gridAutoRows: Swift.String {
|
|
1116
1958
|
@objc get
|
|
1117
1959
|
@objc set
|
|
@@ -1156,6 +1998,18 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1156
1998
|
@objc get
|
|
1157
1999
|
@objc set
|
|
1158
2000
|
}
|
|
2001
|
+
@objc public var borderImage: Swift.String {
|
|
2002
|
+
@objc get
|
|
2003
|
+
@objc set
|
|
2004
|
+
}
|
|
2005
|
+
@objc public var backdropFilter: Swift.String {
|
|
2006
|
+
@objc get
|
|
2007
|
+
@objc set
|
|
2008
|
+
}
|
|
2009
|
+
@objc public var fontFeatureSettings: Swift.String {
|
|
2010
|
+
@objc get
|
|
2011
|
+
@objc set
|
|
2012
|
+
}
|
|
1159
2013
|
@objc public func updateNativeStyle()
|
|
1160
2014
|
@objc override dynamic public var description: Swift.String {
|
|
1161
2015
|
@objc get
|
|
@@ -1197,7 +2051,8 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1197
2051
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1198
2052
|
required public init(from decoder: any Swift.Decoder) throws
|
|
1199
2053
|
}
|
|
1200
|
-
public struct MasonPoint<T> : Swift.Codable where T : Swift.Decodable, T : Swift.Encodable {
|
|
2054
|
+
public struct MasonPoint<T> : Swift.Codable, Swift.Equatable where T : Swift.Decodable, T : Swift.Encodable, T : Swift.Equatable {
|
|
2055
|
+
public static func == (lhs: Mason.MasonPoint<T>, rhs: Mason.MasonPoint<T>) -> Swift.Bool
|
|
1201
2056
|
public init(_ x: T, _ y: T)
|
|
1202
2057
|
public init(uniform: T)
|
|
1203
2058
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
@@ -1244,155 +2099,78 @@ extension UIKit.UIColor {
|
|
|
1244
2099
|
public func toUInt32() -> Swift.UInt32
|
|
1245
2100
|
}
|
|
1246
2101
|
extension UIKit.UIImage {
|
|
2102
|
+
public static func triangle(direction: UIKit.UIImage.Direction, color: UIKit.UIColor, size: CoreFoundation.CGSize = CGSize(width: 8, height: 5), scale: CoreFoundation.CGFloat = UIScreen.main.scale) -> UIKit.UIImage
|
|
2103
|
+
public enum Direction {
|
|
2104
|
+
case up, down
|
|
2105
|
+
public static func == (a: UIKit.UIImage.Direction, b: UIKit.UIImage.Direction) -> Swift.Bool
|
|
2106
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
2107
|
+
public var hashValue: Swift.Int {
|
|
2108
|
+
get
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
public enum ChevronDirection {
|
|
2112
|
+
case up, down, left, right
|
|
2113
|
+
public static func == (a: UIKit.UIImage.ChevronDirection, b: UIKit.UIImage.ChevronDirection) -> Swift.Bool
|
|
2114
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
2115
|
+
public var hashValue: Swift.Int {
|
|
2116
|
+
get
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
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
|
|
1247
2120
|
public func mason_resize(to size: CoreFoundation.CGSize) -> UIKit.UIImage?
|
|
1248
2121
|
}
|
|
1249
2122
|
@objc extension ObjectiveC.NSObject {
|
|
1250
|
-
@objc dynamic public
|
|
1251
|
-
@objc dynamic public func mason_addView(_ view: UIKit.UIView)
|
|
1252
|
-
@objc dynamic public func mason_addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1253
|
-
@objc dynamic public func mason_markNodeDirty()
|
|
1254
|
-
@objc dynamic public func mason_isNodeDirty() -> Swift.Bool
|
|
1255
|
-
@objc dynamic public func mason_configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
1256
|
-
@discardableResult
|
|
1257
|
-
@objc dynamic public func mason_layout() -> Mason.MasonLayout
|
|
1258
|
-
@objc dynamic public func mason_compute()
|
|
1259
|
-
@objc dynamic public func mason_compute(width: Swift.Float, height: Swift.Float)
|
|
1260
|
-
@objc dynamic public func mason_computeMaxContent()
|
|
1261
|
-
@objc dynamic public func mason_computeMinContent()
|
|
1262
|
-
@objc dynamic public func mason_computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
1263
|
-
@objc dynamic public func mason_computeWithViewSize()
|
|
1264
|
-
@objc dynamic public func mason_computeWithViewSize(layout: Swift.Bool)
|
|
1265
|
-
@objc dynamic public func mason_computeWithMaxContent()
|
|
1266
|
-
@objc dynamic public func mason_computeWithMinContent()
|
|
1267
|
-
@objc dynamic public func mason_attachAndApply()
|
|
1268
|
-
@objc dynamic public func mason_requestLayout()
|
|
1269
|
-
@objc dynamic public func mason_invalidateLayout()
|
|
1270
|
-
@objc dynamic public func mason_append(_ element: any Mason.MasonElementObjc)
|
|
1271
|
-
@objc dynamic public func mason_append(text: Swift.String)
|
|
1272
|
-
@objc dynamic public func mason_append(node: Mason.MasonNode)
|
|
1273
|
-
@objc dynamic public func mason_append(texts: [Swift.String])
|
|
1274
|
-
@objc dynamic public func mason_append(elements: [any Mason.MasonElementObjc])
|
|
1275
|
-
@objc dynamic public func mason_append(nodes: [Mason.MasonNode])
|
|
1276
|
-
@objc dynamic public func mason_prepend(_ element: any Mason.MasonElementObjc)
|
|
1277
|
-
@objc dynamic public func mason_prepend(text: Swift.String)
|
|
1278
|
-
@objc dynamic public func mason_prepend(node: Mason.MasonNode)
|
|
1279
|
-
@objc dynamic public func mason_prepend(texts: [Swift.String])
|
|
1280
|
-
@objc dynamic public func mason_prepend(elements: [any Mason.MasonElementObjc])
|
|
1281
|
-
@objc dynamic public func mason_prepend(nodes: [Mason.MasonNode])
|
|
1282
|
-
@objc dynamic public func mason_addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
1283
|
-
@objc dynamic public func mason_addChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1284
|
-
@objc dynamic public func mason_addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
1285
|
-
@objc dynamic public func mason_replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
1286
|
-
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1287
|
-
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
1288
|
-
}
|
|
1289
|
-
@objc @_inheritsConvenienceInitializers public class BackgroundCALayer : QuartzCore.CALayer {
|
|
1290
|
-
@objc override dynamic public func draw(in ctx: CoreGraphics.CGContext)
|
|
1291
|
-
public func invalidate()
|
|
1292
|
-
@objc override dynamic public func layoutSublayers()
|
|
1293
|
-
@objc override dynamic public init()
|
|
1294
|
-
@objc override dynamic public init(layer: Any)
|
|
1295
|
-
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
1296
|
-
@objc deinit
|
|
1297
|
-
}
|
|
1298
|
-
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
1299
|
-
case Loading
|
|
1300
|
-
case Loaded
|
|
1301
|
-
case Error
|
|
1302
|
-
public typealias RawValue = Swift.Int32
|
|
1303
|
-
public var rawValue: Mason.LoadingState.RawValue {
|
|
1304
|
-
get
|
|
1305
|
-
}
|
|
1306
|
-
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1307
|
-
}
|
|
1308
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
1309
|
-
@objc override dynamic public init()
|
|
1310
|
-
@objc override dynamic public init(layer: Any)
|
|
1311
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1312
|
-
@objc deinit
|
|
1313
|
-
}
|
|
1314
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1315
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1316
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1317
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1318
|
-
@objc get
|
|
1319
|
-
}
|
|
1320
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1321
|
-
@objc get
|
|
1322
|
-
}
|
|
1323
|
-
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
1324
|
-
@objc @_Concurrency.MainActor @preconcurrency public var onStateChange: ((Mason.LoadingState, (any Swift.Error)?) -> Swift.Void)?
|
|
1325
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1326
|
-
@objc get
|
|
1327
|
-
}
|
|
1328
|
-
@objc @_Concurrency.MainActor @preconcurrency public var image: UIKit.UIImage? {
|
|
1329
|
-
@objc get
|
|
1330
|
-
@objc set
|
|
1331
|
-
}
|
|
1332
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1333
|
-
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
2123
|
+
@objc dynamic public var mason_innerHTML: Swift.String {
|
|
1334
2124
|
@objc get
|
|
1335
2125
|
@objc set
|
|
1336
2126
|
}
|
|
1337
|
-
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1338
|
-
@objc deinit
|
|
1339
|
-
}
|
|
1340
|
-
@objc public protocol MasonCharacterData {
|
|
1341
|
-
@objc var data: Swift.String { get set }
|
|
1342
|
-
@objc var length: Swift.Int { get }
|
|
1343
|
-
@objc @discardableResult
|
|
1344
|
-
func appendData(_ s: Swift.String) -> Self
|
|
1345
|
-
@objc @discardableResult
|
|
1346
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1347
|
-
@objc @discardableResult
|
|
1348
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1349
|
-
@objc @discardableResult
|
|
1350
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1351
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1352
|
-
@objc @discardableResult
|
|
1353
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
1354
|
-
@objc @discardableResult
|
|
1355
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1356
|
-
}
|
|
1357
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1358
|
-
@objc public var data: Swift.String
|
|
1359
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1360
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1361
|
-
@objc public var length: Swift.Int {
|
|
1362
|
-
@objc get
|
|
1363
|
-
}
|
|
1364
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1365
|
-
@discardableResult
|
|
1366
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1367
|
-
@discardableResult
|
|
1368
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1369
2127
|
@discardableResult
|
|
1370
|
-
@objc public func
|
|
1371
|
-
@discardableResult
|
|
1372
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2128
|
+
@objc dynamic public func mason_addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
1373
2129
|
@discardableResult
|
|
1374
|
-
@objc public func
|
|
2130
|
+
@objc dynamic public func mason_removeEventListener(_ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
1375
2131
|
@discardableResult
|
|
1376
|
-
@objc public func
|
|
1377
|
-
@objc
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
@objc dynamic public func
|
|
1381
|
-
|
|
1382
|
-
@objc
|
|
1383
|
-
@objc
|
|
1384
|
-
@
|
|
1385
|
-
@objc func
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
public func
|
|
1389
|
-
|
|
1390
|
-
@
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
@objc
|
|
2132
|
+
@objc dynamic public func mason_removeEventListener(_ event: Swift.String) -> Swift.Bool
|
|
2133
|
+
@objc dynamic public func mason_dispatch(_ event: Mason.MasonEvent)
|
|
2134
|
+
@objc dynamic public func mason_syncStyle(_ low: Swift.String, _ high: Swift.String)
|
|
2135
|
+
@objc dynamic public func mason_addView(_ view: UIKit.UIView)
|
|
2136
|
+
@objc dynamic public func mason_addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
2137
|
+
@objc dynamic public func mason_markNodeDirty()
|
|
2138
|
+
@objc dynamic public func mason_isNodeDirty() -> Swift.Bool
|
|
2139
|
+
@objc dynamic public func mason_configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
2140
|
+
@discardableResult
|
|
2141
|
+
@objc dynamic public func mason_layout() -> Mason.MasonLayout
|
|
2142
|
+
@objc dynamic public func mason_compute()
|
|
2143
|
+
@objc dynamic public func mason_compute(width: Swift.Float, height: Swift.Float)
|
|
2144
|
+
@objc dynamic public func mason_computeMaxContent()
|
|
2145
|
+
@objc dynamic public func mason_computeMinContent()
|
|
2146
|
+
@objc dynamic public func mason_computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
2147
|
+
@objc dynamic public func mason_computeWithViewSize()
|
|
2148
|
+
@objc dynamic public func mason_computeWithViewSize(layout: Swift.Bool)
|
|
2149
|
+
@objc dynamic public func mason_computeWithMaxContent()
|
|
2150
|
+
@objc dynamic public func mason_computeWithMinContent()
|
|
2151
|
+
@objc dynamic public func mason_attachAndApply()
|
|
2152
|
+
@objc dynamic public func mason_requestLayout()
|
|
2153
|
+
@objc dynamic public func mason_invalidateLayout()
|
|
2154
|
+
@objc dynamic public func mason_append(_ element: any Mason.MasonElementObjc)
|
|
2155
|
+
@objc dynamic public func mason_append(text: Swift.String)
|
|
2156
|
+
@objc dynamic public func mason_append(node: Mason.MasonNode)
|
|
2157
|
+
@objc dynamic public func mason_append(texts: [Swift.String])
|
|
2158
|
+
@objc dynamic public func mason_append(elements: [any Mason.MasonElementObjc])
|
|
2159
|
+
@objc dynamic public func mason_append(nodes: [Mason.MasonNode])
|
|
2160
|
+
@objc dynamic public func mason_prepend(_ element: any Mason.MasonElementObjc)
|
|
2161
|
+
@objc dynamic public func mason_prepend(text: Swift.String)
|
|
2162
|
+
@objc dynamic public func mason_prepend(node: Mason.MasonNode)
|
|
2163
|
+
@objc dynamic public func mason_prepend(texts: [Swift.String])
|
|
2164
|
+
@objc dynamic public func mason_prepend(elements: [any Mason.MasonElementObjc])
|
|
2165
|
+
@objc dynamic public func mason_prepend(nodes: [Mason.MasonNode])
|
|
2166
|
+
@objc dynamic public func mason_addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
2167
|
+
@objc dynamic public func mason_addChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2168
|
+
@objc dynamic public func mason_addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
2169
|
+
@objc dynamic public func mason_replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
2170
|
+
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2171
|
+
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
2172
|
+
@objc dynamic public func mason_removeChildAt(_ index: Swift.Int)
|
|
2173
|
+
@objc dynamic public func mason_removeChildNode(_ node: Mason.MasonNode)
|
|
1396
2174
|
}
|
|
1397
2175
|
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1398
2176
|
case None
|
|
@@ -1409,6 +2187,10 @@ extension Mason.TextContainer {
|
|
|
1409
2187
|
case Blockquote
|
|
1410
2188
|
case B
|
|
1411
2189
|
case Pre
|
|
2190
|
+
case Strong
|
|
2191
|
+
case Em
|
|
2192
|
+
case I
|
|
2193
|
+
case A
|
|
1412
2194
|
public typealias RawValue = Swift.Int32
|
|
1413
2195
|
public var rawValue: Mason.MasonTextType.RawValue {
|
|
1414
2196
|
get
|
|
@@ -1428,7 +2210,7 @@ public enum InlineSegmentPayload {
|
|
|
1428
2210
|
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1429
2211
|
@objc deinit
|
|
1430
2212
|
}
|
|
1431
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
2213
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
1432
2214
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1433
2215
|
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
1434
2216
|
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
@@ -1441,7 +2223,7 @@ public enum InlineSegmentPayload {
|
|
|
1441
2223
|
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
1442
2224
|
@objc get
|
|
1443
2225
|
}
|
|
1444
|
-
@_Concurrency.MainActor @preconcurrency @objc public func
|
|
2226
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
1445
2227
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1446
2228
|
@objc get
|
|
1447
2229
|
}
|
|
@@ -1452,8 +2234,12 @@ public enum InlineSegmentPayload {
|
|
|
1452
2234
|
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
1453
2235
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
1454
2236
|
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2237
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
1455
2238
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1456
2239
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
2240
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
2241
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
2242
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeAllViews()
|
|
1457
2243
|
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
1458
2244
|
get
|
|
1459
2245
|
set
|
|
@@ -1523,11 +2309,157 @@ extension Mason.MasonText {
|
|
|
1523
2309
|
extension Mason.MasonText {
|
|
1524
2310
|
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1525
2311
|
}
|
|
2312
|
+
@objc public protocol MasonCharacterData {
|
|
2313
|
+
@objc var data: Swift.String { get set }
|
|
2314
|
+
@objc var length: Swift.Int { get }
|
|
2315
|
+
@objc @discardableResult
|
|
2316
|
+
func appendData(_ s: Swift.String) -> Self
|
|
2317
|
+
@objc @discardableResult
|
|
2318
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2319
|
+
@objc @discardableResult
|
|
2320
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2321
|
+
@objc @discardableResult
|
|
2322
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2323
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2324
|
+
@objc @discardableResult
|
|
2325
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
2326
|
+
@objc @discardableResult
|
|
2327
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2328
|
+
}
|
|
2329
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
2330
|
+
@objc public var data: Swift.String {
|
|
2331
|
+
@objc get
|
|
2332
|
+
@objc set
|
|
2333
|
+
}
|
|
2334
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
2335
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
2336
|
+
@objc public var length: Swift.Int {
|
|
2337
|
+
@objc get
|
|
2338
|
+
}
|
|
2339
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
2340
|
+
@discardableResult
|
|
2341
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
2342
|
+
@discardableResult
|
|
2343
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
2344
|
+
@discardableResult
|
|
2345
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
2346
|
+
@discardableResult
|
|
2347
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
2348
|
+
@discardableResult
|
|
2349
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
2350
|
+
@discardableResult
|
|
2351
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
2352
|
+
@objc deinit
|
|
2353
|
+
}
|
|
2354
|
+
extension Mason.MasonTextNode {
|
|
2355
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
2356
|
+
}
|
|
2357
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
2358
|
+
@objc var engine: Mason.TextEngine { get }
|
|
2359
|
+
@objc var node: Mason.MasonNode { get }
|
|
2360
|
+
@objc func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2361
|
+
}
|
|
2362
|
+
extension Mason.TextContainer {
|
|
2363
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2364
|
+
}
|
|
2365
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
2366
|
+
public var textContent: Swift.String {
|
|
2367
|
+
get
|
|
2368
|
+
set
|
|
2369
|
+
}
|
|
2370
|
+
public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2371
|
+
@objc deinit
|
|
2372
|
+
}
|
|
2373
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(MasonTextInput) @_Concurrency.MainActor @preconcurrency public class MasonTextInput : UIKit.UITextView, UIKit.UITextViewDelegate {
|
|
2374
|
+
@objc @_Concurrency.MainActor @preconcurrency public var placeholder: Swift.String? {
|
|
2375
|
+
@objc get
|
|
2376
|
+
@objc set
|
|
2377
|
+
}
|
|
2378
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var text: Swift.String! {
|
|
2379
|
+
@objc get
|
|
2380
|
+
@objc set
|
|
2381
|
+
}
|
|
2382
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var attributedText: Foundation.NSAttributedString! {
|
|
2383
|
+
@objc get
|
|
2384
|
+
@objc set
|
|
2385
|
+
}
|
|
2386
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var font: UIKit.UIFont? {
|
|
2387
|
+
@objc get
|
|
2388
|
+
@objc set
|
|
2389
|
+
}
|
|
2390
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var textAlignment: UIKit.NSTextAlignment {
|
|
2391
|
+
@objc get
|
|
2392
|
+
@objc set
|
|
2393
|
+
}
|
|
2394
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2395
|
+
@objc deinit
|
|
2396
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidChange(_ textView: UIKit.UITextView)
|
|
2397
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidBeginEditing(_ textView: UIKit.UITextView)
|
|
2398
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textViewDidEndEditing(_ textView: UIKit.UITextView)
|
|
2399
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func paste(_ sender: Any?)
|
|
2400
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func cut(_ sender: Any?)
|
|
2401
|
+
@_Concurrency.MainActor @preconcurrency @objc public func textView(_ textView: UIKit.UITextView, shouldChangeTextIn range: Foundation.NSRange, replacementText text: Swift.String) -> Swift.Bool
|
|
2402
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func caretRect(for position: UIKit.UITextPosition) -> CoreFoundation.CGRect
|
|
2403
|
+
}
|
|
2404
|
+
@objc @_inheritsConvenienceInitializers public class BackgroundCALayer : QuartzCore.CALayer {
|
|
2405
|
+
@objc override dynamic public func draw(in ctx: CoreGraphics.CGContext)
|
|
2406
|
+
public func invalidate()
|
|
2407
|
+
@objc override dynamic public func layoutSublayers()
|
|
2408
|
+
@objc override dynamic public init()
|
|
2409
|
+
@objc override dynamic public init(layer: Any)
|
|
2410
|
+
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
2411
|
+
@objc deinit
|
|
2412
|
+
}
|
|
2413
|
+
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
2414
|
+
case Loading
|
|
2415
|
+
case Loaded
|
|
2416
|
+
case Error
|
|
2417
|
+
public typealias RawValue = Swift.Int32
|
|
2418
|
+
public var rawValue: Mason.LoadingState.RawValue {
|
|
2419
|
+
get
|
|
2420
|
+
}
|
|
2421
|
+
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
2422
|
+
}
|
|
2423
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
2424
|
+
@objc override dynamic public init()
|
|
2425
|
+
public init(view: Mason.Img)
|
|
2426
|
+
@objc override dynamic public init(layer: Any)
|
|
2427
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
2428
|
+
@objc override dynamic public func layoutSublayers()
|
|
2429
|
+
@objc deinit
|
|
2430
|
+
}
|
|
2431
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2432
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2433
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
2434
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2435
|
+
@objc get
|
|
2436
|
+
}
|
|
2437
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2438
|
+
@objc get
|
|
2439
|
+
}
|
|
2440
|
+
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
2441
|
+
@objc @_Concurrency.MainActor @preconcurrency public var onStateChange: ((Mason.LoadingState, (any Swift.Error)?) -> Swift.Void)?
|
|
2442
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
2443
|
+
@objc get
|
|
2444
|
+
}
|
|
2445
|
+
@objc @_Concurrency.MainActor @preconcurrency public var image: UIKit.UIImage? {
|
|
2446
|
+
@objc get
|
|
2447
|
+
@objc set
|
|
2448
|
+
}
|
|
2449
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2450
|
+
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
2451
|
+
@objc get
|
|
2452
|
+
@objc set
|
|
2453
|
+
}
|
|
2454
|
+
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
2455
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2456
|
+
@objc deinit
|
|
2457
|
+
}
|
|
1526
2458
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1527
2459
|
case Auto
|
|
1528
2460
|
case Points
|
|
1529
2461
|
case Percent
|
|
1530
|
-
public typealias RawValue = Swift.
|
|
2462
|
+
public typealias RawValue = Swift.Int8
|
|
1531
2463
|
public var rawValue: Mason.MasonDimensionCompatType.RawValue {
|
|
1532
2464
|
get
|
|
1533
2465
|
}
|
|
@@ -1537,7 +2469,7 @@ extension Mason.MasonText {
|
|
|
1537
2469
|
case Auto
|
|
1538
2470
|
case Points
|
|
1539
2471
|
case Percent
|
|
1540
|
-
public typealias RawValue = Swift.
|
|
2472
|
+
public typealias RawValue = Swift.Int8
|
|
1541
2473
|
public var rawValue: Mason.MasonLengthPercentageAutoCompatType.RawValue {
|
|
1542
2474
|
get
|
|
1543
2475
|
}
|
|
@@ -1546,7 +2478,7 @@ extension Mason.MasonText {
|
|
|
1546
2478
|
@objc(MasonLengthPercentageCompatType) public enum MasonLengthPercentageCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1547
2479
|
case Points
|
|
1548
2480
|
case Percent
|
|
1549
|
-
public typealias RawValue = Swift.
|
|
2481
|
+
public typealias RawValue = Swift.Int8
|
|
1550
2482
|
public var rawValue: Mason.MasonLengthPercentageCompatType.RawValue {
|
|
1551
2483
|
get
|
|
1552
2484
|
}
|
|
@@ -1555,7 +2487,7 @@ extension Mason.MasonText {
|
|
|
1555
2487
|
@objc(MasonBoxSizing) public enum BoxSizing : Swift.Int, Swift.RawRepresentable {
|
|
1556
2488
|
case BorderBox
|
|
1557
2489
|
case ContentBox
|
|
1558
|
-
public typealias RawValue = Swift.
|
|
2490
|
+
public typealias RawValue = Swift.Int8
|
|
1559
2491
|
public var rawValue: Mason.BoxSizing.RawValue {
|
|
1560
2492
|
get
|
|
1561
2493
|
}
|
|
@@ -1566,7 +2498,7 @@ extension Mason.MasonText {
|
|
|
1566
2498
|
case Left
|
|
1567
2499
|
case Right
|
|
1568
2500
|
case Center
|
|
1569
|
-
public typealias RawValue = Swift.
|
|
2501
|
+
public typealias RawValue = Swift.Int8
|
|
1570
2502
|
public var rawValue: Mason.Align.RawValue {
|
|
1571
2503
|
get
|
|
1572
2504
|
}
|
|
@@ -1580,7 +2512,7 @@ extension Mason.MasonText {
|
|
|
1580
2512
|
case Justify
|
|
1581
2513
|
case Start
|
|
1582
2514
|
case End
|
|
1583
|
-
public typealias RawValue = Swift.
|
|
2515
|
+
public typealias RawValue = Swift.Int8
|
|
1584
2516
|
public var rawValue: Mason.TextAlign.RawValue {
|
|
1585
2517
|
get
|
|
1586
2518
|
}
|
|
@@ -1593,6 +2525,16 @@ public enum MasonDimension : Swift.Codable, Swift.Equatable {
|
|
|
1593
2525
|
case Auto
|
|
1594
2526
|
case Points(Swift.Float)
|
|
1595
2527
|
case Percent(Swift.Float)
|
|
2528
|
+
public enum Kind : Swift.RawRepresentable {
|
|
2529
|
+
case Auto
|
|
2530
|
+
case Points
|
|
2531
|
+
case Percent
|
|
2532
|
+
public typealias RawValue = Swift.Int8
|
|
2533
|
+
public init?(rawValue: Swift.Int8)
|
|
2534
|
+
public var rawValue: Swift.Int8 {
|
|
2535
|
+
get
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
1596
2538
|
public var cssValue: Swift.String {
|
|
1597
2539
|
get
|
|
1598
2540
|
}
|
|
@@ -1624,10 +2566,11 @@ public func MasonLengthPercentageAutoFromPoints(value: Swift.Float) -> Mason.Mas
|
|
|
1624
2566
|
public func MasonLengthPercentageAutoFromPercent(value: Swift.Float) -> Mason.MasonLengthPercentageAuto
|
|
1625
2567
|
public let MasonLengthPercentageAutoAuto: Mason.MasonLengthPercentageAuto
|
|
1626
2568
|
public let MasonLengthPercentageAutoZero: Mason.MasonLengthPercentageAuto
|
|
1627
|
-
public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
2569
|
+
public enum MasonLengthPercentageAuto : Swift.Codable, Swift.Equatable {
|
|
1628
2570
|
case Auto
|
|
1629
2571
|
case Points(Swift.Float)
|
|
1630
2572
|
case Percent(Swift.Float)
|
|
2573
|
+
case Zero
|
|
1631
2574
|
public var cssValue: Swift.String {
|
|
1632
2575
|
get
|
|
1633
2576
|
}
|
|
@@ -1636,6 +2579,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1636
2579
|
}
|
|
1637
2580
|
public init(from decoder: any Swift.Decoder) throws
|
|
1638
2581
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
2582
|
+
public static func == (a: Mason.MasonLengthPercentageAuto, b: Mason.MasonLengthPercentageAuto) -> Swift.Bool
|
|
1639
2583
|
}
|
|
1640
2584
|
@objc(MasonAlignItems) public enum AlignItems : Swift.Int, Swift.RawRepresentable {
|
|
1641
2585
|
case Normal = -1
|
|
@@ -1646,7 +2590,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1646
2590
|
case Stretch
|
|
1647
2591
|
case FlexStart
|
|
1648
2592
|
case FlexEnd
|
|
1649
|
-
public typealias RawValue = Swift.
|
|
2593
|
+
public typealias RawValue = Swift.Int8
|
|
1650
2594
|
public var rawValue: Mason.AlignItems.RawValue {
|
|
1651
2595
|
get
|
|
1652
2596
|
}
|
|
@@ -1661,7 +2605,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1661
2605
|
case Stretch
|
|
1662
2606
|
case FlexStart
|
|
1663
2607
|
case FlexEnd
|
|
1664
|
-
public typealias RawValue = Swift.
|
|
2608
|
+
public typealias RawValue = Swift.Int8
|
|
1665
2609
|
public var rawValue: Mason.AlignSelf.RawValue {
|
|
1666
2610
|
get
|
|
1667
2611
|
}
|
|
@@ -1678,7 +2622,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1678
2622
|
case SpaceEvenly
|
|
1679
2623
|
case FlexStart
|
|
1680
2624
|
case FlexEnd
|
|
1681
|
-
public typealias RawValue = Swift.
|
|
2625
|
+
public typealias RawValue = Swift.Int8
|
|
1682
2626
|
public var rawValue: Mason.AlignContent.RawValue {
|
|
1683
2627
|
get
|
|
1684
2628
|
}
|
|
@@ -1688,7 +2632,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1688
2632
|
case Inherit
|
|
1689
2633
|
case LTR
|
|
1690
2634
|
case RTL
|
|
1691
|
-
public typealias RawValue = Swift.
|
|
2635
|
+
public typealias RawValue = Swift.Int8
|
|
1692
2636
|
public var rawValue: Mason.Direction.RawValue {
|
|
1693
2637
|
get
|
|
1694
2638
|
}
|
|
@@ -1703,7 +2647,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1703
2647
|
case InlineBlock
|
|
1704
2648
|
case InlineFlex
|
|
1705
2649
|
case InlineGrid
|
|
1706
|
-
public typealias RawValue = Swift.
|
|
2650
|
+
public typealias RawValue = Swift.Int8
|
|
1707
2651
|
public var rawValue: Mason.Display.RawValue {
|
|
1708
2652
|
get
|
|
1709
2653
|
}
|
|
@@ -1717,7 +2661,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1717
2661
|
case Column
|
|
1718
2662
|
case RowReverse
|
|
1719
2663
|
case ColumnReverse
|
|
1720
|
-
public typealias RawValue = Swift.
|
|
2664
|
+
public typealias RawValue = Swift.Int8
|
|
1721
2665
|
public var rawValue: Mason.FlexDirection.RawValue {
|
|
1722
2666
|
get
|
|
1723
2667
|
}
|
|
@@ -1735,7 +2679,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1735
2679
|
case Stretch
|
|
1736
2680
|
case FlexStart
|
|
1737
2681
|
case FlexEnd
|
|
1738
|
-
public typealias RawValue = Swift.
|
|
2682
|
+
public typealias RawValue = Swift.Int8
|
|
1739
2683
|
public var rawValue: Mason.JustifyItems.RawValue {
|
|
1740
2684
|
get
|
|
1741
2685
|
}
|
|
@@ -1750,7 +2694,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1750
2694
|
case Stretch
|
|
1751
2695
|
case FlexStart
|
|
1752
2696
|
case FlexEnd
|
|
1753
|
-
public typealias RawValue = Swift.
|
|
2697
|
+
public typealias RawValue = Swift.Int8
|
|
1754
2698
|
public var rawValue: Mason.JustifySelf.RawValue {
|
|
1755
2699
|
get
|
|
1756
2700
|
}
|
|
@@ -1767,7 +2711,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1767
2711
|
case SpaceEvenly
|
|
1768
2712
|
case FlexStart
|
|
1769
2713
|
case FlexEnd
|
|
1770
|
-
public typealias RawValue = Swift.
|
|
2714
|
+
public typealias RawValue = Swift.Int8
|
|
1771
2715
|
public var rawValue: Mason.JustifyContent.RawValue {
|
|
1772
2716
|
get
|
|
1773
2717
|
}
|
|
@@ -1779,7 +2723,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1779
2723
|
case Scroll
|
|
1780
2724
|
case Clip
|
|
1781
2725
|
case Auto
|
|
1782
|
-
public typealias RawValue = Swift.
|
|
2726
|
+
public typealias RawValue = Swift.Int8
|
|
1783
2727
|
public var rawValue: Mason.Overflow.RawValue {
|
|
1784
2728
|
get
|
|
1785
2729
|
}
|
|
@@ -1788,7 +2732,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1788
2732
|
@objc(MasonPosition) public enum Position : Swift.Int, Swift.RawRepresentable {
|
|
1789
2733
|
case Relative
|
|
1790
2734
|
case Absolute
|
|
1791
|
-
public typealias RawValue = Swift.
|
|
2735
|
+
public typealias RawValue = Swift.Int8
|
|
1792
2736
|
public var rawValue: Mason.Position.RawValue {
|
|
1793
2737
|
get
|
|
1794
2738
|
}
|
|
@@ -1798,7 +2742,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1798
2742
|
case NoWrap
|
|
1799
2743
|
case Wrap
|
|
1800
2744
|
case WrapReverse
|
|
1801
|
-
public typealias RawValue = Swift.
|
|
2745
|
+
public typealias RawValue = Swift.Int8
|
|
1802
2746
|
public var rawValue: Mason.FlexWrap.RawValue {
|
|
1803
2747
|
get
|
|
1804
2748
|
}
|
|
@@ -1809,7 +2753,7 @@ public enum MasonLengthPercentageAuto : Swift.Codable {
|
|
|
1809
2753
|
case Column
|
|
1810
2754
|
case RowDense
|
|
1811
2755
|
case ColumnDense
|
|
1812
|
-
public typealias RawValue = Swift.
|
|
2756
|
+
public typealias RawValue = Swift.Int8
|
|
1813
2757
|
public var rawValue: Mason.GridAutoFlow.RawValue {
|
|
1814
2758
|
get
|
|
1815
2759
|
}
|
|
@@ -1829,7 +2773,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1829
2773
|
case Auto
|
|
1830
2774
|
case Line
|
|
1831
2775
|
case Span
|
|
1832
|
-
public typealias RawValue = Swift.
|
|
2776
|
+
public typealias RawValue = Swift.Int8
|
|
1833
2777
|
public var rawValue: Mason.GridPlacementCompatType.RawValue {
|
|
1834
2778
|
get
|
|
1835
2779
|
}
|
|
@@ -1855,7 +2799,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1855
2799
|
case Underline
|
|
1856
2800
|
case Overline
|
|
1857
2801
|
case LineThrough
|
|
1858
|
-
public typealias RawValue = Swift.
|
|
2802
|
+
public typealias RawValue = Swift.Int8
|
|
1859
2803
|
public var rawValue: Mason.DecorationLine.RawValue {
|
|
1860
2804
|
get
|
|
1861
2805
|
}
|
|
@@ -1869,7 +2813,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1869
2813
|
case FullWidth
|
|
1870
2814
|
case FullSizeKana
|
|
1871
2815
|
case MathAuto
|
|
1872
|
-
public typealias RawValue = Swift.
|
|
2816
|
+
public typealias RawValue = Swift.Int8
|
|
1873
2817
|
public var rawValue: Mason.TextTransform.RawValue {
|
|
1874
2818
|
get
|
|
1875
2819
|
}
|
|
@@ -1879,7 +2823,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1879
2823
|
case Normal
|
|
1880
2824
|
case Italic
|
|
1881
2825
|
case Oblique
|
|
1882
|
-
public typealias RawValue = Swift.
|
|
2826
|
+
public typealias RawValue = Swift.Int8
|
|
1883
2827
|
public var rawValue: Mason.FontStyle.RawValue {
|
|
1884
2828
|
get
|
|
1885
2829
|
}
|
|
@@ -1893,7 +2837,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1893
2837
|
case NoWrap
|
|
1894
2838
|
case Balance
|
|
1895
2839
|
case Pretty
|
|
1896
|
-
public typealias RawValue = Swift.
|
|
2840
|
+
public typealias RawValue = Swift.Int8
|
|
1897
2841
|
public var rawValue: Mason.TextWrap.RawValue {
|
|
1898
2842
|
get
|
|
1899
2843
|
}
|
|
@@ -1909,7 +2853,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1909
2853
|
case PreLine
|
|
1910
2854
|
case NoWrap
|
|
1911
2855
|
case BreakSpaces
|
|
1912
|
-
public typealias RawValue = Swift.
|
|
2856
|
+
public typealias RawValue = Swift.Int8
|
|
1913
2857
|
public var rawValue: Mason.WhiteSpace.RawValue {
|
|
1914
2858
|
get
|
|
1915
2859
|
}
|
|
@@ -1923,7 +2867,7 @@ public enum GridPlacement : Swift.Codable {
|
|
|
1923
2867
|
case Pre
|
|
1924
2868
|
case PreWrap
|
|
1925
2869
|
case PreLine
|
|
1926
|
-
public typealias RawValue = Swift.
|
|
2870
|
+
public typealias RawValue = Swift.Int8
|
|
1927
2871
|
public var rawValue: Mason.LineHeight.RawValue {
|
|
1928
2872
|
get
|
|
1929
2873
|
}
|
|
@@ -1936,7 +2880,7 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1936
2880
|
case Clip
|
|
1937
2881
|
case Ellipse(Swift.String?)
|
|
1938
2882
|
case Custom(Swift.String)
|
|
1939
|
-
public typealias RawValue = Swift.
|
|
2883
|
+
public typealias RawValue = Swift.Int8
|
|
1940
2884
|
public var description: Swift.String {
|
|
1941
2885
|
get
|
|
1942
2886
|
}
|
|
@@ -1956,7 +2900,7 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1956
2900
|
case InterWord
|
|
1957
2901
|
case InterCharacter
|
|
1958
2902
|
case Distribute
|
|
1959
|
-
public typealias RawValue = Swift.
|
|
2903
|
+
public typealias RawValue = Swift.Int8
|
|
1960
2904
|
public var rawValue: Mason.TextJustify.RawValue {
|
|
1961
2905
|
get
|
|
1962
2906
|
}
|
|
@@ -1971,7 +2915,7 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1971
2915
|
case Dotted
|
|
1972
2916
|
case Dashed
|
|
1973
2917
|
case Wavy
|
|
1974
|
-
public typealias RawValue = Swift.
|
|
2918
|
+
public typealias RawValue = Swift.Int8
|
|
1975
2919
|
public var rawValue: Mason.DecorationStyle.RawValue {
|
|
1976
2920
|
get
|
|
1977
2921
|
}
|
|
@@ -1984,7 +2928,7 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1984
2928
|
case None
|
|
1985
2929
|
case Left
|
|
1986
2930
|
case Right
|
|
1987
|
-
public typealias RawValue = Swift.
|
|
2931
|
+
public typealias RawValue = Swift.Int8
|
|
1988
2932
|
public var rawValue: Mason.MasonFloat.RawValue {
|
|
1989
2933
|
get
|
|
1990
2934
|
}
|
|
@@ -1998,7 +2942,7 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1998
2942
|
case Left
|
|
1999
2943
|
case Right
|
|
2000
2944
|
case Both
|
|
2001
|
-
public typealias RawValue = Swift.
|
|
2945
|
+
public typealias RawValue = Swift.Int8
|
|
2002
2946
|
public var rawValue: Mason.Clear.RawValue {
|
|
2003
2947
|
get
|
|
2004
2948
|
}
|
|
@@ -2013,7 +2957,7 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
2013
2957
|
case Fill
|
|
2014
2958
|
case None
|
|
2015
2959
|
case ScaleDown
|
|
2016
|
-
public typealias RawValue = Swift.
|
|
2960
|
+
public typealias RawValue = Swift.Int8
|
|
2017
2961
|
public var rawValue: Mason.ObjectFit.RawValue {
|
|
2018
2962
|
get
|
|
2019
2963
|
}
|
|
@@ -2056,23 +3000,115 @@ public enum VerticalAlign {
|
|
|
2056
3000
|
public init(style: Mason.MasonStyle)
|
|
2057
3001
|
@objc deinit
|
|
2058
3002
|
}
|
|
2059
|
-
@
|
|
3003
|
+
@objc(MasonInputType) public enum MasonInputType : Swift.Int8, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
3004
|
+
public typealias RawValue = Swift.Int8
|
|
3005
|
+
case Text
|
|
3006
|
+
case Button
|
|
3007
|
+
case Checkbox
|
|
3008
|
+
case Email
|
|
3009
|
+
case Password
|
|
3010
|
+
case Date
|
|
3011
|
+
case Radio
|
|
3012
|
+
case Number
|
|
3013
|
+
case Range
|
|
3014
|
+
case Tel
|
|
3015
|
+
case Url
|
|
3016
|
+
case Color
|
|
3017
|
+
case File
|
|
3018
|
+
case Submit
|
|
3019
|
+
public var description: Swift.String {
|
|
3020
|
+
get
|
|
3021
|
+
}
|
|
3022
|
+
public init?(rawValue: Swift.Int32)
|
|
3023
|
+
public var rawValue: Swift.Int32 {
|
|
3024
|
+
get
|
|
3025
|
+
}
|
|
3026
|
+
public init?(rawValue: Swift.Int8)
|
|
3027
|
+
public var rawValue: Swift.Int8 {
|
|
3028
|
+
get
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
@objc(MasonListStylePosition) public enum ListStylePosition : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
3032
|
+
case Outside
|
|
3033
|
+
case Inside
|
|
3034
|
+
public typealias RawValue = Swift.Int8
|
|
3035
|
+
public var rawValue: Mason.ListStylePosition.RawValue {
|
|
3036
|
+
get
|
|
3037
|
+
}
|
|
3038
|
+
public init?(rawValue: Mason.ListStylePosition.RawValue)
|
|
3039
|
+
public var description: Swift.String {
|
|
3040
|
+
get
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
@objc(MasonListStyleType) public enum ListStyleType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
3044
|
+
case None
|
|
3045
|
+
case Custom
|
|
3046
|
+
case Disc
|
|
3047
|
+
case Circle
|
|
3048
|
+
case Square
|
|
3049
|
+
case Decimal
|
|
3050
|
+
public typealias RawValue = Swift.Int8
|
|
3051
|
+
public var rawValue: Mason.ListStyleType.RawValue {
|
|
3052
|
+
get
|
|
3053
|
+
}
|
|
3054
|
+
public init?(rawValue: Mason.ListStyleType.RawValue)
|
|
3055
|
+
public var description: Swift.String {
|
|
3056
|
+
get
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
public struct FontVariantNumeric : Swift.OptionSet, Swift.CustomStringConvertible {
|
|
3060
|
+
public let rawValue: Swift.UInt8
|
|
3061
|
+
public init(rawValue: Swift.UInt8)
|
|
3062
|
+
public static let liningNums: Mason.FontVariantNumeric
|
|
3063
|
+
public static let oldstyleNums: Mason.FontVariantNumeric
|
|
3064
|
+
public static let proportionalNums: Mason.FontVariantNumeric
|
|
3065
|
+
public static let tabularNums: Mason.FontVariantNumeric
|
|
3066
|
+
public static let diagonalFractions: Mason.FontVariantNumeric
|
|
3067
|
+
public static let stackedFractions: Mason.FontVariantNumeric
|
|
3068
|
+
public static let ordinal: Mason.FontVariantNumeric
|
|
3069
|
+
public static let slashedZero: Mason.FontVariantNumeric
|
|
3070
|
+
public static let normal: Mason.FontVariantNumeric
|
|
3071
|
+
public var fontFeatureSettings: [(Swift.Int, Swift.Int)] {
|
|
3072
|
+
get
|
|
3073
|
+
}
|
|
3074
|
+
public var cssValue: Swift.String {
|
|
3075
|
+
get
|
|
3076
|
+
}
|
|
3077
|
+
public var description: Swift.String {
|
|
3078
|
+
get
|
|
3079
|
+
}
|
|
3080
|
+
public static func parse(_ css: Swift.String) -> Mason.FontVariantNumeric
|
|
3081
|
+
public typealias ArrayLiteralElement = Mason.FontVariantNumeric
|
|
3082
|
+
public typealias Element = Mason.FontVariantNumeric
|
|
3083
|
+
public typealias RawValue = Swift.UInt8
|
|
3084
|
+
}
|
|
3085
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2060
3086
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
2061
3087
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2062
3088
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
2063
3089
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2064
3090
|
@objc get
|
|
2065
3091
|
}
|
|
3092
|
+
@objc @_Concurrency.MainActor @preconcurrency public var contentSize: CoreFoundation.CGSize
|
|
3093
|
+
@objc @_Concurrency.MainActor @preconcurrency public var contentOffset: CoreFoundation.CGPoint {
|
|
3094
|
+
@objc get
|
|
3095
|
+
@objc set
|
|
3096
|
+
}
|
|
2066
3097
|
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2067
3098
|
@objc get
|
|
2068
3099
|
}
|
|
2069
3100
|
@objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
|
|
2070
3101
|
@objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
|
|
3102
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
3103
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
|
|
3104
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func willMove(toSuperview newSuperview: UIKit.UIView?)
|
|
2071
3105
|
@objc @_Concurrency.MainActor @preconcurrency public static func createGridView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
2072
3106
|
@objc @_Concurrency.MainActor @preconcurrency public static func createFlexView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
2073
3107
|
@objc @_Concurrency.MainActor @preconcurrency public static func createBlockView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
2074
3108
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
2075
3109
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
3110
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
3111
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
2076
3112
|
@objc @_Concurrency.MainActor @preconcurrency public func addSubviews(_ views: [UIKit.UIView])
|
|
2077
3113
|
@objc @_Concurrency.MainActor @preconcurrency public func addSubviews(_ views: [UIKit.UIView], at index: Swift.Int)
|
|
2078
3114
|
@objc @_Concurrency.MainActor @preconcurrency public var inBatch: Swift.Bool {
|
|
@@ -2215,7 +3251,7 @@ public enum VerticalAlign {
|
|
|
2215
3251
|
@objc get
|
|
2216
3252
|
@objc set(value)
|
|
2217
3253
|
}
|
|
2218
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setPadding(_ left: Swift.Float, _
|
|
3254
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setPadding(_ left: Swift.Float, _ top: Swift.Float, _ right: Swift.Float, _ bottom: Swift.Float)
|
|
2219
3255
|
@objc @_Concurrency.MainActor @preconcurrency public func getPadding() -> Mason.MasonLengthPercentageRectCompat
|
|
2220
3256
|
@objc @_Concurrency.MainActor @preconcurrency public func setPaddingLeft(_ left: Swift.Float, _ type: Swift.Int)
|
|
2221
3257
|
@objc @_Concurrency.MainActor @preconcurrency public func setPaddingRight(_ right: Swift.Float, _ type: Swift.Int)
|
|
@@ -2274,7 +3310,7 @@ public enum VerticalAlign {
|
|
|
2274
3310
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxSizeWidth() -> Mason.MasonDimensionCompat
|
|
2275
3311
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxSizeHeight() -> Mason.MasonDimensionCompat
|
|
2276
3312
|
@objc @_Concurrency.MainActor @preconcurrency public func setGap(_ width: Swift.Float, _ height: Swift.Float)
|
|
2277
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setGapWithWidthHeightType(_ width: Swift.Float, _ width_type: Swift.
|
|
3313
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setGapWithWidthHeightType(_ width: Swift.Float, _ width_type: Swift.Int8, _ height: Swift.Float, _ height_type: Swift.Int8)
|
|
2278
3314
|
@objc @_Concurrency.MainActor @preconcurrency public func getGap() -> Mason.MasonLengthPercentageSizeCompat
|
|
2279
3315
|
@objc @_Concurrency.MainActor @preconcurrency public func setRowGap(_ row: Swift.Float, _ type: Swift.Int)
|
|
2280
3316
|
@objc @_Concurrency.MainActor @preconcurrency public func setColumnGap(_ column: Swift.Float, _ type: Swift.Int)
|
|
@@ -2282,8 +3318,9 @@ public enum VerticalAlign {
|
|
|
2282
3318
|
@objc @_Concurrency.MainActor @preconcurrency public func getColumnGap() -> Mason.MasonLengthPercentageCompat
|
|
2283
3319
|
@objc deinit
|
|
2284
3320
|
}
|
|
2285
|
-
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, UIKit.UIScrollViewDelegate, Mason.MasonElement, Mason.MasonElementObjc {
|
|
3321
|
+
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, UIKit.UIScrollViewDelegate, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2286
3322
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
3323
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2287
3324
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2288
3325
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
2289
3326
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
@@ -2296,29 +3333,67 @@ public enum VerticalAlign {
|
|
|
2296
3333
|
@_Concurrency.MainActor @preconcurrency @objc public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView)
|
|
2297
3334
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
2298
3335
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
3336
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(_ view: UIKit.UIView)
|
|
3337
|
+
@objc @_Concurrency.MainActor @preconcurrency public func removeView(at index: Swift.Int)
|
|
2299
3338
|
@objc @_Concurrency.MainActor @preconcurrency public func setSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
2300
3339
|
@objc deinit
|
|
2301
3340
|
}
|
|
2302
|
-
@
|
|
2303
|
-
@objc
|
|
3341
|
+
@objcMembers @objc(MasonHTMLParser) public class HTMLParser : ObjectiveC.NSObject {
|
|
3342
|
+
@objc public init(mason: Mason.NSCMason)
|
|
3343
|
+
@objc public func parse(_ html: Swift.String) -> [Mason.MasonNode]
|
|
3344
|
+
public func parseInto(_ html: Swift.String, element: any Mason.MasonElement)
|
|
3345
|
+
@objc deinit
|
|
3346
|
+
}
|
|
3347
|
+
@_hasMissingDesignatedInitializers @objc(MasonBr) @objcMembers public class MasonBr : ObjectiveC.NSObject, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
3348
|
+
@objc final public let mason: Mason.NSCMason
|
|
3349
|
+
@objc public var node: Mason.MasonNode
|
|
3350
|
+
@objc public var uiView: UIKit.UIView {
|
|
3351
|
+
@objc get
|
|
3352
|
+
}
|
|
3353
|
+
@objc public var style: Mason.MasonStyle {
|
|
3354
|
+
@objc get
|
|
3355
|
+
}
|
|
3356
|
+
@objc deinit
|
|
3357
|
+
}
|
|
3358
|
+
@_hasMissingDesignatedInitializers @objc(MasonLi) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonLi : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
3359
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
3360
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
3361
|
+
@_Concurrency.MainActor @preconcurrency @objc public var node: Mason.MasonNode {
|
|
3362
|
+
get
|
|
3363
|
+
}
|
|
3364
|
+
@objc @_Concurrency.MainActor @preconcurrency public var mason: Mason.NSCMason {
|
|
3365
|
+
get
|
|
3366
|
+
}
|
|
3367
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
3368
|
+
@objc get
|
|
3369
|
+
}
|
|
3370
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
3371
|
+
@objc get
|
|
3372
|
+
}
|
|
3373
|
+
@objc @_Concurrency.MainActor @preconcurrency public var isOrdered: Swift.Bool
|
|
3374
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
3375
|
+
@objc @_Concurrency.MainActor @preconcurrency public func resetForRecycle()
|
|
3376
|
+
@objc @_Concurrency.MainActor @preconcurrency public func bind(position: Swift.Int, isOrdered: Swift.Bool)
|
|
2304
3377
|
@objc deinit
|
|
2305
3378
|
}
|
|
2306
|
-
extension Mason.NSCFontDisplay : Swift.Equatable {}
|
|
2307
|
-
extension Mason.NSCFontDisplay : Swift.Hashable {}
|
|
2308
|
-
extension Mason.NSCFontWeight : Swift.Equatable {}
|
|
2309
|
-
extension Mason.NSCFontWeight : Swift.Hashable {}
|
|
2310
|
-
extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
2311
|
-
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
2312
3379
|
extension Mason.CSSBorderRenderer.Side : Swift.Equatable {}
|
|
2313
3380
|
extension Mason.CSSBorderRenderer.Side : Swift.Hashable {}
|
|
2314
3381
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
2315
3382
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2316
|
-
extension Mason.
|
|
2317
|
-
extension Mason.
|
|
2318
|
-
extension Mason.
|
|
2319
|
-
extension Mason.
|
|
3383
|
+
extension Mason.PseudoState : Swift.Equatable {}
|
|
3384
|
+
extension Mason.PseudoState : Swift.Hashable {}
|
|
3385
|
+
extension Mason.PseudoState : Swift.RawRepresentable {}
|
|
3386
|
+
extension Mason.TransformOpType : Swift.Equatable {}
|
|
3387
|
+
extension Mason.TransformOpType : Swift.Hashable {}
|
|
3388
|
+
extension Mason.TransformOpType : Swift.RawRepresentable {}
|
|
3389
|
+
extension UIKit.UIImage.Direction : Swift.Equatable {}
|
|
3390
|
+
extension UIKit.UIImage.Direction : Swift.Hashable {}
|
|
3391
|
+
extension UIKit.UIImage.ChevronDirection : Swift.Equatable {}
|
|
3392
|
+
extension UIKit.UIImage.ChevronDirection : Swift.Hashable {}
|
|
2320
3393
|
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2321
3394
|
extension Mason.MasonTextType : Swift.Hashable {}
|
|
3395
|
+
extension Mason.LoadingState : Swift.Equatable {}
|
|
3396
|
+
extension Mason.LoadingState : Swift.Hashable {}
|
|
2322
3397
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
2323
3398
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
2324
3399
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|
|
@@ -2331,6 +3406,8 @@ extension Mason.Align : Swift.Equatable {}
|
|
|
2331
3406
|
extension Mason.Align : Swift.Hashable {}
|
|
2332
3407
|
extension Mason.TextAlign : Swift.Equatable {}
|
|
2333
3408
|
extension Mason.TextAlign : Swift.Hashable {}
|
|
3409
|
+
extension Mason.MasonDimension.Kind : Swift.Equatable {}
|
|
3410
|
+
extension Mason.MasonDimension.Kind : Swift.Hashable {}
|
|
2334
3411
|
extension Mason.AlignItems : Swift.Equatable {}
|
|
2335
3412
|
extension Mason.AlignItems : Swift.Hashable {}
|
|
2336
3413
|
extension Mason.AlignSelf : Swift.Equatable {}
|
|
@@ -2383,3 +3460,9 @@ extension Mason.ObjectFit : Swift.Equatable {}
|
|
|
2383
3460
|
extension Mason.ObjectFit : Swift.Hashable {}
|
|
2384
3461
|
extension Mason.VerticalAlign : Swift.Equatable {}
|
|
2385
3462
|
extension Mason.VerticalAlign : Swift.Hashable {}
|
|
3463
|
+
extension Mason.MasonInputType : Swift.Equatable {}
|
|
3464
|
+
extension Mason.MasonInputType : Swift.Hashable {}
|
|
3465
|
+
extension Mason.ListStylePosition : Swift.Equatable {}
|
|
3466
|
+
extension Mason.ListStylePosition : Swift.Hashable {}
|
|
3467
|
+
extension Mason.ListStyleType : Swift.Equatable {}
|
|
3468
|
+
extension Mason.ListStyleType : Swift.Hashable {}
|