Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create an iOS project with a XIB in Xcode 6?

I'm trying to create a project in Objective-C language without storyboard with Xcode 6 Beta 5. I have tried and created a empty project but it didn't work as Xcode 5.

I have read this topic How to create project without story board in Xcode 6 - Swift but it didn't help me.

like image 260
CAN Avatar asked Aug 15 '14 12:08

CAN


People also ask

What is XIB file in Xcode?

xib files created in Xcode's Interface Builder to create and maintain user interfaces for a Xamarin. Mac application. Note. The preferred way to create a user interface for a Xamarin. Mac app is with storyboards.

Which is better XIB or storyboard?

It is not to tell which one is the best. because which one is good to tell based on team requirement. If you are a single developer, it is good to use storyboard because it consumes less time. If the team consists of many developers, use xib, otherwise, it is not easy to merge the modules/tasks.


1 Answers

What do you mean it didn't work as Xcode 5? You can create empty project without storyboard and then add your own class with XIB like in Xcode 5: File -> New -> File -> Cocoa Touch Class -> Set "Subclass of:" as (for example) UIViewController and check "Also create XIB file".

like image 161
Alexander Avatar answered Nov 15 '22 22:11

Alexander