Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to create a new nib file in my empty iPhone application project in XCode.

I go to File -> New, after which XCode presents me with these options.

enter image description here

I tried selecting "Objective-C category" and then selecting "UINib."

enter image description here

However, doing so just created a .h and .m file instead of a .xib file. How do I create new nib (.xib) file in XCode 4.3?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Under iOS (in your first screenshot) select User Interface, from there you can select Empty to add a blank nib. There are also options there to create initial nibs for a View, Window, or Application.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.