1. Class Name
All class names and interface names (Protocol) start with an uppercase letter. When multiple words are combined, the following words are written in uppercase.
View. All classes extended from uiview end with view, such as labelview and gridview.
Viewcontroller. All classes extended from uiviewcontroller are viewcontroller lines, such as homepageviewcontroler and loginviewcontroller.
Model: All object classes that store data end with model, such as usermodel. The user saves all user-related information, such as name and gender.
2. variable name
The member variables in the class start with lowercase letters. When multiple words are combined, the following words are written in uppercase.
For example, username, userage...
3. Method Name
The method name starts with a lowercase letter. When multiple words are combined, the following words are written in uppercase.
For example, doaction, fetchuser...
4. project resource files and other files
Do not name any file in Chinese.
5. Place images and other resource files in separate directories and groups, such as images.