Skip to content

Commit

Permalink
Merge pull request #57 from willowtreeapps/hotfix/cocoapod_warning
Browse files Browse the repository at this point in the history
Fix cocoa pod warning about not explicitly retaining self.
  • Loading branch information
Jeff Ward authored Mar 15, 2018
2 parents d32fefa + 7c3e68c commit aef55ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Core/SnapShotDebuggingWindow/HYPPopoverViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ -(instancetype)initWithViewController:(UIViewController *)controller

-(void)viewDidLoad
{
[super viewDidLoad];

self.view.clipsToBounds = true;
self.containerView = [UIView new];

Expand Down
2 changes: 1 addition & 1 deletion Core/SnapShotDebuggingWindow/HYPSnapshotViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ -(void)deactivate
}
completion:^(BOOL finished) {
self.scrollViewContainer.userInteractionEnabled = true;
[self.snapshotContainerView removeGestureRecognizer:_dismissDrawerTapGesture];
[self.snapshotContainerView removeGestureRecognizer:self->_dismissDrawerTapGesture];
[self.snapshotContainerView removeGestureRecognizer:self.deactivateDrawerPanGesture];

if (self.scrollViewContainer.overlayModule == nil) {
Expand Down

0 comments on commit aef55ee

Please # to comment.