realbasic-nug
[Top] [All Lists]

Re: OS X Package question

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: OS X Package question
From: Thomas Reed <tareed at bitjuggler dot com>
Date: Thu, 12 Aug 2004 09:45:46 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <r02010200-1034-90BC42B1EBD411D88E940003934C8302 at [192 dot 168 dot 1 dot 6]> <04EA3974-EBDA-11D8-94B7-000A957CB4CC at desuetude dot com>
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>

<Prev in Thread] Current Thread [Next in Thread>