To make it easy to create your own Xcode projects with Sparrow, the download package contains two projects that can serve as the starting point for your own games:
The Barebone project is the most lightweight way to set up Sparrow. It does only what is absolutely necessary: create an SPViewController
with Sparrow content. The rest is up to you.
Use this project for your first tests with the Sparrow Framework. It's super lightweight and does not contain any content that might confuse beginners.
The Scaffold project contains some more code that will help you get started, e.g. a Media class for easy access to your assets, method stubs for auto-rotation, etc. We will look at the project in more detail in a separate chapter.
Use that project as the basis for your actual game, as it saves you a lot of effort!
Whenever you start a new Sparrow project, choose an appropriate project from those two and follow these steps to use it as a basis for your game:
SPARROW_SRC
variable in Xcode, if it points to the right place and has no spaces in its path.That's it!
If you want to use Sparrow without ARC, you can do that, too. Just disable “Automatic Reference Counting” in the build settings of your project.
Next Section: The Barebone Project