1. Create a project and run the code cyclically through the main function until the application is closed.
2. Click the project, create a storyboard file, and specify the first storyboard file in the info directory.
<Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140618/2014061809012294.jpg" alt = "\">
3. Create a Controller file.
Key word IBOutlet for binding a component to an oc object
Key word IBAction bound to a component and a method
4. Open storyboard. click the button in the lower left corner to open the panel management page, and bind the custom Controller file in the upper right corner.
5. Drag the component to the storyboard panel, right-click the view controller button object, find the corresponding event and component, and bind it to the storyboard component.
Run the program, enter the qq/password, and click Login to print the log:
Bind Components