Fix issues with Xcode 6.1

Today I found this demo project and was bummed to see it did not compile when I checked it out. With this PR I’ve made updates to the project to fix those issues! Thanks for the cool example.