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 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, 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.

Help.

Thanks.

________________________________________________________________________
Keith Wiley    email@hidden   http://www.cs.unm.edu/~kwiley

"Never underestimate a computer program's ability to enter a loop that
counts to a quadrillion.  Furthermore, never underestimate a
programmer's ability to accidentally put a print out statement inside
that loop."
                                           --  Keith Wiley
________________________________________________________________________




_______________________________________________ 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>)



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.