Re: NSAlias and RecentItems
Re: NSAlias and RecentItems
- Subject: Re: NSAlias and RecentItems
- From: Brian Webster <email@hidden>
- Date: Sun, 30 Dec 2001 10:27:02 -0600
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