Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=haller-berlin.de; s=mail_2009081900; h=Date:Message-ID:From:Subject:In-Reply-To:To; bh=T3m6aSxMDinikxpfIkFP2/3Ci/V5uI4DsWP1dMUzTho=; b=LWZJpWXhUWZAHl1Mn21ezvlzibgPoaDLBg0lNOkHZSfJpcYOhwNGNhN8S3KqnF0cksSmPvmvw7Hnf+vztkPH5RVJOsTYUwT57zVOQG6NsP/yDdbix6ZV5l4mqfnWtDuMamG/IX8/seaMlWrV4UHcBZJ/cRjRyHx76NkyPtwEaRE=; User-agent: MacSOUP/2.8.3 (Mac OS X version 10.6.2 (x86)) rohan a <info1686@gmail.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
lists@haller-berlin.de