Swift 3 Naming Collision
Created by: felix-dumit
When the objc 'continueWith' methods for BFTask
get imported into swift 3, they end up colliding with the continue
keyword.
Since this objc method:
- (BFTask *)continueWithBlock:(BFContinuationBlock)block;
becomes:
func continue(with block:BFContinuationBlock)
Possible solution would be:
- (BFTask *)continueWithBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueWith(block:));
Update: If you call the continue with the named parameter the compiler understands it. So this issue really only applies if trying to use trailing closures.