On 27/10/2010, at 6:06 PM, G S wrote:

> NSString* test = [[theApp fileManager]


What is [theApp fileManager]?

The usual idiom is [NSFileManager defaultManager]

Try breaking the line apart and see what this part returns. If it's nil, then 
the result will be nil, and the conclusion will be that you don't have a valid 
file manager object, not that it isn't doing the right thing with the string.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to