Re: Aliases with NDAlias not appearing where I tell them to be.
Re: Aliases with NDAlias not appearing where I tell them to be.
- Subject: Re: Aliases with NDAlias not appearing where I tell them to be.
- From: Kevin Muldoon <email@hidden>
- Date: Wed, 27 Apr 2011 18:17:21 -0400
Hey Sean,
Alias file! Just like one created when we option-drag files from one directory to another in the Finder. Yeah, I'd love to require 10.6 but not a fit for our environment. Honestly, I'm perplexed this feature hasn't already been packaged into the standard obj-c libraries until just now.
On Apr 27, 2011, at 5:27 PM, Sean McBride wrote:
> 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:
>> http://homepage.mac.com/nathan_day/pages/source.xml
>
> But don't use that code. The newest is here:
> <https://github.com/nathanday/ndalias>
>
>
>
> 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 email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden