Skip to content

Instantly share code, notes, and snippets.

View murphykevin's full-sized avatar

Kevin Murphy murphykevin

  • Caravel Apps
View GitHub Profile
@murphykevin
murphykevin / IceAndFireAPIWithEndpointProtocol.swift
Last active October 14, 2016 19:57
Swift-iOS: Constructing a url with filter parameters for 'An API of Ice and Fire' by applying an 'Endpoint' protocol
/* Practice/reinforce understanding of applying an Endpoint protocol to construct a url based on filter params of the awesome
"An API of Ice and Fire" API https://anapioficeandfire.com
Modeled after @pasanpr treehouse course
"Displaying Data with TableViews in Swift 2" https://teamtreehouse.com/library/displaying-data-with-table-views-in-swift-2
which constructs endpoints using enums and assoc values based on the Foursquare API via an Endpoint protocol
todo:
add the character and house filter params;
expand into a demo single view project applying a table UI w/ a search field to input the params