Subject: Re: Aliases with NDAlias not appearing where I
tell them to be.

On Wed, 27 Apr 2011 23:13:07 +0200, Peter Lübke said:

>Am 27.04.2011 um 21:09 schrieb Quincey Morris:
>> ..., and I don't see NDAlias having a documented 'writeToFile'
>> method at all, and (even if it did) ...
>It actually does, as I just found out looking at Nathan Day's homepage:

But don't use that code. The newest is here:

On Wed, 27 Apr 2011 15:26:35 -0400, Kevin Muldoon said:

>You mean like so...
>NSArray * paths = NSSearchPathForDirectoriesInDomains
>(NSDesktopDirectory, NSUserDomainMask, YES);
>NSString * desktop_path = [paths objectAtIndex:0];

Better still, if you can require 10.6+ is to use URLs and not paths, in
which case you'd use URLForDirectory:inDomain:appropriateForURL:create:error:.

Kevin, are you trying to create an alias record or an alias file?

Sean McBride, B. Eng sean@xxxxxxxxxxxxxxxxxx
Rogue Research
Mac Software Developer Montréal, Québec, Canada


Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)

Help/Unsubscribe/Update your Subscription:
This email sent to maillists@xxxxxxxxx