Calling NSString method on a String in Swift
After doing some research, it looks like containsString is not a String function, but can be accessed by bridging to an NSString. Under Apple’s Documentation on Using Swift with Cocoa and Objective-C, it says that Swift automatically bridges between the String type and the NSString class. This means that anywhere you use an NSString object, … Read more