1. Create a new project and loop through the main function until the app is closed.
2. Click on the project, create the storyboard file, and specify the first storyboard file in the info directory
3. Create a controller file.
The Binding keyword for the component and the OC object Iboutlet
Component-to-method binding keyword Ibaction
4. Open the storyboard. Click the lower left corner button to open the Panel Management page, and on the top right, enter the custom controller file to bind
5. Drag the component into the storyboard panel, right-click the View Controller button object, locate the corresponding event and component, and bind to the storyboard component
Run the program, enter the qq/password, click Login, print the log:
TIP:
The storyboard file is bound to the view CONTROLLER.
The VIEW controller contains the UIView property and is bound by its uiview with the components in the storyboard panel