How to convert a project using XIBs to Storyboard?

15,043

The objects are grayed out because of autolayout. Xcode understands that your controllers are not belonging to the current autolayout type.

To make the objects active, select one by one, select the attributes editor (see picture) and at the end of it, see if there is a checked word installed checked out. If there is more items them, delete all them and keep/add only the installed one.

enter image description here

Share:
15,043
Arne
Author by

Arne

Coder, software architect, interest in computer science in general. Did research on computer graphics, ray tracing, radio wave and antenna simulation. Like to learn new programming languages. Currently doing Python and Emacs Lisp for fun. C++, JavaScript and Java for profit. Currently learning Clojure.

Updated on July 20, 2022

Comments

  • Arne
    Arne almost 2 years

    I have some complex XIB files in a project using TabBarViewControllers containing navigation controllers. Since Xcode 4.2 I cannot edit those XIB files usefully anymore: the contained view controllers are invisible, only represented as grey boxes. It seems that in Storyboard projects this is the default, and the next layer in the storyboard shows the details of the contained views / view controllers. So how can I switch my project to use a storyboard instead?