@triniwiz/nativescript-masonkit 1.0.0-alpha.22 → 1.0.0-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common.d.ts +132 -0
- package/common.js +1476 -0
- package/common.js.map +1 -0
- package/img/index.android.d.ts +11 -0
- package/img/index.android.js +41 -0
- package/img/index.android.js.map +1 -0
- package/img/index.ios.d.ts +13 -0
- package/img/index.ios.js +92 -0
- package/img/index.ios.js.map +1 -0
- package/index.android.d.ts +5 -0
- package/index.android.js +6 -0
- package/index.android.js.map +1 -0
- package/index.d.ts +76 -108
- package/index.ios.d.ts +5 -0
- package/index.ios.js +6 -0
- package/index.ios.js.map +1 -0
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +363 -268
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +67 -18
- 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 +17191 -10189
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +366 -126
- 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 +366 -126
- 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 +2864 -2416
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +726 -536
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +67 -18
- 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 +17191 -10189
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +366 -126
- 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 +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +17191 -10189
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +366 -126
- 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 +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +29 -29
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2864 -2416
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2779 -2352
- package/scroll/index.android.d.ts +14 -0
- package/scroll/index.android.js +55 -0
- package/scroll/index.android.js.map +1 -0
- package/scroll/index.ios.d.ts +17 -0
- package/scroll/index.ios.js +125 -0
- package/scroll/index.ios.js.map +1 -0
- package/style.d.ts +195 -0
- package/style.js +2204 -0
- package/style.js.map +1 -0
- package/text/index.android.d.ts +29 -0
- package/text/index.android.js +145 -0
- package/text/index.android.js.map +1 -0
- package/text/index.ios.d.ts +39 -0
- package/text/index.ios.js +272 -0
- package/text/index.ios.js.map +1 -0
- package/tree/index.android.d.ts +27 -0
- package/tree/index.android.js +72 -0
- package/tree/index.android.js.map +1 -0
- package/tree/index.ios.d.ts +27 -0
- package/tree/index.ios.js +72 -0
- package/tree/index.ios.js.map +1 -0
- package/utils/index.android.d.ts +187 -0
- package/utils/index.android.js +594 -0
- package/utils/index.android.js.map +1 -0
- package/utils/index.ios.d.ts +198 -0
- package/utils/index.ios.js +710 -0
- package/utils/index.ios.js.map +1 -0
- package/view/index.android.d.ts +14 -0
- package/view/index.android.js +60 -0
- package/view/index.android.js.map +1 -0
- package/view/index.ios.d.ts +18 -0
- package/view/index.ios.js +131 -0
- package/view/index.ios.js.map +1 -0
- package/web.d.ts +55 -0
- package/web.js +189 -0
- package/web.js.map +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.
|
|
3
|
+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
4
4
|
#ifndef MASON_SWIFT_H
|
|
5
5
|
#define MASON_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
# if __has_include(<uchar.h>)
|
|
66
66
|
# include <uchar.h>
|
|
67
67
|
# elif !defined(__cplusplus)
|
|
68
|
+
typedef unsigned char char8_t;
|
|
68
69
|
typedef uint_least16_t char16_t;
|
|
69
70
|
typedef uint_least32_t char32_t;
|
|
70
71
|
# endif
|
|
@@ -306,95 +307,104 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
306
307
|
#endif
|
|
307
308
|
|
|
308
309
|
#if defined(__OBJC__)
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
310
|
+
|
|
311
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignContent, "AlignContent", open) {
|
|
312
|
+
MasonAlignContentNormal = -1,
|
|
313
|
+
MasonAlignContentStart = 0,
|
|
314
|
+
MasonAlignContentEnd = 1,
|
|
315
|
+
MasonAlignContentCenter = 2,
|
|
316
|
+
MasonAlignContentStretch = 3,
|
|
317
|
+
MasonAlignContentSpaceBetween = 4,
|
|
318
|
+
MasonAlignContentSpaceAround = 5,
|
|
319
|
+
MasonAlignContentSpaceEvenly = 6,
|
|
320
|
+
MasonAlignContentFlexStart = 7,
|
|
321
|
+
MasonAlignContentFlexEnd = 8,
|
|
320
322
|
};
|
|
321
323
|
|
|
322
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
324
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignItems, "AlignItems", open) {
|
|
325
|
+
MasonAlignItemsNormal = -1,
|
|
326
|
+
MasonAlignItemsStart = 0,
|
|
327
|
+
MasonAlignItemsEnd = 1,
|
|
328
|
+
MasonAlignItemsCenter = 2,
|
|
329
|
+
MasonAlignItemsBaseline = 3,
|
|
330
|
+
MasonAlignItemsStretch = 4,
|
|
331
|
+
MasonAlignItemsFlexStart = 5,
|
|
332
|
+
MasonAlignItemsFlexEnd = 6,
|
|
331
333
|
};
|
|
332
334
|
|
|
333
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
335
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignSelf, "AlignSelf", open) {
|
|
336
|
+
MasonAlignSelfNormal = -1,
|
|
337
|
+
MasonAlignSelfStart = 0,
|
|
338
|
+
MasonAlignSelfEnd = 1,
|
|
339
|
+
MasonAlignSelfCenter = 2,
|
|
340
|
+
MasonAlignSelfBaseline = 3,
|
|
341
|
+
MasonAlignSelfStretch = 4,
|
|
342
|
+
MasonAlignSelfFlexStart = 5,
|
|
343
|
+
MasonAlignSelfFlexEnd = 6,
|
|
342
344
|
};
|
|
343
345
|
|
|
344
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
DecorationLineOverline = 2,
|
|
348
|
-
DecorationLineLineThrough = 3,
|
|
346
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "BoxSizing", open) {
|
|
347
|
+
MasonBoxSizingBorderBox = 0,
|
|
348
|
+
MasonBoxSizingContentBox = 1,
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
351
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDecorationLine, "DecorationLine", open) {
|
|
352
|
+
MasonDecorationLineNone = 0,
|
|
353
|
+
MasonDecorationLineUnderline = 1,
|
|
354
|
+
MasonDecorationLineOverline = 2,
|
|
355
|
+
MasonDecorationLineLineThrough = 3,
|
|
355
356
|
};
|
|
356
357
|
|
|
357
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
DisplayBlock = 3,
|
|
358
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDirection, "Direction", open) {
|
|
359
|
+
MasonDirectionInherit = 0,
|
|
360
|
+
MasonDirectionLTR = 1,
|
|
361
|
+
MasonDirectionRTL = 2,
|
|
362
362
|
};
|
|
363
363
|
|
|
364
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
364
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDisplay, "Display", open) {
|
|
365
|
+
MasonDisplayNone = 0,
|
|
366
|
+
MasonDisplayFlex = 1,
|
|
367
|
+
MasonDisplayGrid = 2,
|
|
368
|
+
MasonDisplayBlock = 3,
|
|
369
|
+
MasonDisplayInline = 4,
|
|
370
|
+
MasonDisplayInlineBlock = 5,
|
|
371
|
+
MasonDisplayInlineFlex = 6,
|
|
372
|
+
MasonDisplayInlineGrid = 7,
|
|
369
373
|
};
|
|
370
374
|
|
|
371
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFlexDirection, "FlexDirection", open) {
|
|
376
|
+
MasonFlexDirectionRow = 0,
|
|
377
|
+
MasonFlexDirectionColumn = 1,
|
|
378
|
+
MasonFlexDirectionRowReverse = 2,
|
|
379
|
+
MasonFlexDirectionColumnReverse = 3,
|
|
375
380
|
};
|
|
376
381
|
|
|
377
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
382
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFlexWrap, "FlexWrap", open) {
|
|
383
|
+
MasonFlexWrapNoWrap = 0,
|
|
384
|
+
MasonFlexWrapWrap = 1,
|
|
385
|
+
MasonFlexWrapWrapReverse = 2,
|
|
381
386
|
};
|
|
382
387
|
|
|
383
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
FlexGridAutoFlowWrapColumnDense = 3,
|
|
388
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFontStyle, "FontStyle", open) {
|
|
389
|
+
MasonFontStyleNormal = 0,
|
|
390
|
+
MasonFontStyleItalic = 1,
|
|
391
|
+
MasonFontStyleOblique = 2,
|
|
388
392
|
};
|
|
389
393
|
|
|
390
|
-
|
|
391
|
-
|
|
394
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridAutoFlowWrap, "GridAutoFlow", open) {
|
|
395
|
+
MasonGridAutoFlowWrapRow = 0,
|
|
396
|
+
MasonGridAutoFlowWrapColumn = 1,
|
|
397
|
+
MasonGridAutoFlowWrapRowDense = 2,
|
|
398
|
+
MasonGridAutoFlowWrapColumnDense = 3,
|
|
399
|
+
};
|
|
392
400
|
|
|
401
|
+
enum MasonGridPlacementCompatType : NSInteger;
|
|
402
|
+
@class NSString;
|
|
393
403
|
SWIFT_CLASS_NAMED("GridPlacementCompat")
|
|
394
404
|
@interface GridPlacementCompat : NSObject
|
|
395
405
|
- (nonnull instancetype)initWithSpan:(int16_t)span OBJC_DESIGNATED_INITIALIZER;
|
|
396
406
|
- (nonnull instancetype)initWithLine:(int16_t)line OBJC_DESIGNATED_INITIALIZER;
|
|
397
|
-
@property (nonatomic, readonly) enum
|
|
407
|
+
@property (nonatomic, readonly) enum MasonGridPlacementCompatType type;
|
|
398
408
|
@property (nonatomic, readonly) int16_t value;
|
|
399
409
|
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
400
410
|
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
@@ -404,61 +414,80 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridPlacemen
|
|
|
404
414
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
405
415
|
@end
|
|
406
416
|
|
|
407
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
417
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridPlacementCompatType, "GridPlacementCompatType", open) {
|
|
418
|
+
MasonGridPlacementCompatTypeAuto = 0,
|
|
419
|
+
MasonGridPlacementCompatTypeLine = 1,
|
|
420
|
+
MasonGridPlacementCompatTypeSpan = 2,
|
|
411
421
|
};
|
|
412
422
|
|
|
413
|
-
|
|
414
423
|
SWIFT_CLASS_NAMED("GridTrackRepetition")
|
|
415
|
-
@interface
|
|
424
|
+
@interface MasonGridTrackRepetition : NSObject
|
|
425
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
416
426
|
@property (nonatomic, readonly) int32_t type;
|
|
417
427
|
@property (nonatomic, readonly) uint16_t value;
|
|
418
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong)
|
|
419
|
-
+ (
|
|
420
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong)
|
|
421
|
-
+ (
|
|
422
|
-
+ (
|
|
428
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonGridTrackRepetition * _Nonnull AutoFill;)
|
|
429
|
+
+ (MasonGridTrackRepetition * _Nonnull)AutoFill SWIFT_WARN_UNUSED_RESULT;
|
|
430
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonGridTrackRepetition * _Nonnull AutoFit;)
|
|
431
|
+
+ (MasonGridTrackRepetition * _Nonnull)AutoFit SWIFT_WARN_UNUSED_RESULT;
|
|
432
|
+
+ (MasonGridTrackRepetition * _Nonnull)Count:(uint16_t)value SWIFT_WARN_UNUSED_RESULT;
|
|
423
433
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
424
434
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
425
435
|
@end
|
|
426
436
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
@class UIView;
|
|
438
|
+
@class MasonNode;
|
|
439
|
+
@class NSCMason;
|
|
440
|
+
@class UIImage;
|
|
441
|
+
@class NSCoder;
|
|
442
|
+
SWIFT_CLASS_NAMED("Img")
|
|
443
|
+
@interface MasonImg : UIImageView
|
|
444
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
445
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
446
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
447
|
+
@property (nonatomic, copy) void (^ _Nullable didLayout)(void);
|
|
448
|
+
@property (nonatomic, strong) UIImage * _Nullable image;
|
|
449
|
+
@property (nonatomic, copy) NSString * _Nullable src;
|
|
450
|
+
- (void)updateImage:(UIImage * _Nullable)image;
|
|
451
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
452
|
+
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image SWIFT_UNAVAILABLE;
|
|
453
|
+
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage SWIFT_UNAVAILABLE;
|
|
454
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
455
|
+
@end
|
|
439
456
|
|
|
440
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
457
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifyContent, "JustifyContent", open) {
|
|
458
|
+
MasonJustifyContentNormal = -1,
|
|
459
|
+
MasonJustifyContentStart = 0,
|
|
460
|
+
MasonJustifyContentEnd = 1,
|
|
461
|
+
MasonJustifyContentCenter = 2,
|
|
462
|
+
MasonJustifyContentStretch = 3,
|
|
463
|
+
MasonJustifyContentSpaceBetween = 4,
|
|
464
|
+
MasonJustifyContentSpaceAround = 5,
|
|
465
|
+
MasonJustifyContentSpaceEvenly = 6,
|
|
466
|
+
MasonJustifyContentFlexStart = 7,
|
|
467
|
+
MasonJustifyContentFlexEnd = 8,
|
|
449
468
|
};
|
|
450
469
|
|
|
451
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
470
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifyItems, "JustifyItems", open) {
|
|
471
|
+
MasonJustifyItemsNormal = -1,
|
|
472
|
+
MasonJustifyItemsStart = 0,
|
|
473
|
+
MasonJustifyItemsEnd = 1,
|
|
474
|
+
MasonJustifyItemsCenter = 2,
|
|
475
|
+
MasonJustifyItemsBaseline = 3,
|
|
476
|
+
MasonJustifyItemsStretch = 4,
|
|
477
|
+
MasonJustifyItemsFlexStart = 5,
|
|
478
|
+
MasonJustifyItemsFlexEnd = 6,
|
|
460
479
|
};
|
|
461
480
|
|
|
481
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifySelf, "JustifySelf", open) {
|
|
482
|
+
MasonJustifySelfNormal = -1,
|
|
483
|
+
MasonJustifySelfStart = 0,
|
|
484
|
+
MasonJustifySelfEnd = 1,
|
|
485
|
+
MasonJustifySelfCenter = 2,
|
|
486
|
+
MasonJustifySelfBaseline = 3,
|
|
487
|
+
MasonJustifySelfStretch = 4,
|
|
488
|
+
MasonJustifySelfFlexStart = 5,
|
|
489
|
+
MasonJustifySelfFlexEnd = 6,
|
|
490
|
+
};
|
|
462
491
|
|
|
463
492
|
SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
464
493
|
@interface LineGridPlacementCompat : NSObject
|
|
@@ -475,13 +504,20 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLineHeight, "LineHeight", open) {
|
|
|
475
504
|
MasonLineHeightPreLine = 3,
|
|
476
505
|
};
|
|
477
506
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
507
|
+
SWIFT_PROTOCOL("_TtP5Mason18MasonCharacterData_")
|
|
508
|
+
@protocol MasonCharacterData
|
|
509
|
+
@property (nonatomic, copy) NSString * _Nonnull data;
|
|
510
|
+
@property (nonatomic, readonly) NSInteger length;
|
|
511
|
+
- (nonnull instancetype)appendData:(NSString * _Nonnull)s;
|
|
512
|
+
- (nonnull instancetype)insertData:(NSString * _Nonnull)s at:(NSInteger)offset;
|
|
513
|
+
- (nonnull instancetype)deleteDataWithOffset:(NSInteger)offset count:(NSInteger)count;
|
|
514
|
+
- (nonnull instancetype)replaceDataWithOffset:(NSInteger)offset count:(NSInteger)count with:(NSString * _Nonnull)s;
|
|
515
|
+
- (NSString * _Nonnull)substringDataWithOffset:(NSInteger)offset count:(NSInteger)count SWIFT_WARN_UNUSED_RESULT;
|
|
516
|
+
- (nonnull instancetype)deleteDataWithRange:(NSRange)range;
|
|
517
|
+
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
518
|
+
@end
|
|
482
519
|
|
|
483
520
|
enum MasonDimensionCompatType : NSInteger;
|
|
484
|
-
|
|
485
521
|
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
486
522
|
@interface MasonDimensionCompat : NSObject
|
|
487
523
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -504,6 +540,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonDimensionCompatType, "MasonDimensionCom
|
|
|
504
540
|
MasonDimensionCompatTypePercent = 2,
|
|
505
541
|
};
|
|
506
542
|
|
|
543
|
+
SWIFT_CLASS_NAMED("MasonDimensionPointCompat")
|
|
544
|
+
@interface MasonDimensionPointCompat : NSObject
|
|
545
|
+
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull x;
|
|
546
|
+
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull y;
|
|
547
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
548
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
549
|
+
@end
|
|
507
550
|
|
|
508
551
|
SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
|
|
509
552
|
@interface MasonDimensionRectCompat : NSObject
|
|
@@ -516,7 +559,6 @@ SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
|
|
|
516
559
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
517
560
|
@end
|
|
518
561
|
|
|
519
|
-
|
|
520
562
|
SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
521
563
|
@interface MasonDimensionSizeCompat : NSObject
|
|
522
564
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull width;
|
|
@@ -525,31 +567,15 @@ SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
|
525
567
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
526
568
|
@end
|
|
527
569
|
|
|
528
|
-
|
|
529
|
-
@
|
|
530
|
-
@class UIView;
|
|
531
|
-
@class NSCMason;
|
|
532
|
-
@class NSCoder;
|
|
533
|
-
@class UIImage;
|
|
534
|
-
|
|
535
|
-
SWIFT_CLASS_NAMED("MasonImg")
|
|
536
|
-
@interface MasonImg : UIImageView
|
|
537
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
538
|
-
- (void)markNodeDirty;
|
|
539
|
-
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
540
|
-
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
541
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
570
|
+
SWIFT_CLASS_NAMED("MasonDocument")
|
|
571
|
+
@interface MasonDocument : NSObject
|
|
542
572
|
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
543
573
|
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
544
|
-
|
|
545
|
-
- (
|
|
546
|
-
|
|
547
|
-
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image SWIFT_UNAVAILABLE;
|
|
548
|
-
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage SWIFT_UNAVAILABLE;
|
|
549
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
574
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)instance OBJC_DESIGNATED_INITIALIZER;
|
|
575
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
576
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
550
577
|
@end
|
|
551
578
|
|
|
552
|
-
|
|
553
579
|
SWIFT_CLASS_NAMED("MasonLayout")
|
|
554
580
|
@interface MasonLayout : NSObject
|
|
555
581
|
@property (nonatomic, readonly) NSInteger order;
|
|
@@ -558,13 +584,14 @@ SWIFT_CLASS_NAMED("MasonLayout")
|
|
|
558
584
|
@property (nonatomic, readonly) float width;
|
|
559
585
|
@property (nonatomic, readonly) float height;
|
|
560
586
|
@property (nonatomic, readonly, copy) NSArray<MasonLayout *> * _Nonnull children;
|
|
587
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLayout * _Nonnull zero;)
|
|
588
|
+
+ (MasonLayout * _Nonnull)zero SWIFT_WARN_UNUSED_RESULT;
|
|
561
589
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
562
590
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
563
591
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
564
592
|
@end
|
|
565
593
|
|
|
566
594
|
enum MasonLengthPercentageAutoCompatType : NSInteger;
|
|
567
|
-
|
|
568
595
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoCompat")
|
|
569
596
|
@interface MasonLengthPercentageAutoCompat : NSObject
|
|
570
597
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -587,6 +614,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageAutoCompatType, "MasonL
|
|
|
587
614
|
MasonLengthPercentageAutoCompatTypePercent = 2,
|
|
588
615
|
};
|
|
589
616
|
|
|
617
|
+
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoPointCompat")
|
|
618
|
+
@interface MasonLengthPercentageAutoPointCompat : NSObject
|
|
619
|
+
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull x;
|
|
620
|
+
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull y;
|
|
621
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
622
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
623
|
+
@end
|
|
590
624
|
|
|
591
625
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
|
|
592
626
|
@interface MasonLengthPercentageAutoRectCompat : NSObject
|
|
@@ -599,7 +633,6 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
|
|
|
599
633
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
600
634
|
@end
|
|
601
635
|
|
|
602
|
-
|
|
603
636
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
|
|
604
637
|
@interface MasonLengthPercentageAutoSizeCompat : NSObject
|
|
605
638
|
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull width;
|
|
@@ -609,7 +642,6 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
|
|
|
609
642
|
@end
|
|
610
643
|
|
|
611
644
|
enum MasonLengthPercentageCompatType : NSInteger;
|
|
612
|
-
|
|
613
645
|
SWIFT_CLASS_NAMED("MasonLengthPercentageCompat")
|
|
614
646
|
@interface MasonLengthPercentageCompat : NSObject
|
|
615
647
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -629,6 +661,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageCompatType, "MasonLengt
|
|
|
629
661
|
MasonLengthPercentageCompatTypePercent = 1,
|
|
630
662
|
};
|
|
631
663
|
|
|
664
|
+
SWIFT_CLASS_NAMED("MasonLengthPercentagePointCompat")
|
|
665
|
+
@interface MasonLengthPercentagePointCompat : NSObject
|
|
666
|
+
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull x;
|
|
667
|
+
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull y;
|
|
668
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
669
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
670
|
+
@end
|
|
632
671
|
|
|
633
672
|
SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
|
|
634
673
|
@interface MasonLengthPercentageRectCompat : NSObject
|
|
@@ -641,7 +680,6 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
|
|
|
641
680
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
642
681
|
@end
|
|
643
682
|
|
|
644
|
-
|
|
645
683
|
SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
646
684
|
@interface MasonLengthPercentageSizeCompat : NSObject
|
|
647
685
|
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull width;
|
|
@@ -650,63 +688,63 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
|
650
688
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
651
689
|
@end
|
|
652
690
|
|
|
653
|
-
|
|
654
691
|
SWIFT_CLASS_NAMED("MasonNode")
|
|
655
692
|
@interface MasonNode : NSObject
|
|
656
693
|
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
657
|
-
@property (nonatomic, readonly, strong) MasonLayout *
|
|
658
|
-
|
|
659
|
-
@property (nonatomic, strong)
|
|
660
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nullable
|
|
661
|
-
|
|
694
|
+
@property (nonatomic, readonly, strong) MasonLayout * _Nonnull computedLayout;
|
|
695
|
+
- (MasonNode * _Nonnull)getRootNode SWIFT_WARN_UNUSED_RESULT;
|
|
696
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nullable parent;
|
|
697
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nullable parentNode;
|
|
698
|
+
- (NSArray<MasonNode *> * _Nonnull)getChildren SWIFT_WARN_UNUSED_RESULT;
|
|
699
|
+
- (NSArray<MasonNode *> * _Nonnull)getLayoutChildren SWIFT_WARN_UNUSED_RESULT;
|
|
662
700
|
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
|
|
663
|
-
- (MasonLayout * _Nonnull)layout;
|
|
664
701
|
@property (nonatomic, readonly) BOOL isDirty;
|
|
665
702
|
- (void)markDirty;
|
|
666
|
-
- (
|
|
667
|
-
- (
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
- (void)computeWithViewSize;
|
|
673
|
-
- (void)computeWithViewSizeWithLayout:(BOOL)layout;
|
|
674
|
-
- (void)computeWithMaxContent;
|
|
675
|
-
- (void)computeWithMinContent;
|
|
676
|
-
- (void)attachAndApply;
|
|
703
|
+
- (UIView * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
|
|
704
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
705
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
706
|
+
@end
|
|
707
|
+
|
|
708
|
+
@interface MasonNode (SWIFT_EXTENSION(Mason))
|
|
677
709
|
- (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
|
|
678
|
-
- (void)
|
|
679
|
-
|
|
710
|
+
- (void)appendChild:(MasonNode * _Nonnull)child;
|
|
711
|
+
@end
|
|
712
|
+
|
|
713
|
+
enum MasonOverflow : NSInteger;
|
|
714
|
+
SWIFT_CLASS_NAMED("MasonOverflowPointCompat")
|
|
715
|
+
@interface MasonOverflowPointCompat : NSObject
|
|
716
|
+
@property (nonatomic) enum MasonOverflow x;
|
|
717
|
+
@property (nonatomic) enum MasonOverflow y;
|
|
718
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
680
719
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
681
720
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
682
721
|
@end
|
|
683
722
|
|
|
684
723
|
@class NSMutableData;
|
|
685
724
|
@class NSData;
|
|
686
|
-
enum
|
|
687
|
-
enum Overflow : NSInteger;
|
|
725
|
+
enum MasonPosition : NSInteger;
|
|
688
726
|
enum MasonTextAlign : NSInteger;
|
|
689
727
|
@class MinMax;
|
|
690
728
|
@class TrackSizingFunction;
|
|
691
|
-
|
|
692
729
|
SWIFT_CLASS_NAMED("MasonStyle")
|
|
693
730
|
@interface MasonStyle : NSObject
|
|
694
731
|
@property (nonatomic, strong) NSMutableData * _Nonnull valuesCompat;
|
|
695
732
|
@property (nonatomic, copy) NSData * _Nonnull values;
|
|
696
733
|
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
|
|
697
|
-
@property (nonatomic) enum
|
|
698
|
-
@property (nonatomic) enum
|
|
699
|
-
@property (nonatomic) enum
|
|
700
|
-
@property (nonatomic) enum
|
|
701
|
-
@property (nonatomic) enum
|
|
702
|
-
@property (nonatomic)
|
|
703
|
-
@property (nonatomic) enum
|
|
704
|
-
@property (nonatomic) enum
|
|
705
|
-
@property (nonatomic) enum
|
|
706
|
-
@property (nonatomic) enum
|
|
707
|
-
@property (nonatomic) enum
|
|
708
|
-
@property (nonatomic) enum
|
|
709
|
-
@property (nonatomic) enum
|
|
734
|
+
@property (nonatomic) enum MasonDisplay display;
|
|
735
|
+
@property (nonatomic) enum MasonPosition position;
|
|
736
|
+
@property (nonatomic) enum MasonDirection direction;
|
|
737
|
+
@property (nonatomic) enum MasonFlexDirection flexDirection;
|
|
738
|
+
@property (nonatomic) enum MasonFlexWrap flexWrap;
|
|
739
|
+
@property (nonatomic, strong) MasonOverflowPointCompat * _Nonnull overflowCompat;
|
|
740
|
+
@property (nonatomic) enum MasonOverflow overflowX;
|
|
741
|
+
@property (nonatomic) enum MasonOverflow overflowY;
|
|
742
|
+
@property (nonatomic) enum MasonAlignItems alignItems;
|
|
743
|
+
@property (nonatomic) enum MasonAlignSelf alignSelf;
|
|
744
|
+
@property (nonatomic) enum MasonAlignContent alignContent;
|
|
745
|
+
@property (nonatomic) enum MasonJustifyItems justifyItems;
|
|
746
|
+
@property (nonatomic) enum MasonJustifySelf justifySelf;
|
|
747
|
+
@property (nonatomic) enum MasonJustifyContent justifyContent;
|
|
710
748
|
@property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull insetCompat;
|
|
711
749
|
- (void)setInsetLeft:(float)value :(NSInteger)type;
|
|
712
750
|
- (void)setInsetRight:(float)value :(NSInteger)type;
|
|
@@ -758,14 +796,16 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
758
796
|
- (void)setColumnGap:(float)value :(NSInteger)type;
|
|
759
797
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
|
|
760
798
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoColumns;
|
|
761
|
-
@property (nonatomic) enum
|
|
799
|
+
@property (nonatomic) enum MasonGridAutoFlowWrap gridAutoFlow;
|
|
762
800
|
@property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridColumnCompat;
|
|
763
801
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnStartCompat;
|
|
764
802
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnEndCompat;
|
|
765
803
|
@property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridRowCompat;
|
|
766
804
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowStartCompat;
|
|
767
805
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
|
|
806
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull gridTemplateRowsCSS;
|
|
768
807
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
|
|
808
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull gridTemplateColumnsCSS;
|
|
769
809
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
|
|
770
810
|
- (void)updateNativeStyle;
|
|
771
811
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
@@ -775,62 +815,85 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
775
815
|
|
|
776
816
|
enum MasonTextType : NSInteger;
|
|
777
817
|
@class NSCFontFace;
|
|
778
|
-
@class
|
|
779
|
-
enum TextTransform : NSInteger;
|
|
818
|
+
@class MasonTextOverflowCompat;
|
|
780
819
|
@class UIColor;
|
|
781
|
-
enum
|
|
782
|
-
enum
|
|
783
|
-
|
|
820
|
+
enum MasonTextTransform : NSInteger;
|
|
821
|
+
enum MasonWhiteSpace : NSInteger;
|
|
822
|
+
enum MasonTextWrap : NSInteger;
|
|
784
823
|
SWIFT_CLASS_NAMED("MasonText")
|
|
785
824
|
@interface MasonText : UIView
|
|
786
|
-
@property (nonatomic, readonly, strong) MasonText * _Nullable owner;
|
|
787
825
|
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
788
|
-
@property (nonatomic, readonly, copy) NSData * _Nonnull textValues;
|
|
789
826
|
@property (nonatomic, readonly) enum MasonTextType type;
|
|
827
|
+
@property (nonatomic, readonly, strong) NSMutableData * _Nonnull textValues;
|
|
790
828
|
@property (nonatomic, readonly, strong) NSCFontFace * _Nonnull font;
|
|
829
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
830
|
+
@property (nonatomic, strong) MasonTextOverflowCompat * _Nonnull textOverflowCompat;
|
|
791
831
|
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason type:(enum MasonTextType)textType OBJC_DESIGNATED_INITIALIZER;
|
|
792
832
|
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
793
|
-
- (
|
|
833
|
+
- (void)syncStyle:(NSString * _Nonnull)state textState:(NSString * _Nonnull)textState;
|
|
794
834
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
795
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
796
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
797
|
-
- (void)markNodeDirty;
|
|
798
|
-
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
799
|
-
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
800
|
-
- (void)updateText:(NSString * _Nullable)value;
|
|
801
|
-
@property (nonatomic, strong) NSMutableAttributedString * _Nonnull txtToRender;
|
|
802
|
-
- (void)invalidateStyle:(int64_t)state;
|
|
803
|
-
@property (nonatomic) enum TextTransform textTransform;
|
|
804
|
-
@property (nonatomic) CGFloat fontSize;
|
|
805
|
-
@property (nonatomic) enum FontStyle fontStyle;
|
|
806
|
-
- (void)setFontStyle:(enum FontStyle)style slant:(int32_t)slant;
|
|
807
|
-
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
808
835
|
@property (nonatomic) uint32_t color;
|
|
809
836
|
@property (nonatomic) uint32_t backgroundColorValue;
|
|
810
837
|
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
811
838
|
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
812
|
-
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
813
839
|
@property (nonatomic) uint32_t decorationColor;
|
|
814
|
-
|
|
815
|
-
@property (nonatomic) enum
|
|
816
|
-
@property (nonatomic)
|
|
817
|
-
|
|
818
|
-
- (void)
|
|
819
|
-
|
|
820
|
-
@property (nonatomic
|
|
821
|
-
|
|
840
|
+
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
841
|
+
@property (nonatomic) enum MasonDecorationLine decorationLine;
|
|
842
|
+
@property (nonatomic) CGFloat fontSize;
|
|
843
|
+
@property (nonatomic) enum MasonFontStyle fontStyle;
|
|
844
|
+
- (void)setFontStyle:(enum MasonFontStyle)style slant:(int32_t)slant;
|
|
845
|
+
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
846
|
+
@property (nonatomic) enum MasonTextTransform textTransform;
|
|
847
|
+
@property (nonatomic) enum MasonWhiteSpace whiteSpace;
|
|
848
|
+
@property (nonatomic) enum MasonTextWrap textWrap;
|
|
849
|
+
- (void)invalidateStyle:(int64_t)state;
|
|
850
|
+
/// Helper to get default text attributes for new text nodes
|
|
851
|
+
- (NSDictionary<NSAttributedStringKey, id> * _Nonnull)getDefaultAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
822
852
|
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
823
853
|
@end
|
|
824
854
|
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
855
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
856
|
+
- (void)addChild:(MasonNode * _Nonnull)child;
|
|
857
|
+
@end
|
|
858
|
+
|
|
859
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
860
|
+
/// Text content - sets or gets the concatenated text from all text nodes
|
|
861
|
+
@property (nonatomic, copy) NSString * _Nonnull text;
|
|
862
|
+
@end
|
|
863
|
+
|
|
864
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
865
|
+
- (void)drawRect:(CGRect)rect;
|
|
866
|
+
@end
|
|
867
|
+
|
|
868
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
869
|
+
/// Remove child from text container
|
|
870
|
+
- (MasonNode * _Nullable)removeChild:(MasonNode * _Nonnull)child;
|
|
871
|
+
/// Insert child at specific index
|
|
872
|
+
- (void)insertChild:(MasonNode * _Nonnull)child at:(NSInteger)index;
|
|
873
|
+
@end
|
|
874
|
+
|
|
875
|
+
SWIFT_CLASS_NAMED("MasonTextNode")
|
|
876
|
+
@interface MasonTextNode : MasonNode <MasonCharacterData>
|
|
877
|
+
@property (nonatomic, copy) NSString * _Nonnull data;
|
|
878
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc data:(NSString * _Nonnull)text attributes:(NSDictionary<NSAttributedStringKey, id> * _Nullable)attrs OBJC_DESIGNATED_INITIALIZER;
|
|
879
|
+
- (void)appendChild:(MasonNode * _Nonnull)child;
|
|
880
|
+
@property (nonatomic, readonly) NSInteger length;
|
|
881
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nullable parent;
|
|
882
|
+
- (NSString * _Nonnull)substringDataWithOffset:(NSInteger)offset count:(NSInteger)count SWIFT_WARN_UNUSED_RESULT;
|
|
883
|
+
- (nonnull instancetype)appendData:(NSString * _Nonnull)s;
|
|
884
|
+
- (nonnull instancetype)insertData:(NSString * _Nonnull)s at:(NSInteger)offset;
|
|
885
|
+
- (nonnull instancetype)deleteDataWithOffset:(NSInteger)offset count:(NSInteger)count;
|
|
886
|
+
- (nonnull instancetype)replaceDataWithOffset:(NSInteger)offset count:(NSInteger)count with:(NSString * _Nonnull)s;
|
|
887
|
+
- (nonnull instancetype)deleteDataWithRange:(NSRange)range;
|
|
888
|
+
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
889
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes SWIFT_UNAVAILABLE;
|
|
890
|
+
@end
|
|
891
|
+
|
|
892
|
+
@class NSAttributedString;
|
|
893
|
+
@interface MasonTextNode (SWIFT_EXTENSION(Mason))
|
|
894
|
+
/// Get attributed string representation of this text node
|
|
895
|
+
- (NSAttributedString * _Nonnull)attributed SWIFT_WARN_UNUSED_RESULT;
|
|
896
|
+
@end
|
|
834
897
|
|
|
835
898
|
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextType, "MasonTextType", open) {
|
|
836
899
|
MasonTextTypeNone = 0,
|
|
@@ -846,9 +909,9 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextType, "MasonTextType", open) {
|
|
|
846
909
|
MasonTextTypeLi = 10,
|
|
847
910
|
MasonTextTypeBlockquote = 11,
|
|
848
911
|
MasonTextTypeB = 12,
|
|
912
|
+
MasonTextTypePre = 13,
|
|
849
913
|
};
|
|
850
914
|
|
|
851
|
-
|
|
852
915
|
SWIFT_CLASS_NAMED("MasonUIView")
|
|
853
916
|
@interface MasonUIView : UIView
|
|
854
917
|
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
@@ -860,28 +923,24 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
860
923
|
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
861
924
|
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
862
925
|
+ (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
863
|
-
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
864
|
-
- (void)requestLayout;
|
|
865
926
|
- (void)addView:(UIView * _Nonnull)view;
|
|
866
927
|
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
867
|
-
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
868
928
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
869
929
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
870
|
-
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
871
930
|
@property (nonatomic) BOOL inBatch;
|
|
872
|
-
@property (nonatomic) enum
|
|
873
|
-
@property (nonatomic) enum
|
|
874
|
-
@property (nonatomic) enum
|
|
875
|
-
@property (nonatomic) enum
|
|
876
|
-
@property (nonatomic) enum
|
|
877
|
-
@property (nonatomic) enum
|
|
878
|
-
@property (nonatomic) enum
|
|
879
|
-
@property (nonatomic) enum
|
|
880
|
-
@property (nonatomic) enum
|
|
881
|
-
@property (nonatomic) enum
|
|
882
|
-
@property (nonatomic) enum
|
|
883
|
-
@property (nonatomic) enum
|
|
884
|
-
@property (nonatomic) enum
|
|
931
|
+
@property (nonatomic) enum MasonDisplay display;
|
|
932
|
+
@property (nonatomic) enum MasonPosition _position;
|
|
933
|
+
@property (nonatomic) enum MasonDirection direction;
|
|
934
|
+
@property (nonatomic) enum MasonFlexDirection flexDirection;
|
|
935
|
+
@property (nonatomic) enum MasonFlexWrap flexWrap;
|
|
936
|
+
@property (nonatomic) enum MasonOverflow overflowX;
|
|
937
|
+
@property (nonatomic) enum MasonOverflow overflowY;
|
|
938
|
+
@property (nonatomic) enum MasonAlignItems alignItems;
|
|
939
|
+
@property (nonatomic) enum MasonAlignSelf alignSelf;
|
|
940
|
+
@property (nonatomic) enum MasonAlignContent alignContent;
|
|
941
|
+
@property (nonatomic) enum MasonJustifyItems justifyItems;
|
|
942
|
+
@property (nonatomic) enum MasonJustifySelf justifySelf;
|
|
943
|
+
@property (nonatomic) enum MasonJustifyContent justifyContent;
|
|
885
944
|
@property (nonatomic) float flexGrow;
|
|
886
945
|
@property (nonatomic) float flexShrink;
|
|
887
946
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull scrollBarWidthCompat;
|
|
@@ -889,7 +948,7 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
889
948
|
@property (nonatomic) float aspectRatio;
|
|
890
949
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
|
|
891
950
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoColumns;
|
|
892
|
-
@property (nonatomic) enum
|
|
951
|
+
@property (nonatomic) enum MasonGridAutoFlowWrap gridAutoFlow;
|
|
893
952
|
@property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridColumnCompat;
|
|
894
953
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnStartCompat;
|
|
895
954
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnEndCompat;
|
|
@@ -966,7 +1025,6 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
966
1025
|
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
967
1026
|
@end
|
|
968
1027
|
|
|
969
|
-
|
|
970
1028
|
SWIFT_CLASS_NAMED("MaxSizing")
|
|
971
1029
|
@interface MaxSizing : NSObject
|
|
972
1030
|
@property (nonatomic, readonly) float value;
|
|
@@ -987,14 +1045,12 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing *
|
|
|
987
1045
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
988
1046
|
@end
|
|
989
1047
|
|
|
990
|
-
|
|
991
1048
|
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
992
1049
|
@interface MeasureOutput : NSObject
|
|
993
1050
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
994
1051
|
@end
|
|
995
1052
|
|
|
996
1053
|
@class MinSizing;
|
|
997
|
-
|
|
998
1054
|
SWIFT_CLASS_NAMED("MinMax")
|
|
999
1055
|
@interface MinMax : NSObject
|
|
1000
1056
|
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -1012,7 +1068,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _No
|
|
|
1012
1068
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1013
1069
|
@end
|
|
1014
1070
|
|
|
1015
|
-
|
|
1016
1071
|
SWIFT_CLASS_NAMED("MinSizing")
|
|
1017
1072
|
@interface MinSizing : NSObject
|
|
1018
1073
|
@property (nonatomic, readonly) float value;
|
|
@@ -1030,7 +1085,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing *
|
|
|
1030
1085
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1031
1086
|
@end
|
|
1032
1087
|
|
|
1033
|
-
|
|
1034
1088
|
SWIFT_CLASS_NAMED("NSCFontDescriptors")
|
|
1035
1089
|
@interface NSCFontDescriptors : NSObject
|
|
1036
1090
|
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -1051,7 +1105,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontDisplay, "NSCFontDisplay", open) {
|
|
|
1051
1105
|
|
|
1052
1106
|
enum NSCFontFaceStatus : NSInteger;
|
|
1053
1107
|
enum NSCFontWeight : NSInteger;
|
|
1054
|
-
|
|
1055
1108
|
SWIFT_CLASS_NAMED("NSCFontFace")
|
|
1056
1109
|
@interface NSCFontFace : NSObject
|
|
1057
1110
|
@property (nonatomic, readonly) CGFontRef _Nullable font;
|
|
@@ -1081,7 +1134,6 @@ SWIFT_CLASS_NAMED("NSCFontFace")
|
|
|
1081
1134
|
|
|
1082
1135
|
enum NSCFontFaceSetStatus : NSInteger;
|
|
1083
1136
|
@class NSEnumerator;
|
|
1084
|
-
|
|
1085
1137
|
SWIFT_CLASS_NAMED("NSCFontFaceSet")
|
|
1086
1138
|
@interface NSCFontFaceSet : NSObject
|
|
1087
1139
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSCFontFaceSet * _Nonnull instance;)
|
|
@@ -1123,7 +1175,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontWeight, "NSCFontWeight", open) {
|
|
|
1123
1175
|
NSCFontWeightBlack = 8,
|
|
1124
1176
|
};
|
|
1125
1177
|
|
|
1126
|
-
|
|
1178
|
+
@class MasonScroll;
|
|
1127
1179
|
SWIFT_CLASS_NAMED("NSCMason")
|
|
1128
1180
|
@interface NSCMason : NSObject
|
|
1129
1181
|
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
@@ -1132,62 +1184,105 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull sh
|
|
|
1132
1184
|
+ (void)setShared:(NSCMason * _Nonnull)value;
|
|
1133
1185
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1134
1186
|
- (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
|
|
1187
|
+
- (void)configureStyleForView:(UIView * _Nonnull)view :(SWIFT_NOESCAPE void (^ _Nonnull)(MasonStyle * _Nonnull))block;
|
|
1188
|
+
- (MasonStyle * _Nonnull)styleForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT;
|
|
1189
|
+
- (MasonLayout * _Nonnull)layoutForView:(UIView * _Nonnull)view;
|
|
1135
1190
|
- (void)clear;
|
|
1191
|
+
- (MasonDocument * _Nonnull)createDocument SWIFT_WARN_UNUSED_RESULT;
|
|
1136
1192
|
- (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
|
|
1137
1193
|
- (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
|
|
1194
|
+
- (MasonTextNode * _Nonnull)createTextNode:(NSString * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
|
|
1138
1195
|
- (MasonText * _Nonnull)createTextViewWithType:(enum MasonTextType)type SWIFT_WARN_UNUSED_RESULT;
|
|
1139
1196
|
- (MasonImg * _Nonnull)createImageView SWIFT_WARN_UNUSED_RESULT;
|
|
1197
|
+
- (MasonScroll * _Nonnull)createScrollView SWIFT_WARN_UNUSED_RESULT;
|
|
1140
1198
|
- (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
|
|
1141
1199
|
- (void)printTree:(MasonNode * _Nonnull)node;
|
|
1142
1200
|
- (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
|
|
1143
1201
|
@end
|
|
1144
1202
|
|
|
1145
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1203
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonOverflow, "Overflow", open) {
|
|
1204
|
+
MasonOverflowVisible = 0,
|
|
1205
|
+
MasonOverflowHidden = 1,
|
|
1206
|
+
MasonOverflowScroll = 2,
|
|
1207
|
+
MasonOverflowClip = 3,
|
|
1208
|
+
MasonOverflowAuto = 4,
|
|
1150
1209
|
};
|
|
1151
1210
|
|
|
1152
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1153
|
-
|
|
1154
|
-
|
|
1211
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonPosition, "Position", open) {
|
|
1212
|
+
MasonPositionRelative = 0,
|
|
1213
|
+
MasonPositionAbsolute = 1,
|
|
1155
1214
|
};
|
|
1156
1215
|
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1216
|
+
SWIFT_CLASS_NAMED("Scroll")
|
|
1217
|
+
@interface MasonScroll : UIScrollView <UIScrollViewDelegate>
|
|
1218
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1219
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1220
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1221
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1222
|
+
- (void)scrollViewWillBeginDragging:(UIScrollView * _Nonnull)scrollView;
|
|
1223
|
+
- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView;
|
|
1224
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
1225
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
1226
|
+
- (void)setSize:(float)width :(float)height;
|
|
1227
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1228
|
+
@end
|
|
1229
|
+
|
|
1230
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "TextAlign", open) {
|
|
1231
|
+
MasonTextAlignAuto = 0,
|
|
1232
|
+
MasonTextAlignLeft = 1,
|
|
1233
|
+
MasonTextAlignRight = 2,
|
|
1234
|
+
MasonTextAlignCenter = 3,
|
|
1235
|
+
MasonTextAlignJustify = 4,
|
|
1236
|
+
MasonTextAlignStart = 5,
|
|
1237
|
+
MasonTextAlignEnd = 6,
|
|
1165
1238
|
};
|
|
1166
1239
|
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1240
|
+
SWIFT_CLASS_NAMED("TextOverflowCompat")
|
|
1241
|
+
@interface MasonTextOverflowCompat : NSObject
|
|
1242
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonTextOverflowCompat * _Nonnull Clip;)
|
|
1243
|
+
+ (MasonTextOverflowCompat * _Nonnull)Clip SWIFT_WARN_UNUSED_RESULT;
|
|
1244
|
+
+ (MasonTextOverflowCompat * _Nonnull)Ellipse:(NSString * _Nullable)value SWIFT_WARN_UNUSED_RESULT;
|
|
1245
|
+
+ (MasonTextOverflowCompat * _Nonnull)Custom:(NSString * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1246
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1247
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1248
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1249
|
+
@end
|
|
1250
|
+
|
|
1251
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextTransform, "TextTransform", open) {
|
|
1252
|
+
MasonTextTransformNone = 0,
|
|
1253
|
+
MasonTextTransformCapitalize = 1,
|
|
1254
|
+
MasonTextTransformUppercase = 2,
|
|
1255
|
+
MasonTextTransformLowercase = 3,
|
|
1256
|
+
MasonTextTransformFullWidth = 4,
|
|
1257
|
+
MasonTextTransformFullSizeKana = 5,
|
|
1258
|
+
MasonTextTransformMathAuto = 6,
|
|
1171
1259
|
};
|
|
1172
1260
|
|
|
1261
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextWrap, "TextWrap", open) {
|
|
1262
|
+
MasonTextWrapWrap = 0,
|
|
1263
|
+
MasonTextWrapNoWrap = 1,
|
|
1264
|
+
MasonTextWrapBalance = 2,
|
|
1265
|
+
MasonTextWrapPretty = 3,
|
|
1266
|
+
};
|
|
1173
1267
|
|
|
1174
1268
|
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
1175
1269
|
@interface TrackSizingFunction : NSObject
|
|
1176
1270
|
@property (nonatomic, readonly) BOOL isRepeating;
|
|
1177
1271
|
@property (nonatomic, readonly) id _Nullable value;
|
|
1178
1272
|
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1179
|
-
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(
|
|
1273
|
+
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(MasonGridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
1274
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1180
1275
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1181
1276
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1182
1277
|
@end
|
|
1183
1278
|
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1279
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonWhiteSpace, "WhiteSpace", open) {
|
|
1280
|
+
MasonWhiteSpaceNormal = 0,
|
|
1281
|
+
MasonWhiteSpacePre = 1,
|
|
1282
|
+
MasonWhiteSpacePreWrap = 2,
|
|
1283
|
+
MasonWhiteSpacePreLine = 3,
|
|
1284
|
+
MasonWhiteSpaceNoWrap = 4,
|
|
1285
|
+
MasonWhiteSpaceBreakSpaces = 5,
|
|
1191
1286
|
};
|
|
1192
1287
|
|
|
1193
1288
|
#endif
|
|
@@ -1200,7 +1295,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, WhiteSpace, "WhiteSpace", open) {
|
|
|
1200
1295
|
#endif
|
|
1201
1296
|
|
|
1202
1297
|
#elif defined(__x86_64__) && __x86_64__
|
|
1203
|
-
// Generated by Apple Swift version 6.
|
|
1298
|
+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
1204
1299
|
#ifndef MASON_SWIFT_H
|
|
1205
1300
|
#define MASON_SWIFT_H
|
|
1206
1301
|
#pragma clang diagnostic push
|
|
@@ -1265,6 +1360,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, WhiteSpace, "WhiteSpace", open) {
|
|
|
1265
1360
|
# if __has_include(<uchar.h>)
|
|
1266
1361
|
# include <uchar.h>
|
|
1267
1362
|
# elif !defined(__cplusplus)
|
|
1363
|
+
typedef unsigned char char8_t;
|
|
1268
1364
|
typedef uint_least16_t char16_t;
|
|
1269
1365
|
typedef uint_least32_t char32_t;
|
|
1270
1366
|
# endif
|
|
@@ -1506,95 +1602,104 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
1506
1602
|
#endif
|
|
1507
1603
|
|
|
1508
1604
|
#if defined(__OBJC__)
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1605
|
+
|
|
1606
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignContent, "AlignContent", open) {
|
|
1607
|
+
MasonAlignContentNormal = -1,
|
|
1608
|
+
MasonAlignContentStart = 0,
|
|
1609
|
+
MasonAlignContentEnd = 1,
|
|
1610
|
+
MasonAlignContentCenter = 2,
|
|
1611
|
+
MasonAlignContentStretch = 3,
|
|
1612
|
+
MasonAlignContentSpaceBetween = 4,
|
|
1613
|
+
MasonAlignContentSpaceAround = 5,
|
|
1614
|
+
MasonAlignContentSpaceEvenly = 6,
|
|
1615
|
+
MasonAlignContentFlexStart = 7,
|
|
1616
|
+
MasonAlignContentFlexEnd = 8,
|
|
1520
1617
|
};
|
|
1521
1618
|
|
|
1522
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1619
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignItems, "AlignItems", open) {
|
|
1620
|
+
MasonAlignItemsNormal = -1,
|
|
1621
|
+
MasonAlignItemsStart = 0,
|
|
1622
|
+
MasonAlignItemsEnd = 1,
|
|
1623
|
+
MasonAlignItemsCenter = 2,
|
|
1624
|
+
MasonAlignItemsBaseline = 3,
|
|
1625
|
+
MasonAlignItemsStretch = 4,
|
|
1626
|
+
MasonAlignItemsFlexStart = 5,
|
|
1627
|
+
MasonAlignItemsFlexEnd = 6,
|
|
1531
1628
|
};
|
|
1532
1629
|
|
|
1533
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1630
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonAlignSelf, "AlignSelf", open) {
|
|
1631
|
+
MasonAlignSelfNormal = -1,
|
|
1632
|
+
MasonAlignSelfStart = 0,
|
|
1633
|
+
MasonAlignSelfEnd = 1,
|
|
1634
|
+
MasonAlignSelfCenter = 2,
|
|
1635
|
+
MasonAlignSelfBaseline = 3,
|
|
1636
|
+
MasonAlignSelfStretch = 4,
|
|
1637
|
+
MasonAlignSelfFlexStart = 5,
|
|
1638
|
+
MasonAlignSelfFlexEnd = 6,
|
|
1542
1639
|
};
|
|
1543
1640
|
|
|
1544
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
DecorationLineOverline = 2,
|
|
1548
|
-
DecorationLineLineThrough = 3,
|
|
1641
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "BoxSizing", open) {
|
|
1642
|
+
MasonBoxSizingBorderBox = 0,
|
|
1643
|
+
MasonBoxSizingContentBox = 1,
|
|
1549
1644
|
};
|
|
1550
1645
|
|
|
1551
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1646
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDecorationLine, "DecorationLine", open) {
|
|
1647
|
+
MasonDecorationLineNone = 0,
|
|
1648
|
+
MasonDecorationLineUnderline = 1,
|
|
1649
|
+
MasonDecorationLineOverline = 2,
|
|
1650
|
+
MasonDecorationLineLineThrough = 3,
|
|
1555
1651
|
};
|
|
1556
1652
|
|
|
1557
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
DisplayBlock = 3,
|
|
1653
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDirection, "Direction", open) {
|
|
1654
|
+
MasonDirectionInherit = 0,
|
|
1655
|
+
MasonDirectionLTR = 1,
|
|
1656
|
+
MasonDirectionRTL = 2,
|
|
1562
1657
|
};
|
|
1563
1658
|
|
|
1564
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1659
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonDisplay, "Display", open) {
|
|
1660
|
+
MasonDisplayNone = 0,
|
|
1661
|
+
MasonDisplayFlex = 1,
|
|
1662
|
+
MasonDisplayGrid = 2,
|
|
1663
|
+
MasonDisplayBlock = 3,
|
|
1664
|
+
MasonDisplayInline = 4,
|
|
1665
|
+
MasonDisplayInlineBlock = 5,
|
|
1666
|
+
MasonDisplayInlineFlex = 6,
|
|
1667
|
+
MasonDisplayInlineGrid = 7,
|
|
1569
1668
|
};
|
|
1570
1669
|
|
|
1571
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1670
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFlexDirection, "FlexDirection", open) {
|
|
1671
|
+
MasonFlexDirectionRow = 0,
|
|
1672
|
+
MasonFlexDirectionColumn = 1,
|
|
1673
|
+
MasonFlexDirectionRowReverse = 2,
|
|
1674
|
+
MasonFlexDirectionColumnReverse = 3,
|
|
1575
1675
|
};
|
|
1576
1676
|
|
|
1577
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1677
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFlexWrap, "FlexWrap", open) {
|
|
1678
|
+
MasonFlexWrapNoWrap = 0,
|
|
1679
|
+
MasonFlexWrapWrap = 1,
|
|
1680
|
+
MasonFlexWrapWrapReverse = 2,
|
|
1581
1681
|
};
|
|
1582
1682
|
|
|
1583
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
FlexGridAutoFlowWrapColumnDense = 3,
|
|
1683
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonFontStyle, "FontStyle", open) {
|
|
1684
|
+
MasonFontStyleNormal = 0,
|
|
1685
|
+
MasonFontStyleItalic = 1,
|
|
1686
|
+
MasonFontStyleOblique = 2,
|
|
1588
1687
|
};
|
|
1589
1688
|
|
|
1590
|
-
|
|
1591
|
-
|
|
1689
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridAutoFlowWrap, "GridAutoFlow", open) {
|
|
1690
|
+
MasonGridAutoFlowWrapRow = 0,
|
|
1691
|
+
MasonGridAutoFlowWrapColumn = 1,
|
|
1692
|
+
MasonGridAutoFlowWrapRowDense = 2,
|
|
1693
|
+
MasonGridAutoFlowWrapColumnDense = 3,
|
|
1694
|
+
};
|
|
1592
1695
|
|
|
1696
|
+
enum MasonGridPlacementCompatType : NSInteger;
|
|
1697
|
+
@class NSString;
|
|
1593
1698
|
SWIFT_CLASS_NAMED("GridPlacementCompat")
|
|
1594
1699
|
@interface GridPlacementCompat : NSObject
|
|
1595
1700
|
- (nonnull instancetype)initWithSpan:(int16_t)span OBJC_DESIGNATED_INITIALIZER;
|
|
1596
1701
|
- (nonnull instancetype)initWithLine:(int16_t)line OBJC_DESIGNATED_INITIALIZER;
|
|
1597
|
-
@property (nonatomic, readonly) enum
|
|
1702
|
+
@property (nonatomic, readonly) enum MasonGridPlacementCompatType type;
|
|
1598
1703
|
@property (nonatomic, readonly) int16_t value;
|
|
1599
1704
|
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1600
1705
|
@property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
|
|
@@ -1604,61 +1709,80 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GridPlacemen
|
|
|
1604
1709
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1605
1710
|
@end
|
|
1606
1711
|
|
|
1607
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1712
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonGridPlacementCompatType, "GridPlacementCompatType", open) {
|
|
1713
|
+
MasonGridPlacementCompatTypeAuto = 0,
|
|
1714
|
+
MasonGridPlacementCompatTypeLine = 1,
|
|
1715
|
+
MasonGridPlacementCompatTypeSpan = 2,
|
|
1611
1716
|
};
|
|
1612
1717
|
|
|
1613
|
-
|
|
1614
1718
|
SWIFT_CLASS_NAMED("GridTrackRepetition")
|
|
1615
|
-
@interface
|
|
1719
|
+
@interface MasonGridTrackRepetition : NSObject
|
|
1720
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1616
1721
|
@property (nonatomic, readonly) int32_t type;
|
|
1617
1722
|
@property (nonatomic, readonly) uint16_t value;
|
|
1618
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong)
|
|
1619
|
-
+ (
|
|
1620
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong)
|
|
1621
|
-
+ (
|
|
1622
|
-
+ (
|
|
1723
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonGridTrackRepetition * _Nonnull AutoFill;)
|
|
1724
|
+
+ (MasonGridTrackRepetition * _Nonnull)AutoFill SWIFT_WARN_UNUSED_RESULT;
|
|
1725
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonGridTrackRepetition * _Nonnull AutoFit;)
|
|
1726
|
+
+ (MasonGridTrackRepetition * _Nonnull)AutoFit SWIFT_WARN_UNUSED_RESULT;
|
|
1727
|
+
+ (MasonGridTrackRepetition * _Nonnull)Count:(uint16_t)value SWIFT_WARN_UNUSED_RESULT;
|
|
1623
1728
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1624
1729
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1625
1730
|
@end
|
|
1626
1731
|
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1732
|
+
@class UIView;
|
|
1733
|
+
@class MasonNode;
|
|
1734
|
+
@class NSCMason;
|
|
1735
|
+
@class UIImage;
|
|
1736
|
+
@class NSCoder;
|
|
1737
|
+
SWIFT_CLASS_NAMED("Img")
|
|
1738
|
+
@interface MasonImg : UIImageView
|
|
1739
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1740
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1741
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1742
|
+
@property (nonatomic, copy) void (^ _Nullable didLayout)(void);
|
|
1743
|
+
@property (nonatomic, strong) UIImage * _Nullable image;
|
|
1744
|
+
@property (nonatomic, copy) NSString * _Nullable src;
|
|
1745
|
+
- (void)updateImage:(UIImage * _Nullable)image;
|
|
1746
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1747
|
+
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image SWIFT_UNAVAILABLE;
|
|
1748
|
+
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage SWIFT_UNAVAILABLE;
|
|
1749
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1750
|
+
@end
|
|
1639
1751
|
|
|
1640
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1752
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifyContent, "JustifyContent", open) {
|
|
1753
|
+
MasonJustifyContentNormal = -1,
|
|
1754
|
+
MasonJustifyContentStart = 0,
|
|
1755
|
+
MasonJustifyContentEnd = 1,
|
|
1756
|
+
MasonJustifyContentCenter = 2,
|
|
1757
|
+
MasonJustifyContentStretch = 3,
|
|
1758
|
+
MasonJustifyContentSpaceBetween = 4,
|
|
1759
|
+
MasonJustifyContentSpaceAround = 5,
|
|
1760
|
+
MasonJustifyContentSpaceEvenly = 6,
|
|
1761
|
+
MasonJustifyContentFlexStart = 7,
|
|
1762
|
+
MasonJustifyContentFlexEnd = 8,
|
|
1649
1763
|
};
|
|
1650
1764
|
|
|
1651
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1765
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifyItems, "JustifyItems", open) {
|
|
1766
|
+
MasonJustifyItemsNormal = -1,
|
|
1767
|
+
MasonJustifyItemsStart = 0,
|
|
1768
|
+
MasonJustifyItemsEnd = 1,
|
|
1769
|
+
MasonJustifyItemsCenter = 2,
|
|
1770
|
+
MasonJustifyItemsBaseline = 3,
|
|
1771
|
+
MasonJustifyItemsStretch = 4,
|
|
1772
|
+
MasonJustifyItemsFlexStart = 5,
|
|
1773
|
+
MasonJustifyItemsFlexEnd = 6,
|
|
1660
1774
|
};
|
|
1661
1775
|
|
|
1776
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonJustifySelf, "JustifySelf", open) {
|
|
1777
|
+
MasonJustifySelfNormal = -1,
|
|
1778
|
+
MasonJustifySelfStart = 0,
|
|
1779
|
+
MasonJustifySelfEnd = 1,
|
|
1780
|
+
MasonJustifySelfCenter = 2,
|
|
1781
|
+
MasonJustifySelfBaseline = 3,
|
|
1782
|
+
MasonJustifySelfStretch = 4,
|
|
1783
|
+
MasonJustifySelfFlexStart = 5,
|
|
1784
|
+
MasonJustifySelfFlexEnd = 6,
|
|
1785
|
+
};
|
|
1662
1786
|
|
|
1663
1787
|
SWIFT_CLASS_NAMED("LineGridPlacementCompat")
|
|
1664
1788
|
@interface LineGridPlacementCompat : NSObject
|
|
@@ -1675,13 +1799,20 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLineHeight, "LineHeight", open) {
|
|
|
1675
1799
|
MasonLineHeightPreLine = 3,
|
|
1676
1800
|
};
|
|
1677
1801
|
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1802
|
+
SWIFT_PROTOCOL("_TtP5Mason18MasonCharacterData_")
|
|
1803
|
+
@protocol MasonCharacterData
|
|
1804
|
+
@property (nonatomic, copy) NSString * _Nonnull data;
|
|
1805
|
+
@property (nonatomic, readonly) NSInteger length;
|
|
1806
|
+
- (nonnull instancetype)appendData:(NSString * _Nonnull)s;
|
|
1807
|
+
- (nonnull instancetype)insertData:(NSString * _Nonnull)s at:(NSInteger)offset;
|
|
1808
|
+
- (nonnull instancetype)deleteDataWithOffset:(NSInteger)offset count:(NSInteger)count;
|
|
1809
|
+
- (nonnull instancetype)replaceDataWithOffset:(NSInteger)offset count:(NSInteger)count with:(NSString * _Nonnull)s;
|
|
1810
|
+
- (NSString * _Nonnull)substringDataWithOffset:(NSInteger)offset count:(NSInteger)count SWIFT_WARN_UNUSED_RESULT;
|
|
1811
|
+
- (nonnull instancetype)deleteDataWithRange:(NSRange)range;
|
|
1812
|
+
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
1813
|
+
@end
|
|
1682
1814
|
|
|
1683
1815
|
enum MasonDimensionCompatType : NSInteger;
|
|
1684
|
-
|
|
1685
1816
|
SWIFT_CLASS_NAMED("MasonDimensionCompat")
|
|
1686
1817
|
@interface MasonDimensionCompat : NSObject
|
|
1687
1818
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -1704,6 +1835,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonDimensionCompatType, "MasonDimensionCom
|
|
|
1704
1835
|
MasonDimensionCompatTypePercent = 2,
|
|
1705
1836
|
};
|
|
1706
1837
|
|
|
1838
|
+
SWIFT_CLASS_NAMED("MasonDimensionPointCompat")
|
|
1839
|
+
@interface MasonDimensionPointCompat : NSObject
|
|
1840
|
+
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull x;
|
|
1841
|
+
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull y;
|
|
1842
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1843
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1844
|
+
@end
|
|
1707
1845
|
|
|
1708
1846
|
SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
|
|
1709
1847
|
@interface MasonDimensionRectCompat : NSObject
|
|
@@ -1716,7 +1854,6 @@ SWIFT_CLASS_NAMED("MasonDimensionRectCompat")
|
|
|
1716
1854
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1717
1855
|
@end
|
|
1718
1856
|
|
|
1719
|
-
|
|
1720
1857
|
SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
1721
1858
|
@interface MasonDimensionSizeCompat : NSObject
|
|
1722
1859
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull width;
|
|
@@ -1725,31 +1862,15 @@ SWIFT_CLASS_NAMED("MasonDimensionSizeCompat")
|
|
|
1725
1862
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1726
1863
|
@end
|
|
1727
1864
|
|
|
1728
|
-
|
|
1729
|
-
@
|
|
1730
|
-
@class UIView;
|
|
1731
|
-
@class NSCMason;
|
|
1732
|
-
@class NSCoder;
|
|
1733
|
-
@class UIImage;
|
|
1734
|
-
|
|
1735
|
-
SWIFT_CLASS_NAMED("MasonImg")
|
|
1736
|
-
@interface MasonImg : UIImageView
|
|
1737
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1738
|
-
- (void)markNodeDirty;
|
|
1739
|
-
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1740
|
-
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
1741
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1865
|
+
SWIFT_CLASS_NAMED("MasonDocument")
|
|
1866
|
+
@interface MasonDocument : NSObject
|
|
1742
1867
|
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1743
1868
|
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
1744
|
-
|
|
1745
|
-
- (
|
|
1746
|
-
|
|
1747
|
-
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image SWIFT_UNAVAILABLE;
|
|
1748
|
-
- (nonnull instancetype)initWithImage:(UIImage * _Nullable)image highlightedImage:(UIImage * _Nullable)highlightedImage SWIFT_UNAVAILABLE;
|
|
1749
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1869
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)instance OBJC_DESIGNATED_INITIALIZER;
|
|
1870
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1871
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1750
1872
|
@end
|
|
1751
1873
|
|
|
1752
|
-
|
|
1753
1874
|
SWIFT_CLASS_NAMED("MasonLayout")
|
|
1754
1875
|
@interface MasonLayout : NSObject
|
|
1755
1876
|
@property (nonatomic, readonly) NSInteger order;
|
|
@@ -1758,13 +1879,14 @@ SWIFT_CLASS_NAMED("MasonLayout")
|
|
|
1758
1879
|
@property (nonatomic, readonly) float width;
|
|
1759
1880
|
@property (nonatomic, readonly) float height;
|
|
1760
1881
|
@property (nonatomic, readonly, copy) NSArray<MasonLayout *> * _Nonnull children;
|
|
1882
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonLayout * _Nonnull zero;)
|
|
1883
|
+
+ (MasonLayout * _Nonnull)zero SWIFT_WARN_UNUSED_RESULT;
|
|
1761
1884
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1762
1885
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1763
1886
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1764
1887
|
@end
|
|
1765
1888
|
|
|
1766
1889
|
enum MasonLengthPercentageAutoCompatType : NSInteger;
|
|
1767
|
-
|
|
1768
1890
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoCompat")
|
|
1769
1891
|
@interface MasonLengthPercentageAutoCompat : NSObject
|
|
1770
1892
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -1787,6 +1909,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageAutoCompatType, "MasonL
|
|
|
1787
1909
|
MasonLengthPercentageAutoCompatTypePercent = 2,
|
|
1788
1910
|
};
|
|
1789
1911
|
|
|
1912
|
+
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoPointCompat")
|
|
1913
|
+
@interface MasonLengthPercentageAutoPointCompat : NSObject
|
|
1914
|
+
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull x;
|
|
1915
|
+
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull y;
|
|
1916
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1917
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1918
|
+
@end
|
|
1790
1919
|
|
|
1791
1920
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
|
|
1792
1921
|
@interface MasonLengthPercentageAutoRectCompat : NSObject
|
|
@@ -1799,7 +1928,6 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoRectCompat")
|
|
|
1799
1928
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1800
1929
|
@end
|
|
1801
1930
|
|
|
1802
|
-
|
|
1803
1931
|
SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
|
|
1804
1932
|
@interface MasonLengthPercentageAutoSizeCompat : NSObject
|
|
1805
1933
|
@property (nonatomic, strong) MasonLengthPercentageAutoCompat * _Nonnull width;
|
|
@@ -1809,7 +1937,6 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageAutoSizeCompat")
|
|
|
1809
1937
|
@end
|
|
1810
1938
|
|
|
1811
1939
|
enum MasonLengthPercentageCompatType : NSInteger;
|
|
1812
|
-
|
|
1813
1940
|
SWIFT_CLASS_NAMED("MasonLengthPercentageCompat")
|
|
1814
1941
|
@interface MasonLengthPercentageCompat : NSObject
|
|
1815
1942
|
- (nonnull instancetype)initWithPoints:(float)points OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -1829,6 +1956,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonLengthPercentageCompatType, "MasonLengt
|
|
|
1829
1956
|
MasonLengthPercentageCompatTypePercent = 1,
|
|
1830
1957
|
};
|
|
1831
1958
|
|
|
1959
|
+
SWIFT_CLASS_NAMED("MasonLengthPercentagePointCompat")
|
|
1960
|
+
@interface MasonLengthPercentagePointCompat : NSObject
|
|
1961
|
+
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull x;
|
|
1962
|
+
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull y;
|
|
1963
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1964
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1965
|
+
@end
|
|
1832
1966
|
|
|
1833
1967
|
SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
|
|
1834
1968
|
@interface MasonLengthPercentageRectCompat : NSObject
|
|
@@ -1841,7 +1975,6 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageRectCompat")
|
|
|
1841
1975
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1842
1976
|
@end
|
|
1843
1977
|
|
|
1844
|
-
|
|
1845
1978
|
SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
1846
1979
|
@interface MasonLengthPercentageSizeCompat : NSObject
|
|
1847
1980
|
@property (nonatomic, strong) MasonLengthPercentageCompat * _Nonnull width;
|
|
@@ -1850,63 +1983,63 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
|
|
|
1850
1983
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1851
1984
|
@end
|
|
1852
1985
|
|
|
1853
|
-
|
|
1854
1986
|
SWIFT_CLASS_NAMED("MasonNode")
|
|
1855
1987
|
@interface MasonNode : NSObject
|
|
1856
1988
|
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
1857
|
-
@property (nonatomic, readonly, strong) MasonLayout *
|
|
1858
|
-
|
|
1859
|
-
@property (nonatomic, strong)
|
|
1860
|
-
@property (nonatomic, readonly, strong) MasonNode * _Nullable
|
|
1861
|
-
|
|
1989
|
+
@property (nonatomic, readonly, strong) MasonLayout * _Nonnull computedLayout;
|
|
1990
|
+
- (MasonNode * _Nonnull)getRootNode SWIFT_WARN_UNUSED_RESULT;
|
|
1991
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nullable parent;
|
|
1992
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nullable parentNode;
|
|
1993
|
+
- (NSArray<MasonNode *> * _Nonnull)getChildren SWIFT_WARN_UNUSED_RESULT;
|
|
1994
|
+
- (NSArray<MasonNode *> * _Nonnull)getLayoutChildren SWIFT_WARN_UNUSED_RESULT;
|
|
1862
1995
|
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
|
|
1863
|
-
- (MasonLayout * _Nonnull)layout;
|
|
1864
1996
|
@property (nonatomic, readonly) BOOL isDirty;
|
|
1865
1997
|
- (void)markDirty;
|
|
1866
|
-
- (
|
|
1867
|
-
- (
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
- (void)computeWithViewSize;
|
|
1873
|
-
- (void)computeWithViewSizeWithLayout:(BOOL)layout;
|
|
1874
|
-
- (void)computeWithMaxContent;
|
|
1875
|
-
- (void)computeWithMinContent;
|
|
1876
|
-
- (void)attachAndApply;
|
|
1998
|
+
- (UIView * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
|
|
1999
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2000
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2001
|
+
@end
|
|
2002
|
+
|
|
2003
|
+
@interface MasonNode (SWIFT_EXTENSION(Mason))
|
|
1877
2004
|
- (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
|
|
1878
|
-
- (void)
|
|
1879
|
-
|
|
2005
|
+
- (void)appendChild:(MasonNode * _Nonnull)child;
|
|
2006
|
+
@end
|
|
2007
|
+
|
|
2008
|
+
enum MasonOverflow : NSInteger;
|
|
2009
|
+
SWIFT_CLASS_NAMED("MasonOverflowPointCompat")
|
|
2010
|
+
@interface MasonOverflowPointCompat : NSObject
|
|
2011
|
+
@property (nonatomic) enum MasonOverflow x;
|
|
2012
|
+
@property (nonatomic) enum MasonOverflow y;
|
|
2013
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
1880
2014
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1881
2015
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1882
2016
|
@end
|
|
1883
2017
|
|
|
1884
2018
|
@class NSMutableData;
|
|
1885
2019
|
@class NSData;
|
|
1886
|
-
enum
|
|
1887
|
-
enum Overflow : NSInteger;
|
|
2020
|
+
enum MasonPosition : NSInteger;
|
|
1888
2021
|
enum MasonTextAlign : NSInteger;
|
|
1889
2022
|
@class MinMax;
|
|
1890
2023
|
@class TrackSizingFunction;
|
|
1891
|
-
|
|
1892
2024
|
SWIFT_CLASS_NAMED("MasonStyle")
|
|
1893
2025
|
@interface MasonStyle : NSObject
|
|
1894
2026
|
@property (nonatomic, strong) NSMutableData * _Nonnull valuesCompat;
|
|
1895
2027
|
@property (nonatomic, copy) NSData * _Nonnull values;
|
|
1896
2028
|
- (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
|
|
1897
|
-
@property (nonatomic) enum
|
|
1898
|
-
@property (nonatomic) enum
|
|
1899
|
-
@property (nonatomic) enum
|
|
1900
|
-
@property (nonatomic) enum
|
|
1901
|
-
@property (nonatomic) enum
|
|
1902
|
-
@property (nonatomic)
|
|
1903
|
-
@property (nonatomic) enum
|
|
1904
|
-
@property (nonatomic) enum
|
|
1905
|
-
@property (nonatomic) enum
|
|
1906
|
-
@property (nonatomic) enum
|
|
1907
|
-
@property (nonatomic) enum
|
|
1908
|
-
@property (nonatomic) enum
|
|
1909
|
-
@property (nonatomic) enum
|
|
2029
|
+
@property (nonatomic) enum MasonDisplay display;
|
|
2030
|
+
@property (nonatomic) enum MasonPosition position;
|
|
2031
|
+
@property (nonatomic) enum MasonDirection direction;
|
|
2032
|
+
@property (nonatomic) enum MasonFlexDirection flexDirection;
|
|
2033
|
+
@property (nonatomic) enum MasonFlexWrap flexWrap;
|
|
2034
|
+
@property (nonatomic, strong) MasonOverflowPointCompat * _Nonnull overflowCompat;
|
|
2035
|
+
@property (nonatomic) enum MasonOverflow overflowX;
|
|
2036
|
+
@property (nonatomic) enum MasonOverflow overflowY;
|
|
2037
|
+
@property (nonatomic) enum MasonAlignItems alignItems;
|
|
2038
|
+
@property (nonatomic) enum MasonAlignSelf alignSelf;
|
|
2039
|
+
@property (nonatomic) enum MasonAlignContent alignContent;
|
|
2040
|
+
@property (nonatomic) enum MasonJustifyItems justifyItems;
|
|
2041
|
+
@property (nonatomic) enum MasonJustifySelf justifySelf;
|
|
2042
|
+
@property (nonatomic) enum MasonJustifyContent justifyContent;
|
|
1910
2043
|
@property (nonatomic, strong) MasonLengthPercentageAutoRectCompat * _Nonnull insetCompat;
|
|
1911
2044
|
- (void)setInsetLeft:(float)value :(NSInteger)type;
|
|
1912
2045
|
- (void)setInsetRight:(float)value :(NSInteger)type;
|
|
@@ -1958,14 +2091,16 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
1958
2091
|
- (void)setColumnGap:(float)value :(NSInteger)type;
|
|
1959
2092
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
|
|
1960
2093
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoColumns;
|
|
1961
|
-
@property (nonatomic) enum
|
|
2094
|
+
@property (nonatomic) enum MasonGridAutoFlowWrap gridAutoFlow;
|
|
1962
2095
|
@property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridColumnCompat;
|
|
1963
2096
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnStartCompat;
|
|
1964
2097
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnEndCompat;
|
|
1965
2098
|
@property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridRowCompat;
|
|
1966
2099
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowStartCompat;
|
|
1967
2100
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
|
|
2101
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull gridTemplateRowsCSS;
|
|
1968
2102
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
|
|
2103
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull gridTemplateColumnsCSS;
|
|
1969
2104
|
@property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
|
|
1970
2105
|
- (void)updateNativeStyle;
|
|
1971
2106
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
@@ -1975,62 +2110,85 @@ SWIFT_CLASS_NAMED("MasonStyle")
|
|
|
1975
2110
|
|
|
1976
2111
|
enum MasonTextType : NSInteger;
|
|
1977
2112
|
@class NSCFontFace;
|
|
1978
|
-
@class
|
|
1979
|
-
enum TextTransform : NSInteger;
|
|
2113
|
+
@class MasonTextOverflowCompat;
|
|
1980
2114
|
@class UIColor;
|
|
1981
|
-
enum
|
|
1982
|
-
enum
|
|
1983
|
-
|
|
2115
|
+
enum MasonTextTransform : NSInteger;
|
|
2116
|
+
enum MasonWhiteSpace : NSInteger;
|
|
2117
|
+
enum MasonTextWrap : NSInteger;
|
|
1984
2118
|
SWIFT_CLASS_NAMED("MasonText")
|
|
1985
2119
|
@interface MasonText : UIView
|
|
1986
|
-
@property (nonatomic, readonly, strong) MasonText * _Nullable owner;
|
|
1987
2120
|
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
1988
|
-
@property (nonatomic, readonly, copy) NSData * _Nonnull textValues;
|
|
1989
2121
|
@property (nonatomic, readonly) enum MasonTextType type;
|
|
2122
|
+
@property (nonatomic, readonly, strong) NSMutableData * _Nonnull textValues;
|
|
1990
2123
|
@property (nonatomic, readonly, strong) NSCFontFace * _Nonnull font;
|
|
2124
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
2125
|
+
@property (nonatomic, strong) MasonTextOverflowCompat * _Nonnull textOverflowCompat;
|
|
1991
2126
|
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason type:(enum MasonTextType)textType OBJC_DESIGNATED_INITIALIZER;
|
|
1992
2127
|
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
|
|
1993
|
-
- (
|
|
2128
|
+
- (void)syncStyle:(NSString * _Nonnull)state textState:(NSString * _Nonnull)textState;
|
|
1994
2129
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1995
|
-
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
1996
|
-
@property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
|
|
1997
|
-
- (void)markNodeDirty;
|
|
1998
|
-
- (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
|
|
1999
|
-
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
2000
|
-
- (void)updateText:(NSString * _Nullable)value;
|
|
2001
|
-
@property (nonatomic, strong) NSMutableAttributedString * _Nonnull txtToRender;
|
|
2002
|
-
- (void)invalidateStyle:(int64_t)state;
|
|
2003
|
-
@property (nonatomic) enum TextTransform textTransform;
|
|
2004
|
-
@property (nonatomic) CGFloat fontSize;
|
|
2005
|
-
@property (nonatomic) enum FontStyle fontStyle;
|
|
2006
|
-
- (void)setFontStyle:(enum FontStyle)style slant:(int32_t)slant;
|
|
2007
|
-
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
2008
2130
|
@property (nonatomic) uint32_t color;
|
|
2009
2131
|
@property (nonatomic) uint32_t backgroundColorValue;
|
|
2010
2132
|
- (void)setColorWithUi:(UIColor * _Nonnull)color;
|
|
2011
2133
|
- (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
|
|
2012
|
-
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
2013
2134
|
@property (nonatomic) uint32_t decorationColor;
|
|
2014
|
-
|
|
2015
|
-
@property (nonatomic) enum
|
|
2016
|
-
@property (nonatomic)
|
|
2017
|
-
|
|
2018
|
-
- (void)
|
|
2019
|
-
|
|
2020
|
-
@property (nonatomic
|
|
2021
|
-
|
|
2135
|
+
- (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
|
|
2136
|
+
@property (nonatomic) enum MasonDecorationLine decorationLine;
|
|
2137
|
+
@property (nonatomic) CGFloat fontSize;
|
|
2138
|
+
@property (nonatomic) enum MasonFontStyle fontStyle;
|
|
2139
|
+
- (void)setFontStyle:(enum MasonFontStyle)style slant:(int32_t)slant;
|
|
2140
|
+
@property (nonatomic, copy) NSString * _Nonnull fontWeight;
|
|
2141
|
+
@property (nonatomic) enum MasonTextTransform textTransform;
|
|
2142
|
+
@property (nonatomic) enum MasonWhiteSpace whiteSpace;
|
|
2143
|
+
@property (nonatomic) enum MasonTextWrap textWrap;
|
|
2144
|
+
- (void)invalidateStyle:(int64_t)state;
|
|
2145
|
+
/// Helper to get default text attributes for new text nodes
|
|
2146
|
+
- (NSDictionary<NSAttributedStringKey, id> * _Nonnull)getDefaultAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
2022
2147
|
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
2023
2148
|
@end
|
|
2024
2149
|
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2150
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
2151
|
+
- (void)addChild:(MasonNode * _Nonnull)child;
|
|
2152
|
+
@end
|
|
2153
|
+
|
|
2154
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
2155
|
+
/// Text content - sets or gets the concatenated text from all text nodes
|
|
2156
|
+
@property (nonatomic, copy) NSString * _Nonnull text;
|
|
2157
|
+
@end
|
|
2158
|
+
|
|
2159
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
2160
|
+
- (void)drawRect:(CGRect)rect;
|
|
2161
|
+
@end
|
|
2162
|
+
|
|
2163
|
+
@interface MasonText (SWIFT_EXTENSION(Mason))
|
|
2164
|
+
/// Remove child from text container
|
|
2165
|
+
- (MasonNode * _Nullable)removeChild:(MasonNode * _Nonnull)child;
|
|
2166
|
+
/// Insert child at specific index
|
|
2167
|
+
- (void)insertChild:(MasonNode * _Nonnull)child at:(NSInteger)index;
|
|
2168
|
+
@end
|
|
2169
|
+
|
|
2170
|
+
SWIFT_CLASS_NAMED("MasonTextNode")
|
|
2171
|
+
@interface MasonTextNode : MasonNode <MasonCharacterData>
|
|
2172
|
+
@property (nonatomic, copy) NSString * _Nonnull data;
|
|
2173
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc data:(NSString * _Nonnull)text attributes:(NSDictionary<NSAttributedStringKey, id> * _Nullable)attrs OBJC_DESIGNATED_INITIALIZER;
|
|
2174
|
+
- (void)appendChild:(MasonNode * _Nonnull)child;
|
|
2175
|
+
@property (nonatomic, readonly) NSInteger length;
|
|
2176
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nullable parent;
|
|
2177
|
+
- (NSString * _Nonnull)substringDataWithOffset:(NSInteger)offset count:(NSInteger)count SWIFT_WARN_UNUSED_RESULT;
|
|
2178
|
+
- (nonnull instancetype)appendData:(NSString * _Nonnull)s;
|
|
2179
|
+
- (nonnull instancetype)insertData:(NSString * _Nonnull)s at:(NSInteger)offset;
|
|
2180
|
+
- (nonnull instancetype)deleteDataWithOffset:(NSInteger)offset count:(NSInteger)count;
|
|
2181
|
+
- (nonnull instancetype)replaceDataWithOffset:(NSInteger)offset count:(NSInteger)count with:(NSString * _Nonnull)s;
|
|
2182
|
+
- (nonnull instancetype)deleteDataWithRange:(NSRange)range;
|
|
2183
|
+
- (nonnull instancetype)replaceDataWithRange:(NSRange)range with:(NSString * _Nonnull)s;
|
|
2184
|
+
- (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes SWIFT_UNAVAILABLE;
|
|
2185
|
+
@end
|
|
2186
|
+
|
|
2187
|
+
@class NSAttributedString;
|
|
2188
|
+
@interface MasonTextNode (SWIFT_EXTENSION(Mason))
|
|
2189
|
+
/// Get attributed string representation of this text node
|
|
2190
|
+
- (NSAttributedString * _Nonnull)attributed SWIFT_WARN_UNUSED_RESULT;
|
|
2191
|
+
@end
|
|
2034
2192
|
|
|
2035
2193
|
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextType, "MasonTextType", open) {
|
|
2036
2194
|
MasonTextTypeNone = 0,
|
|
@@ -2046,9 +2204,9 @@ typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextType, "MasonTextType", open) {
|
|
|
2046
2204
|
MasonTextTypeLi = 10,
|
|
2047
2205
|
MasonTextTypeBlockquote = 11,
|
|
2048
2206
|
MasonTextTypeB = 12,
|
|
2207
|
+
MasonTextTypePre = 13,
|
|
2049
2208
|
};
|
|
2050
2209
|
|
|
2051
|
-
|
|
2052
2210
|
SWIFT_CLASS_NAMED("MasonUIView")
|
|
2053
2211
|
@interface MasonUIView : UIView
|
|
2054
2212
|
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
@@ -2060,28 +2218,24 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
2060
2218
|
+ (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
2061
2219
|
+ (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
2062
2220
|
+ (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
|
|
2063
|
-
@property (nonatomic, strong) MasonStyle * _Nonnull style;
|
|
2064
|
-
- (void)requestLayout;
|
|
2065
2221
|
- (void)addView:(UIView * _Nonnull)view;
|
|
2066
2222
|
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
2067
|
-
- (void)syncStyle:(NSString * _Nonnull)state;
|
|
2068
2223
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
|
|
2069
2224
|
- (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
|
|
2070
|
-
- (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
|
|
2071
2225
|
@property (nonatomic) BOOL inBatch;
|
|
2072
|
-
@property (nonatomic) enum
|
|
2073
|
-
@property (nonatomic) enum
|
|
2074
|
-
@property (nonatomic) enum
|
|
2075
|
-
@property (nonatomic) enum
|
|
2076
|
-
@property (nonatomic) enum
|
|
2077
|
-
@property (nonatomic) enum
|
|
2078
|
-
@property (nonatomic) enum
|
|
2079
|
-
@property (nonatomic) enum
|
|
2080
|
-
@property (nonatomic) enum
|
|
2081
|
-
@property (nonatomic) enum
|
|
2082
|
-
@property (nonatomic) enum
|
|
2083
|
-
@property (nonatomic) enum
|
|
2084
|
-
@property (nonatomic) enum
|
|
2226
|
+
@property (nonatomic) enum MasonDisplay display;
|
|
2227
|
+
@property (nonatomic) enum MasonPosition _position;
|
|
2228
|
+
@property (nonatomic) enum MasonDirection direction;
|
|
2229
|
+
@property (nonatomic) enum MasonFlexDirection flexDirection;
|
|
2230
|
+
@property (nonatomic) enum MasonFlexWrap flexWrap;
|
|
2231
|
+
@property (nonatomic) enum MasonOverflow overflowX;
|
|
2232
|
+
@property (nonatomic) enum MasonOverflow overflowY;
|
|
2233
|
+
@property (nonatomic) enum MasonAlignItems alignItems;
|
|
2234
|
+
@property (nonatomic) enum MasonAlignSelf alignSelf;
|
|
2235
|
+
@property (nonatomic) enum MasonAlignContent alignContent;
|
|
2236
|
+
@property (nonatomic) enum MasonJustifyItems justifyItems;
|
|
2237
|
+
@property (nonatomic) enum MasonJustifySelf justifySelf;
|
|
2238
|
+
@property (nonatomic) enum MasonJustifyContent justifyContent;
|
|
2085
2239
|
@property (nonatomic) float flexGrow;
|
|
2086
2240
|
@property (nonatomic) float flexShrink;
|
|
2087
2241
|
@property (nonatomic, strong) MasonDimensionCompat * _Nonnull scrollBarWidthCompat;
|
|
@@ -2089,7 +2243,7 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
2089
2243
|
@property (nonatomic) float aspectRatio;
|
|
2090
2244
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
|
|
2091
2245
|
@property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoColumns;
|
|
2092
|
-
@property (nonatomic) enum
|
|
2246
|
+
@property (nonatomic) enum MasonGridAutoFlowWrap gridAutoFlow;
|
|
2093
2247
|
@property (nonatomic, strong) LineGridPlacementCompat * _Nonnull gridColumnCompat;
|
|
2094
2248
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnStartCompat;
|
|
2095
2249
|
@property (nonatomic, strong) GridPlacementCompat * _Nonnull gridColumnEndCompat;
|
|
@@ -2166,7 +2320,6 @@ SWIFT_CLASS_NAMED("MasonUIView")
|
|
|
2166
2320
|
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
2167
2321
|
@end
|
|
2168
2322
|
|
|
2169
|
-
|
|
2170
2323
|
SWIFT_CLASS_NAMED("MaxSizing")
|
|
2171
2324
|
@interface MaxSizing : NSObject
|
|
2172
2325
|
@property (nonatomic, readonly) float value;
|
|
@@ -2187,14 +2340,12 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing *
|
|
|
2187
2340
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2188
2341
|
@end
|
|
2189
2342
|
|
|
2190
|
-
|
|
2191
2343
|
SWIFT_CLASS_NAMED("MeasureOutput")
|
|
2192
2344
|
@interface MeasureOutput : NSObject
|
|
2193
2345
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2194
2346
|
@end
|
|
2195
2347
|
|
|
2196
2348
|
@class MinSizing;
|
|
2197
|
-
|
|
2198
2349
|
SWIFT_CLASS_NAMED("MinMax")
|
|
2199
2350
|
@interface MinMax : NSObject
|
|
2200
2351
|
- (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -2212,7 +2363,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _No
|
|
|
2212
2363
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2213
2364
|
@end
|
|
2214
2365
|
|
|
2215
|
-
|
|
2216
2366
|
SWIFT_CLASS_NAMED("MinSizing")
|
|
2217
2367
|
@interface MinSizing : NSObject
|
|
2218
2368
|
@property (nonatomic, readonly) float value;
|
|
@@ -2230,7 +2380,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing *
|
|
|
2230
2380
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2231
2381
|
@end
|
|
2232
2382
|
|
|
2233
|
-
|
|
2234
2383
|
SWIFT_CLASS_NAMED("NSCFontDescriptors")
|
|
2235
2384
|
@interface NSCFontDescriptors : NSObject
|
|
2236
2385
|
- (nonnull instancetype)initWithFamily:(NSString * _Nonnull)family OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -2251,7 +2400,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontDisplay, "NSCFontDisplay", open) {
|
|
|
2251
2400
|
|
|
2252
2401
|
enum NSCFontFaceStatus : NSInteger;
|
|
2253
2402
|
enum NSCFontWeight : NSInteger;
|
|
2254
|
-
|
|
2255
2403
|
SWIFT_CLASS_NAMED("NSCFontFace")
|
|
2256
2404
|
@interface NSCFontFace : NSObject
|
|
2257
2405
|
@property (nonatomic, readonly) CGFontRef _Nullable font;
|
|
@@ -2281,7 +2429,6 @@ SWIFT_CLASS_NAMED("NSCFontFace")
|
|
|
2281
2429
|
|
|
2282
2430
|
enum NSCFontFaceSetStatus : NSInteger;
|
|
2283
2431
|
@class NSEnumerator;
|
|
2284
|
-
|
|
2285
2432
|
SWIFT_CLASS_NAMED("NSCFontFaceSet")
|
|
2286
2433
|
@interface NSCFontFaceSet : NSObject
|
|
2287
2434
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSCFontFaceSet * _Nonnull instance;)
|
|
@@ -2323,7 +2470,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, NSCFontWeight, "NSCFontWeight", open) {
|
|
|
2323
2470
|
NSCFontWeightBlack = 8,
|
|
2324
2471
|
};
|
|
2325
2472
|
|
|
2326
|
-
|
|
2473
|
+
@class MasonScroll;
|
|
2327
2474
|
SWIFT_CLASS_NAMED("NSCMason")
|
|
2328
2475
|
@interface NSCMason : NSObject
|
|
2329
2476
|
@property (nonatomic, readonly) void * _Nullable nativePtr;
|
|
@@ -2332,62 +2479,105 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull sh
|
|
|
2332
2479
|
+ (void)setShared:(NSCMason * _Nonnull)value;
|
|
2333
2480
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2334
2481
|
- (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
|
|
2482
|
+
- (void)configureStyleForView:(UIView * _Nonnull)view :(SWIFT_NOESCAPE void (^ _Nonnull)(MasonStyle * _Nonnull))block;
|
|
2483
|
+
- (MasonStyle * _Nonnull)styleForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT;
|
|
2484
|
+
- (MasonLayout * _Nonnull)layoutForView:(UIView * _Nonnull)view;
|
|
2335
2485
|
- (void)clear;
|
|
2486
|
+
- (MasonDocument * _Nonnull)createDocument SWIFT_WARN_UNUSED_RESULT;
|
|
2336
2487
|
- (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
|
|
2337
2488
|
- (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
|
|
2489
|
+
- (MasonTextNode * _Nonnull)createTextNode:(NSString * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
|
|
2338
2490
|
- (MasonText * _Nonnull)createTextViewWithType:(enum MasonTextType)type SWIFT_WARN_UNUSED_RESULT;
|
|
2339
2491
|
- (MasonImg * _Nonnull)createImageView SWIFT_WARN_UNUSED_RESULT;
|
|
2492
|
+
- (MasonScroll * _Nonnull)createScrollView SWIFT_WARN_UNUSED_RESULT;
|
|
2340
2493
|
- (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
|
|
2341
2494
|
- (void)printTree:(MasonNode * _Nonnull)node;
|
|
2342
2495
|
- (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
|
|
2343
2496
|
@end
|
|
2344
2497
|
|
|
2345
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2498
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonOverflow, "Overflow", open) {
|
|
2499
|
+
MasonOverflowVisible = 0,
|
|
2500
|
+
MasonOverflowHidden = 1,
|
|
2501
|
+
MasonOverflowScroll = 2,
|
|
2502
|
+
MasonOverflowClip = 3,
|
|
2503
|
+
MasonOverflowAuto = 4,
|
|
2350
2504
|
};
|
|
2351
2505
|
|
|
2352
|
-
typedef SWIFT_ENUM_NAMED(NSInteger,
|
|
2353
|
-
|
|
2354
|
-
|
|
2506
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonPosition, "Position", open) {
|
|
2507
|
+
MasonPositionRelative = 0,
|
|
2508
|
+
MasonPositionAbsolute = 1,
|
|
2355
2509
|
};
|
|
2356
2510
|
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2511
|
+
SWIFT_CLASS_NAMED("Scroll")
|
|
2512
|
+
@interface MasonScroll : UIScrollView <UIScrollViewDelegate>
|
|
2513
|
+
@property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
|
|
2514
|
+
@property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
|
|
2515
|
+
@property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
|
|
2516
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
2517
|
+
- (void)scrollViewWillBeginDragging:(UIScrollView * _Nonnull)scrollView;
|
|
2518
|
+
- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView;
|
|
2519
|
+
- (void)addView:(UIView * _Nonnull)view;
|
|
2520
|
+
- (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
|
|
2521
|
+
- (void)setSize:(float)width :(float)height;
|
|
2522
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
2523
|
+
@end
|
|
2524
|
+
|
|
2525
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "TextAlign", open) {
|
|
2526
|
+
MasonTextAlignAuto = 0,
|
|
2527
|
+
MasonTextAlignLeft = 1,
|
|
2528
|
+
MasonTextAlignRight = 2,
|
|
2529
|
+
MasonTextAlignCenter = 3,
|
|
2530
|
+
MasonTextAlignJustify = 4,
|
|
2531
|
+
MasonTextAlignStart = 5,
|
|
2532
|
+
MasonTextAlignEnd = 6,
|
|
2365
2533
|
};
|
|
2366
2534
|
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2535
|
+
SWIFT_CLASS_NAMED("TextOverflowCompat")
|
|
2536
|
+
@interface MasonTextOverflowCompat : NSObject
|
|
2537
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MasonTextOverflowCompat * _Nonnull Clip;)
|
|
2538
|
+
+ (MasonTextOverflowCompat * _Nonnull)Clip SWIFT_WARN_UNUSED_RESULT;
|
|
2539
|
+
+ (MasonTextOverflowCompat * _Nonnull)Ellipse:(NSString * _Nullable)value SWIFT_WARN_UNUSED_RESULT;
|
|
2540
|
+
+ (MasonTextOverflowCompat * _Nonnull)Custom:(NSString * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2541
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
2542
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2543
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2544
|
+
@end
|
|
2545
|
+
|
|
2546
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextTransform, "TextTransform", open) {
|
|
2547
|
+
MasonTextTransformNone = 0,
|
|
2548
|
+
MasonTextTransformCapitalize = 1,
|
|
2549
|
+
MasonTextTransformUppercase = 2,
|
|
2550
|
+
MasonTextTransformLowercase = 3,
|
|
2551
|
+
MasonTextTransformFullWidth = 4,
|
|
2552
|
+
MasonTextTransformFullSizeKana = 5,
|
|
2553
|
+
MasonTextTransformMathAuto = 6,
|
|
2371
2554
|
};
|
|
2372
2555
|
|
|
2556
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextWrap, "TextWrap", open) {
|
|
2557
|
+
MasonTextWrapWrap = 0,
|
|
2558
|
+
MasonTextWrapNoWrap = 1,
|
|
2559
|
+
MasonTextWrapBalance = 2,
|
|
2560
|
+
MasonTextWrapPretty = 3,
|
|
2561
|
+
};
|
|
2373
2562
|
|
|
2374
2563
|
SWIFT_CLASS_NAMED("TrackSizingFunction")
|
|
2375
2564
|
@interface TrackSizingFunction : NSObject
|
|
2376
2565
|
@property (nonatomic, readonly) BOOL isRepeating;
|
|
2377
2566
|
@property (nonatomic, readonly) id _Nullable value;
|
|
2378
2567
|
+ (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2379
|
-
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(
|
|
2568
|
+
+ (TrackSizingFunction * _Nonnull)AutoRepeat:(MasonGridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
|
|
2569
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
|
|
2380
2570
|
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2381
2571
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2382
2572
|
@end
|
|
2383
2573
|
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2574
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, MasonWhiteSpace, "WhiteSpace", open) {
|
|
2575
|
+
MasonWhiteSpaceNormal = 0,
|
|
2576
|
+
MasonWhiteSpacePre = 1,
|
|
2577
|
+
MasonWhiteSpacePreWrap = 2,
|
|
2578
|
+
MasonWhiteSpacePreLine = 3,
|
|
2579
|
+
MasonWhiteSpaceNoWrap = 4,
|
|
2580
|
+
MasonWhiteSpaceBreakSpaces = 5,
|
|
2391
2581
|
};
|
|
2392
2582
|
|
|
2393
2583
|
#endif
|