@triniwiz/nativescript-masonkit 1.0.0-alpha.24 → 1.0.0-alpha.26
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/package.json +1 -1
- 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 +122 -11
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +0 -5
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -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 +29619 -25969
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +314 -181
- 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 +314 -181
- 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 +3066 -2864
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +244 -22
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +0 -5
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -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 +17763 -14134
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +314 -181
- 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 +314 -181
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +17763 -14134
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +314 -181
- 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 +314 -181
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +28 -28
- 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 +3059 -2864
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2986 -2779
- package/common.d.ts +0 -132
- package/common.js +0 -1476
- package/common.js.map +0 -1
- package/img/index.android.d.ts +0 -11
- package/img/index.android.js +0 -41
- package/img/index.android.js.map +0 -1
- package/img/index.ios.d.ts +0 -13
- package/img/index.ios.js +0 -92
- package/img/index.ios.js.map +0 -1
- package/index.android.d.ts +0 -5
- package/index.android.js +0 -6
- package/index.android.js.map +0 -1
- package/index.ios.d.ts +0 -5
- package/index.ios.js +0 -6
- package/index.ios.js.map +0 -1
- package/scroll/index.android.d.ts +0 -14
- package/scroll/index.android.js +0 -55
- package/scroll/index.android.js.map +0 -1
- package/scroll/index.ios.d.ts +0 -17
- package/scroll/index.ios.js +0 -125
- package/scroll/index.ios.js.map +0 -1
- package/style.d.ts +0 -195
- package/style.js +0 -2204
- package/style.js.map +0 -1
- package/text/index.android.d.ts +0 -29
- package/text/index.android.js +0 -145
- package/text/index.android.js.map +0 -1
- package/text/index.ios.d.ts +0 -39
- package/text/index.ios.js +0 -272
- package/text/index.ios.js.map +0 -1
- package/tree/index.android.d.ts +0 -27
- package/tree/index.android.js +0 -72
- package/tree/index.android.js.map +0 -1
- package/tree/index.ios.d.ts +0 -27
- package/tree/index.ios.js +0 -72
- package/tree/index.ios.js.map +0 -1
- package/utils/index.android.d.ts +0 -187
- package/utils/index.android.js +0 -594
- package/utils/index.android.js.map +0 -1
- package/utils/index.ios.d.ts +0 -198
- package/utils/index.ios.js +0 -710
- package/utils/index.ios.js.map +0 -1
- package/view/index.android.d.ts +0 -14
- package/view/index.android.js +0 -60
- package/view/index.android.js.map +0 -1
- package/view/index.ios.d.ts +0 -18
- package/view/index.ios.js +0 -131
- package/view/index.ios.js.map +0 -1
- package/web.d.ts +0 -55
- package/web.js +0 -189
- package/web.js.map +0 -1
|
@@ -22,7 +22,7 @@ import _SwiftConcurrencyShims
|
|
|
22
22
|
get
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
@objc(NSCFontWeight) public enum NSCFontWeight : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
25
|
+
@objc(NSCFontWeight) public enum NSCFontWeight : Swift.Int, Swift.RawRepresentable, Swift.Codable, Swift.CustomStringConvertible {
|
|
26
26
|
case thin
|
|
27
27
|
case extraLight
|
|
28
28
|
case light
|
|
@@ -32,6 +32,9 @@ import _SwiftConcurrencyShims
|
|
|
32
32
|
case bold
|
|
33
33
|
case extraBold
|
|
34
34
|
case black
|
|
35
|
+
public var description: Swift.String {
|
|
36
|
+
get
|
|
37
|
+
}
|
|
35
38
|
public typealias RawValue = Swift.Int
|
|
36
39
|
public init?(rawValue: Swift.Int)
|
|
37
40
|
public var rawValue: Swift.Int {
|
|
@@ -40,6 +43,7 @@ import _SwiftConcurrencyShims
|
|
|
40
43
|
public var uiFontWeight: UIKit.UIFont.Weight {
|
|
41
44
|
get
|
|
42
45
|
}
|
|
46
|
+
public static func from(uiFontWeight: UIKit.UIFont.Weight) -> Mason.NSCFontWeight
|
|
43
47
|
}
|
|
44
48
|
@objcMembers @objc(NSCFontDescriptors) public class NSCFontDescriptors : ObjectiveC.NSObject, Swift.Codable {
|
|
45
49
|
@objc public init(family: Swift.String)
|
|
@@ -232,23 +236,29 @@ public let MasonLengthPercentageSizeMaxPercentWH: Mason.MasonSize<Mason.MasonLen
|
|
|
232
236
|
public let MasonDimensionSizeZero: Mason.MasonSize<Mason.MasonDimension>
|
|
233
237
|
public let MasonLengthPercentageAutoSizeZero: Mason.MasonSize<Mason.MasonLengthPercentageAuto>
|
|
234
238
|
public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPercentage>
|
|
235
|
-
public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
239
|
+
@objc(MasonNodeType) public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
236
240
|
case element
|
|
237
241
|
case text
|
|
238
242
|
case document
|
|
239
|
-
public init?(rawValue: Swift.Int32)
|
|
240
243
|
public typealias RawValue = Swift.Int32
|
|
241
244
|
public var rawValue: Swift.Int32 {
|
|
242
245
|
get
|
|
243
246
|
}
|
|
247
|
+
public init?(rawValue: Swift.Int32)
|
|
244
248
|
}
|
|
245
249
|
@_hasMissingDesignatedInitializers @objc(MasonNode) @objcMembers public class MasonNode : ObjectiveC.NSObject {
|
|
250
|
+
@objc public var mason: Mason.NSCMason {
|
|
251
|
+
get
|
|
252
|
+
}
|
|
246
253
|
@objc public var nativePtr: Swift.OpaquePointer? {
|
|
247
254
|
get
|
|
248
255
|
}
|
|
249
256
|
@objc public var computedLayout: Mason.MasonLayout {
|
|
250
257
|
get
|
|
251
258
|
}
|
|
259
|
+
@objc public var document: Mason.MasonDocument? {
|
|
260
|
+
get
|
|
261
|
+
}
|
|
252
262
|
public typealias MeasureFunc = (CoreFoundation.CGSize?, CoreFoundation.CGSize) -> CoreFoundation.CGSize
|
|
253
263
|
@objc public func getRootNode() -> Mason.MasonNode
|
|
254
264
|
@objc public var parent: Mason.MasonNode? {
|
|
@@ -260,11 +270,15 @@ public enum MasonNodeType : Swift.Int32, Swift.RawRepresentable {
|
|
|
260
270
|
public var parentElement: (any Mason.MasonElement)? {
|
|
261
271
|
get
|
|
262
272
|
}
|
|
263
|
-
public var type: Mason.MasonNodeType {
|
|
273
|
+
@objc public var type: Mason.MasonNodeType {
|
|
264
274
|
get
|
|
265
275
|
}
|
|
266
276
|
@objc public func getChildren() -> [Mason.MasonNode]
|
|
267
277
|
@objc public func getLayoutChildren() -> [Mason.MasonNode]
|
|
278
|
+
@objc public var inBatch: Swift.Bool {
|
|
279
|
+
@objc get
|
|
280
|
+
@objc set
|
|
281
|
+
}
|
|
268
282
|
@objc public init(mason doc: Mason.NSCMason, children nodes: [Mason.MasonNode])
|
|
269
283
|
@objc deinit
|
|
270
284
|
@objc public var isDirty: Swift.Bool {
|
|
@@ -277,13 +291,18 @@ extension Mason.MasonNode {
|
|
|
277
291
|
@objc dynamic public func setChildren(value: [Mason.MasonNode])
|
|
278
292
|
@objc dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
279
293
|
}
|
|
280
|
-
public protocol
|
|
294
|
+
@objc public protocol MasonElementObjc : ObjectiveC.NSObjectProtocol {
|
|
295
|
+
@objc var style: Mason.MasonStyle { get }
|
|
296
|
+
@objc var node: Mason.MasonNode { get }
|
|
297
|
+
@objc var uiView: UIKit.UIView { get }
|
|
298
|
+
}
|
|
299
|
+
public protocol MasonElement : ObjectiveC.NSObjectProtocol {
|
|
281
300
|
var style: Mason.MasonStyle { get }
|
|
282
301
|
var node: Mason.MasonNode { get }
|
|
302
|
+
var uiView: UIKit.UIView { get }
|
|
283
303
|
func markNodeDirty()
|
|
284
304
|
func isNodeDirty() -> Swift.Bool
|
|
285
305
|
func configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
286
|
-
var uiView: UIKit.UIView { get }
|
|
287
306
|
@discardableResult
|
|
288
307
|
func layout() -> Mason.MasonLayout
|
|
289
308
|
func compute()
|
|
@@ -312,11 +331,17 @@ public protocol MasonElement {
|
|
|
312
331
|
func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
313
332
|
func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
314
333
|
func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
334
|
+
func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
335
|
+
func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
336
|
+
func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
315
337
|
}
|
|
316
338
|
extension Mason.MasonElement {
|
|
317
339
|
public func addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
318
340
|
public func addChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
319
341
|
public func addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
342
|
+
public func replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
343
|
+
public func replaceChildAt(element: any Mason.MasonElement, _ index: Swift.Int)
|
|
344
|
+
public func replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
320
345
|
public var style: Mason.MasonStyle {
|
|
321
346
|
get
|
|
322
347
|
}
|
|
@@ -373,167 +398,6 @@ extension Mason.MasonElement {
|
|
|
373
398
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
374
399
|
@objc deinit
|
|
375
400
|
}
|
|
376
|
-
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
377
|
-
case None
|
|
378
|
-
case P
|
|
379
|
-
case Span
|
|
380
|
-
case Code
|
|
381
|
-
case H1
|
|
382
|
-
case H2
|
|
383
|
-
case H3
|
|
384
|
-
case H4
|
|
385
|
-
case H5
|
|
386
|
-
case H6
|
|
387
|
-
case Li
|
|
388
|
-
case Blockquote
|
|
389
|
-
case B
|
|
390
|
-
case Pre
|
|
391
|
-
public typealias RawValue = Swift.Int32
|
|
392
|
-
public var rawValue: Mason.MasonTextType.RawValue {
|
|
393
|
-
get
|
|
394
|
-
}
|
|
395
|
-
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
396
|
-
public var description: Swift.String {
|
|
397
|
-
get
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
public enum InlineSegmentPayload {
|
|
401
|
-
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
402
|
-
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
403
|
-
}
|
|
404
|
-
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement {
|
|
405
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
|
|
406
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
407
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
408
|
-
get
|
|
409
|
-
}
|
|
410
|
-
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
411
|
-
get
|
|
412
|
-
}
|
|
413
|
-
@objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
|
|
414
|
-
@objc get
|
|
415
|
-
}
|
|
416
|
-
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
417
|
-
get
|
|
418
|
-
set
|
|
419
|
-
}
|
|
420
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
421
|
-
@objc get
|
|
422
|
-
@objc set
|
|
423
|
-
}
|
|
424
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
425
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
426
|
-
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String, textState: Swift.String)
|
|
427
|
-
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
428
|
-
@objc get
|
|
429
|
-
@objc set
|
|
430
|
-
}
|
|
431
|
-
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
432
|
-
@objc get
|
|
433
|
-
@objc set
|
|
434
|
-
}
|
|
435
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
436
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
437
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
438
|
-
@objc get
|
|
439
|
-
@objc set
|
|
440
|
-
}
|
|
441
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
442
|
-
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
443
|
-
@objc get
|
|
444
|
-
@objc set
|
|
445
|
-
}
|
|
446
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: CoreFoundation.CGFloat {
|
|
447
|
-
@objc get
|
|
448
|
-
@objc set
|
|
449
|
-
}
|
|
450
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
451
|
-
@objc get
|
|
452
|
-
@objc set
|
|
453
|
-
}
|
|
454
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
455
|
-
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
456
|
-
@objc get
|
|
457
|
-
@objc set
|
|
458
|
-
}
|
|
459
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
460
|
-
@objc get
|
|
461
|
-
@objc set
|
|
462
|
-
}
|
|
463
|
-
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
464
|
-
@objc get
|
|
465
|
-
@objc set
|
|
466
|
-
}
|
|
467
|
-
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
468
|
-
@objc get
|
|
469
|
-
@objc set
|
|
470
|
-
}
|
|
471
|
-
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
472
|
-
@objc @_Concurrency.MainActor @preconcurrency public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
473
|
-
@objc deinit
|
|
474
|
-
}
|
|
475
|
-
extension Mason.MasonText {
|
|
476
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
477
|
-
}
|
|
478
|
-
extension Mason.MasonText {
|
|
479
|
-
@objc @discardableResult
|
|
480
|
-
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
481
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func insertChild(_ child: Mason.MasonNode, at index: Swift.Int)
|
|
482
|
-
}
|
|
483
|
-
extension Mason.MasonText {
|
|
484
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
485
|
-
}
|
|
486
|
-
extension Mason.MasonText {
|
|
487
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public var text: Swift.String {
|
|
488
|
-
@objc get
|
|
489
|
-
@objc set
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
@objc public protocol MasonCharacterData {
|
|
493
|
-
@objc var data: Swift.String { get set }
|
|
494
|
-
@objc var length: Swift.Int { get }
|
|
495
|
-
@objc @discardableResult
|
|
496
|
-
func appendData(_ s: Swift.String) -> Self
|
|
497
|
-
@objc @discardableResult
|
|
498
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
499
|
-
@objc @discardableResult
|
|
500
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
501
|
-
@objc @discardableResult
|
|
502
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
503
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
504
|
-
@objc @discardableResult
|
|
505
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
506
|
-
@objc @discardableResult
|
|
507
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
508
|
-
}
|
|
509
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
510
|
-
@objc public var data: Swift.String
|
|
511
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
512
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
513
|
-
@objc public var length: Swift.Int {
|
|
514
|
-
@objc get
|
|
515
|
-
}
|
|
516
|
-
@objc override public var parent: Mason.MasonNode? {
|
|
517
|
-
@objc get
|
|
518
|
-
}
|
|
519
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
520
|
-
@discardableResult
|
|
521
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
522
|
-
@discardableResult
|
|
523
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
524
|
-
@discardableResult
|
|
525
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
526
|
-
@discardableResult
|
|
527
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
528
|
-
@discardableResult
|
|
529
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
530
|
-
@discardableResult
|
|
531
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
532
|
-
@objc deinit
|
|
533
|
-
}
|
|
534
|
-
extension Mason.MasonTextNode {
|
|
535
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
536
|
-
}
|
|
537
401
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(MasonLayout) @objcMembers public class MasonLayout : ObjectiveC.NSObject, Swift.Codable {
|
|
538
402
|
@objc final public let order: Swift.Int
|
|
539
403
|
@objc final public let x: Swift.Float
|
|
@@ -557,6 +421,9 @@ extension Mason.MasonTextNode {
|
|
|
557
421
|
}
|
|
558
422
|
@objc final public let children: [Mason.MasonLayout]
|
|
559
423
|
@objc public static let zero: Mason.MasonLayout
|
|
424
|
+
@objc public var hasChildren: Swift.Bool {
|
|
425
|
+
@objc get
|
|
426
|
+
}
|
|
560
427
|
@objc override dynamic public var description: Swift.String {
|
|
561
428
|
@objc get
|
|
562
429
|
}
|
|
@@ -1091,18 +958,106 @@ public struct MasonPoint<T> : Swift.Codable where T : Swift.Decodable, T : Swift
|
|
|
1091
958
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
1092
959
|
public init(from decoder: any Swift.Decoder) throws
|
|
1093
960
|
}
|
|
961
|
+
@_inheritsConvenienceInitializers @objcMembers @objc(MasonSwiftHelpers) public class SwiftHelpers : ObjectiveC.NSObject {
|
|
962
|
+
@objc public static func markNodeDirty(_ element: any Mason.MasonElementObjc)
|
|
963
|
+
@objc public static func isNodeDirty(_ element: any Mason.MasonElementObjc) -> Swift.Bool
|
|
964
|
+
@objc public static func configure(_ element: any Mason.MasonElementObjc, _ block: (Mason.MasonStyle) -> Swift.Void)
|
|
965
|
+
@objc @discardableResult
|
|
966
|
+
public static func layout(_ element: any Mason.MasonElementObjc) -> Mason.MasonLayout
|
|
967
|
+
@objc public static func compute(_ element: any Mason.MasonElementObjc)
|
|
968
|
+
@objc public static func compute(_ element: any Mason.MasonElementObjc, _ width: Swift.Float, _ height: Swift.Float)
|
|
969
|
+
@objc public static func computeMaxContent(_ element: any Mason.MasonElementObjc)
|
|
970
|
+
@objc public static func computeMinContent(_ element: any Mason.MasonElementObjc)
|
|
971
|
+
@objc public static func computeWithSize(_ element: any Mason.MasonElementObjc, _ width: Swift.Float, _ height: Swift.Float)
|
|
972
|
+
@objc public static func computeWithViewSize(_ element: any Mason.MasonElementObjc)
|
|
973
|
+
@objc public static func computeWithViewSize(_ element: any Mason.MasonElementObjc, layout: Swift.Bool)
|
|
974
|
+
@objc public static func computeWithMaxContent(_ element: any Mason.MasonElementObjc)
|
|
975
|
+
@objc public static func computeWithMinContent(_ element: any Mason.MasonElementObjc)
|
|
976
|
+
@objc public static func attachAndApply(_ element: any Mason.MasonElementObjc)
|
|
977
|
+
@objc public static func requestLayout(_ element: any Mason.MasonElementObjc)
|
|
978
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, _ element: any Mason.MasonElementObjc)
|
|
979
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, text: Swift.String)
|
|
980
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode)
|
|
981
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, texts: [Swift.String])
|
|
982
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, elements: [any Mason.MasonElementObjc])
|
|
983
|
+
@objc public static func append(_ parent: any Mason.MasonElementObjc, nodes: [Mason.MasonNode])
|
|
984
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, _ element: any Mason.MasonElementObjc)
|
|
985
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, string: Swift.String)
|
|
986
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode)
|
|
987
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, strings: [Swift.String])
|
|
988
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, elements: [any Mason.MasonElementObjc])
|
|
989
|
+
@objc public static func prepend(_ parent: any Mason.MasonElementObjc, nodes: [Mason.MasonNode])
|
|
990
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, text: Swift.String, _ index: Swift.Int)
|
|
991
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
992
|
+
@objc public static func addChildAt(_ parent: any Mason.MasonElementObjc, node: Mason.MasonNode, _ index: Swift.Int)
|
|
993
|
+
@objc override dynamic public init()
|
|
994
|
+
@objc deinit
|
|
995
|
+
}
|
|
1094
996
|
extension UIKit.UIColor {
|
|
1095
997
|
public static func colorFromARGB(_ argb: Swift.UInt32) -> UIKit.UIColor
|
|
1096
998
|
public static func colorFromRGBA(_ rgba: Swift.UInt32) -> UIKit.UIColor
|
|
1097
999
|
public func toUInt32() -> Swift.UInt32
|
|
1098
1000
|
}
|
|
1099
|
-
@
|
|
1100
|
-
@objc
|
|
1101
|
-
|
|
1001
|
+
@objc extension ObjectiveC.NSObject {
|
|
1002
|
+
@objc dynamic public func mason_addView(_ view: UIKit.UIView)
|
|
1003
|
+
@objc dynamic public func mason_addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1004
|
+
@objc dynamic public func mason_markNodeDirty()
|
|
1005
|
+
@objc dynamic public func mason_isNodeDirty() -> Swift.Bool
|
|
1006
|
+
@objc dynamic public func mason_configure(_ block: (Mason.MasonStyle) -> Swift.Void)
|
|
1007
|
+
@discardableResult
|
|
1008
|
+
@objc dynamic public func mason_layout() -> Mason.MasonLayout
|
|
1009
|
+
@objc dynamic public func mason_compute()
|
|
1010
|
+
@objc dynamic public func mason_compute(width: Swift.Float, height: Swift.Float)
|
|
1011
|
+
@objc dynamic public func mason_computeMaxContent()
|
|
1012
|
+
@objc dynamic public func mason_computeMinContent()
|
|
1013
|
+
@objc dynamic public func mason_computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
|
|
1014
|
+
@objc dynamic public func mason_computeWithViewSize()
|
|
1015
|
+
@objc dynamic public func mason_computeWithViewSize(layout: Swift.Bool)
|
|
1016
|
+
@objc dynamic public func mason_computeWithMaxContent()
|
|
1017
|
+
@objc dynamic public func mason_computeWithMinContent()
|
|
1018
|
+
@objc dynamic public func mason_attachAndApply()
|
|
1019
|
+
@objc dynamic public func mason_requestLayout()
|
|
1020
|
+
@objc dynamic public func mason_invalidateLayout()
|
|
1021
|
+
@objc dynamic public func mason_append(_ element: any Mason.MasonElementObjc)
|
|
1022
|
+
@objc dynamic public func mason_append(text: Swift.String)
|
|
1023
|
+
@objc dynamic public func mason_append(node: Mason.MasonNode)
|
|
1024
|
+
@objc dynamic public func mason_append(texts: [Swift.String])
|
|
1025
|
+
@objc dynamic public func mason_append(elements: [any Mason.MasonElementObjc])
|
|
1026
|
+
@objc dynamic public func mason_append(nodes: [Mason.MasonNode])
|
|
1027
|
+
@objc dynamic public func mason_prepend(_ element: any Mason.MasonElementObjc)
|
|
1028
|
+
@objc dynamic public func mason_prepend(text: Swift.String)
|
|
1029
|
+
@objc dynamic public func mason_prepend(node: Mason.MasonNode)
|
|
1030
|
+
@objc dynamic public func mason_prepend(texts: [Swift.String])
|
|
1031
|
+
@objc dynamic public func mason_prepend(elements: [any Mason.MasonElementObjc])
|
|
1032
|
+
@objc dynamic public func mason_prepend(nodes: [Mason.MasonNode])
|
|
1033
|
+
@objc dynamic public func mason_addChildAt(text: Swift.String, _ index: Swift.Int)
|
|
1034
|
+
@objc dynamic public func mason_addChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1035
|
+
@objc dynamic public func mason_addChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
1036
|
+
@objc dynamic public func mason_replaceChildAt(text: Swift.String, _ index: Swift.Int)
|
|
1037
|
+
@objc dynamic public func mason_replaceChildAt(element: any Mason.MasonElementObjc, _ index: Swift.Int)
|
|
1038
|
+
@objc dynamic public func mason_replaceChildAt(node: Mason.MasonNode, _ index: Swift.Int)
|
|
1039
|
+
}
|
|
1040
|
+
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
1041
|
+
case Loading
|
|
1042
|
+
case Loaded
|
|
1043
|
+
case Error
|
|
1044
|
+
public typealias RawValue = Swift.Int32
|
|
1045
|
+
public var rawValue: Mason.LoadingState.RawValue {
|
|
1046
|
+
get
|
|
1102
1047
|
}
|
|
1103
|
-
|
|
1048
|
+
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1049
|
+
}
|
|
1050
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIImageView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1051
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1104
1052
|
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1053
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1054
|
+
@objc get
|
|
1055
|
+
}
|
|
1056
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1057
|
+
@objc get
|
|
1058
|
+
}
|
|
1105
1059
|
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
1060
|
+
@objc @_Concurrency.MainActor @preconcurrency public var onStateChange: ((Mason.LoadingState, (any Swift.Error)?) -> Swift.Void)?
|
|
1106
1061
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public var image: UIKit.UIImage? {
|
|
1107
1062
|
@objc get
|
|
1108
1063
|
@objc set
|
|
@@ -1112,8 +1067,176 @@ extension UIKit.UIColor {
|
|
|
1112
1067
|
@objc set
|
|
1113
1068
|
}
|
|
1114
1069
|
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1070
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
1071
|
+
@objc deinit
|
|
1072
|
+
}
|
|
1073
|
+
@objc public protocol MasonCharacterData {
|
|
1074
|
+
@objc var data: Swift.String { get set }
|
|
1075
|
+
@objc var length: Swift.Int { get }
|
|
1076
|
+
@objc @discardableResult
|
|
1077
|
+
func appendData(_ s: Swift.String) -> Self
|
|
1078
|
+
@objc @discardableResult
|
|
1079
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1080
|
+
@objc @discardableResult
|
|
1081
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1082
|
+
@objc @discardableResult
|
|
1083
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1084
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1085
|
+
@objc @discardableResult
|
|
1086
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
1087
|
+
@objc @discardableResult
|
|
1088
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1089
|
+
}
|
|
1090
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1091
|
+
@objc public var data: Swift.String
|
|
1092
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1093
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1094
|
+
@objc public var length: Swift.Int {
|
|
1095
|
+
@objc get
|
|
1096
|
+
}
|
|
1097
|
+
@objc override public var parent: Mason.MasonNode? {
|
|
1098
|
+
@objc get
|
|
1099
|
+
}
|
|
1100
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1101
|
+
@discardableResult
|
|
1102
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1103
|
+
@discardableResult
|
|
1104
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1105
|
+
@discardableResult
|
|
1106
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1107
|
+
@discardableResult
|
|
1108
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1109
|
+
@discardableResult
|
|
1110
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1111
|
+
@discardableResult
|
|
1112
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1113
|
+
@objc deinit
|
|
1114
|
+
}
|
|
1115
|
+
extension Mason.MasonTextNode {
|
|
1116
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1117
|
+
}
|
|
1118
|
+
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1119
|
+
case None
|
|
1120
|
+
case P
|
|
1121
|
+
case Span
|
|
1122
|
+
case Code
|
|
1123
|
+
case H1
|
|
1124
|
+
case H2
|
|
1125
|
+
case H3
|
|
1126
|
+
case H4
|
|
1127
|
+
case H5
|
|
1128
|
+
case H6
|
|
1129
|
+
case Li
|
|
1130
|
+
case Blockquote
|
|
1131
|
+
case B
|
|
1132
|
+
case Pre
|
|
1133
|
+
public typealias RawValue = Swift.Int32
|
|
1134
|
+
public var rawValue: Mason.MasonTextType.RawValue {
|
|
1135
|
+
get
|
|
1136
|
+
}
|
|
1137
|
+
public init?(rawValue: Mason.MasonTextType.RawValue)
|
|
1138
|
+
public var description: Swift.String {
|
|
1139
|
+
get
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
public enum InlineSegmentPayload {
|
|
1143
|
+
case text(width: Swift.Float, ascent: Swift.Float, descent: Swift.Float)
|
|
1144
|
+
case inline(id: Swift.OpaquePointer, width: Swift.Float, height: Swift.Float, baseline: Swift.Float)
|
|
1145
|
+
}
|
|
1146
|
+
@_hasMissingDesignatedInitializers @objc(MasonText) @objcMembers @_Concurrency.MainActor @preconcurrency public class MasonText : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1147
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1148
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let type: Mason.MasonTextType
|
|
1149
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textValues: Foundation.NSMutableData {
|
|
1150
|
+
get
|
|
1151
|
+
}
|
|
1152
|
+
@objc @_Concurrency.MainActor @preconcurrency public var font: Mason.NSCFontFace {
|
|
1153
|
+
get
|
|
1154
|
+
}
|
|
1155
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1156
|
+
@objc get
|
|
1157
|
+
}
|
|
1158
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1159
|
+
@objc get
|
|
1160
|
+
}
|
|
1161
|
+
@_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
|
|
1162
|
+
get
|
|
1163
|
+
set
|
|
1164
|
+
}
|
|
1165
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textOverflowCompat: Mason.TextOverflowCompat {
|
|
1166
|
+
@objc get
|
|
1167
|
+
@objc set
|
|
1168
|
+
}
|
|
1169
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason, type textType: Mason.MasonTextType)
|
|
1170
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(mason: Mason.NSCMason)
|
|
1171
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func setNeedsDisplay()
|
|
1172
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1173
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String, textState: Swift.String)
|
|
1174
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
1175
|
+
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView, at: Swift.Int)
|
|
1176
|
+
@objc @_Concurrency.MainActor @preconcurrency public var color: Swift.UInt32 {
|
|
1177
|
+
@objc get
|
|
1178
|
+
@objc set
|
|
1179
|
+
}
|
|
1180
|
+
@objc @_Concurrency.MainActor @preconcurrency public var backgroundColorValue: Swift.UInt32 {
|
|
1181
|
+
@objc get
|
|
1182
|
+
@objc set
|
|
1183
|
+
}
|
|
1184
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setColor(ui color: UIKit.UIColor)
|
|
1185
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBackgroundColor(ui color: UIKit.UIColor)
|
|
1186
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationColor: Swift.UInt32 {
|
|
1187
|
+
@objc get
|
|
1188
|
+
@objc set
|
|
1189
|
+
}
|
|
1190
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setDecorationColor(ui color: UIKit.UIColor)
|
|
1191
|
+
@objc @_Concurrency.MainActor @preconcurrency public var decorationLine: Mason.DecorationLine {
|
|
1192
|
+
@objc get
|
|
1193
|
+
@objc set
|
|
1194
|
+
}
|
|
1195
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontSize: CoreFoundation.CGFloat {
|
|
1196
|
+
@objc get
|
|
1197
|
+
@objc set
|
|
1198
|
+
}
|
|
1199
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontStyle: Mason.FontStyle {
|
|
1200
|
+
@objc get
|
|
1201
|
+
@objc set
|
|
1202
|
+
}
|
|
1203
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFontStyle(_ style: Mason.FontStyle, slant: Swift.Int32)
|
|
1204
|
+
@objc @_Concurrency.MainActor @preconcurrency public var fontWeight: Swift.String {
|
|
1205
|
+
@objc get
|
|
1206
|
+
@objc set
|
|
1207
|
+
}
|
|
1208
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
|
|
1209
|
+
@objc get
|
|
1210
|
+
@objc set
|
|
1211
|
+
}
|
|
1212
|
+
@objc @_Concurrency.MainActor @preconcurrency public var whiteSpace: Mason.WhiteSpace {
|
|
1213
|
+
@objc get
|
|
1214
|
+
@objc set
|
|
1215
|
+
}
|
|
1216
|
+
@objc @_Concurrency.MainActor @preconcurrency public var textWrap: Mason.TextWrap {
|
|
1217
|
+
@objc get
|
|
1218
|
+
@objc set
|
|
1219
|
+
}
|
|
1220
|
+
@objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
|
|
1221
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getDefaultAttributes() -> [Foundation.NSAttributedString.Key : Any]
|
|
1115
1222
|
@objc deinit
|
|
1116
1223
|
}
|
|
1224
|
+
extension Mason.MasonText {
|
|
1225
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
|
|
1226
|
+
}
|
|
1227
|
+
extension Mason.MasonText {
|
|
1228
|
+
@objc @discardableResult
|
|
1229
|
+
@_Concurrency.MainActor @preconcurrency dynamic public func removeChild(_ child: Mason.MasonNode) -> Mason.MasonNode?
|
|
1230
|
+
}
|
|
1231
|
+
extension Mason.MasonText {
|
|
1232
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1233
|
+
}
|
|
1234
|
+
extension Mason.MasonText {
|
|
1235
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public var text: Swift.String {
|
|
1236
|
+
@objc get
|
|
1237
|
+
@objc set
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1117
1240
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1118
1241
|
case Auto
|
|
1119
1242
|
case Points
|
|
@@ -1528,14 +1651,18 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1528
1651
|
}
|
|
1529
1652
|
@objc deinit
|
|
1530
1653
|
}
|
|
1531
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonElement {
|
|
1532
|
-
@
|
|
1654
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonUIView) @_Concurrency.MainActor @preconcurrency public class MasonUIView : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1655
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1656
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1657
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1658
|
+
@objc get
|
|
1659
|
+
}
|
|
1660
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1533
1661
|
@objc get
|
|
1534
1662
|
}
|
|
1535
1663
|
@objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
|
|
1536
1664
|
@objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
|
|
1537
|
-
@objc @_Concurrency.MainActor @preconcurrency
|
|
1538
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1665
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
1539
1666
|
@objc @_Concurrency.MainActor @preconcurrency public static func createGridView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1540
1667
|
@objc @_Concurrency.MainActor @preconcurrency public static func createFlexView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
1541
1668
|
@objc @_Concurrency.MainActor @preconcurrency public static func createBlockView(_ mason: Mason.NSCMason) -> Mason.MasonUIView
|
|
@@ -1762,12 +1889,16 @@ public enum TextOverflow : Swift.CustomStringConvertible {
|
|
|
1762
1889
|
@objc @_Concurrency.MainActor @preconcurrency public func getColumnGap() -> Mason.MasonLengthPercentageCompat
|
|
1763
1890
|
@objc deinit
|
|
1764
1891
|
}
|
|
1765
|
-
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, Mason.MasonElement,
|
|
1766
|
-
@
|
|
1892
|
+
@_hasMissingDesignatedInitializers @objc(MasonScroll) @objcMembers @_Concurrency.MainActor @preconcurrency public class Scroll : UIKit.UIScrollView, UIKit.UIScrollViewDelegate, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1893
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1894
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1895
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1767
1896
|
@objc get
|
|
1768
1897
|
}
|
|
1769
|
-
@
|
|
1770
|
-
|
|
1898
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1899
|
+
@objc get
|
|
1900
|
+
}
|
|
1901
|
+
@objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
|
|
1771
1902
|
@_Concurrency.MainActor @preconcurrency @objc public func scrollViewWillBeginDragging(_ scrollView: UIKit.UIScrollView)
|
|
1772
1903
|
@_Concurrency.MainActor @preconcurrency @objc public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView)
|
|
1773
1904
|
@objc @_Concurrency.MainActor @preconcurrency public func addView(_ view: UIKit.UIView)
|
|
@@ -1783,10 +1914,12 @@ extension Mason.NSCFontFaceStatus : Swift.Equatable {}
|
|
|
1783
1914
|
extension Mason.NSCFontFaceStatus : Swift.Hashable {}
|
|
1784
1915
|
extension Mason.MasonNodeType : Swift.Equatable {}
|
|
1785
1916
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
1786
|
-
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1787
|
-
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1788
1917
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
1789
1918
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
1919
|
+
extension Mason.LoadingState : Swift.Equatable {}
|
|
1920
|
+
extension Mason.LoadingState : Swift.Hashable {}
|
|
1921
|
+
extension Mason.MasonTextType : Swift.Equatable {}
|
|
1922
|
+
extension Mason.MasonTextType : Swift.Hashable {}
|
|
1790
1923
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
1791
1924
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
1792
1925
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|