News for hackers. Stuff that matters.
Re:iOS Development Tips If You're Just starting Out by cageface on Wednesday January 16, 2013 @01:22AM (#5065622)
Agreed. If iOS actually had a sane declarative language like Android's xml layouts then I'd do everything in code but since layouts coded in Obj-C are excruciatingly painful to read and edit you're better off with a WYSIWYG tool, even if (IMO) WYSIWYG is fundamentally the wrong approach for UI development.

I actually consider this a big liability for Apple going forward. The explosion of "phablets" and other form factors spells the end of their pixel-perfect design approach and their tools and APIs for managing dynamic, variable layouts are stone age compared to Android's.

Re:iOS Development Tips If You're Just starting Out by Zev on Wednesday January 16, 2013 @01:35AM (#5065667)
Cocoa Auto Layouts are what you're looking for: https://developer.apple.com/library/mac/#documentation/UserE...
Re:iOS Development Tips If You're Just starting Out by cageface on Wednesday January 16, 2013 @01:43AM (#5065695)
They're better than nothing but compared to the html-esque layouts in Android they're much harder to write, read and debug.
Re:iOS Development Tips If You're Just starting Out by weiran on Wednesday January 16, 2013 @05:14AM (#5066179)
I would beg to differ. I much prefer to work with AutoLayout constraints rather than some custom XML layout like with Android or WP.
Re:iOS Development Tips If You're Just starting Out by cageface on Wednesday January 16, 2013 @05:18AM (#5066190)
YMMV but when the presenter of the WWDC AutoLayout track had to dig into Instruments to find out why his layout was throwing exceptions I felt like I was watching some kind of really nerdy April fools joke.