Learning the design pattern of iOS Model Layer