Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

IceAndFireLoader

About

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.

Installation

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.

Usage

3 structs for representing different resource types in the An API of Ice and Fire are defined;

  • IceAndFireCharacter
  • IceAndFireBook
  • IceAndFireHouse

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.

TODO

  • API versioning support
  • Caching
  • XCtest
  • Checking Linux compatibility.
  • Better pagination.

About

Simple Swift wrapper for An API of Ice and Fire

Resources

License

Packages

No packages published