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 ...

Get iOS Auto Layout Demystified, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.