NSCoder is an abstractClass which represents a stream of data. They are used in Archiving and Unarchiving objects. NSCoder objects are usually used in a method that is being implemented so that the class conforms to the protocol. (which has something like encodeObject and decodeObject methods in them).
-
Objective C Step 1) //Add below code in AppDelegate.h @property (retain, nonatomic) UIWindow *window; @property (nonatomic,retain) UI...
-
NSURLConnection is deprecated in OS X 10.11 and iOS 9.0 Advantage: NSURLSession also provides support for background downloads, ...
-
If you need to perform additional cleanup of your custom classes, it's possible to define a block called deinit. The syntax is the foll...