vicioux / animals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Animals

This excercise show a list of animals, and it can be filtered, or sorted. uses a pattern called cleanSwift http://clean-swift.com/ and a repository pattern. this architecture is more about Protocol Oriented Programing

Used libraries:

Pd: just open animals.xcworkspace

Response to questions 5 and 6.

    1. To accomplish this i used the Repository Pattern, creating a testing repository to get filtered, sorted and paginated dummy data, leaving the responsability to get data no matter how. It can be switched changin a variable to false in the repositoryLocator.
    1. The simplest approach to this is using a paginated list and leave responsibility to the "web service"

About


Languages

Language:Swift 98.0%Language:Ruby 2.0%