Sunday, September 26, 2010

Programming for iPhone

  1. The work of handling various buttons and labels in a Window-based application gets delegated to a class called project-nameAppDelegate. In this class methods should be defined to respond to actions that take place in the iPhone's window, such as the pressing of a button or the movement of a slider. This class will also have instance variables whose values correspond to some control in the iPhone's window, such as the name of a label or the text displayed in an edible text box. These variables are called outlets, and like the action routines, in Interface Builder, those instance variables have to be connected to the actual control in the iPhone's window.

No comments:

Post a Comment