If you do not plan to use IB in a project, you can remove the entire IB part from the project. After following the steps below, your project will not use the ib nib file or obtain the default layout information of the UI, which means you will encode it yourself, supports windows, views, and other objects. Whether to use the UI is a matter of developers' preferences.
To delete IB, follow these steps:
- Open your new project, expand the resources folder in the project, and delete the files ending with. XIB.
- In the resources folder, modify the info. plist file.
- After you detach IB from your application, you can manually specify the name of the application proxy class. For example, if your project name is test_2, the proxy class name should be test_2appdelegate. Modify the main. M file in the Other Sources folder.
You can also remove the property and synthesize compilation commands in various classes. We are afraid that if you want to use them to use the IB template,