Refactor long line code.
More refactoring by following the Google Objective-C style.