ARC is a compiler-level feature that simplifies the process of managing the lifetimes of Objective-C objects. Instead of you having to remember when to retain or release an object, ARC evaluates the lifetime requirements of your objects and automatically inserts the appropriate method calls at compile time.
-
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...