Free from NS in Swift Programming

Many of the types are bridged to the Swift type like as (e.g., NSString being bridged to String).

Other Objective-C types are bridged to Swift are as follows :

 

 

Objective-C Swift
NSString String
NSArray Array
NSDictionary Dictionary
NSData Data
NSError Error (Added Swift 3 – Xcode 8 Beta 4)
NSNotificationCenter NotificationCenter

And more…


Discover more from mycodetips

Subscribe to get the latest posts sent to your email.

Discover more from mycodetips

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top