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

Drawing text on the screen


There are two ways to display text on the screen. We can either use one of the iOS fonts (so-called system fonts) or we could try to create a more customized font that fits our needs better.

Displaying our first text field

We already drew some text on the screen utilizing the capabilities of SPButton when we added the dialog buttons. However, we are now going to draw some text on the screen for the dialog message.