In the code below, I get the error message “The current deployment target does not support automated _weak references”,
when I downgrade the Project’s deployment Target from iOS 5.1 to 4.0.
Does this mean I cannot use Weak referenced iVar to build App for 4.0 deployment??
The code for weakness.h is below. Any ideas ??? Thanks!
@interface weakness : NSObject
__weak id myWeakVar;
@property(nonatomic, copy) NSString *someString;
@property(nonatomic, weak) id myWeakVar;
@synthesize myWeakVar, someString;