@triniwiz/nativescript-masonkit 1.0.0-alpha.21 → 1.0.0-alpha.23
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/index.d.ts +80 -106
- 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 +18168 -14735
- 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 +18168 -14735
- 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 +18168 -14735
- 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/common.d.ts +0 -112
- package/common.js +0 -1071
- package/common.js.map +0 -1
- package/helpers.d.ts +0 -255
- package/helpers.js +0 -1315
- package/helpers.js.map +0 -1
- package/index.android.d.ts +0 -61
- package/index.android.js +0 -224
- package/index.android.js.map +0 -1
- package/index.ios.d.ts +0 -77
- package/index.ios.js +0 -481
- package/index.ios.js.map +0 -1
- package/style.d.ts +0 -166
- package/style.js +0 -1705
- package/style.js.map +0 -1
- package/web.d.ts +0 -55
- package/web.js +0 -189
- package/web.js.map +0 -1
|
@@ -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
|