Skip to content

Commit

Permalink
Xcode recommends call to super awakeFromNib
Browse files Browse the repository at this point in the history
  • Loading branch information
panicsteve committed Jan 20, 2017
1 parent 64311ce commit a091732
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/iEinstein/Classes/iEinsteinView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ @implementation iEinsteinView

- (void)awakeFromNib
{
[super awakeFromNib];

[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(didRotate:)
name:UIApplicationDidChangeStatusBarOrientationNotification
Expand Down Expand Up @@ -321,4 +323,4 @@ - (void)touchesEnded:(NSSet*)touches withEvent:(UIEvent*)event
}


@end
@end

0 comments on commit a091732

Please sign in to comment.