objective c - Empty method just to call super -
objective c - Empty method just to call super -
should add together empty method phone call super?
i've seen lot , know, junk code or need leave it?
example: should add together custom uiviewcontroller subclass?
- (void)viewdidappear:(bool)animated { [super viewdidappear:animated]; } - (void)didreceivememorywarning { [super didreceivememorywarning]; }
you can safely remove it.
if don't implement methods, implementation of superclass used, there's no difference @ all.
objective-c inheritance
Comments
Post a Comment