Help us build a standard for writing clean Objective-C!
Objective-Clean is a tool that helps you apply coding standards in Xcode so you can write clean Objective-C.
By taking our survey at objclean.com you can voice your opinion about the way coding standards should be, back it up with StackOverflow credibility, or just apply your own rules the way you want them to your projects.
How you use our tool is completely up to you. If you find that it doesn't support rules that you want added, send us an email! We want to make this a robust solution for everyone.
We have fixed the issue that was causing our run script to conflict with the CocoaPods run script. Both should play nicely together now!
Stay tuned for more bug fixes to come. Thanks to everyone that has sent us emails, they will all be addressed asap.
Ratings and Reviews
Best $9.99 ever spent
Anyone who does serious objective c coding needs this tool. I had no idea how inconsistent I was until objclean.
[update] — much better now
I’ve redacted most of my earlier review concerns after downloading the latest update … therefore what remains is this…
From everything that I can gather, from other reviews, from the website, from screenshots, the main feature I was hoping for is an option to automatically reformat one or more source files (even just the active one). In particular I hoped this would be based at least in part on Clang-Format or Uncrustify — both of those auto/manual reformatters are available as Xcode plugins, to reformat one or more source files. My issue with both of those reformatters (the reason why I sought out Objective-Clean) relates to unexpected/undesirable indentation and bracket position when using inline Objective-C blocks. Objective-Clean doesn’t offer any reformatting functionality — *something*, even if it has it’s quirks, is still better than *nothing*.
- They should seriously consider some means of auto/manually triggering a reformat of *at least* the active source file. Worst case, allow the app to build and install configuration files that drive the Clang-Format or Uncrustify Xcode plugins so that these can do the reformatting for you. Alternatively, map the survey questionare results to the same YAML keys as Uncrustify or Clang-Format use, as I think the Objective-Clean survey is a great service — if only it were more complete and (potentially) supported these other reformatters.
Super valuable in a team setting
We use this on our projects with a team of 7 developers. It has been invaluable in getting our codebase more uniform, so that we can focus on meaningful differences rather than style.
Support is FANTASTIC. Initially we were getting a few false positives (Objective-Clean said there was a style violation when there was not). I contact the developer, providing specific examples, and got a quick response. Within days the developer contacted me again to let me know that an updated version was in review by Apple.
I recommend this to everyone I know.
With Family Sharing set up, up to six family members can use this app.