Static cells appear empty in Interface Builder (Xcode 7.1 works)

I am running Xcode 7.1 on OS 10.11.1. I have several table views with static cells. For cells that are smaller than the size for the view controller, data (labels, text fields, etc.) of the Static cells are not displayed. Static cells will not display saved data. If I scroll or do anything else, the static cells are empty.

I still see static cells when I run the simulator, I just can't edit cells in the interface builder.

Has anyone found a workaround for this problem?

+6
source share
1 answer

Finally I found a workaround, as this is still happening in Xcode 7.2 Beta: In the interface builder, select "View Controller" and set its size to "Freeform" in the attribute inspector, then switch to the size inspector and set the height that matches all the content.

To be honest, this is better than scrolling. Suppose this becomes my default setting for static table views in IB. :)

screenshot

+7
source

All Articles