Update to XCode 9.3 recommended settings and fix "implict retain self" warnings
This commit is contained in:
parent
f759f719e6
commit
41eb933e11
5 changed files with 51 additions and 43 deletions
|
|
@ -1425,10 +1425,10 @@ const int FrontViewPositionNone = 0xff;
|
|||
|
||||
// We call the layoutSubviews method on the contentView view and send a delegate, which will
|
||||
// occur inside of an animation block if any animated transition is being performed
|
||||
[_contentView layoutSubviews];
|
||||
[self->_contentView layoutSubviews];
|
||||
|
||||
if ([_delegate respondsToSelector:@selector(revealController:animateToPosition:)])
|
||||
[_delegate revealController:self animateToPosition:_frontViewPosition];
|
||||
if ([self->_delegate respondsToSelector:@selector(revealController:animateToPosition:)])
|
||||
[self->_delegate revealController:self animateToPosition:self->_frontViewPosition];
|
||||
};
|
||||
|
||||
void (^completion)(BOOL) = ^(BOOL finished)
|
||||
|
|
@ -1494,8 +1494,8 @@ const int FrontViewPositionNone = 0xff;
|
|||
void (^animationCompletion)(void) = ^
|
||||
{
|
||||
completion();
|
||||
if ( [_delegate respondsToSelector:@selector(revealController:didAddViewController:forOperation:animated:)] )
|
||||
[_delegate revealController:self didAddViewController:new forOperation:operation animated:animated];
|
||||
if ( [self->_delegate respondsToSelector:@selector(revealController:didAddViewController:forOperation:animated:)] )
|
||||
[self->_delegate revealController:self didAddViewController:new forOperation:operation animated:animated];
|
||||
|
||||
[self _dequeue];
|
||||
};
|
||||
|
|
@ -1561,8 +1561,8 @@ const int FrontViewPositionNone = 0xff;
|
|||
deploymentCompletion();
|
||||
if ( positionIsChanging )
|
||||
{
|
||||
if ( [_delegate respondsToSelector:@selector(revealController:didMoveToPosition:)] )
|
||||
[_delegate revealController:self didMoveToPosition:newPosition];
|
||||
if ( [self->_delegate respondsToSelector:@selector(revealController:didMoveToPosition:)] )
|
||||
[self->_delegate revealController:self didMoveToPosition:newPosition];
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue