Article Preview
Buy Now
| PDF: |
Feature
Advanced Techniques
Bundling REALbasic applications
Issue: 1.2 (October/November 2002)
Author: Thomas Reed
Author Bio: Thomas Reed has been programming as a hobbyist for more than 20 years, and fell in love with the Mac in 1984.
Article Description: No description available.
Article Length (in bytes): 8,921
Starting Page Number: 30
RBD Number: 1114
Resource File(s):
1114.sit Updated: Friday, October 17, 2003 at 12:19 PM
Related Web Link(s):
http://developer.apple.com/macos/help.html
http://home.earthlink.net/~thomasareed/realbasic/
http://bundlemaker.forked.net/
http://developer.apple.com/techpubs/macosx/macosx.html
Known Limitations: None
Excerpt of article text...
Most people are familiar with the concept of the application, but the introduction of packages in Mac OS 9 and bundles in Mac OS X has changed their structure dramatically. Applications can now be "bundled" inside a folder, which then functions as if it were a single application file. The resulting encapsulation of application-related data provides users with a simpler interface and prevents them from accidentally losing files vital to the application.
This column will focus on converting REALbasic applications into simple bundles. It is not an all-encompassing look at bundles. First, you must understand the basic structure of a bundle. A bundle folder must always be constructed as follows:
MyProgram.app/
MyProgram *
Contents/
MacOS/
MyProgram
MacOSClassic/ *
MyProgram *
Info.plist
PkgInfo
Resources/
MyProgram.rsrc *
MyProgramApp.icns *
MyProgramDoc1.icns *
MyProgramDoc2.icns *
(* optional)
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.
|











