Skip to content

Instantly share code, notes, and snippets.

View wwe-johndpope's full-sized avatar

John D. Pope wwe-johndpope

View GitHub Profile
@wwe-johndpope
wwe-johndpope / HTTPStub.swift
Last active March 20, 2017 23:10
sample gist of OHHTTPStubs + API end points + local json files in bundle
import Foundation
import UIKit
import OHHTTPStubs
import SwiftyJSON
@objc class HTTPStub: NSObject {
static let enableHttpStubbing = HTTPStub()
@wwe-johndpope
wwe-johndpope / HTTPStub.swift
Created March 9, 2017 14:24
Sample stubbing of mock data from json
//
// HTTPStub.swift
// Karhoo
//
// Created by John Pope on 9/14/16.
// Copyright © 2016 Karhoo Ltd. All rights reserved.
//
import Foundation
import UIKit
// NavButtonBarExampleViewController.swift
// XLPagerTabStrip ( https://github.com/xmartlabs/XLPagerTabStrip )
//
// Copyright (c) 2017 Xmartlabs ( http://xmartlabs.com )
//
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell