Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
SpellingChecker CarbonCocoa Bundled
Last Revision: | Version 1.0, 2004-08-17 How to load and call a Cocoa bundle from a Carbon CFM or Mach-O application |
Build Requirements: | Xcode |
Runtime Requirements: | Mac OS X 10.1 |
SpellCheck.pbproj implements a procedural C wrapper around the Cocoa NSSpellChecker and exports it as a Mach-O bundle called "SpellCheck.bundle".
The client Carbon application SpellingChecker contains SpellCheck.bundle within its bundles "Frameworks" directory and use the CFBundle APIs to access SpellCheck.bundle.
The SpellingChecker carbon application must be therefore be bundled, but can be either CFM or Mach-O.
Copyright © 2004 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2004-08-17