I hereby claim:
- I am plummer on github.
- I am andrewplummer (https://keybase.io/andrewplummer) on keybase.
- I have a public key ASCYsY4b6YbzmkxYKCGeHG_GwwyzKjt2rRC-N0peJbH4NAo
To claim this, I am signing this object:
import Foundation | |
extension DispatchGroup { | |
/// Completes a series of blocks and finally executes a completion handler. | |
/// | |
/// - Parameters: | |
/// - label: An optional DispatchQueue label (defaults to bg) | |
/// - qos: An optional DipatchQos (defaults to background) | |
/// - blocks: The series of blocks to call. |
import Foundation | |
import UIKit | |
/// A transition that simply slides view controllers, rather than the default `UINavigationController` animation. | |
/// | |
/// Useful for view controller transitions with backgrounds that remain static. | |
class SlideAnimatedTransition: NSObject, UIViewControllerAnimatedTransitioning { | |
var direction: Direction = .right | |
I hereby claim:
To claim this, I am signing this object:
// | |
// LogoRow.swift | |
// | |
// Created by Andrew Plummer on 30/12/2016. | |
// | |
import Foundation | |
public protocol LogoCellType { | |
var logo: UIImageView { get } |
function countCSSRules() { | |
var results = '', | |
log = ''; | |
if (!document.styleSheets) { | |
return; | |
} | |
for (var i = 0; i < document.styleSheets.length; i++) { | |
countSheet(document.styleSheets[i]); | |
} | |
function countSheet(sheet) { |