diff --git a/Source/IGListCollectionView.m b/Source/IGListCollectionView.m index be9f5a1b..6a0a3aa3 100644 --- a/Source/IGListCollectionView.m +++ b/Source/IGListCollectionView.m @@ -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; }