O'Reilly logo

iOS Auto Layout Demystified, Second Edition by Erica Sadun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. Layout Solutions

The previous chapters in this book have focused on know-how and philosophy. This chapter introduces solutions. You’ll read about a variety of real-world challenges and how Auto Layout provides practical answers for day-to-day development work. The topics are a grab bag, showcasing requests developers commonly make.

Table Cells

Despite rumors to the contrary, Auto Layout isn’t the enemy of table cells. Figure 7-1 shows an application built around a constraint-based table. Each cell item, including the track title, album art, price button, and playback indicator, is positioned and sized using Auto Layout rules. You see an example of the playback indicator on the fourth row of the table. The cell layout design was built in code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required