Re: reassignment using convenience methods
Re: reassignment using convenience methods
- Subject: Re: reassignment using convenience methods
- From: Alex Lock <email@hidden>
- Date: Sun, 5 Oct 2003 22:15:04 -0400
On Sunday, October 5, 2003, at 09:38 PM, Robert Borsuk wrote:
Is reassigning via convenience methods , in the same method, okay?
Thanks
Rob
That's fine.
Objects created with convenience methods are (mostly) autoreleased...
as long as you don't plan to keep any of the data outside the scope of
the current method, you should be golden as the "spare" NSString will
just be dealloc'ed automatically when the autorelease pool fires.
Alex <email@hidden>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.