[Issue #128] Fixing deprecation warnings in iOS 8 / Mac OS X 10.10