7. Layout Solutions

The chapters that led up to this 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 ask about.

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 progress indicator, is positioned and sized using Auto Layout rules. You see an example of the playback indicator on the fourth row of the table. This design was built in code using ...

Get iOS Auto Layout Demystified now with the O’Reilly learning platform.

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