In Xcode use Edit/Refactor/Convert to modern Objective C syntax.