News for hackers. Stuff that matters.
Re:Why most mobile development projects fail by charlesdm on Wednesday May 04, 2016 @12:34PM (#11629527)
If you're not using interface builder as a developer, you're wasting a huge amount of time. Doing advanced screens (mostly) through code makes sense, but often it's a lot faster to use IB for putting together / building the more basic parts of an app.
Re:Why most mobile development projects fail by e28eta on Wednesday May 04, 2016 @01:28PM (#11629961)
I totally agree. I wanted to expand a little on basic vs advanced screens, and suitability for IB.

At work we had two teams who had very different opinions of IB's usefulness. In our case, it was based on the nature of each application. IB does not provide much value when the majority of the screen is dynamically determined: different elements based on user preferences, locale, document contents, etc. The team that disliked IB, their app was almost all dynamic (and lists/tables, whose cells were also fairly dynamic).

Our team, on the other hand, had a very static UI. It had very little runtime customization (other than the contents of labels, images, etc). We loved IB.

And then child ViewControllers came along, and made it easier to mix static/dynamic content on the same screen.

I haven't used UIStackView yet, but I suspect it also will help with screens that contain dynamic content.

Re:Why most mobile development projects fail by CookieCats on Wednesday May 04, 2016 @05:40PM (#11632119)
This is a good point. I've been dealing almost exclusively with highly dynamic UIs, and that's almost certainly skewed my perception of IB's usefulness.
Re:Why most mobile development projects fail by wingerlang on Thursday May 05, 2016 @04:03AM (#11634593)
We built our designs on a modular approach where each element is contained in a tableview cell, so that part is done by code. The cells themselves make use of Auto Layout though.

While I absolutely hated AL at first (and the IB just plain sucks) I do find it very time-saving once it clicked.

Re:Why most mobile development projects fail by duaneb on Wednesday May 04, 2016 @01:03PM (#11629737)
How do you code review?
Re:Why most mobile development projects fail by e28eta on Wednesday May 04, 2016 @01:14PM (#11629835)
For small to medium changes, by reading the XML. Everything is named sanely, and the XML hierarchy matches the view hierarchy. Constraints can be a little hard to understand, because they use opaque identifiers, but it's possible. I'll occasionally have to open the storyboard/NIB in Interface Builder to confirm/disprove something.

For large changes, it can be unmanageable. But large changes are hard to code review anyway, so we try to avoid those.