3 ms·
This is another style thing, I think. When writing Objective-C I always use spaces because lining things up is idiomatic to the way the language is written. Sam
by GavinAnderegg 9y ago
This is another style thing, I think. When writing Objective-C I always use spaces because lining things up is idiomatic to the way the language is written. Same with Python which has well-codified style rules for many multi-line argument lists and the like. However, beyond that, I don't tend to line up assignments or anything else that has me doing indenting with spaces AND tabs, so (at least with my code) this doesn't end up being an issue.
If I was working on a project where there was a strong preference for indenting assignments, or any other case like this, I would use spaces throughout.