Fix tests to avoid newly deprecated ASCollectionView init variant with asyncDataFetching argument.

This commit is contained in:
Scott Goodson
2015-12-22 23:36:29 -08:00
parent ff4f2bb270
commit 9944305cfd
6 changed files with 26 additions and 37 deletions

View File

@@ -33,6 +33,7 @@
* @param layout The layout object to use for organizing items. The collection view stores a strong reference to the specified object. Must not be nil.
*/
- (instancetype)initWithCollectionViewLayout:(UICollectionViewLayout *)layout;
- (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout;
@property (nonatomic, weak) id<ASCollectionViewDataSource> asyncDataSource;
@property (nonatomic, weak) id<ASCollectionViewDelegate> asyncDelegate; // must not be nil