In Objective-C the code to check for a substring in an NSString is:
Objective-C
NSString
NSString *string = @\"hello Swift\"; NSRange textRange =[strin
Swift 3: Here you can see my smart search extension fro string that let you make a search on string for seeing if it contains, or maybe to filter a collection based on a search text.
https://github.com/magonicolas/Swift-Smart-String-Search