Re: NSBundle getting location of file in bundle

2008-06-05 Thread David Wilson
On Thu, Jun 5, 2008 at 10:37 PM, Mark Bateman <[EMAIL PROTECTED]> wrote: > I'm now trying to use NSBundle to insert the resource location string for a > webview. I'm using locally stored content inside the app bundle. I tried > using: > > NSMutableString *url; > url = [NSBundle pathForResource: @"

Re: NSBundle getting location of file in bundle

2008-06-05 Thread Michael Vannorsdel
Try using NSURL's fileURLWithPath:, you won't need to preappend "file://". On Jun 5, 2008, at 8:37 PM, Mark Bateman wrote: I'm currently hardcoding the file location just for debugging my app. It works great. I'm now trying to use NSBundle to insert the resource location string for a w