In order to get going you need to first download the Sparrow package. The download package contains everything you’ll need: The source code, a demo project and a scaffold for your own games.
You can copy this package anywhere you want on your system. Just be sure to pick a place where it can stay constantly, because we will have to tell Xcode about its location, and you don't want to have to change that later.
As an alternative, you can get a copy of Sparrow directly off its GitHub repository, which can be found here. Use the following code to clone the repository:
git clone git://github.com/Gamua/Sparrow-Framework.git
As soon as you have downloaded the repository, a simple
git pull will upgrade to the latest version.
The package contains a sample application in the form of an Xcode project. Open the project (located in
samples/demo) and build it — everything should work out of the box. As a primer, we recommend you just have a look around; the Demo shows you how to accomplish the most common tasks.
The demo project was set up in a way that does not require any Xcode configuration. It references Sparrow via a relative path. When you create your own projects, however, you will want to be able to move them to any directory on your disk. To make this possible, you have to make some preparations in Xcode.
Next section: Setting up Xcode