Retain/release objects in an array...
Retain/release objects in an array...
- Subject: Retain/release objects in an array...
- From: Jiva DeVoe <email@hidden>
- Date: Tue, 23 Jul 2002 22:27:54 -0700
I'm unclear... If I return an objectEnumerator from an array in one of my
functions... Should I autorelease it before returning it? And should I
retain it on the other end? Does an objectEnumerator count as an object?
Also, if I get an object via objectAtIndex, should I retain that as well?
_______________________________________________
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.