Understanding of Storyboard File
- Used to describe the software interface
- By default, Main.storyboard is loaded when the program starts
- When loading storyboard, the controller interface that the arrows refer to is created and displayed first
Ibaction and Iboutlet
- Ibaction: The essence is void, can make the method has the function of the connection
- Iboutlet: Ability to connect attributes
The problem of the storyboard connection is easy to appear
- The method code of the connection was deleted, but the wire was not removed.
- May occur method cannot find error
- Unrecognized selector sent to instance
- The property code of the connection was deleted, but the wire was not removed.
- Setvalue:forundefinedkey:] This class was not key value coding-compliant for the key
Understanding of Uiviewcontroller (Controller)
- A controller is responsible for managing a large interface
- The controller is responsible for interface creation, event handling, etc.
Class extension
- Role
- Add additional property and method declarations for a class
- can be written in. h and. m files
Project Properties
- Product Name
- Software name, product name, project name
- Organization Name
- Company name, organization name
- Organization Identifier
- The company's unique identity
- The company's domain name is generally anti-write, such as Com.lz
- Bundle Identifier
- Unique identification of the software
- Typically organization Identifier + Product Name
UI Basics-Initial iOS development