Changes

Jump to: navigation, search

Creating an Interactive iOS 4 iPhone App (Xcode 4)

30 bytes added, 17:59, 31 March 2011
Connecting the Actions and Outlets to the User Interface
With this in mind, select the UnitViewController.xib file to load the user interface into Interface Builder. We will begin by connecting the IBOutlet instance variables we created in our view controller class to the label and text field objects respectively. Located in the narrow panel to the left of the graphical view of the user interface are three icons. Clicking on the small square with the black triangle at the bottom of this panel will expand the panel to provide more detail:
<google>ADSDAQBOX_FLOW</google>
[[Image:xcode_4_placeholders.jpg|The File's Owner and other objects in Xcode 4]]
Releasing the mouse button over the File’s Owner icon will display a menu with a list of methods available in the view controller class. In our case the only method is convertTemp so select that method to initiate the connection. The event listing in the Connections dialog will subsequently update to reflect the new connection.
== Building and Running the Finished Application ==

Navigation menu