Update UIKit code based on new XCode 6.2 semantics