Updated Swift deprecation problems on Xcode 6.1