DogBreedFinder is an iOS app for dog lovers and everyone, which provides you with a list of dog breeds and when you select a breed, it provides you with random cute images of those breeds.
DogBreedFinder uses the Dog API to fetch information about hundreds of dog breeds. The API has different endpoints to retrieve different data about the dog breeds. Below are two endpoints used to fetch a list of dog breeds and random images of a dog breed.
GET 'https://dog.ceo/api/breeds/list'
GET 'https://dog.ceo/api/breed/{name}/images'
The app is built with the following:
-
Swift - programming language for iOS development.
-
UIKit - this is an iOS framework used to build user interface. The user interfaces were built using Storyboard, UITableView, UICollectionView.
-
Asynchronous URLSession - this is used to make calls to the API and to get responses / data which are then implemented in the app.
-
SDWebImage - This is a third party library which is asynchronous image downloader used to fetch random images from the URL endpoint and also provides caching.
Xcode, Swift, Cocoapods
-
Clone the repository:
https://github.com/turosung/DogBreedFinder.git
-
Open the project in Xcode:
cd DogBreedFinder
and thenopen DogBreedFinder.xcworkspace
-
Then Build and Run the app in the Xcode simulator or on a connected device.