Xcode 6 Support

Yep, I checked it against [XToDo's](https://github.com/trawor/XToDo/commit/d7540dcc6f5904be039681a1918663c3ecbe5d08) Xcode 6 support commit.