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:
Adlai Holler
2018-05-24 14:42:43 -07:00
committed by GitHub
parent 9ccba7fe74
commit cac14e0bce
164 changed files with 1096 additions and 1018 deletions

View File

@@ -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.