Xcode 6 warnings solved