[ Space Commander] banner
[ Space Commander]

Open Source

[ Space Commander] Overview

A tool which enables a team of iOS developers to commit Objective-C code to a git repository using a unified style format, without requiring any manual fixup. [ Space Commander] can be used to enforce formatting conventions before code is committed,format code with a single command (both individual files or the entire repo), and fail a build (during a pull request) if unformatted code made it into the branch. Style format is specified using clang-format, but it also supports custom formatting scripts.

You can use it to:
  • Enforce formatting conventions before code is committed.
  • Format code with a single command (both individual files or the entire repo).
  • Fail a build (during a pull request) if unformatted code made it into the branch.
  • At Square, [ Space Commander] has streamlined iOS development, especially when it comes to pull requests. Applying formatting standards no longer requires manual developer attention; that time is better spent elsewhere!
You may wish to fork [ Space Commander] to apply your team's particular set of formatting rules (more details below), or clone to enjoy Square's flavor of Objective-C formatting.

Stay on top of new tools for iOS developers

Subscribe to get a convenient weekly roundup of iOS Dev Tools' newest addition
of helpful and time-saving developer tools, services, and SDKs to get your job done faster.