A simple Swift wrapper for An API of Ice and Fire. You can get more information on Reddit or directly check source code on Github.
You can install IceAndFireLoader easily via CocoaPods, just add following line to your PodFile;
pod 'IceAndFireLoader'
Alternatively you can directly add IceAndFire.swift file to your project.
3 structs for representing different resource types in the An API of Ice and Fire are defined;
IceAndFireCharacterIceAndFireBookIceAndFireHouse
For meaning of fields in these structs please check An API of Ice and Fire Documentation
IceAndFire class handles communication with the API, parses response and calls competition handler. Check main.swift for usage examples.
- API versioning support
- Caching
- XCtest
- Checking Linux compatibility.
- Better pagination.