TPKeyboardAvoiding icon indicating copy to clipboard operation
TPKeyboardAvoiding copied to clipboard

Method possibly missing a [super awakeFromNib] call

Open dwby opened this issue 10 years ago • 1 comments

Hey! For Xcode 8 I get this warning message for: TPKeyboardAvoidingScrollView.m TPKeyboardAvoidingTableView.m Doesn't seem to impact anything but would be good to know how if I should add

[super awakeFromNib]; to -(void)awakeFromNib

Cheers

dwby avatar Sep 25 '16 09:09 dwby

From Apple's API reference for awakeFromNib:

You must call the super implementation of awakeFromNib to give parent classes the opportunity to perform any additional initialization they require. Although the default implementation of this method does nothing, many UIKit classes provide non-empty implementations. You may call the super implementation at any point during your own awakeFromNib method.

alistairmcmillan avatar Nov 02 '16 08:11 alistairmcmillan