Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can not create an iPhone xib file with Xcode 6

Tags:

The checkbox to create a .xib file in Xcode 6 seems to be disabled. I can not find any way to enable it again. Does anybody know if this is possible?

like image 786
csciXAV_12 Avatar asked Dec 22 '14 04:12

csciXAV_12


2 Answers

Make sure you didn't accidentally select the OS X Cocoa Class file type instead of iOS Cocoa Touch Class.

Incorrect:

Screenshot of creating an OS X Cocoa Class

Correct:

Screenshot of creating an iOS Cocoa Touch Class

like image 147
Mike Akers Avatar answered Sep 28 '22 00:09

Mike Akers


FYI, you can create xib file by follow.

enter image description here

like image 37
Zigii Wong Avatar answered Sep 28 '22 01:09

Zigii Wong