From 4c63d7028af9fa9e43fe4fbe4a5013afe0cc06fd Mon Sep 17 00:00:00 2001 From: Paul Hecker Date: Wed, 16 Nov 2016 16:38:58 +0100 Subject: [PATCH] Added missing awakeFromNib --- TPKeyboardAvoiding/TPKeyboardAvoidingCollectionView.m | 1 + TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.m | 1 + 2 files changed, 2 insertions(+) diff --git a/TPKeyboardAvoiding/TPKeyboardAvoidingCollectionView.m b/TPKeyboardAvoiding/TPKeyboardAvoidingCollectionView.m index 68fe5006..24755127 100644 --- a/TPKeyboardAvoiding/TPKeyboardAvoidingCollectionView.m +++ b/TPKeyboardAvoiding/TPKeyboardAvoidingCollectionView.m @@ -37,6 +37,7 @@ - (id)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout * } -(void)awakeFromNib { + [super awakeFromNib]; [self setup]; } diff --git a/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.m b/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.m index 81f753ac..e8113918 100644 --- a/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.m +++ b/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.m @@ -29,6 +29,7 @@ -(id)initWithFrame:(CGRect)frame { } -(void)awakeFromNib { + [super awakeFromNib]; [self setup]; }