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: Sean McBride <email@hidden>
- Date: Thu, 28 Apr 2011 14:35:14 -0400
- Organization: Rogue Research Inc.
On Thu, 28 Apr 2011 14:05:46 -0400, Kevin Muldoon said:
>Still, the example code shows the following...
Update from git... I have cleaned it up a bit.
>The variable aFilePath passed into the function testCreatingAliasFileFor()
>is clearly the full path of the file I want an alias of.
Correct.
>The NSHomeDirectory() at fromPath is clearly the path to the users home
>directory.
Correct. And the point of this should be clearer after reading the
FSNewAlias() docs.
>The variable aliasFilePath (which should be renamed to something like
>aliasFileName)
Agreed; done.
>is the name of the alias file that writeToFile needs,
>apparently stringing fromPath of the method it's wrapped around.
I think Quincey is right, which is probably why the beginning of the
example calls and prints the result of getcwd().
--
____________________________________________________________
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