Skip to content
Jeff Potter edited this page Jul 9, 2017 · 2 revisions

Guiding Principles

  • Stay up to date with Swift language
  • Stay up-to-date with iOS
  • Swift environment

Should have a single purpose

Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new features. Read more at Unix Philosophy

The library shouldn't get to big or add unnecessary complexity. It shouldn't have knowledge of information that is specific to iOS UI.

Should have tests which give maximum confidence for minimum effort

Code coverage is a software testing metric that shows you which lines of your source code have been tested and which lines of your source code have not been tested. This insight allows you to improve your testing so you can improve your code ultimately increasing impact and reducing costs. Your code will live most of its life in maintenance.

Should have documentation