Hello there i am using the latest Xcode 7 beta 6 and appears to be a problem with the filter method of an array.
in the following example i am trying to reproduce this : search the array and if you find any numbers biggest than 40 throw them away and after you do all that return the array filtered. It used to work with Xcode 6.4 but now it doesn't what am i missing here? cause in the argument once i type filter and press enter i get this :
(includeElement: (Self.Generator.Element) throws -> Bool
this is the code for Xcode 6.4
var someIntArray2 = [1,34,56,92,12,32,124,23,1293]
someIntArray2.filter({$0 < $40})
$before the40out. (someIntArray2.filter{$0 < 40})