• 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: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !


  • Subject: Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 14 Jan 2010 15:49:25 -0500
  • Organization: Rogue Research Inc.

On 1/14/10 9:56 AM, rohan a said:

>Should I then use kCFStringEncodingUTF8 in this case ?

With NDAlias your function would look like:

int CreateAlias(const char *target, const char *aliasname)
{
 NSString* path = [NSFileManager stringWithFileSystemRepresentation:target
  length:strlen(target)];

 NDAlias* alias = [NDAlias aliasWithPath:path];
}

--
____________________________________________________________
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: 
 >Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 ! (From: "Sean McBride" <email@hidden>)
 >Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 ! (From: rohan a <email@hidden>)
 >Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 ! (From: Kyle Sluder <email@hidden>)
 >Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 ! (From: rohan a <email@hidden>)

  • Prev by Date: Re: Cancelable NSBlockOperations
  • Next by Date: Re: NSDocument
  • Previous by thread: Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
  • Next by thread: set the label for the left hand expression / popup in an NSPredicateEditorRowTemplate?
  • Index(es):
    • Date
    • Thread