• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Aliases with NDAlias not appearing where I tell them to be.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Aliases with NDAlias not appearing where I tell them to be. (From: Kevin Muldoon <email@hidden>)
 >Re: Aliases with NDAlias not appearing where I tell them to be. (From: Quincey Morris <email@hidden>)
 >Re: Aliases with NDAlias not appearing where I tell them to be. (From: Peter Lübke <email@hidden>)
 >Re: Aliases with NDAlias not appearing where I tell them to be. (From: Sean McBride <email@hidden>)
 >Re: Aliases with NDAlias not appearing where I tell them to be. (From: Kevin Muldoon <email@hidden>)
 >Re: Aliases with NDAlias not appearing where I tell them to be. (From: Sean McBride <email@hidden>)
 >Re: Aliases with NDAlias not appearing where I tell them to be. (From: Kevin Muldoon <email@hidden>)

  • Prev by Date: Re: iOS Version Install Base
  • Next by Date: Re: Aliases with NDAlias not appearing where I tell them to be.
  • Previous by thread: Re: Aliases with NDAlias not appearing where I tell them to be.
  • Next by thread: Re: Aliases with NDAlias not appearing where I tell them to be.
  • Index(es):
    • Date
    • Thread