Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlias and RecentItems



On Sunday, December 30, 2001, at 12:11 AM, cocoa-dev-
email@hidden wrote:

A lot of Doc based Cocoa apps have the handy Recent Items menu item.
The recent items are stored in the preference plist of the app with the
key being NSRecentDocumentRecords. This is a simple array of
dictionaries which contains two data types; _NSLocator and _NSAlias.

I have looked in the docs and examples and have found no reference to
either of these. Does anyone know where I can find info on these or
info about how _NSAlias stores it's data?

My guess is that the _NSAlias data is just a Carbon alias record. I remember someone posted a small Objective-C wrapper for aliases on this list and/or the Omnigroup list a few months back, so you could probably do a search for it if you want to use aliases easily from your Cocoa app.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster




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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.