MutableArrays losing its contents?
MutableArrays losing its contents?
- Subject: MutableArrays losing its contents?
- From: Lee Morgan <email@hidden>
- Date: Mon, 1 Dec 2003 02:08:36 -0500
NSMutableArray not keeping its contents?
I have a NSMutableArray that keeps a list of NSURL. The problem I have
is that even though the array is in my class's header its contents are
not retained from the method that they are added from.
What I'm trying to say is that I have a open file method that gets the
url and adds it to the array then another method that is setup to get
the url from the array and open it.
The problem I'm having is that even if I retain the array and the
objects within it it doesn't exists when the second method tries to
access it. I know its getting added to the array because I can use it
from the array while it is in the first method (the one that gets the
URL and puts it into the array).
Any help?
Lee Morgan
_______________________________________________
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.