You’re going to learn Objective-C in this chapter! As per the hands-on nature of this book, you’ll be learning on the job, building an object-oriented blackjack game that implements the MVC (Model-View-Controller) paradigm.
The aim here is to get familiar with the structure and syntax of Objective-C: how to create classes; the syntax of methods; pointers and primitives—and a whole lot more.
We’re going to build a simplified version of blackjack, so there are a few caveats:
- Players will have just two options during gameplay: Stand or Hit.
- There’ll be no betting (sorry!). ...