mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +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:
@@ -29,16 +29,16 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*
|
||||
* @default [ASCollectionView class] is used whenever this property is unset or nil.
|
||||
*/
|
||||
@property (strong, nonatomic, nullable) Class collectionViewClass;
|
||||
@property (nullable, nonatomic) Class collectionViewClass;
|
||||
|
||||
/**
|
||||
* The elements that are currently displayed. The "UIKit index space". Must be accessed on main thread.
|
||||
*/
|
||||
@property (strong, nonatomic, readonly) ASElementMap *visibleElements;
|
||||
@property (nonatomic, readonly) ASElementMap *visibleElements;
|
||||
|
||||
@property (strong, readonly, nullable) id<ASCollectionLayoutDelegate> layoutDelegate;
|
||||
@property (nullable, readonly) id<ASCollectionLayoutDelegate> layoutDelegate;
|
||||
|
||||
@property (nonatomic, weak) id<ASBatchFetchingDelegate> batchFetchingDelegate;
|
||||
@property (nullable, nonatomic, weak) id<ASBatchFetchingDelegate> batchFetchingDelegate;
|
||||
|
||||
/**
|
||||
* When this mode is enabled, ASCollectionView matches the timing of UICollectionView as closely as possible,
|
||||
@@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*
|
||||
* @default defaults to NO.
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL usesSynchronousDataLoading;
|
||||
@property (nonatomic) BOOL usesSynchronousDataLoading;
|
||||
|
||||
/**
|
||||
* Returns YES if the ASCollectionNode contents are completely synchronized with the underlying collection-view layout.
|
||||
|
||||
Reference in New Issue
Block a user