With the introduction of Swift I\'ve been trying to get my head round the new language
I\'m an iOS developer and would use types such as NSString, NSInteger, N
NSString, NSInteger, N
Use the Swift native types whenever you can. In the case of String, however, you have "seamless" access to all the NSString methods like this:
NSString
var greeting = "Hello!" var len = (greeting as NSString).length