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.
CarbonCocoaTempConverter
Last Revision: | Version 1.1, 2008-03-10 Updated to produce a universal binary. Added code and comments for clarification. (Full Revision History) |
Build Requirements: | Xcode 2.4 or higher, Mac OS X 10.4 and later |
Runtime Requirements: | Mac OS X 10.4 and later |
"CarbonCocoaTempConverter" illustrates how to integrate Carbon and Cocoa user interfaces or windows in the same Cocoa application. Both windows are used to convert Fahrenheit values to Celsius.
This sample launches both Carbon and Cocoa windows. Enter a value in the Fahrenheit text field in either window, then click the "Convert" button to get and display a Celsius value.
Copyright © 2008 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2008-03-10