• 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: Quincey Morris <email@hidden>
  • Date: Thu, 28 Apr 2011 11:21:43 -0700

On Apr 28, 2011, at 11:05, Kevin Muldoon wrote:

> 	if( [[NDAlias aliasWithPath:aFilePath fromPath:NSHomeDirectory()] writeToFile:aliasFilePath] )

Yes, but this isn't what you did, or what you wanted. The sample code is intentionally putting the created alias file in the *current* directory, which is why 'aliasFilePath' specifies no explicit directory. You want to put it in a different place (the desktop), but you passed 'aliasName' instead of 'aliasFilePath' for that parameter.


_______________________________________________

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: Aliases with NDAlias not appearing where I tell them to be.
  • Next by Date: Re: iOS Version Install Base
  • 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