Featured post

Difference between protocol and delegates?

A protocol, declared with the ( @protocol syntax in Objective-C) is used to declare a set of methods that a class "adopts" (de...

Thursday, 9 April 2015

What is unsafe_unretained in Objective C?

unsafe_unretained is an ownership qualifier that tells ARC how to insert retain/release calls
-unsafe_unretained is the ARC version of assign.

Example:
@property (nonatomic, unsafe_unretained) NSString *nickName;
@synthesize nickName; - 

No comments:

Post a Comment