add example project and updated for Xcode 6 Beta 6