small medium large xlarge

OpenGL ES for Android; Core Data 2nd Ed.

January 30, 2013

“Mobile” is no longer the future, it’s the present.

Android is booming like never before, with millions of devices shipping every day. Create stunning 3D games and visuals on the Android platform using OpenGL ES for Android.

And over in the iOS world, Core Data is Apple’s recommended way to persist data: it’s easy to use, built-in, and integrated with iCloud. It’s intricate, powerful, and necessary—and Core Data, 2nd. Ed. is your guide to harnessing its power.

Edward Bransfield discovered Antarctica on this day in 1820. What are you going to do today?

OpenGL ES for Android: A Quick-Start Guide

This book will teach you everything you need to know to create compelling graphics on Android. You’ll learn the basics of OpenGL by building a simple game of air hockey, and along the way, you’ll see how to initialize OpenGL and program the graphics pipeline using shaders. Each lesson builds upon the one before it, as you add colors, shading, 3D projections, touch interaction, and more.

Then, you’ll find out how to turn your idea into a live wallpaper that can run on the home screen. You’ll learn about more advanced effects involving particles, lighting models, and the depth buffer. You’ll understand what to look for when debugging your program, and what to watch out for when deploying to the market.

OpenGL can be somewhat of a dark art to the uninitiated. As you read this book, you’ll learn each new concept from first principles. You won’t just learn about a feature; you’ll also understand how it works, and why it works the way it does. Everything you learn is forward-compatible with the just-released OpenGL ES 3, and you can even apply these techniques to other platforms, such as iOS or HTML5 WebGL.

Now available in beta from

Core Data: Data Storage and Management for iOS, OS X, and iCloud

Cocoa expert Marcus Zarra walks you through developing a full-featured application based around the Core Data APIs. You’ll build up a single application throughout the book, learning key Core Data principles such as NSPredicate, thread management, and memory management.

You’ll start with the basics of Core Data and learn how to use it to develop your application. Then you’ll delve deep into the details of the API. You’ll explore not only how to get Core Data integrated into your application properly, but even better, how to work with the API’s flexibility to create convenience methods to improve your application’s maintainability.

Learn how to reduce your number of mapping models, integrate your Core Data app with Spotlight and Quick Look, connect your application with sync services, and find out how to use Core Data in a multithreaded environment. By the end of the book, you’ll have built a full-featured application, gained a complete understanding of Core Data, and learned how to integrate your application into the iPhone/iPad platform.

This second edition updates all examples for OS X Mountain Lion and iOS 6, gets you up to speed on changes in multithreading, and provides new chapters covering iCloud and NSFetchedResultsController.

Now in print and shipping from

Q&A with author Marcus Zarra

Why is Core Data important? Why do developers need to know it?

Core Data is Apple’s recommended model management and persistence framework. By learning and using Core Data, you can save yourself a significant amount of development time on every application you build. In some cases, you can save as much as 30 percent of the application development time by using Core Data.

How has Core Data changed since the first edition of this book?

Starting with iOS 5.0 and Mac OS X 10.7, the majority of Core Data has remained remarkably consistent since the first release of this book. It has become even more friendly with threading. In addition, the framework has solved a few difficult issues that existed since its inception. However, our understanding of Core Data on iOS has grown significantly since its initial release. That increased understanding is included in this book.

What’s new in this edition?

Significant portions of the book have been rewritten with a new focus primarily on iOS, and secondarily on OS X. Since iOS has all of the features that are available on OS X, you can learn the entirety of Core Data through iOS. The portions of the book that focus solely on iOS are clearly marked.

What kind of background do readers need to get the most out of this book?

A reader interested in this book should be familiar with Objective-C and Cocoa. The book assumes you have a basic working knowledge of Objective-C and have developed one or more iOS/Mac OS X applications. It cannot be stressed enough that this book is written for developers at an intermediate level and could be quite difficult for a beginner to consume.

What kind of application do you build in this book, and what does Core Data add to it?

From the beginning of the book, we will develop a recipe iOS application and then refine it as our knowledge and understanding grows. Core Data is an integral part of the application that we develop and handles the management of the data structures as well as the persistence of the data. Without Core Data, we would need to write a significant amount of code to replace it.

What should readers expect to take away from the book?

A solid understanding of Core Data and how to use it in both future and existing applications. Once you become comfortable with Core Data, you won’t want to use any other persistence framework.

Now in print and shipping from

Don’t Get Left Out

Are your friends jealous that you get these spiffy email newsletters and they don’t? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

Are you following us on Twitter and/or Facebook? Here’s where you can find us and keep up with the latest news and commentary, and occasional discounts.

Coming Soon:

  • Practical Programming, 2nd Ed.
  • Java 8 Lambda Expressions: Refactoring from Imperative to Functional Style
  • TDD for C++ Programmers
  • 3D Game Programming for Kids
  • 101 Design Ingredients to Solve Big Tech Problems

Recently Released:

  • Good Math [in beta]
  • Working with TCP Sockets [now available]
  • The Definitive ANTLR 4 Reference [in print]
  • The Healthy Programmer [in beta]
  • Thanks for your continued support,

    Dave & Andy

    Books • eBooks • Screencasts • PragPub Magazine