Book Image

Sparrow iOS Game Framework Beginner's Guide

By : Johannes Stein
Book Image

Sparrow iOS Game Framework Beginner's Guide

By: Johannes Stein

Overview of this book

Table of Contents (20 chapters)
Sparrow iOS Game Framework Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Afterword
Index

Adding custom events to the dialogs


Now that a dialog is on the screen, we would like to attach listeners to the dialog buttons themselves. While we can go for simply attaching touch events, Sparrow provides a way to define custom events.