iOS8/Xcode6 support