• 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: Kevin Muldoon <email@hidden>
  • Date: Fri, 29 Apr 2011 12:31:07 -0400

Much thanks for the information everyone. Invaluable stuff, and I finally
have the behavior I was looking for.

I'm still fuzzy on the real function of 'fromPath:'. It's equiv in
FSNewAlias() appears to be fromFile which is defined as 'A pointer to the
starting point for a relative search...' and could be given a NULL value (at
least in fromFile). Of course my fuzziness on 'relative search' may stem
from my complete non-understanding of 'alias records'. It's all quite
overwhelming really.

@Sean -- My suggestion to change the var name 'aliasFilePath' to
'aliasFileName' stemmed from not 'grokking' that a path COULD go there. I
even think it SHOULD go there. I may recommend changing it back to it's
original name and for clarity sake, perhaps building an explicit path to the
alias much as is done with the path to the file it points to [
kDirOfTestProject stringByAppendingPathComponent:kTestFileName].

On the other hand, since I appear to be the only person in the world who was
confused, please take that suggestion with a 20lb grain of salt.

Alright. Back to the salt mines.

On Thu, Apr 28, 2011 at 2:48 PM, Sean McBride <email@hidden>wrote:

> On Thu, 28 Apr 2011 14:05:46 -0400, Kevin Muldoon said:
>
> >[[NSWorkspace sharedWorkspace] selectFile:aliasFilePath
> >inFileViewerRootedAtPath:@""];
>
> This was wrong though, as 'aliasFilePath' was not a full path.  I've
> fixed that in git.
>
> --
> ____________________________________________________________
> 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

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

  • Prev by Date: Re: cpp class keywotd
  • Next by Date: Arbitrary Shaped Windows
  • 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