-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from gskbyte/support-ios11
Fix iOS 11 issues and bump version to 1.0.2
- Loading branch information
Showing
20 changed files
with
257 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Example/GSKStretchyHeaderView/GSKAirbnbExampleViewController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#import "GSKExampleBaseTableViewController.h" | ||
@import UIKit; | ||
|
||
@interface GSKAirbnbExampleViewController : GSKExampleBaseTableViewController | ||
@interface GSKAirbnbExampleViewController : UICollectionViewController | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
static const NSUInteger kDefaultNumberOfRows = 100; | ||
|
||
@interface GSKExampleDataSource : NSObject<UITableViewDataSource, | ||
UICollectionViewDataSource> | ||
|
||
@property (nonatomic, readonly) NSUInteger numberOfRows; | ||
// set to true to display basic titles: "Section #X" | ||
@property (nonatomic) BOOL displaysSectionHeaders; // default value: false | ||
@property (nonatomic) NSUInteger numberOfSections; // default value: 1 | ||
@property (nonatomic) NSUInteger numberOfRowsInEverySection; | ||
@property (nonatomic) NSArray<UIColor *> *cellColors; | ||
|
||
- (instancetype)initWithNumberOfRows:(NSUInteger)numberOfRows; | ||
- (instancetype)init; | ||
- (void)registerForTableView:(UITableView *)tableView; | ||
- (void)registerForCollectionView:(UICollectionView *)collectionView; | ||
- (CGFloat)heightForItemAtIndexPath:(NSIndexPath *)indexPath; | ||
- (NSString *)titleForSection:(NSInteger)section; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.