• 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: Wed, 27 Apr 2011 12:09:39 -0700

On Apr 27, 2011, at 11:40, Kevin Muldoon wrote:

> 	NSString *aliasName			=		@"ANewAliasTo_myFile.png";
...
> 2011-04-27 14:32:46.263 NDAliasesURLProject[3514:10b] And placed the alias here...
> 	 /Users/kevin/Desktop/ANewAliasToMyFile.png

This isn't your code. Look at the alias file name in the log and the file name in your code. That's probably not relevant to your problem, but posting log output is an implicit claim that it comes from the posted code.

> Everything in the code looks right ...

This surely looks wrong:

> 	if( [[NDAlias aliasWithPath:filePath fromPath:aliasDirectory]  writeToFile:aliasName] ) {

That doesn't seem like a sensible value for 'fromPath', and I don't see NDAlias having a documented 'writeToFile' method at all, and (even if it did) shouldn't you be specifying 'aliasPath', not 'aliasName'?


_______________________________________________

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

  • Follow-Ups:
    • 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: Kevin Muldoon <email@hidden>
References: 
 >Aliases with NDAlias not appearing where I tell them to be. (From: Kevin Muldoon <email@hidden>)

  • Prev by Date: Re: How to detect string encoding before reading a file in NSString?
  • Next by Date: Re: Aliases with NDAlias not appearing where I tell them to be.
  • Previous by thread: 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