Skip to Content
Swift OS X Programming for Absolute Beginners
book

Swift OS X Programming for Absolute Beginners

by Wallace Wang
August 2015
Beginner content levelBeginner
572 pages
12h 22m
English
Apress
Content preview from Swift OS X Programming for Absolute Beginners

Chapter    18

Using Alerts and Panels

With every program, you’ll need to design the unique features of your program while letting the Cocoa framework worry about making your program look and behave like a standard OS X program. Two common features of nearly every OS X program are alerts and panels.

An alert typically pops up on the screen to inform the user such as asking the user to verify the deletion of a file or to alert the user of a problem. A panel displays common user interface items such as a print panel that OS X programs typically display to give you options for printing, or an open panel for selecting a file.

By using alerts and panels, you can add common OS X user interface elements without having to create your own user interface ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Swift for Absolute Beginners

Swift for Absolute Beginners

Gary Bennett, Brad Lees

Publisher Resources

ISBN: 9781484212332Purchase book