@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-simulator -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-simulator -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()
|
|
@@ -361,192 +305,6 @@ public let MasonLengthPercentageSizeMaxPercentWH: Mason.MasonSize<Mason.MasonLen
|
|
|
361
305
|
public let MasonDimensionSizeZero: Mason.MasonSize<Mason.MasonDimension>
|
|
362
306
|
public let MasonLengthPercentageAutoSizeZero: Mason.MasonSize<Mason.MasonLengthPercentageAuto>
|
|
363
307
|
public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPercentage>
|
|
364
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
365
|
-
@objc var engine: Mason.TextEngine { get }
|
|
366
|
-
@objc var node: Mason.MasonNode { get }
|
|
367
|
-
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
368
|
-
}
|
|
369
|
-
extension Mason.TextContainer {
|
|
370
|
-
public func onTextStyleChanged(change: Swift.Int64)
|
|
371
|
-
}
|
|
372
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
373
|
-
public var textContent: Swift.String {
|
|
374
|
-
get
|
|
375
|
-
set
|
|
376
|
-
}
|
|
377
|
-
@objc deinit
|
|
378
|
-
}
|
|
379
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
380
|
-
case None
|
|
381
|
-
case P
|
|
382
|
-
case Span
|
|
383
|
-
case Code
|
|
384
|
-
case H1
|
|
385
|
-
case H2
|
|
386
|
-
case H3
|
|
387
|
-
case H4
|
|
388
|
-
case H5
|
|
389
|
-
case H6
|
|
390
|
-
case Li
|
|
391
|
-
case Blockquote
|
|
392
|
-
case B
|
|
393
|
-
case Pre
|
|
394
|
-
public typealias RawValue = Swift.Int32
|
|
395
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
396
|
-
get
|
|
397
|
-
}
|
|
398
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
399
|
-
public var description: Swift.String {
|
|
400
|
-
get
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
public enum InlineSegmentPayload {
|
|
404
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
405
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
406
|
-
}
|
|
407
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
408
|
-
@objc override dynamic public init()
|
|
409
|
-
@objc override dynamic public init(layer: Any)
|
|
410
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
411
|
-
@objc deinit
|
|
412
|
-
}
|
|
413
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
414
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
415
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
416
|
-
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
417
|
-
@objc get
|
|
418
|
-
@objc set
|
|
419
|
-
}
|
|
420
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
421
|
-
@objc get
|
|
422
|
-
}
|
|
423
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
424
|
-
@objc get
|
|
425
|
-
}
|
|
426
|
-
@_Concurrency.MainActor @preconcurrency @objc public func onTextStyleChanged(change: Swift.Int64)
|
|
427
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
428
|
-
@objc get
|
|
429
|
-
}
|
|
430
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
431
|
-
@objc get
|
|
432
|
-
}
|
|
433
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
434
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
435
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
436
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
437
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
438
|
-
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
439
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
440
|
-
get
|
|
441
|
-
set
|
|
442
|
-
}
|
|
443
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
444
|
-
@objc get
|
|
445
|
-
@objc set
|
|
446
|
-
}
|
|
447
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
448
|
-
@objc get
|
|
449
|
-
@objc set
|
|
450
|
-
}
|
|
451
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
452
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
453
|
-
@objc get
|
|
454
|
-
@objc set
|
|
455
|
-
}
|
|
456
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
457
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
458
|
-
@objc get
|
|
459
|
-
@objc set
|
|
460
|
-
}
|
|
461
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
462
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
463
|
-
@objc get
|
|
464
|
-
@objc set
|
|
465
|
-
}
|
|
466
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
467
|
-
@objc get
|
|
468
|
-
@objc set
|
|
469
|
-
}
|
|
470
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
471
|
-
@objc get
|
|
472
|
-
@objc set
|
|
473
|
-
}
|
|
474
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
475
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
476
|
-
@objc get
|
|
477
|
-
@objc set
|
|
478
|
-
}
|
|
479
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
480
|
-
@objc get
|
|
481
|
-
@objc set
|
|
482
|
-
}
|
|
483
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
484
|
-
@objc get
|
|
485
|
-
@objc set
|
|
486
|
-
}
|
|
487
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
488
|
-
@objc get
|
|
489
|
-
@objc set
|
|
490
|
-
}
|
|
491
|
-
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
492
|
-
@objc get
|
|
493
|
-
@objc set
|
|
494
|
-
}
|
|
495
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
496
|
-
@objc get
|
|
497
|
-
@objc set
|
|
498
|
-
}
|
|
499
|
-
@objc deinit
|
|
500
|
-
}
|
|
501
|
-
extension Mason.MasonText {
|
|
502
|
-
@objc @discardableResult
|
|
503
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
504
|
-
}
|
|
505
|
-
extension Mason.MasonText {
|
|
506
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
507
|
-
}
|
|
508
|
-
@objc public protocol MasonCharacterData {
|
|
509
|
-
@objc var data: Swift.String { get set }
|
|
510
|
-
@objc var length: Swift.Int { get }
|
|
511
|
-
@objc @discardableResult
|
|
512
|
-
func appendData(_ s: Swift.String) -> Self
|
|
513
|
-
@objc @discardableResult
|
|
514
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
515
|
-
@objc @discardableResult
|
|
516
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
517
|
-
@objc @discardableResult
|
|
518
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
519
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
520
|
-
@objc @discardableResult
|
|
521
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
522
|
-
@objc @discardableResult
|
|
523
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
524
|
-
}
|
|
525
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
526
|
-
@objc public var data: Swift.String
|
|
527
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
528
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
529
|
-
@objc public var length: Swift.Int {
|
|
530
|
-
@objc get
|
|
531
|
-
}
|
|
532
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
533
|
-
@discardableResult
|
|
534
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
535
|
-
@discardableResult
|
|
536
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
537
|
-
@discardableResult
|
|
538
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
539
|
-
@discardableResult
|
|
540
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
541
|
-
@discardableResult
|
|
542
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
543
|
-
@discardableResult
|
|
544
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
545
|
-
@objc deinit
|
|
546
|
-
}
|
|
547
|
-
extension Mason.MasonTextNode {
|
|
548
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
549
|
-
}
|
|
550
308
|
@objc(MasonNodeType) public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
551
309
|
case element
|
|
552
310
|
case text
|
|
@@ -557,6 +315,21 @@ extension Mason.MasonTextNode {
|
|
|
557
315
|
}
|
|
558
316
|
public init?(rawValue: Swift.Int32)
|
|
559
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
|
+
}
|
|
560
333
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
561
334
|
@objc public var mason: Mason.NSCMason {
|
|
562
335
|
get
|
|
@@ -569,10 +342,26 @@ extension Mason.MasonTextNode {
|
|
|
569
342
|
@objc public var computedLayout: Mason.MasonLayout {
|
|
570
343
|
get
|
|
571
344
|
}
|
|
345
|
+
@objc public var isLayoutValid: Swift.Bool
|
|
572
346
|
@objc public var document: Mason.MasonDocument? {
|
|
573
347
|
get
|
|
574
348
|
}
|
|
575
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)
|
|
576
365
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
577
366
|
@objc public var parent: Mason.MasonNode? {
|
|
578
367
|
@objc get
|
|
@@ -604,6 +393,7 @@ extension Mason.MasonTextNode {
|
|
|
604
393
|
extension Mason.MasonNode {
|
|
605
394
|
@objc dynamic public func setChildren(value: [Mason.MasonNode])
|
|
606
395
|
@objc dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
396
|
+
@objc dynamic public func removeAllChildren()
|
|
607
397
|
}
|
|
608
398
|
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
609
399
|
@objc var style: Mason.MasonStyle { get }
|
|
@@ -614,6 +404,7 @@ public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
|
614
404
|
var style: Mason.MasonStyle { get }
|
|
615
405
|
var node: Mason.MasonNode { get }
|
|
616
406
|
var uiView: UIKit.UIView { get }
|
|
407
|
+
var innerHTML: Swift.String { get set }
|
|
617
408
|
func markNodeDirty()
|
|
618
409
|
func isNodeDirty() -> Swift.Bool
|
|
619
410
|
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
@@ -650,14 +441,20 @@ public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
|
650
441
|
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
651
442
|
}
|
|
652
443
|
extension Mason.MasonElement {
|
|
444
|
+
public var innerHTML: Swift.String {
|
|
445
|
+
get
|
|
446
|
+
set
|
|
447
|
+
}
|
|
448
|
+
public func dispatch(_ event: Mason.MasonEvent)
|
|
653
449
|
public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
654
|
-
public func syncStyle(_
|
|
450
|
+
public func syncStyle(_ low: Swift.String, _ high: Swift.String)
|
|
655
451
|
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
656
452
|
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
657
453
|
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
658
454
|
public func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
659
455
|
public func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
660
456
|
public func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
457
|
+
public func removeAllChildren()
|
|
661
458
|
public var style: Mason.MasonStyle {
|
|
662
459
|
get
|
|
663
460
|
}
|
|
@@ -667,6 +464,7 @@ extension Mason.MasonElement {
|
|
|
667
464
|
public func invalidateLayout()
|
|
668
465
|
public func addView(_ view: UIKit.UIView)
|
|
669
466
|
public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
467
|
+
public func autoComputeIfRoot()
|
|
670
468
|
public func append(_ element: any Mason.MasonElement)
|
|
671
469
|
public func append(text: Swift.String)
|
|
672
470
|
public func append(node childNode: Mason.MasonNode)
|
|
@@ -715,38 +513,326 @@ extension Mason.MasonElement {
|
|
|
715
513
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
716
514
|
@objc deinit
|
|
717
515
|
}
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
@
|
|
721
|
-
|
|
722
|
-
@
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
public
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
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
|
|
735
540
|
}
|
|
736
|
-
public var
|
|
737
|
-
|
|
541
|
+
@objc @_Concurrency.MainActor @preconcurrency public var accept: Swift.String
|
|
542
|
+
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
543
|
+
@objc get
|
|
738
544
|
}
|
|
739
|
-
@objc
|
|
740
|
-
@objc public static let zero: Mason.MasonLayout
|
|
741
|
-
@objc public var hasChildren: Swift.Bool {
|
|
545
|
+
@objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
|
|
742
546
|
@objc get
|
|
743
547
|
}
|
|
744
|
-
@objc
|
|
548
|
+
@objc @_Concurrency.MainActor @preconcurrency public var type: Mason.MasonInputType {
|
|
745
549
|
@objc get
|
|
550
|
+
@objc set
|
|
746
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 {
|
|
629
|
+
get
|
|
630
|
+
}
|
|
631
|
+
public var paddingLeft: Swift.Float {
|
|
632
|
+
get
|
|
633
|
+
}
|
|
634
|
+
public var contentWidth: Swift.Float {
|
|
635
|
+
get
|
|
636
|
+
}
|
|
637
|
+
public var contentHeight: Swift.Float {
|
|
638
|
+
get
|
|
639
|
+
}
|
|
640
|
+
public var scrollbarWidth: Swift.Float {
|
|
641
|
+
get
|
|
642
|
+
}
|
|
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
|
+
}
|
|
768
|
+
@objc public var hasChildren: Swift.Bool {
|
|
769
|
+
@objc get
|
|
770
|
+
}
|
|
771
|
+
@objc public var children: [Mason.MasonLayout] {
|
|
772
|
+
@objc get
|
|
773
|
+
}
|
|
774
|
+
@objc deinit
|
|
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)
|
|
747
835
|
@objc deinit
|
|
748
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
749
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
750
836
|
}
|
|
751
837
|
@_hasMissingDesignatedInitializers @objc(TrackSizingFunction) @objcMembers public class TrackSizingFunction : ObjectiveC.NSObject {
|
|
752
838
|
@objc public var isRepeating: Swift.Bool {
|
|
@@ -762,6 +848,19 @@ extension Mason.MasonElement {
|
|
|
762
848
|
}
|
|
763
849
|
@objc deinit
|
|
764
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
|
+
}
|
|
765
864
|
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonDimensionCompat) public class MasonDimensionCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
766
865
|
@objc public init(points: Swift.Float)
|
|
767
866
|
@objc public init(percent: Swift.Float)
|
|
@@ -842,109 +941,560 @@ extension Mason.MasonElement {
|
|
|
842
941
|
@objc public static let Auto: Mason.GridPlacementCompat
|
|
843
942
|
@objc deinit
|
|
844
943
|
}
|
|
845
|
-
@objc(
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
public
|
|
849
|
-
public init?(rawValue: Swift.Int)
|
|
850
|
-
public var rawValue: Swift.Int {
|
|
851
|
-
get
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
@_inheritsConvenienceInitializers @objcMembers @objc(NSCFontFaceSet) public class NSCFontFaceSet : ObjectiveC.NSObject {
|
|
855
|
-
@objc public static let instance: Mason.NSCFontFaceSet
|
|
856
|
-
@objc public var status: Mason.NSCFontFaceSetStatus
|
|
857
|
-
@objc public var onStatus: ((Mason.NSCFontFaceSetStatus) -> Swift.Void)?
|
|
858
|
-
@objc public func iter() -> Foundation.NSEnumerator
|
|
859
|
-
@objc public func array() -> [Any]
|
|
860
|
-
@objc public func add(_ font: Mason.NSCFontFace)
|
|
861
|
-
@objc public func clear()
|
|
862
|
-
@objc public func delete(_ font: Mason.NSCFontFace)
|
|
863
|
-
@objc public func check(_ font: Swift.String, _ text: Swift.String?) -> Swift.Bool
|
|
864
|
-
@objc public func load(_ font: Swift.String, _ text: Swift.String?, _ callback: @escaping ([Mason.NSCFontFace], Swift.String?) -> Swift.Void)
|
|
865
|
-
@objc public var size: Swift.Int {
|
|
866
|
-
@objc get
|
|
867
|
-
}
|
|
868
|
-
@objc override dynamic public init()
|
|
869
|
-
@objc deinit
|
|
870
|
-
}
|
|
871
|
-
@objcMembers @objc(MasonDimensionRectCompat) public class MasonDimensionRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
872
|
-
@objc public var left: Mason.MasonDimensionCompat
|
|
873
|
-
@objc public var right: Mason.MasonDimensionCompat
|
|
874
|
-
@objc public var top: Mason.MasonDimensionCompat
|
|
875
|
-
@objc public var bottom: Mason.MasonDimensionCompat
|
|
876
|
-
@objc public init(_ left: Mason.MasonDimensionCompat, _ top: Mason.MasonDimensionCompat, _ right: Mason.MasonDimensionCompat, _ bottom: Mason.MasonDimensionCompat)
|
|
877
|
-
public init(_ rect: Mason.MasonRect<Mason.MasonDimension>)
|
|
878
|
-
@objc deinit
|
|
879
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
880
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
881
|
-
}
|
|
882
|
-
@objcMembers @objc(MasonLengthPercentageAutoRectCompat) public class MasonLengthPercentageAutoRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
883
|
-
@objc public var left: Mason.MasonLengthPercentageAutoCompat
|
|
884
|
-
@objc public var right: Mason.MasonLengthPercentageAutoCompat
|
|
885
|
-
@objc public var top: Mason.MasonLengthPercentageAutoCompat
|
|
886
|
-
@objc public var bottom: Mason.MasonLengthPercentageAutoCompat
|
|
887
|
-
@objc public init(_ left: Mason.MasonLengthPercentageAutoCompat, _ top: Mason.MasonLengthPercentageAutoCompat, _ right: Mason.MasonLengthPercentageAutoCompat, _ bottom: Mason.MasonLengthPercentageAutoCompat)
|
|
888
|
-
public init(_ rect: Mason.MasonRect<Mason.MasonLengthPercentageAuto>)
|
|
889
|
-
@objc deinit
|
|
890
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
891
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
892
|
-
}
|
|
893
|
-
@objcMembers @objc(MasonLengthPercentageRectCompat) public class MasonLengthPercentageRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
894
|
-
@objc public var left: Mason.MasonLengthPercentageCompat
|
|
895
|
-
@objc public var right: Mason.MasonLengthPercentageCompat
|
|
896
|
-
@objc public var top: Mason.MasonLengthPercentageCompat
|
|
897
|
-
@objc public var bottom: Mason.MasonLengthPercentageCompat
|
|
898
|
-
@objc public init(_ left: Mason.MasonLengthPercentageCompat, _ right: Mason.MasonLengthPercentageCompat, _ top: Mason.MasonLengthPercentageCompat, _ bottom: Mason.MasonLengthPercentageCompat)
|
|
899
|
-
public init(_ rect: Mason.MasonRect<Mason.MasonLengthPercentage>)
|
|
900
|
-
@objc deinit
|
|
901
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
902
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
903
|
-
}
|
|
904
|
-
public struct MasonRect<T> : Swift.Codable where T : Swift.Decodable, T : Swift.Encodable {
|
|
905
|
-
public init(_ top: T, _ right: T, _ bottom: T, _ left: T)
|
|
906
|
-
public init(uniform: T)
|
|
907
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
908
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
909
|
-
}
|
|
910
|
-
public let MasonDimensionRectAuto: Mason.MasonRect<Mason.MasonDimension>
|
|
911
|
-
public let MasonLengthPercentageAutoRectAuto: Mason.MasonRect<Mason.MasonLengthPercentageAuto>
|
|
912
|
-
public let MasonDimensionRectMaxPercentWH: Mason.MasonRect<Mason.MasonDimension>
|
|
913
|
-
public let MasonLengthPercentageAutoRectMaxPercentWH: Mason.MasonRect<Mason.MasonLengthPercentageAuto>
|
|
914
|
-
public let MasonLengthPercentageRectMaxPercentWH: Mason.MasonRect<Mason.MasonLengthPercentage>
|
|
915
|
-
public let MasonDimensionRectZero: Mason.MasonRect<Mason.MasonDimension>
|
|
916
|
-
public let MasonLengthPercentageAutoRectZero: Mason.MasonRect<Mason.MasonLengthPercentageAuto>
|
|
917
|
-
public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPercentage>
|
|
918
|
-
@objc(MasonStyle) @objcMembers public class MasonStyle : ObjectiveC.NSObject {
|
|
919
|
-
@objc public var font: Mason.NSCFontFace! {
|
|
920
|
-
get
|
|
921
|
-
}
|
|
922
|
-
@objc public var values: Foundation.NSMutableData {
|
|
923
|
-
@objc get
|
|
924
|
-
@objc set
|
|
925
|
-
}
|
|
926
|
-
@objc public var textValues: Foundation.NSMutableData {
|
|
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 {
|
|
927
948
|
@objc get
|
|
928
|
-
@objc set
|
|
929
949
|
}
|
|
930
|
-
@objc public
|
|
931
|
-
@objc public var verticalAlign: Mason.MasonVerticalAlignValue {
|
|
950
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
932
951
|
@objc get
|
|
933
|
-
@objc set
|
|
934
952
|
}
|
|
935
|
-
@objc public var
|
|
953
|
+
@objc @_Concurrency.MainActor @preconcurrency public var rows: Swift.Int {
|
|
936
954
|
@objc get
|
|
937
955
|
@objc set
|
|
938
956
|
}
|
|
939
|
-
@objc public var
|
|
957
|
+
@objc @_Concurrency.MainActor @preconcurrency public var cols: Swift.Int {
|
|
940
958
|
@objc get
|
|
941
959
|
@objc set
|
|
942
960
|
}
|
|
943
|
-
@objc public var
|
|
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 {
|
|
944
964
|
@objc get
|
|
945
965
|
@objc set
|
|
946
966
|
}
|
|
947
|
-
@objc public
|
|
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
|
|
1075
|
+
}
|
|
1076
|
+
@objc public var movementY: Swift.Int {
|
|
1077
|
+
get
|
|
1078
|
+
}
|
|
1079
|
+
@objc public var pageX: Swift.Float {
|
|
1080
|
+
get
|
|
1081
|
+
}
|
|
1082
|
+
@objc public var pageY: Swift.Float {
|
|
1083
|
+
get
|
|
1084
|
+
}
|
|
1085
|
+
@objc public init(type: Swift.String, options: Mason.MasonMouseEventOptions? = nil)
|
|
1086
|
+
@objc deinit
|
|
1087
|
+
}
|
|
1088
|
+
@objcMembers @objc(MasonDimensionRectCompat) public class MasonDimensionRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1089
|
+
@objc public var left: Mason.MasonDimensionCompat
|
|
1090
|
+
@objc public var right: Mason.MasonDimensionCompat
|
|
1091
|
+
@objc public var top: Mason.MasonDimensionCompat
|
|
1092
|
+
@objc public var bottom: Mason.MasonDimensionCompat
|
|
1093
|
+
@objc public init(_ left: Mason.MasonDimensionCompat, _ top: Mason.MasonDimensionCompat, _ right: Mason.MasonDimensionCompat, _ bottom: Mason.MasonDimensionCompat)
|
|
1094
|
+
public init(_ rect: Mason.MasonRect<Mason.MasonDimension>)
|
|
1095
|
+
@objc deinit
|
|
1096
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1097
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1098
|
+
}
|
|
1099
|
+
@objcMembers @objc(MasonLengthPercentageAutoRectCompat) public class MasonLengthPercentageAutoRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1100
|
+
@objc public var left: Mason.MasonLengthPercentageAutoCompat
|
|
1101
|
+
@objc public var right: Mason.MasonLengthPercentageAutoCompat
|
|
1102
|
+
@objc public var top: Mason.MasonLengthPercentageAutoCompat
|
|
1103
|
+
@objc public var bottom: Mason.MasonLengthPercentageAutoCompat
|
|
1104
|
+
@objc public init(_ left: Mason.MasonLengthPercentageAutoCompat, _ top: Mason.MasonLengthPercentageAutoCompat, _ right: Mason.MasonLengthPercentageAutoCompat, _ bottom: Mason.MasonLengthPercentageAutoCompat)
|
|
1105
|
+
public init(_ rect: Mason.MasonRect<Mason.MasonLengthPercentageAuto>)
|
|
1106
|
+
@objc deinit
|
|
1107
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1108
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1109
|
+
}
|
|
1110
|
+
@objcMembers @objc(MasonLengthPercentageRectCompat) public class MasonLengthPercentageRectCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1111
|
+
@objc public var left: Mason.MasonLengthPercentageCompat
|
|
1112
|
+
@objc public var right: Mason.MasonLengthPercentageCompat
|
|
1113
|
+
@objc public var top: Mason.MasonLengthPercentageCompat
|
|
1114
|
+
@objc public var bottom: Mason.MasonLengthPercentageCompat
|
|
1115
|
+
@objc public init(_ left: Mason.MasonLengthPercentageCompat, _ right: Mason.MasonLengthPercentageCompat, _ top: Mason.MasonLengthPercentageCompat, _ bottom: Mason.MasonLengthPercentageCompat)
|
|
1116
|
+
public init(_ rect: Mason.MasonRect<Mason.MasonLengthPercentage>)
|
|
1117
|
+
@objc deinit
|
|
1118
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1119
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1120
|
+
}
|
|
1121
|
+
public struct MasonRect<T> : Swift.Codable where T : Swift.Decodable, T : Swift.Encodable {
|
|
1122
|
+
public init(_ top: T, _ right: T, _ bottom: T, _ left: T)
|
|
1123
|
+
public init(uniform: T)
|
|
1124
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
1125
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
1126
|
+
}
|
|
1127
|
+
public let MasonDimensionRectAuto: Mason.MasonRect<Mason.MasonDimension>
|
|
1128
|
+
public let MasonLengthPercentageAutoRectAuto: Mason.MasonRect<Mason.MasonLengthPercentageAuto>
|
|
1129
|
+
public let MasonDimensionRectMaxPercentWH: Mason.MasonRect<Mason.MasonDimension>
|
|
1130
|
+
public let MasonLengthPercentageAutoRectMaxPercentWH: Mason.MasonRect<Mason.MasonLengthPercentageAuto>
|
|
1131
|
+
public let MasonLengthPercentageRectMaxPercentWH: Mason.MasonRect<Mason.MasonLengthPercentage>
|
|
1132
|
+
public let MasonDimensionRectZero: Mason.MasonRect<Mason.MasonDimension>
|
|
1133
|
+
public let MasonLengthPercentageAutoRectZero: Mason.MasonRect<Mason.MasonLengthPercentageAuto>
|
|
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
|
+
}
|
|
1460
|
+
@objc(MasonStyle) @objcMembers public class MasonStyle : ObjectiveC.NSObject {
|
|
1461
|
+
@objc public var font: FontManager.NSCFontFace! {
|
|
1462
|
+
get
|
|
1463
|
+
}
|
|
1464
|
+
@objc public func prepareMut()
|
|
1465
|
+
@objc public var values: Foundation.NSMutableData {
|
|
1466
|
+
@objc get
|
|
1467
|
+
}
|
|
1468
|
+
@objc public init(node: Mason.MasonNode)
|
|
1469
|
+
@objc public var listStylePosition: Mason.ListStylePosition {
|
|
1470
|
+
@objc get
|
|
1471
|
+
@objc set
|
|
1472
|
+
}
|
|
1473
|
+
@objc public var listStyleType: Mason.ListStyleType {
|
|
1474
|
+
@objc get
|
|
1475
|
+
@objc set
|
|
1476
|
+
}
|
|
1477
|
+
@objc public var zIndex: Swift.Int32 {
|
|
1478
|
+
@objc get
|
|
1479
|
+
@objc set
|
|
1480
|
+
}
|
|
1481
|
+
@objc public var verticalAlign: Mason.MasonVerticalAlignValue {
|
|
1482
|
+
@objc get
|
|
1483
|
+
@objc set
|
|
1484
|
+
}
|
|
1485
|
+
@objc public var objectFit: Mason.ObjectFit {
|
|
1486
|
+
@objc get
|
|
1487
|
+
@objc set
|
|
1488
|
+
}
|
|
1489
|
+
@objc public var float: Mason.MasonFloat {
|
|
1490
|
+
@objc get
|
|
1491
|
+
@objc set
|
|
1492
|
+
}
|
|
1493
|
+
@objc public var clear: Mason.Clear {
|
|
1494
|
+
@objc get
|
|
1495
|
+
@objc set
|
|
1496
|
+
}
|
|
1497
|
+
@objc public var color: Swift.UInt32 {
|
|
948
1498
|
@objc get
|
|
949
1499
|
@objc set
|
|
950
1500
|
}
|
|
@@ -994,11 +1544,20 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
994
1544
|
@objc get
|
|
995
1545
|
@objc set
|
|
996
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
|
+
}
|
|
997
1555
|
@objc public var decorationColor: Swift.UInt32 {
|
|
998
1556
|
@objc get
|
|
999
1557
|
@objc set
|
|
1000
1558
|
}
|
|
1001
1559
|
@objc public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1560
|
+
@objc public func setDecorationColor(css color: Swift.String)
|
|
1002
1561
|
@objc public var decorationLine: Mason.DecorationLine {
|
|
1003
1562
|
@objc get
|
|
1004
1563
|
@objc set
|
|
@@ -1171,6 +1730,22 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1171
1730
|
@objc get
|
|
1172
1731
|
@objc set
|
|
1173
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
|
+
}
|
|
1174
1749
|
@objc public func setPaddingLeft(_ value: Swift.Float, _ type: Swift.Int)
|
|
1175
1750
|
@objc public func setPaddingRight(_ value: Swift.Float, _ type: Swift.Int)
|
|
1176
1751
|
@objc public func setPaddingTop(_ value: Swift.Float, _ type: Swift.Int)
|
|
@@ -1180,14 +1755,66 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1180
1755
|
@objc get
|
|
1181
1756
|
@objc set
|
|
1182
1757
|
}
|
|
1758
|
+
@objc public var boxShadow: Swift.String {
|
|
1759
|
+
@objc get
|
|
1760
|
+
@objc set
|
|
1761
|
+
}
|
|
1183
1762
|
@objc public var borderRadius: Swift.String {
|
|
1184
1763
|
@objc get
|
|
1185
1764
|
@objc set
|
|
1186
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
|
+
}
|
|
1187
1786
|
@objc public var border: Swift.String {
|
|
1188
1787
|
@objc get
|
|
1189
1788
|
@objc set
|
|
1190
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
|
+
}
|
|
1191
1818
|
public var borderWidth: Mason.MasonRect<Mason.MasonLengthPercentage> {
|
|
1192
1819
|
get
|
|
1193
1820
|
set
|
|
@@ -1239,6 +1866,14 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1239
1866
|
@objc get
|
|
1240
1867
|
@objc set
|
|
1241
1868
|
}
|
|
1869
|
+
public var minWidth: Mason.MasonDimension {
|
|
1870
|
+
get
|
|
1871
|
+
set
|
|
1872
|
+
}
|
|
1873
|
+
public var minHeight: Mason.MasonDimension {
|
|
1874
|
+
get
|
|
1875
|
+
set
|
|
1876
|
+
}
|
|
1242
1877
|
@objc public func setMinSizeWidth(_ value: Swift.Float, _ type: Swift.Int)
|
|
1243
1878
|
@objc public func setMinSizeHeight(_ value: Swift.Float, _ type: Swift.Int)
|
|
1244
1879
|
@objc public func setMinSizeWidthHeight(_ value: Swift.Float, _ type: Swift.Int)
|
|
@@ -1263,6 +1898,23 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1263
1898
|
public func setSizeWidth(_ width: Mason.MasonDimension)
|
|
1264
1899
|
public func setSizeHeight(_ height: Mason.MasonDimension)
|
|
1265
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
|
+
}
|
|
1266
1918
|
public var maxSize: Mason.MasonSize<Mason.MasonDimension> {
|
|
1267
1919
|
get
|
|
1268
1920
|
set
|
|
@@ -1298,6 +1950,10 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1298
1950
|
@objc get
|
|
1299
1951
|
@objc set
|
|
1300
1952
|
}
|
|
1953
|
+
@objc public var transform: Swift.String {
|
|
1954
|
+
@objc get
|
|
1955
|
+
@objc set
|
|
1956
|
+
}
|
|
1301
1957
|
@objc public var gridAutoRows: Swift.String {
|
|
1302
1958
|
@objc get
|
|
1303
1959
|
@objc set
|
|
@@ -1322,155 +1978,428 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
|
|
|
1322
1978
|
@objc get
|
|
1323
1979
|
@objc set
|
|
1324
1980
|
}
|
|
1325
|
-
@objc public var gridRow: Swift.String {
|
|
1981
|
+
@objc public var gridRow: Swift.String {
|
|
1982
|
+
@objc get
|
|
1983
|
+
@objc set
|
|
1984
|
+
}
|
|
1985
|
+
@objc public var gridRowStart: Swift.String {
|
|
1986
|
+
@objc get
|
|
1987
|
+
@objc set
|
|
1988
|
+
}
|
|
1989
|
+
@objc public var gridRowEnd: Swift.String {
|
|
1990
|
+
@objc get
|
|
1991
|
+
@objc set
|
|
1992
|
+
}
|
|
1993
|
+
@objc public var gridTemplateRows: Swift.String {
|
|
1994
|
+
@objc get
|
|
1995
|
+
@objc set
|
|
1996
|
+
}
|
|
1997
|
+
@objc public var gridTemplateColumns: Swift.String {
|
|
1998
|
+
@objc get
|
|
1999
|
+
@objc set
|
|
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
|
+
}
|
|
2013
|
+
@objc public func updateNativeStyle()
|
|
2014
|
+
@objc override dynamic public var description: Swift.String {
|
|
2015
|
+
@objc get
|
|
2016
|
+
}
|
|
2017
|
+
@objc deinit
|
|
2018
|
+
}
|
|
2019
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonOverflowPointCompat) public class MasonOverflowPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
2020
|
+
@objc public var x: Mason.Overflow
|
|
2021
|
+
@objc public var y: Mason.Overflow
|
|
2022
|
+
public init(_ points: Mason.MasonPoint<Mason.Overflow>)
|
|
2023
|
+
@objc public var cssValue: Swift.String {
|
|
2024
|
+
@objc get
|
|
2025
|
+
}
|
|
2026
|
+
@objc deinit
|
|
2027
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
2028
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
2029
|
+
}
|
|
2030
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonDimensionPointCompat) public class MasonDimensionPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
2031
|
+
@objc public var x: Mason.MasonDimensionCompat
|
|
2032
|
+
@objc public var y: Mason.MasonDimensionCompat
|
|
2033
|
+
public init(_ points: Mason.MasonPoint<Mason.MasonDimension>)
|
|
2034
|
+
@objc deinit
|
|
2035
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
2036
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
2037
|
+
}
|
|
2038
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonLengthPercentageAutoPointCompat) public class MasonLengthPercentageAutoPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
2039
|
+
@objc public var x: Mason.MasonLengthPercentageAutoCompat
|
|
2040
|
+
@objc public var y: Mason.MasonLengthPercentageAutoCompat
|
|
2041
|
+
public init(_ points: Mason.MasonPoint<Mason.MasonLengthPercentageAuto>)
|
|
2042
|
+
@objc deinit
|
|
2043
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
2044
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
2045
|
+
}
|
|
2046
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonLengthPercentagePointCompat) public class MasonLengthPercentagePointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
2047
|
+
@objc public var x: Mason.MasonLengthPercentageCompat
|
|
2048
|
+
@objc public var y: Mason.MasonLengthPercentageCompat
|
|
2049
|
+
public init(_ points: Mason.MasonPoint<Mason.MasonLengthPercentage>)
|
|
2050
|
+
@objc deinit
|
|
2051
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
2052
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
2053
|
+
}
|
|
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
|
|
2056
|
+
public init(_ x: T, _ y: T)
|
|
2057
|
+
public init(uniform: T)
|
|
2058
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
2059
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
2060
|
+
}
|
|
2061
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(MasonSwiftHelpers) public class SwiftHelpers : ObjectiveC.NSObject {
|
|
2062
|
+
@objc public static func markNodeDirty(_ element: any Mason.MasonElementObjc)
|
|
2063
|
+
@objc public static func isNodeDirty(_ element: any Mason.MasonElementObjc) -> Swift.Bool
|
|
2064
|
+
@objc public static func configure(_ element: any Mason.MasonElementObjc, _ block: (Mason.MasonStyle) -> Swift.Void)
|
|
2065
|
+
@objc @discardableResult
|
|
2066
|
+
public static func layout(_ element: any Mason.MasonElementObjc) -> Mason.MasonLayout
|
|
2067
|
+
@objc public static func compute(_ element: any Mason.MasonElementObjc)
|
|
2068
|
+
@objc public static func compute(_ element: any Mason.MasonElementObjc, _ width: Swift.Float, _ height: Swift.Float)
|
|
2069
|
+
@objc public static func computeMaxContent(_ element: any Mason.MasonElementObjc)
|
|
2070
|
+
@objc public static func computeMinContent(_ element: any Mason.MasonElementObjc)
|
|
2071
|
+
@objc public static func computeWithSize(_ element: any Mason.MasonElementObjc, _ width: Swift.Float, _ height: Swift.Float)
|
|
2072
|
+
@objc public static func computeWithViewSize(_ element: any Mason.MasonElementObjc)
|
|
2073
|
+
@objc public static func computeWithViewSize(_ element: any Mason.MasonElementObjc, layout: Swift.Bool)
|
|
2074
|
+
@objc public static func computeWithMaxContent(_ element: any Mason.MasonElementObjc)
|
|
2075
|
+
@objc public static func computeWithMinContent(_ element: any Mason.MasonElementObjc)
|
|
2076
|
+
@objc public static func attachAndApply(_ element: any Mason.MasonElementObjc)
|
|
2077
|
+
@objc public static func requestLayout(_ element: any Mason.MasonElementObjc)
|
|
2078
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, _ element: any Mason.MasonElementObjc)
|
|
2079
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, text: Swift.String)
|
|
2080
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode)
|
|
2081
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, texts: [Swift.String])
|
|
2082
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, elements: [any Mason.MasonElementObjc])
|
|
2083
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, nodes: [Mason.MasonNode])
|
|
2084
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, _ element: any Mason.MasonElementObjc)
|
|
2085
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, string: Swift.String)
|
|
2086
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode)
|
|
2087
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, strings: [Swift.String])
|
|
2088
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, elements: [any Mason.MasonElementObjc])
|
|
2089
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, nodes: [Mason.MasonNode])
|
|
2090
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, text: Swift.String, _ index: Swift.Int)
|
|
2091
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
2092
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode, _ index: Swift.Int)
|
|
2093
|
+
@objc override dynamic public init()
|
|
2094
|
+
@objc deinit
|
|
2095
|
+
}
|
|
2096
|
+
extension UIKit.UIColor {
|
|
2097
|
+
public static func colorFromARGB(_ argb: Swift.UInt32) -> UIKit.UIColor
|
|
2098
|
+
public static func colorFromRGBA(_ rgba: Swift.UInt32) -> UIKit.UIColor
|
|
2099
|
+
public func toUInt32() -> Swift.UInt32
|
|
2100
|
+
}
|
|
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
|
|
2120
|
+
public func mason_resize(to size: CoreFoundation.CGSize) -> UIKit.UIImage?
|
|
2121
|
+
}
|
|
2122
|
+
@objc extension ObjectiveC.NSObject {
|
|
2123
|
+
@objc dynamic public var mason_innerHTML: Swift.String {
|
|
2124
|
+
@objc get
|
|
2125
|
+
@objc set
|
|
2126
|
+
}
|
|
2127
|
+
@discardableResult
|
|
2128
|
+
@objc dynamic public func mason_addEventListener(_ event: Swift.String, _ listener: @escaping (Mason.MasonEvent) -> Swift.Void) -> Foundation.UUID
|
|
2129
|
+
@discardableResult
|
|
2130
|
+
@objc dynamic public func mason_removeEventListener(_ event: Swift.String, id: Foundation.UUID) -> Swift.Bool
|
|
2131
|
+
@discardableResult
|
|
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)
|
|
2174
|
+
}
|
|
2175
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
2176
|
+
case None
|
|
2177
|
+
case P
|
|
2178
|
+
case Span
|
|
2179
|
+
case Code
|
|
2180
|
+
case H1
|
|
2181
|
+
case H2
|
|
2182
|
+
case H3
|
|
2183
|
+
case H4
|
|
2184
|
+
case H5
|
|
2185
|
+
case H6
|
|
2186
|
+
case Li
|
|
2187
|
+
case Blockquote
|
|
2188
|
+
case B
|
|
2189
|
+
case Pre
|
|
2190
|
+
case Strong
|
|
2191
|
+
case Em
|
|
2192
|
+
case I
|
|
2193
|
+
case A
|
|
2194
|
+
public typealias RawValue = Swift.Int32
|
|
2195
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
2196
|
+
get
|
|
2197
|
+
}
|
|
2198
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
2199
|
+
public var description: Swift.String {
|
|
2200
|
+
get
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
public enum InlineSegmentPayload {
|
|
2204
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
2205
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
2206
|
+
}
|
|
2207
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonTextLayer : QuartzCore.CALayer {
|
|
2208
|
+
@objc override dynamic public init()
|
|
2209
|
+
@objc override dynamic public init(layer: Any)
|
|
2210
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
2211
|
+
@objc deinit
|
|
2212
|
+
}
|
|
2213
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc, Mason.TextContainer {
|
|
2214
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
2215
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
2216
|
+
@_Concurrency.MainActor @preconcurrency @objc public var engine: Mason.TextEngine {
|
|
2217
|
+
@objc get
|
|
2218
|
+
@objc set
|
|
2219
|
+
}
|
|
2220
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
2221
|
+
@objc get
|
|
2222
|
+
}
|
|
2223
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
2224
|
+
@objc get
|
|
2225
|
+
}
|
|
2226
|
+
@_Concurrency.MainActor @preconcurrency @objc public func onStyleChange(_ low: Swift.UInt64, _ high: Swift.UInt64)
|
|
2227
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
2228
|
+
@objc get
|
|
2229
|
+
}
|
|
2230
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
2231
|
+
@objc get
|
|
2232
|
+
}
|
|
2233
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
2234
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
2235
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
2236
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
2237
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
2238
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
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()
|
|
2243
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
2244
|
+
get
|
|
2245
|
+
set
|
|
2246
|
+
}
|
|
2247
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
2248
|
+
@objc get
|
|
2249
|
+
@objc set
|
|
2250
|
+
}
|
|
2251
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
2252
|
+
@objc get
|
|
2253
|
+
@objc set
|
|
2254
|
+
}
|
|
2255
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
2256
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
2257
|
+
@objc get
|
|
2258
|
+
@objc set
|
|
2259
|
+
}
|
|
2260
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
2261
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
2262
|
+
@objc get
|
|
2263
|
+
@objc set
|
|
2264
|
+
}
|
|
2265
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
2266
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
2267
|
+
@objc get
|
|
2268
|
+
@objc set
|
|
2269
|
+
}
|
|
2270
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: Swift.Int32 {
|
|
2271
|
+
@objc get
|
|
2272
|
+
@objc set
|
|
2273
|
+
}
|
|
2274
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
2275
|
+
@objc get
|
|
2276
|
+
@objc set
|
|
2277
|
+
}
|
|
2278
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
2279
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
2280
|
+
@objc get
|
|
2281
|
+
@objc set
|
|
2282
|
+
}
|
|
2283
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
2284
|
+
@objc get
|
|
2285
|
+
@objc set
|
|
2286
|
+
}
|
|
2287
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
2288
|
+
@objc get
|
|
2289
|
+
@objc set
|
|
2290
|
+
}
|
|
2291
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
2292
|
+
@objc get
|
|
2293
|
+
@objc set
|
|
2294
|
+
}
|
|
2295
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineHeight: Swift.Float {
|
|
2296
|
+
@objc get
|
|
2297
|
+
@objc set
|
|
2298
|
+
}
|
|
2299
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textContent: Swift.String {
|
|
2300
|
+
@objc get
|
|
2301
|
+
@objc set
|
|
2302
|
+
}
|
|
2303
|
+
@objc deinit
|
|
2304
|
+
}
|
|
2305
|
+
extension Mason.MasonText {
|
|
2306
|
+
@objc @discardableResult
|
|
2307
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
2308
|
+
}
|
|
2309
|
+
extension Mason.MasonText {
|
|
2310
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
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? {
|
|
1326
2375
|
@objc get
|
|
1327
2376
|
@objc set
|
|
1328
2377
|
}
|
|
1329
|
-
@objc public var
|
|
2378
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var text: Swift.String! {
|
|
1330
2379
|
@objc get
|
|
1331
2380
|
@objc set
|
|
1332
2381
|
}
|
|
1333
|
-
@objc public var
|
|
2382
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var attributedText: Foundation.NSAttributedString! {
|
|
1334
2383
|
@objc get
|
|
1335
2384
|
@objc set
|
|
1336
2385
|
}
|
|
1337
|
-
@objc public var
|
|
2386
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var font: UIKit.UIFont? {
|
|
1338
2387
|
@objc get
|
|
1339
2388
|
@objc set
|
|
1340
2389
|
}
|
|
1341
|
-
@objc public var
|
|
2390
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var textAlignment: UIKit.NSTextAlignment {
|
|
1342
2391
|
@objc get
|
|
1343
2392
|
@objc set
|
|
1344
2393
|
}
|
|
1345
|
-
@objc public func
|
|
1346
|
-
@objc override dynamic public var description: Swift.String {
|
|
1347
|
-
@objc get
|
|
1348
|
-
}
|
|
1349
|
-
@objc deinit
|
|
1350
|
-
}
|
|
1351
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonOverflowPointCompat) public class MasonOverflowPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1352
|
-
@objc public var x: Mason.Overflow
|
|
1353
|
-
@objc public var y: Mason.Overflow
|
|
1354
|
-
public init(_ points: Mason.MasonPoint<Mason.Overflow>)
|
|
1355
|
-
@objc public var cssValue: Swift.String {
|
|
1356
|
-
@objc get
|
|
1357
|
-
}
|
|
1358
|
-
@objc deinit
|
|
1359
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
1360
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
1361
|
-
}
|
|
1362
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonDimensionPointCompat) public class MasonDimensionPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1363
|
-
@objc public var x: Mason.MasonDimensionCompat
|
|
1364
|
-
@objc public var y: Mason.MasonDimensionCompat
|
|
1365
|
-
public init(_ points: Mason.MasonPoint<Mason.MasonDimension>)
|
|
1366
|
-
@objc deinit
|
|
1367
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
1368
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
1369
|
-
}
|
|
1370
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonLengthPercentageAutoPointCompat) public class MasonLengthPercentageAutoPointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1371
|
-
@objc public var x: Mason.MasonLengthPercentageAutoCompat
|
|
1372
|
-
@objc public var y: Mason.MasonLengthPercentageAutoCompat
|
|
1373
|
-
public init(_ points: Mason.MasonPoint<Mason.MasonLengthPercentageAuto>)
|
|
1374
|
-
@objc deinit
|
|
1375
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
1376
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
1377
|
-
}
|
|
1378
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonLengthPercentagePointCompat) public class MasonLengthPercentagePointCompat : ObjectiveC.NSObject, Swift.Codable {
|
|
1379
|
-
@objc public var x: Mason.MasonLengthPercentageCompat
|
|
1380
|
-
@objc public var y: Mason.MasonLengthPercentageCompat
|
|
1381
|
-
public init(_ points: Mason.MasonPoint<Mason.MasonLengthPercentage>)
|
|
1382
|
-
@objc deinit
|
|
1383
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
1384
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
1385
|
-
}
|
|
1386
|
-
public struct MasonPoint<T> : Swift.Codable where T : Swift.Decodable, T : Swift.Encodable {
|
|
1387
|
-
public init(_ x: T, _ y: T)
|
|
1388
|
-
public init(uniform: T)
|
|
1389
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
1390
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
1391
|
-
}
|
|
1392
|
-
@_inheritsConvenienceInitializers @objcMembers @objc(MasonSwiftHelpers) public class SwiftHelpers : ObjectiveC.NSObject {
|
|
1393
|
-
@objc public static func markNodeDirty(_ element: any Mason.MasonElementObjc)
|
|
1394
|
-
@objc public static func isNodeDirty(_ element: any Mason.MasonElementObjc) -> Swift.Bool
|
|
1395
|
-
@objc public static func configure(_ element: any Mason.MasonElementObjc, _ block: (Mason.MasonStyle) -> Swift.Void)
|
|
1396
|
-
@objc @discardableResult
|
|
1397
|
-
public static func layout(_ element: any Mason.MasonElementObjc) -> Mason.MasonLayout
|
|
1398
|
-
@objc public static func compute(_ element: any Mason.MasonElementObjc)
|
|
1399
|
-
@objc public static func compute(_ element: any Mason.MasonElementObjc, _ width: Swift.Float, _ height: Swift.Float)
|
|
1400
|
-
@objc public static func computeMaxContent(_ element: any Mason.MasonElementObjc)
|
|
1401
|
-
@objc public static func computeMinContent(_ element: any Mason.MasonElementObjc)
|
|
1402
|
-
@objc public static func computeWithSize(_ element: any Mason.MasonElementObjc, _ width: Swift.Float, _ height: Swift.Float)
|
|
1403
|
-
@objc public static func computeWithViewSize(_ element: any Mason.MasonElementObjc)
|
|
1404
|
-
@objc public static func computeWithViewSize(_ element: any Mason.MasonElementObjc, layout: Swift.Bool)
|
|
1405
|
-
@objc public static func computeWithMaxContent(_ element: any Mason.MasonElementObjc)
|
|
1406
|
-
@objc public static func computeWithMinContent(_ element: any Mason.MasonElementObjc)
|
|
1407
|
-
@objc public static func attachAndApply(_ element: any Mason.MasonElementObjc)
|
|
1408
|
-
@objc public static func requestLayout(_ element: any Mason.MasonElementObjc)
|
|
1409
|
-
@objc public static func append(_ parent: any Mason.MasonElementObjc, _ element: any Mason.MasonElementObjc)
|
|
1410
|
-
@objc public static func append(_ parent: any Mason.MasonElementObjc, text: Swift.String)
|
|
1411
|
-
@objc public static func append(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode)
|
|
1412
|
-
@objc public static func append(_ parent: any Mason.MasonElementObjc, texts: [Swift.String])
|
|
1413
|
-
@objc public static func append(_ parent: any Mason.MasonElementObjc, elements: [any Mason.MasonElementObjc])
|
|
1414
|
-
@objc public static func append(_ parent: any Mason.MasonElementObjc, nodes: [Mason.MasonNode])
|
|
1415
|
-
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, _ element: any Mason.MasonElementObjc)
|
|
1416
|
-
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, string: Swift.String)
|
|
1417
|
-
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode)
|
|
1418
|
-
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, strings: [Swift.String])
|
|
1419
|
-
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, elements: [any Mason.MasonElementObjc])
|
|
1420
|
-
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, nodes: [Mason.MasonNode])
|
|
1421
|
-
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, text: Swift.String, _ index: Swift.Int)
|
|
1422
|
-
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1423
|
-
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode, _ index: Swift.Int)
|
|
1424
|
-
@objc override dynamic public init()
|
|
2394
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
1425
2395
|
@objc deinit
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
public
|
|
1429
|
-
public
|
|
1430
|
-
public func
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
public func mason_resize(to size: CoreFoundation.CGSize) -> UIKit.UIImage?
|
|
1434
|
-
}
|
|
1435
|
-
@objc extension ObjectiveC.NSObject {
|
|
1436
|
-
@objc dynamic public func mason_syncStyle(_ state: Swift.String, _ textState: Swift.String)
|
|
1437
|
-
@objc dynamic public func mason_addView(_ view: UIKit.UIView)
|
|
1438
|
-
@objc dynamic public func mason_addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1439
|
-
@objc dynamic public func mason_markNodeDirty()
|
|
1440
|
-
@objc dynamic public func mason_isNodeDirty() -> Swift.Bool
|
|
1441
|
-
@objc dynamic public func mason_configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
1442
|
-
@discardableResult
|
|
1443
|
-
@objc dynamic public func mason_layout() -> Mason.MasonLayout
|
|
1444
|
-
@objc dynamic public func mason_compute()
|
|
1445
|
-
@objc dynamic public func mason_compute(width: Swift.Float, height: Swift.Float)
|
|
1446
|
-
@objc dynamic public func mason_computeMaxContent()
|
|
1447
|
-
@objc dynamic public func mason_computeMinContent()
|
|
1448
|
-
@objc dynamic public func mason_computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
1449
|
-
@objc dynamic public func mason_computeWithViewSize()
|
|
1450
|
-
@objc dynamic public func mason_computeWithViewSize(layout: Swift.Bool)
|
|
1451
|
-
@objc dynamic public func mason_computeWithMaxContent()
|
|
1452
|
-
@objc dynamic public func mason_computeWithMinContent()
|
|
1453
|
-
@objc dynamic public func mason_attachAndApply()
|
|
1454
|
-
@objc dynamic public func mason_requestLayout()
|
|
1455
|
-
@objc dynamic public func mason_invalidateLayout()
|
|
1456
|
-
@objc dynamic public func mason_append(_ element: any Mason.MasonElementObjc)
|
|
1457
|
-
@objc dynamic public func mason_append(text: Swift.String)
|
|
1458
|
-
@objc dynamic public func mason_append(node: Mason.MasonNode)
|
|
1459
|
-
@objc dynamic public func mason_append(texts: [Swift.String])
|
|
1460
|
-
@objc dynamic public func mason_append(elements: [any Mason.MasonElementObjc])
|
|
1461
|
-
@objc dynamic public func mason_append(nodes: [Mason.MasonNode])
|
|
1462
|
-
@objc dynamic public func mason_prepend(_ element: any Mason.MasonElementObjc)
|
|
1463
|
-
@objc dynamic public func mason_prepend(text: Swift.String)
|
|
1464
|
-
@objc dynamic public func mason_prepend(node: Mason.MasonNode)
|
|
1465
|
-
@objc dynamic public func mason_prepend(texts: [Swift.String])
|
|
1466
|
-
@objc dynamic public func mason_prepend(elements: [any Mason.MasonElementObjc])
|
|
1467
|
-
@objc dynamic public func mason_prepend(nodes: [Mason.MasonNode])
|
|
1468
|
-
@objc dynamic public func mason_addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
1469
|
-
@objc dynamic public func mason_addChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1470
|
-
@objc dynamic public func mason_addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
1471
|
-
@objc dynamic public func mason_replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
1472
|
-
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1473
|
-
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
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
|
|
1474
2403
|
}
|
|
1475
2404
|
@objc @_inheritsConvenienceInitializers public class BackgroundCALayer : QuartzCore.CALayer {
|
|
1476
2405
|
@objc override dynamic public func draw(in ctx: CoreGraphics.CGContext)
|
|
@@ -1493,11 +2422,13 @@ extension UIKit.UIImage {
|
|
|
1493
2422
|
}
|
|
1494
2423
|
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
1495
2424
|
@objc override dynamic public init()
|
|
2425
|
+
public init(view: Mason.Img)
|
|
1496
2426
|
@objc override dynamic public init(layer: Any)
|
|
1497
2427
|
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
2428
|
+
@objc override dynamic public func layoutSublayers()
|
|
1498
2429
|
@objc deinit
|
|
1499
2430
|
}
|
|
1500
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
2431
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonEventTarget, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1501
2432
|
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1502
2433
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1503
2434
|
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
@@ -1521,13 +2452,14 @@ extension UIKit.UIImage {
|
|
|
1521
2452
|
@objc set
|
|
1522
2453
|
}
|
|
1523
2454
|
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
2455
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
1524
2456
|
@objc deinit
|
|
1525
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 UIKit.UIImage {
|
|
|
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 UIKit.UIImage {
|
|
|
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 UIKit.UIImage {
|
|
|
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 UIKit.UIImage {
|
|
|
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 UIKit.UIImage {
|
|
|
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,27 +3333,65 @@ 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
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2315
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2316
3381
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
2317
3382
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
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 {}
|
|
3393
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
3394
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2320
3395
|
extension Mason.LoadingState : Swift.Equatable {}
|
|
2321
3396
|
extension Mason.LoadingState : Swift.Hashable {}
|
|
2322
3397
|
extension Mason.MasonDimensionCompatType : 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 {}
|