Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Alias Woes...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alias Woes...



On Tuesday, July 20, 2004, at 06:52 PM, Jerry LeVan wrote:

Is there a solution for aliases?

I had to figure this out a while ago. Apparently, unless it's changed with Panther, you have to use Carbon code found withing the CoreServices framework. (Alias files are old-time Mac OS.) I came up with a small but useful class called MDAliasWrapper. You can find example code here:

http://homepage.mac.com/mariox19/.cv/mariox19/Public/alias_demo.tar.gz- link.gz

I have a link within the code to Apple's documentation on the subject, but unfortunately that link has changed. Try searching Carbon docs for working with aliases.

In any case, you are free to use the class as is (BSD license). If you want to just glean code snippets from it for your own code, that's fine by me too.

Check out "main.m" for how to use the classes.

Mario

=======================================================
Mario Diana Mobile: 845-380-8428
50 Forest Drive Home: 845-221-3989
Poughquag, NY 12570 Email: email@hidden
=======================================================
Programmer - Web development, Java, XML, LAMP, Mac OS X
=======================================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Alias Woes... (From: Jerry LeVan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.