Compatible with xCode 6.0.1 release version

Hello!

I've fixed all swift errors (syntax changed after early betas), also I've fixed warnings in project. Now it compiles fine.