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                 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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to