© Wallace Wang 2017

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

20. Designing a User Interface with Constraints

Wallace Wang

(1)San Diego, California, USA

A user interface lets people control a program, give a program data, and receive data back again. Since people can only interact with a program through its user interface, it’s crucial that the user interface is uncluttered and easy to understand.

When designing a program’s user interface, experiment with different designs. What may seem intuitive and simple for you to use may seem completely foreign and confusing to a novice.

To help you create and experiment with different user interface designs, Xcode makes it easy for you to drag and arrange items on ...

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

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