illescasDaniel / MarvelCharacters-iOS

Mini app to display and search marvel characters.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Marvel Characters demo app

Mini app that uses marvel characters api to display and search marvel characters.

Features

  • Display a sorted list of characters
  • Change list order
  • Display characters details
  • Search by charcter name
  • Caching mechanisms for faster data loading
  • Usage of the new storyboards API
  • Usage of the new diffable data source API for tableView (available right now in the branch: feature/diffableDataSource)

Installation [IMPORTANT]

  1. Follow these steps before opening the project (if possible).
  2. This app uses the official marvel api: https://developer.marvel.com/docs
  3. To setup the project, you need to get the marvel api developer keys AND add "*" in "Your authorized referrers" (https://developer.marvel.com/account).
  4. Then you simply need to run the script "set_up_keys.sh", it will ask you the public and private api keys. Once you enter those details a new file named "Keys.xcconfig" will be generated and you will be able to compile the project. Note: if you have any issues regarding this, just delete the existing Keys.xcconfig entry in Xcode and create the file again using the script or by yourself. You have an example in the file "Marvel Character/config/Keys.example.xcconfig".
  5. There is only one external dependency, ZippyJSON, but is should load automatically with the Swift Package Manager

Extra

  • There is a development branch featuring the new diffable Apple API, named 'feature/diffableDataSources'.

Screenshots

Credits

About

Mini app to display and search marvel characters.

License:MIT License


Languages

Language:Swift 98.9%Language:Objective-C 0.6%Language:Shell 0.4%Language:C 0.1%