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: Get folder (not file), then read all files from folder?




On Apr 29, 2008, at 4:35 PM, kwiley wrote:


On Apr 24, 2008, at 1:45 PM, Laurence Harris wrote:


On Apr 24, 2008, at 3:50 PM, Keith Wiley wrote:

I know how to use NavCreateChooseFolderDialog to get a folder and then, with some finangling, construct the generic FSSpec of a file in that that folder.

FSSpecs have been deprecated for a long time. You should be working with FSRefs at this point.


I don't even know how to get started updating my file-handling skills. Do FSRefs work with the Nav routines, which seem to operate on FSSpecs,

FSRefs have been supported by Nav Services since they were introduced in Mac OS 9.1 or 9.2.


or do I have to use a completely different set of routines for presenting file opening/saving dialogs?

Is this where I should be looking?

http://developer.apple.com/documentation/Carbon/Conceptual/ ProvidingNavigationDialogs/nsx_tasks/chapter_3_section_1.html

It's all Nav stuff, FSSpecs and such. The webpages don't have the yellow deprecated message that some documentation pages have.

I just don't even know where to start with this.  If I got here:

http://developer.apple.com/documentation/Carbon/

and select File Management, I don't see a single over-arching "here's how to start learning the new nondeprecated methods" documentation. What I do see, third in the list, is the link to the Nav routines, without a deprecation message, which teaches file management using FSSpecs, as I showed above.

Apple's Carbon documentation has always been terrible (some bits are very good, but there's pathetically little of it, and no really good comprehensive documentation for someone "getting started"), and with Carbon officially put on the path to obsolescence, it would be naive to think that will change.


Larry

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Get folder (not file), then read all files from folder? (From: Keith Wiley <email@hidden>)
 >Re: Get folder (not file), then read all files from folder? (From: Laurence Harris <email@hidden>)
 >Re: Get folder (not file), then read all files from folder? (From: kwiley <email@hidden>)



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.