Hi,
Sorry about this cross-post, but the obj-c language list seems sort of
dead.
If I have a property:
@property( retain ) NSString *blah ;
and in my code I assign it:
myObj.blah = @"woot!" ;
and then I want to reassign it, do I have to release it?
[myObj.blah release] ;
myObj.blah = @"new woot!" ;
or does the new assignment automatically release the retain? How about
for
@property( copy ) NSString *blah ;
Do I have to release the copy?
Thanks,
Mike
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]