Re: Why isn't this working???? (NSURL and files)
Re: Why isn't this working???? (NSURL and files)
- Subject: Re: Why isn't this working???? (NSURL and files)
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 1 Apr 2003 19:32:24 -0800
On Tuesday, April 1, 2003, at 06:35 PM, Francisco Tolmasky wrote:
I'm trying to work with NSURL, but for some reason it's not working.
WHen I convert from a string to an NSURL it isn't doing it or
something. Here is my code:
[...]
NSURL *typesFile= [NSURL URLWithString: [@"file://"
stringByAppendingString: str]];
Try this instead:
NSURL *typesFile = [NSURL URLWithString:[NSString
stringWithFormat:@"file://%@", str]];
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Building the future and keeping the past alive are one and the same
thing." - Metal Gear Solid 2
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.