It is a demo application that communicates with the marvel API at developer.marvel.com. The application shows a list of comics and allows you to access the detail of each one by selecting it. It also allows you to add favorite characters that are stored in the device's local database. Apart from that, you can filter the characters by name.
-
Create an account at http://developer.marvel.com
-
After confirming your account, click on the "Get A Key" tab and accept the terms and conditions. You should now see your private and public key.
-
Copy the public key and paste it into the publicKey section of the apikeys.plist file. Do the same for your private key.
-
Prepare API authentication
- Copy iOS-Marvel/apikeys_template.plist to iOS-Marvel/apikeys.plist
- Add your public and private keys to apikeys.plist
-
The app is using Carthage as dependency manager so you will need to run at the root directory of your project:
$ carthage update --platform iOS
Alamofire - HTTP networking library for API calls
Kingfisher - HTTP networking library for easy downloading of images asynchronously
Realm - Local device data base