Re: reassignment using convenience methods
Re: reassignment using convenience methods
- Subject: Re: reassignment using convenience methods
- From: Robert Borsuk <email@hidden>
- Date: Sun, 5 Oct 2003 22:31:25 -0400
Thank you both Alex and Jonathan. I've been working hard on making
sure my memory management is okay.
Rob
On Sunday, October 5, 2003, at 10:15 PM, Alex Lock wrote:
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.
Rob Borsuk
email: email@hidden
Colourfull Creations
Web:
http://www.colourfull.com
_______________________________________________
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.