After switching to swift 3 (GM Seed) the following code is giving me trouble:
let numbers = NSSet(array: [1, 2, 3, 4, 5, 6, 7, 8])
numbers.objects(passingTest: { (obj: Any, stop: UnsafeMutablePointer<ObjCBool>) -> Bool in
return true
})
The error is: (at line 2) ambiguous use of objects(passingTest:).
Even though the other related API clearly takes an options parameter.