@triniwiz/nativescript-masonkit 1.0.0-beta.7 → 1.0.0-beta.8
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/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 +4135 -4135
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +101 -101
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +101 -101
- 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 +3139 -3139
- 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 +18352 -18352
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +188 -188
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +188 -188
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +18352 -18352
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +188 -188
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +188 -188
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +20 -20
- 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 +3673 -3675
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +3560 -3564
|
@@ -1295,105 +1295,6 @@ extension UIKit.UIImage {
|
|
|
1295
1295
|
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
1296
1296
|
@objc deinit
|
|
1297
1297
|
}
|
|
1298
|
-
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
1299
|
-
case Loading
|
|
1300
|
-
case Loaded
|
|
1301
|
-
case Error
|
|
1302
|
-
public typealias RawValue = Swift.Int32
|
|
1303
|
-
public var rawValue: Mason.LoadingState.RawValue {
|
|
1304
|
-
get
|
|
1305
|
-
}
|
|
1306
|
-
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1307
|
-
}
|
|
1308
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
1309
|
-
@objc override dynamic public init()
|
|
1310
|
-
@objc override dynamic public init(layer: Any)
|
|
1311
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1312
|
-
@objc deinit
|
|
1313
|
-
}
|
|
1314
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1315
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1316
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1317
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1318
|
-
@objc get
|
|
1319
|
-
}
|
|
1320
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1321
|
-
@objc get
|
|
1322
|
-
}
|
|
1323
|
-
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
1324
|
-
@objc @_Concurrency.MainActor @preconcurrency public var onStateChange: ((Mason.LoadingState, (any Swift.Error)?) -> Swift.Void)?
|
|
1325
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1326
|
-
@objc get
|
|
1327
|
-
}
|
|
1328
|
-
@objc @_Concurrency.MainActor @preconcurrency public var image: UIKit.UIImage? {
|
|
1329
|
-
@objc get
|
|
1330
|
-
@objc set
|
|
1331
|
-
}
|
|
1332
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1333
|
-
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
1334
|
-
@objc get
|
|
1335
|
-
@objc set
|
|
1336
|
-
}
|
|
1337
|
-
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1338
|
-
@objc deinit
|
|
1339
|
-
}
|
|
1340
|
-
@objc public protocol MasonCharacterData {
|
|
1341
|
-
@objc var data: Swift.String { get set }
|
|
1342
|
-
@objc var length: Swift.Int { get }
|
|
1343
|
-
@objc @discardableResult
|
|
1344
|
-
func appendData(_ s: Swift.String) -> Self
|
|
1345
|
-
@objc @discardableResult
|
|
1346
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1347
|
-
@objc @discardableResult
|
|
1348
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1349
|
-
@objc @discardableResult
|
|
1350
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1351
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1352
|
-
@objc @discardableResult
|
|
1353
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
1354
|
-
@objc @discardableResult
|
|
1355
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1356
|
-
}
|
|
1357
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1358
|
-
@objc public var data: Swift.String
|
|
1359
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1360
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1361
|
-
@objc public var length: Swift.Int {
|
|
1362
|
-
@objc get
|
|
1363
|
-
}
|
|
1364
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1365
|
-
@discardableResult
|
|
1366
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1367
|
-
@discardableResult
|
|
1368
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1369
|
-
@discardableResult
|
|
1370
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1371
|
-
@discardableResult
|
|
1372
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1373
|
-
@discardableResult
|
|
1374
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1375
|
-
@discardableResult
|
|
1376
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1377
|
-
@objc deinit
|
|
1378
|
-
}
|
|
1379
|
-
extension Mason.MasonTextNode {
|
|
1380
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1381
|
-
}
|
|
1382
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1383
|
-
@objc var engine: Mason.TextEngine { get }
|
|
1384
|
-
@objc var node: Mason.MasonNode { get }
|
|
1385
|
-
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
1386
|
-
}
|
|
1387
|
-
extension Mason.TextContainer {
|
|
1388
|
-
public func onTextStyleChanged(change: Swift.Int64)
|
|
1389
|
-
}
|
|
1390
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1391
|
-
public var textContent: Swift.String {
|
|
1392
|
-
get
|
|
1393
|
-
set
|
|
1394
|
-
}
|
|
1395
|
-
@objc deinit
|
|
1396
|
-
}
|
|
1397
1298
|
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1398
1299
|
case None
|
|
1399
1300
|
case P
|
|
@@ -1523,6 +1424,105 @@ extension Mason.MasonText {
|
|
|
1523
1424
|
extension Mason.MasonText {
|
|
1524
1425
|
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1525
1426
|
}
|
|
1427
|
+
@objc public protocol MasonCharacterData {
|
|
1428
|
+
@objc var data: Swift.String { get set }
|
|
1429
|
+
@objc var length: Swift.Int { get }
|
|
1430
|
+
@objc @discardableResult
|
|
1431
|
+
func appendData(_ s: Swift.String) -> Self
|
|
1432
|
+
@objc @discardableResult
|
|
1433
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1434
|
+
@objc @discardableResult
|
|
1435
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1436
|
+
@objc @discardableResult
|
|
1437
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1438
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1439
|
+
@objc @discardableResult
|
|
1440
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
1441
|
+
@objc @discardableResult
|
|
1442
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1443
|
+
}
|
|
1444
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1445
|
+
@objc public var data: Swift.String
|
|
1446
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1447
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1448
|
+
@objc public var length: Swift.Int {
|
|
1449
|
+
@objc get
|
|
1450
|
+
}
|
|
1451
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1452
|
+
@discardableResult
|
|
1453
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1454
|
+
@discardableResult
|
|
1455
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1456
|
+
@discardableResult
|
|
1457
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1458
|
+
@discardableResult
|
|
1459
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1460
|
+
@discardableResult
|
|
1461
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1462
|
+
@discardableResult
|
|
1463
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1464
|
+
@objc deinit
|
|
1465
|
+
}
|
|
1466
|
+
extension Mason.MasonTextNode {
|
|
1467
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1468
|
+
}
|
|
1469
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1470
|
+
@objc var engine: Mason.TextEngine { get }
|
|
1471
|
+
@objc var node: Mason.MasonNode { get }
|
|
1472
|
+
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
1473
|
+
}
|
|
1474
|
+
extension Mason.TextContainer {
|
|
1475
|
+
public func onTextStyleChanged(change: Swift.Int64)
|
|
1476
|
+
}
|
|
1477
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1478
|
+
public var textContent: Swift.String {
|
|
1479
|
+
get
|
|
1480
|
+
set
|
|
1481
|
+
}
|
|
1482
|
+
@objc deinit
|
|
1483
|
+
}
|
|
1484
|
+
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
1485
|
+
case Loading
|
|
1486
|
+
case Loaded
|
|
1487
|
+
case Error
|
|
1488
|
+
public typealias RawValue = Swift.Int32
|
|
1489
|
+
public var rawValue: Mason.LoadingState.RawValue {
|
|
1490
|
+
get
|
|
1491
|
+
}
|
|
1492
|
+
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1493
|
+
}
|
|
1494
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
1495
|
+
@objc override dynamic public init()
|
|
1496
|
+
@objc override dynamic public init(layer: Any)
|
|
1497
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1498
|
+
@objc deinit
|
|
1499
|
+
}
|
|
1500
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1501
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1502
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1503
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1504
|
+
@objc get
|
|
1505
|
+
}
|
|
1506
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1507
|
+
@objc get
|
|
1508
|
+
}
|
|
1509
|
+
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
1510
|
+
@objc @_Concurrency.MainActor @preconcurrency public var onStateChange: ((Mason.LoadingState, (any Swift.Error)?) -> Swift.Void)?
|
|
1511
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1512
|
+
@objc get
|
|
1513
|
+
}
|
|
1514
|
+
@objc @_Concurrency.MainActor @preconcurrency public var image: UIKit.UIImage? {
|
|
1515
|
+
@objc get
|
|
1516
|
+
@objc set
|
|
1517
|
+
}
|
|
1518
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1519
|
+
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
1520
|
+
@objc get
|
|
1521
|
+
@objc set
|
|
1522
|
+
}
|
|
1523
|
+
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1524
|
+
@objc deinit
|
|
1525
|
+
}
|
|
1526
1526
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1527
1527
|
case Auto
|
|
1528
1528
|
case Points
|
|
@@ -2315,10 +2315,10 @@ extension Mason.MasonNodeType : Swift.Equatable {}
|
|
|
2315
2315
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2316
2316
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
2317
2317
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
2318
|
-
extension Mason.LoadingState : Swift.Equatable {}
|
|
2319
|
-
extension Mason.LoadingState : Swift.Hashable {}
|
|
2320
2318
|
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2321
2319
|
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2320
|
+
extension Mason.LoadingState : Swift.Equatable {}
|
|
2321
|
+
extension Mason.LoadingState : Swift.Hashable {}
|
|
2322
2322
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
2323
2323
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
2324
2324
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|
|
@@ -1295,105 +1295,6 @@ extension UIKit.UIImage {
|
|
|
1295
1295
|
@objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
1296
1296
|
@objc deinit
|
|
1297
1297
|
}
|
|
1298
|
-
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
1299
|
-
case Loading
|
|
1300
|
-
case Loaded
|
|
1301
|
-
case Error
|
|
1302
|
-
public typealias RawValue = Swift.Int32
|
|
1303
|
-
public var rawValue: Mason.LoadingState.RawValue {
|
|
1304
|
-
get
|
|
1305
|
-
}
|
|
1306
|
-
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1307
|
-
}
|
|
1308
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
1309
|
-
@objc override dynamic public init()
|
|
1310
|
-
@objc override dynamic public init(layer: Any)
|
|
1311
|
-
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1312
|
-
@objc deinit
|
|
1313
|
-
}
|
|
1314
|
-
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1315
|
-
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1316
|
-
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1317
|
-
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1318
|
-
@objc get
|
|
1319
|
-
}
|
|
1320
|
-
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1321
|
-
@objc get
|
|
1322
|
-
}
|
|
1323
|
-
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
1324
|
-
@objc @_Concurrency.MainActor @preconcurrency public var onStateChange: ((Mason.LoadingState, (any Swift.Error)?) -> Swift.Void)?
|
|
1325
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1326
|
-
@objc get
|
|
1327
|
-
}
|
|
1328
|
-
@objc @_Concurrency.MainActor @preconcurrency public var image: UIKit.UIImage? {
|
|
1329
|
-
@objc get
|
|
1330
|
-
@objc set
|
|
1331
|
-
}
|
|
1332
|
-
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1333
|
-
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
1334
|
-
@objc get
|
|
1335
|
-
@objc set
|
|
1336
|
-
}
|
|
1337
|
-
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1338
|
-
@objc deinit
|
|
1339
|
-
}
|
|
1340
|
-
@objc public protocol MasonCharacterData {
|
|
1341
|
-
@objc var data: Swift.String { get set }
|
|
1342
|
-
@objc var length: Swift.Int { get }
|
|
1343
|
-
@objc @discardableResult
|
|
1344
|
-
func appendData(_ s: Swift.String) -> Self
|
|
1345
|
-
@objc @discardableResult
|
|
1346
|
-
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1347
|
-
@objc @discardableResult
|
|
1348
|
-
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1349
|
-
@objc @discardableResult
|
|
1350
|
-
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1351
|
-
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1352
|
-
@objc @discardableResult
|
|
1353
|
-
func deleteData(range: Foundation.NSRange) -> Self
|
|
1354
|
-
@objc @discardableResult
|
|
1355
|
-
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1356
|
-
}
|
|
1357
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1358
|
-
@objc public var data: Swift.String
|
|
1359
|
-
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1360
|
-
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1361
|
-
@objc public var length: Swift.Int {
|
|
1362
|
-
@objc get
|
|
1363
|
-
}
|
|
1364
|
-
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1365
|
-
@discardableResult
|
|
1366
|
-
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1367
|
-
@discardableResult
|
|
1368
|
-
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1369
|
-
@discardableResult
|
|
1370
|
-
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1371
|
-
@discardableResult
|
|
1372
|
-
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1373
|
-
@discardableResult
|
|
1374
|
-
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1375
|
-
@discardableResult
|
|
1376
|
-
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1377
|
-
@objc deinit
|
|
1378
|
-
}
|
|
1379
|
-
extension Mason.MasonTextNode {
|
|
1380
|
-
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1381
|
-
}
|
|
1382
|
-
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1383
|
-
@objc var engine: Mason.TextEngine { get }
|
|
1384
|
-
@objc var node: Mason.MasonNode { get }
|
|
1385
|
-
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
1386
|
-
}
|
|
1387
|
-
extension Mason.TextContainer {
|
|
1388
|
-
public func onTextStyleChanged(change: Swift.Int64)
|
|
1389
|
-
}
|
|
1390
|
-
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1391
|
-
public var textContent: Swift.String {
|
|
1392
|
-
get
|
|
1393
|
-
set
|
|
1394
|
-
}
|
|
1395
|
-
@objc deinit
|
|
1396
|
-
}
|
|
1397
1298
|
@objc(MasonTextType) public enum MasonTextType : Swift.Int, Swift.RawRepresentable, Swift.CustomStringConvertible {
|
|
1398
1299
|
case None
|
|
1399
1300
|
case P
|
|
@@ -1523,6 +1424,105 @@ extension Mason.MasonText {
|
|
|
1523
1424
|
extension Mason.MasonText {
|
|
1524
1425
|
@objc @_Concurrency.MainActor @preconcurrency dynamic public func addChild(_ child: Mason.MasonNode)
|
|
1525
1426
|
}
|
|
1427
|
+
@objc public protocol MasonCharacterData {
|
|
1428
|
+
@objc var data: Swift.String { get set }
|
|
1429
|
+
@objc var length: Swift.Int { get }
|
|
1430
|
+
@objc @discardableResult
|
|
1431
|
+
func appendData(_ s: Swift.String) -> Self
|
|
1432
|
+
@objc @discardableResult
|
|
1433
|
+
func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1434
|
+
@objc @discardableResult
|
|
1435
|
+
func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1436
|
+
@objc @discardableResult
|
|
1437
|
+
func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1438
|
+
@objc func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1439
|
+
@objc @discardableResult
|
|
1440
|
+
func deleteData(range: Foundation.NSRange) -> Self
|
|
1441
|
+
@objc @discardableResult
|
|
1442
|
+
func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1443
|
+
}
|
|
1444
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextNode) @objcMembers public class MasonTextNode : Mason.MasonNode, Mason.MasonCharacterData {
|
|
1445
|
+
@objc public var data: Swift.String
|
|
1446
|
+
@objc public init(mason doc: Mason.NSCMason, data text: Swift.String, attributes attrs: [Foundation.NSAttributedString.Key : Any]? = nil)
|
|
1447
|
+
@objc override dynamic public func appendChild(_ child: Mason.MasonNode)
|
|
1448
|
+
@objc public var length: Swift.Int {
|
|
1449
|
+
@objc get
|
|
1450
|
+
}
|
|
1451
|
+
@objc public func substringData(offset: Swift.Int, count: Swift.Int) -> Swift.String
|
|
1452
|
+
@discardableResult
|
|
1453
|
+
@objc public func appendData(_ s: Swift.String) -> Self
|
|
1454
|
+
@discardableResult
|
|
1455
|
+
@objc public func insertData(_ s: Swift.String, at offset: Swift.Int) -> Self
|
|
1456
|
+
@discardableResult
|
|
1457
|
+
@objc public func deleteData(offset: Swift.Int, count: Swift.Int) -> Self
|
|
1458
|
+
@discardableResult
|
|
1459
|
+
@objc public func replaceData(offset: Swift.Int, count: Swift.Int, with s: Swift.String) -> Self
|
|
1460
|
+
@discardableResult
|
|
1461
|
+
@objc public func deleteData(range: Foundation.NSRange) -> Self
|
|
1462
|
+
@discardableResult
|
|
1463
|
+
@objc public func replaceData(range: Foundation.NSRange, with s: Swift.String) -> Self
|
|
1464
|
+
@objc deinit
|
|
1465
|
+
}
|
|
1466
|
+
extension Mason.MasonTextNode {
|
|
1467
|
+
@objc dynamic public func attributed() -> Foundation.NSAttributedString
|
|
1468
|
+
}
|
|
1469
|
+
@objc(MasonTextContainer) public protocol TextContainer : ObjectiveC.NSObjectProtocol {
|
|
1470
|
+
@objc var engine: Mason.TextEngine { get }
|
|
1471
|
+
@objc var node: Mason.MasonNode { get }
|
|
1472
|
+
@objc func onTextStyleChanged(change: Swift.Int64)
|
|
1473
|
+
}
|
|
1474
|
+
extension Mason.TextContainer {
|
|
1475
|
+
public func onTextStyleChanged(change: Swift.Int64)
|
|
1476
|
+
}
|
|
1477
|
+
@_hasMissingDesignatedInitializers @objc(MasonTextEngine) public class TextEngine : ObjectiveC.NSObject {
|
|
1478
|
+
public var textContent: Swift.String {
|
|
1479
|
+
get
|
|
1480
|
+
set
|
|
1481
|
+
}
|
|
1482
|
+
@objc deinit
|
|
1483
|
+
}
|
|
1484
|
+
@objc(MasonLoadingState) public enum LoadingState : Swift.Int, Swift.RawRepresentable {
|
|
1485
|
+
case Loading
|
|
1486
|
+
case Loaded
|
|
1487
|
+
case Error
|
|
1488
|
+
public typealias RawValue = Swift.Int32
|
|
1489
|
+
public var rawValue: Mason.LoadingState.RawValue {
|
|
1490
|
+
get
|
|
1491
|
+
}
|
|
1492
|
+
public init?(rawValue: Mason.LoadingState.RawValue)
|
|
1493
|
+
}
|
|
1494
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class MasonImageLayer : QuartzCore.CALayer {
|
|
1495
|
+
@objc override dynamic public init()
|
|
1496
|
+
@objc override dynamic public init(layer: Any)
|
|
1497
|
+
@objc override dynamic public func draw(in context: CoreGraphics.CGContext)
|
|
1498
|
+
@objc deinit
|
|
1499
|
+
}
|
|
1500
|
+
@_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class Img : UIKit.UIView, Mason.MasonElement, Mason.MasonElementObjc {
|
|
1501
|
+
@_Concurrency.MainActor @preconcurrency @objc final public let node: Mason.MasonNode
|
|
1502
|
+
@objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
|
|
1503
|
+
@_Concurrency.MainActor @preconcurrency @objc public var uiView: UIKit.UIView {
|
|
1504
|
+
@objc get
|
|
1505
|
+
}
|
|
1506
|
+
@_Concurrency.MainActor @preconcurrency @objc public var style: Mason.MasonStyle {
|
|
1507
|
+
@objc get
|
|
1508
|
+
}
|
|
1509
|
+
@objc @_Concurrency.MainActor @preconcurrency public var didLayout: (() -> Swift.Void)?
|
|
1510
|
+
@objc @_Concurrency.MainActor @preconcurrency public var onStateChange: ((Mason.LoadingState, (any Swift.Error)?) -> Swift.Void)?
|
|
1511
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public class var layerClass: Swift.AnyClass {
|
|
1512
|
+
@objc get
|
|
1513
|
+
}
|
|
1514
|
+
@objc @_Concurrency.MainActor @preconcurrency public var image: UIKit.UIImage? {
|
|
1515
|
+
@objc get
|
|
1516
|
+
@objc set
|
|
1517
|
+
}
|
|
1518
|
+
@objc @_Concurrency.MainActor @preconcurrency public func requestLayout()
|
|
1519
|
+
@objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
|
|
1520
|
+
@objc get
|
|
1521
|
+
@objc set
|
|
1522
|
+
}
|
|
1523
|
+
@objc @_Concurrency.MainActor @preconcurrency public func updateImage(_ image: UIKit.UIImage?)
|
|
1524
|
+
@objc deinit
|
|
1525
|
+
}
|
|
1526
1526
|
@objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
|
|
1527
1527
|
case Auto
|
|
1528
1528
|
case Points
|
|
@@ -2315,10 +2315,10 @@ extension Mason.MasonNodeType : Swift.Equatable {}
|
|
|
2315
2315
|
extension Mason.MasonNodeType : Swift.Hashable {}
|
|
2316
2316
|
extension Mason.NSCFontFaceSetStatus : Swift.Equatable {}
|
|
2317
2317
|
extension Mason.NSCFontFaceSetStatus : Swift.Hashable {}
|
|
2318
|
-
extension Mason.LoadingState : Swift.Equatable {}
|
|
2319
|
-
extension Mason.LoadingState : Swift.Hashable {}
|
|
2320
2318
|
extension Mason.MasonTextType : Swift.Equatable {}
|
|
2321
2319
|
extension Mason.MasonTextType : Swift.Hashable {}
|
|
2320
|
+
extension Mason.LoadingState : Swift.Equatable {}
|
|
2321
|
+
extension Mason.LoadingState : Swift.Hashable {}
|
|
2322
2322
|
extension Mason.MasonDimensionCompatType : Swift.Equatable {}
|
|
2323
2323
|
extension Mason.MasonDimensionCompatType : Swift.Hashable {}
|
|
2324
2324
|
extension Mason.MasonLengthPercentageAutoCompatType : Swift.Equatable {}
|