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

adnanalvee2
adnanalvee2
6,862 Points

How do I manually write layout code in xcode 6?

Hello.

So I am making this app with around 20 labels in one view. I have sort of got a bit of control of the auto layout thing and its getting amazing.

But the problem is most of the labels out of 20, around 15 have almost the same constraints except their distance from the top item.

So I don't want to manually do that as it takes so much time, so how do I get to the back of Auto layout and manually copy paste layout code from others just like u do in Android.

I am doing this on Xcode 6.

Pasan Premaratne Amit Bijlani Ben Jakuben