3 Replies
      Latest reply: Sep 11, 2016 9:04 AM by eskimo RSS
      alexhedges Level 1 Level 1 (0 points)

        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.