dealloc properties with assign and readwrite objective-c
- by okami
I have this structure:
@interface MyList : NSObject {
NSString* operation;
NSString* link;
}
@property (readwrite) NSString* operation;
@property (readwrite, assign) NSString* link;
@end
@implementation MyList
@synthesize operation,link;
@end
I know that if I had retain instead of readwrite I should release the operation and link properties.
BUT should I release the operation and link with the code above?