Re: Retain
Re: Retain
- Subject: Re: Retain
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 24 Oct 2008 16:39:57 +0200
All answers you need are in this guide:
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Concepts/ObjectOwnership.html
Le 24 oct. 08 à 07:24, Ron Green a écrit :
If I call NSString w = [NSString stringWithFormat:@"something %i", x];
Am I now suppose to call retain on w?
When I'm done I know I'm suppose to release w.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
References: | |
| >Retain (From: Ron Green <email@hidden>) |