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.
SimpleCocoaApp
Last Revision: | |
Build Requirements: | Xcode 4.3, Mac OS X 10.7 |
Runtime Requirements: | Mac OS X 10.5.x or later |
A basic Cocoa application for beginners to Cocoa and Objective-C. This application displays different "Hello Cocoa" dialogs to the user based upon radio-button and PopUp menu selections. The user can change which hello message is sent by selecting a different radio button. The user can change which Hello object receives the message by changing the PopUp menu selection. The dynamic nature of the Objective-C runtime and the power of Cocoa help make this "on-the-fly" code-path execution possible and the GUI easy to program.
Copyright © 2012 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2012-03-20