Is there an easy way to track quality of code in my xcode project for ios?
Solution 1:
Swift-Clean
An OS X app that works with Xcode to keep your Swift code clean. Swift-Clean takes the answers you give to a short survey on Swift coding style and creates a configuration file. The Mac app then uses this to either fix errors automatically or create build warnings if it can't. Once you've completed the survey, you can not only download your own configuration file, but you can also choose from the average of all responses or the Stack Overflow results.
Taylor
A tool that aims to improve Swift code quality, by checking for conformance of code metrics. Unlike similar linting tools, Taylor focuses on more subjective code quality metric by providing warnings for rules such as excessive class or method length, too many overly complicated methods, excessive block depth or too many method parameters. It can be run independently from the command line on a single file or a complete project, or you can add a build phase to add warnings to Xcode.