Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
- Subject: Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
- From: email@hidden (Stefan Haller)
- Date: Wed, 13 Jan 2010 16:38:55 +0100
rohan a <email@hidden> wrote:
> //NSURL *src = [NSURL URLWithString:@"file:///Alias_dir/aliastext"];
>
> NSURL *src = [NSURL URLWithString:Destination];
You want to use fileURLWithPath: instead of URLWithString:.
-Stefan
--
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden