Remove interface builder from iPhone Project

Source: Internet
Author: User

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,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.