On Jul 16, 2008, at 6:08 PM, Mitchell Livingston wrote:

I have code that must know where a folder inside the Resources folder of the application is. This location must be updated whenever the app is moved to another location. Is there some sort of callback I can register to receive for this?

Sorry I got confused about what you were trying to say, but if you want a resource in your OWN application's bundle you can just use

[[NSBundle mainBundle]pathForResource:@"File" ofType:@"txt"];

and skip that thing I said about NSWorkspace.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to