© Wallace Wang 2017

Wallace Wang, macOS Programming for Absolute Beginners, 10.1007/978-1-4842-2662-9_26

26. Simplifying User Interface Design

Wallace Wang

(1)San Diego, California, USA

Designing a user interface can be challenging. Not only do you need to design a user interface that's easy to use, but you also need to design an adaptive user interface that can respond to any changes the user might make to a window's size. If the user shrinks a window, your user interface must shrink accordingly without cutting any items off. If the user enlarges a window, your user interface must expand accordingly to maintain a consistent appearance.

To help create adaptive user interfaces , Xcode provides constraints that fix the edges of various user interface ...

Get macOS Programming for Absolute Beginners: Developing Apps Using Swift and Xcode now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.