Designing the iPhone interface in a nib or in code?

后端 未结 4 1824
孤独总比滥情好
孤独总比滥情好 2020-12-31 05:24

I\'ve been pondering over this question for a while now...

On the one hand, Interface Builder offers a really easy way to design the interface and wire the elements

4条回答
  •  清酒与你
    2020-12-31 06:04

    Interface builder is great for a certain level of complexity. For things more or less complex, I would rather do it in code.

    If you have an interface that will not be used in more than one way, has several but not lots of elements, and does not need any tricky layout, than IB is great.

    In the long run, I almost never use IB. That is as much the nature of the projects I work on as personal preference. There are definitely some interfaces that I would head straight to IB for, but I have not needed to create one of those in a while.

提交回复
热议问题