Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Merge branch 'AHDeprecateTableCollectionView' of https://github.com/f…
Browse files Browse the repository at this point in the history
…acebook/AsyncDisplayKit into AHDeprecateTableCollectionView
  • Loading branch information
hannahmbanana committed Oct 14, 2016
2 parents 25880a8 + 3927c1d commit 40c49d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions AsyncDisplayKit/ASCollectionViewProtocols.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ NS_ASSUME_NONNULL_BEGIN
*/
@protocol ASCommonCollectionDataSource <NSObject>

@required
@optional

- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section ASDISPLAYNODE_DEPRECATED;

@optional

- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView ASDISPLAYNODE_DEPRECATED;

- (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath ASDISPLAYNODE_DEPRECATED;
Expand Down
4 changes: 1 addition & 3 deletions AsyncDisplayKit/ASTableViewProtocols.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ NS_ASSUME_NONNULL_BEGIN
*/
@protocol ASCommonTableDataSource <NSObject>

@required
@optional

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section ASDISPLAYNODE_DEPRECATED;

@optional

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView ASDISPLAYNODE_DEPRECATED;

- (nullable NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section;
Expand Down

0 comments on commit 40c49d8

Please sign in to comment.