On Aug 11, 2004, at 5:04 PM, Charles Yeomans wrote:
If you don't want to hard-code the path, use Core Foundation functions
to get a reference to the Resources folder. Here's how.
If you want quick and easy access to this or any other folder in your
bundle, check out my Core Foundation wrapper classes. The CFBundle
class allows you to get many different special folders, and also
includes methods like GetResourcesOfType, which returns an array of
FolderItems containing every item with a specific extension from your
Resources folder. Further, it automatically redirects to a Resources
folder next to your project when running in debug mode.
-Thomas
Personal web page:
<http://homepage.mac.com/thomasareed/>
My shareware:
<http://www.bitjuggler.com/>
Free REALbasic code:
<http://www.bitjuggler.com/extra/>
There are 10 kinds of people in the world -- those who understand binary
numbers and those who don't.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|