-
Notifications
You must be signed in to change notification settings - Fork 0
iOS code assessment
W.Elsinga edited this page Apr 18, 2018
·
10 revisions
Create an iOS application written in Swift that fetches JSON data from a API endpoint and displays it using a table view.
You may use any 3rd party
Use the following public API to get JSON formatted data:
URL: (GET) https://api.thedogapi.co.uk/v2/dog.php?limit=100
Sample Response:
{
"data": [
{
"id": "_NTKEP-FNaR",
"url": "https://i.thedogapi.co.uk/_NTKEP-FNaR.jpg",
"time": "2017-06-29T03:14:02.391689",
"format": "jpeg",
"verified": "1",
"checked": "1"
}
… <more objects>
]
}
Note: Spend no more than an hour per feature.
- Retrieve and print out the data received from the url above.
- Parse the data retrieved from the API into a list of objects
- Display your objects images in a UITableView or UICollectionView including the time value.