AppsLifestyleNewsSoftwareTechnology

Removing Interface Builder from a Project

If you don’t plan on using Interface Builder in a particular project, you can remove support for it entirely from the project. Instructions to accomplish this follow. After following these steps, your project will no longer use Interface Builder NIB files to obtain any of its information about the default layout of your UIs. This means you’ll need to code in support for windows, views, and other objects yourself. The next chapter will guide you through these objects. You’ll still be able to instantiate views from NIB files using the NIB-specific initialization methods you’ll learn.

Developer

Interface Builder is a matter of personal preference. Many developers like it because it allows them to create UIs in a WYSIWYG environment. Others find it cumbersome, and prefer having all of their UI objects clearly defined in their source code. Some aspects of Interface Builder have been reportedly buggy, so you’ll want to know how to create certain objects if you run into problems.

Resources folder

Open your new window-based application and expand the Resources folder in the project. You’ll then see one or more files with a .xib extension, such as. Right-click each file and select Delete from the pop-up menu. This will delete all Interface Builder templates from the project.

Concluding remark

Within the Resources folder, you’ll also see a file named Info. List. Click this file to open it. A property list window will open containing information about your application. At the bottom, you’ll see a property key named Main nib file base name. Click on this property and press the delete key to delete it from your project, then save your changes. This causes your application to load without requiring an Interface Builder file.Read more about Tamilmv

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also
Close
Back to top button