Re: Using Resource Files
Re: Using Resource Files
- Subject: Re: Using Resource Files
- From: Troy Dawson <email@hidden>
- Date: Sat, 6 Dec 2003 22:09:17 -0800
On Dec 6, 2003, at 9:26 PM, Tim Rupe wrote:
> Resources folder in my build, but my application can't see them. Is
> there a special path I should use in my program that will access the
> Resources folder of my application package
This is an AppKit/Foundation question more or less:
NSString* full_path = [[[NSBundle mainBundle] resourcePath]
stringByAppendingPathComponent: @"your_filename_here.img"];
NSData* data = [NSData dataWithContentsOfFile: full_path];
> Also, is there any real documentation for XCode? I've seen some
> tutorials on Apple's Developer site, but nothing that goes into very
> much detail (compiler settings, detailed project settings, etc..)
the help menu isn't totally useless.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.