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 s...@rogue-research.com > Rogue Research www.rogue-research.com > Mac Software Developer Montréal, Québec, Canada > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/caoimghgin%40gmail.com > > This email sent to caoimgh...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com