mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-23 00:28:09 +00:00
Update to XCode 9.3 recommended settings and fix "implict retain self" warnings
This commit is contained in:
1 parent
f759f719e6
commit
41eb933e11
5 files changed
+51
-43
No files matched your search
@@ -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];
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user