mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 09:18:29 +00:00
Don't set UICollectionView properties in IGListCollectionView
Summary: Fixes #277 Closes https://github.com/Instagram/IGListKit/pull/285 Differential Revision: D4284679 Pulled By: rnystrom fbshipit-source-id: 6fae3bc928e0065681ebfce906f9e518f819db89
This commit is contained in:
parent
0395ca31e9
commit
394e6c827b
1 changed files with 2 additions and 13 deletions
|
|
@ -11,21 +11,10 @@
|
|||
|
||||
@implementation IGListCollectionView
|
||||
|
||||
- (void)commonInit {
|
||||
self.backgroundColor = [UIColor whiteColor];
|
||||
self.alwaysBounceVertical = YES;
|
||||
}
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout {
|
||||
if (self = [super initWithFrame:frame collectionViewLayout:layout]) {
|
||||
[self commonInit];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)aDecoder {
|
||||
if (self = [super initWithCoder:aDecoder]) {
|
||||
[self commonInit];
|
||||
self.backgroundColor = [UIColor whiteColor];
|
||||
self.alwaysBounceVertical = YES;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue