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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to