Re: Storing bundle loaded main class instances in NSArray
Re: Storing bundle loaded main class instances in NSArray
- Subject: Re: Storing bundle loaded main class instances in NSArray
- From: Graham Cox <email@hidden>
- Date: Thu, 9 Apr 2009 10:38:36 +1000
On 09/04/2009, at 2:13 AM, Daniel Luis dos Santos wrote:
I expect a file manager and it tells me that it does not respond to
fileExistsAtPath
No you don't.
According to your original post, you are complaining that calling -
addObject on _instances throws this error. So does _instances point to
NSFileManager or an array, as the code implies?
You're confused, so the rest of us have no chance.
Regarding your comments about autorelease pools, sounds like you're
relying on some assumed behaviour that is not stated anywhere in any
documentation. Don't do that, you're just creating problems that don't
need to be there. What about the autorelease pools created around the
main event loop for example?
--Graham
_______________________________________________
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