mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Standardize Property Declaration Style in Core Classes (#870)
* Audit property attributes for core classes * Update style guide * Go crazy * Update changelog
This commit is contained in:
@@ -51,7 +51,7 @@ NS_ASSUME_NONNULL_END
|
||||
/**
|
||||
* @return node Returns the ASDisplayNode which provides the backing view to the view controller.
|
||||
*/
|
||||
@property (nonatomic, strong, readonly, null_unspecified) DisplayNodeType node;
|
||||
@property (nonatomic, readonly, null_unspecified) DisplayNodeType node;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
// AsyncDisplayKit 2.0 BETA: This property is still being tested, but it allows
|
||||
// blocking as a view controller becomes visible to ensure no placeholders flash onscreen.
|
||||
// Refer to examples/SynchronousConcurrency, AsyncViewController.m
|
||||
@property (nonatomic, assign) BOOL neverShowPlaceholders;
|
||||
@property (nonatomic) BOOL neverShowPlaceholders;
|
||||
|
||||
/* Custom container UIViewController subclasses can use this property to add to the overlay
|
||||
that UIViewController calculates for the safeAreaInsets for contained view controllers.
|
||||
@@ -93,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*
|
||||
* Default value is YES *if* node or view controller conform to ASRangeControllerUpdateRangeProtocol otherwise it is NO.
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL automaticallyAdjustRangeModeBasedOnViewEvents;
|
||||
@property (nonatomic) BOOL automaticallyAdjustRangeModeBasedOnViewEvents;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user