On iOS, if you want to remove all settings and documents for an application during development and start from a clean install, you just need to delete it. However, on the Mac, removing the application bundle does not clear all preferences for that application.
How can you test an application from a clean start on the Mac?