Skip to content

Instantly share code, notes, and snippets.

John D. Pope wwe-johndpope

Block or report user

Report or block wwe-johndpope

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wwe-johndpope
wwe-johndpope / HTTPStub.swift
Last active Mar 20, 2017
sample gist of OHHTTPStubs + API end points + local json files in bundle
View HTTPStub.swift
import Foundation
import UIKit
import OHHTTPStubs
import SwiftyJSON
@objc class HTTPStub: NSObject {
static let enableHttpStubbing = HTTPStub()
@wwe-johndpope
wwe-johndpope / HTTPStub.swift
Created Mar 9, 2017
Sample stubbing of mock data from json
View HTTPStub.swift
//
// HTTPStub.swift
// Karhoo
//
// Created by John Pope on 9/14/16.
// Copyright © 2016 Karhoo Ltd. All rights reserved.
//
import Foundation
import UIKit
View NavButtonBarExampleViewController.swift
// 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
You can’t perform that action at this time.