rayh/xcoder — pull request #3 by burtlo (2012-02-11 23:56:46+00:00)
Title: Create Targets, Configurations, Build Phases, etc.

This is the follow up work to the first commit that now grants the ability to create everything from a target all the way down to a file. I included three examples in the `spec/integration` folder which will install:

* Source with no additional requirements
* Source with a System Framework
* New Target, with source, and a custom Framework

Some other additions, changes:

* To make things more Ruby, I have underscored all the property names so things like `BuildConfigurationList` becomes `build_configuration_list`.
* A large number of methods that were prefixed with `add` are now prefixed with `create`
* Moved the unique identifier code out of the Registry into a trivial class to handle the generation.
* Group's `#groups` and `#group` will return just groups, and now there are `#files` and `#file`.

One thing that I don't particularly care for at the moment is that when you search for a file or group by name there can be multiple and so an Array is returned each time. So there is often the convention of calling `#first` on the results to get the first one.