xcode: fix ios10 build

This commit is contained in:
Gautier Pelloux-Prayer 2016-07-18 10:55:20 +02:00
parent ad2df04921
commit dc06ac83e4
5 changed files with 11 additions and 4 deletions

View file

@ -62,8 +62,8 @@
else {
CAAnimationDelegate *delegate = [[CAAnimationDelegate alloc] init];
delegate.completion = completion;
self.delegate = delegate;
}
self.delegate = (id<CAAnimationDelegate>)delegate;
}
}
- (void (^)(BOOL))completion
@ -79,8 +79,8 @@
else {
CAAnimationDelegate *delegate = [[CAAnimationDelegate alloc] init];
delegate.start = start;
self.delegate = delegate;
}
self.delegate = (id<CAAnimationDelegate>)delegate;
}
}
- (void (^)(void))start

View file

@ -40,6 +40,7 @@
}
- (void)awakeFromNib {
[super awakeFromNib];
[self setup];
}

View file

@ -33,6 +33,7 @@
}
- (void)awakeFromNib {
[super awakeFromNib];
[self setup];
}

View file

@ -40,6 +40,7 @@
}
- (void)awakeFromNib {
[super awakeFromNib];
[self setup];
}

View file

@ -99,5 +99,9 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>NSVoIPUsageDescription</key>
<string>Make audio/video calls</string>
<key>NSContactsUsageDescription</key>
<string>Make calls with your friends</string>
</dict>
</plist>