[newbie] path to file in resources
[newbie] path to file in resources
- Subject: [newbie] path to file in resources
- From: simone gabbriellini <email@hidden>
- Date: Fri, 18 Mar 2005 20:28:37 +0100
Hello List,
I need a simple hint... I have to access some files I add in the Resources folder of my project. Those files will be copied into my .app package into Contents/Resources/myFile.html
How can I access those file with my code (the file I'm talking about is an HTML file I have to load in a webView at startup)?
I'm using this:
[[webInspector mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"/Contents/Resources/index.html"]]];
But it doesn't work , cause it doesn't find the file :(
Cheers,
simone
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden