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.
Cocoa_With_Carbon_or_CPP
Last Revision: | |
Build Requirements: | Xcode 3.2, Mac OS X 10.6 Snow Leopard or later |
Runtime Requirements: | Mac OS X 10.6 Snow Leopard or later |
Cocoa_With_Carbon_or_C++ is sample code that shows how to call Carbon routines and C++ code from within an Objective-C Cocoa program. The sample displays a window within which, depending upon the radio button selected, clicking the "Say Hello to the World" button will call functions that use Objective-C, C++, or Carbon respectively.
Copyright © 2011 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2011-08-05