I recently downloaded the Advanced NSOperations sample app from Apple and found this code...
// Operators to use in the switch statement. pr
You can look into Define Swift
func ~=(pattern: I, value: I.Bound) -> Bool func ~=(lhs: _OptionalNilComparisonType, rhs: T?) -> Bool func ~=(a: T, b: T) -> Bool func ~=(pattern: Range, value: I) -> Bool