dsaliberti / Crew

A person collection for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crew

A contact collection for iOS made in Swift. It uses dependency injection, protocols, local database storage, get data from a remote api and shows an adorable avatar for each contact.

Must

✅ get remote contacts

✅ save it into a local database for offline access

✅ retrieve from local database

✅ enters in a screen1 with a title and a list

✅ this contact list contains cells that presents first_name and surname

✅ when user taps a cell, the navigation changes the current screen1 to a detail screen2

✅ in the detail screen2 the user can change back the navigation, see a title and labels for the contact fields: first_name, surname, address, phone_number, email, createdAt and updatedAt

Should

✅ the contact should have an adorable avatar

Would be good

✅ store local data using realm database

The tests should cover

✅ get valid data and decode to valid objects

✅ set this data to a local database

✅ screen1 presents a given contact

  • screen2 presents the correct contact information

About

A person collection for iOS


Languages

Language:Swift 97.3%Language:Ruby 1.7%Language:Objective-C 1.0%