How to organize XIB files with many overlapping elements?
Posted
by alltom
on Stack Overflow
See other posts from Stack Overflow
or by alltom
Published on 2010-05-19T07:01:11Z
Indexed on
2010/05/19
9:20 UTC
Read the original article
Hit count: 242
I have some XIB files which are very difficult to edit because many of the subviews overlap each other completely. For example, if I position a popup volume slider where it will pop up, it covers some UILabels which become impossible to click. My only chance to be able to edit them is to double-click on them in the Document window tree, move them aside, edit, then move them back. Sometimes there are 3 or more widgets that occupy the same location in the XIB, even though only a few are visible at a time while the application is running.
How are conditionally-visible screen elements actually supposed to be organized?
I would like to be able to hide groups of views to reveal what's beneath them, but I don't see a way to do that in IB.
If I create UIViewControllers for every group, I can edit them in separate windows, but I can't see them in context, and I need a lot of view controllers...
© Stack Overflow or respective owner