@@ -1626,12 +1626,12 @@ - (void)presentPopoverFromRect:(CGRect)aRect
16261626 }
16271627
16281628 [UIView animateWithDuration: WY_POPOVER_DEFAULT_ANIMATION_DURATION animations: ^{
1629- containerView.alpha = 1 ;
1630- containerView.transform = CGAffineTransformIdentity;
1629+ self-> containerView .alpha = 1 ;
1630+ self-> containerView .transform = CGAffineTransformIdentity;
16311631 } completion: ^(BOOL finished) {
1632- if ([viewController isKindOfClass: [UINavigationController class ]] == NO )
1632+ if ([self -> viewController isKindOfClass: [UINavigationController class ]] == NO )
16331633 {
1634- [viewController viewDidAppear: YES ];
1634+ [self -> viewController viewDidAppear: YES ];
16351635 }
16361636 }];
16371637 }
@@ -2027,19 +2027,19 @@ - (void)dismissPopoverAnimated:(BOOL)aAnimated callDelegate:(BOOL)callDelegate
20272027
20282028 completionBlock = ^(BOOL finished) {
20292029
2030- [overlayView removeFromSuperview ];
2031- overlayView = nil ;
2030+ [self -> overlayView removeFromSuperview ];
2031+ self-> overlayView = nil ;
20322032
2033- if ([viewController isKindOfClass: [UINavigationController class ]] == NO )
2033+ if ([self -> viewController isKindOfClass: [UINavigationController class ]] == NO )
20342034 {
2035- [viewController viewDidDisappear: aAnimated];
2035+ [self -> viewController viewDidDisappear: aAnimated];
20362036 }
20372037
20382038 if (callDelegate)
20392039 {
2040- if (delegate && [delegate respondsToSelector: @selector (popoverControllerDidDismissPopover: )])
2040+ if (self-> delegate && [self -> delegate respondsToSelector: @selector (popoverControllerDidDismissPopover: )])
20412041 {
2042- [delegate popoverControllerDidDismissPopover: self ];
2042+ [self -> delegate popoverControllerDidDismissPopover: self ];
20432043 }
20442044 }
20452045 };
@@ -2074,7 +2074,7 @@ - (void)dismissPopoverAnimated:(BOOL)aAnimated callDelegate:(BOOL)callDelegate
20742074 if (aAnimated)
20752075 {
20762076 [UIView animateWithDuration: WY_POPOVER_DEFAULT_ANIMATION_DURATION animations: ^{
2077- containerView.alpha = 0 ;
2077+ self-> containerView .alpha = 0 ;
20782078 } completion: ^(BOOL finished) {
20792079 completionBlock (finished);
20802080 }];
0 commit comments