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.