Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinlieu committed Oct 22, 2017
1 parent 7a2b395 commit a0feb86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMPopTipView/CMPopTipView.m
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,9 @@ - (void)presentPointingAtView:(UIView *)targetView inView:(UIView *)containerVie
}

- (void)presentPointingAtBarButtonItem:(UIBarButtonItem *)barButtonItem animated:(BOOL)animated {
UIView *targetView = (UIView *)[barButtonItem performSelector:@selector(view)];
UIView *targetView = (UIView *)[barButtonItem performSelector:@selector(view)];
UIView *containerView = targetView.window;

if (nil == containerView) {
NSLog(@"Cannot determine container view from UIBarButtonItem: %@", barButtonItem);
self.targetObject = nil;
Expand All @@ -626,7 +626,7 @@ - (void)presentPointingAtBarButtonItem:(UIBarButtonItem *)barButtonItem animated

self.targetObject = barButtonItem;

[self presentPointingAtView:targetView inView:containerView animated:animated];
[self presentPointingAtView:targetView inView:containerView animated:animated];
}

- (void)finaliseDismiss {
Expand Down

0 comments on commit a0feb86

Please sign in to comment.