Swift implementation of the Homepwner application from Aaron Hillegass's book on iOS