expanz/xcode-editor — pull request #8 by hiddenmemory (2012-04-22 07:12:16+00:00)
Title: Path resolution and PNG image support

Changes are:

- Support for PNG images as an Xcode project type: both lookup and referencing
- Making some methods public to the outside allowing changes to groups
- Support for the `sourceTree` project object attributes for correct path resolution both in `xcode_Group` and `xcode_SourceFile`. This allows `xcode-editor` to support both group relative and project relative paths.

Assuming a file:
- Stored with `sourceTree` value `SOURCE_ROOT`
- With a path of `Resources/Images/Foo.png`
- In the group `Images`, in the group `Resources`

Will now correctly resolve a `Resources/Images/Foo.png` when calling `-[pathRelativeToProjectRoot]` rather than the incorrect path `Resources/Images/Resources/Images/Foo.png`.