Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Using Auto Layout in iOS

Which way should one go?

In the videos on iOS development with Objective-C the Interface Builder was used throughout and it seems one is going to write a lot of code to define a lot of constraints. My question is which method should one choose for UI and UX design when building real world apps

Is your question about how to design the layout of a real world app before you define constraints? I.e. how to make sure the design is good the first time so you don't have to redo a lot of work?

I mean which is faster and easier, using interface builder or auto layout

1 Answer

I'm not sure if I quite understand your question in terms of design style (both UI / UX) Apple gives some useful guidelines on the do's and dont's of designing an app: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/

It may also be worth looking into:

Size Classes Autolayout

There's also a way to make constraints in code without Interface Builder explained: https://teamtreehouse.com/library/using-auto-layout-in-ios-2

Hope that helps!