Skip to content

Instantly share code, notes, and snippets.

View mattbischoff's full-sized avatar

mb mattbischoff

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mattbischoff on github.
  • I am mbbischoff (https://keybase.io/mbbischoff) on keybase.
  • I have a public key whose fingerprint is 29D2 88A3 1E66 17CA A85E E9E0 3FEB 5FF8 5092 E776

To claim this, I am signing this object:

<feed xmlns="http://www.w3.org/2005/Atom">
<generator uri="https://jekyllrb.com/" version="3.6.0">Jekyll</generator>
<link href="http://0.0.0.0:3000/blog/feed.xml" rel="self" type="application/atom+xml"/>
<link href="http://0.0.0.0:3000/" rel="alternate" type="text/html"/>
<updated>2019-11-07T19:12:26+00:00</updated>
<id>http://0.0.0.0:3000/</id>
<title type="html">Lickability</title>
<subtitle>
A detail-obsessed software studio. We design and develop delightful apps for amazing companies.
</subtitle>
@mattbischoff
mattbischoff / .mb_HD_Quality.txt
Created September 17, 2019 20:18
Stephen wanted it.
speedy
65
Middle
ShowQuestion
0
0
ShowWiFi
1
false
//
// LCKConcurrentOperation.m
// LCKOperations
//
// Created by Twig on 12/19/13.
// Copyright (c) 2013 Lickability. All rights reserved.
//
#import "LCKConcurrentOperation.h"
class ImmovableView: UIView {
/// `true` if setting the receiver’s frame should affect the view’s position and size. `false` if the view should be locked in place. Defaults to `true`.
var canMove = true
override var frame: CGRect {
get {
return super.frame
}
set {
@mattbischoff
mattbischoff / NSURL+DataURI.swift
Last active November 20, 2015 20:16
An extension on `NSURL` to support Data URIs. See https://en.wikipedia.org/wiki/Data_URI_scheme
import Foundation
/// An extension on `NSURL` to support Data URIs.
extension NSURL {
/// `true` if the receiver is a Data URI. See https://en.wikipedia.org/wiki/Data_URI_scheme.
var dataURI: Bool {
return scheme == "data"
}
extension Dictionary {
func typedValueForKey<T>(key: Key) -> T? {
return self[key] as? T
}
}
extension Array {
func typedValueAtIndex<T>(index: Index) -> T? {
@mattbischoff
mattbischoff / FetchedResultsControllerTableViewDataSource.h
Last active August 29, 2015 14:15
FetchedResultsControllerTableViewDataSource. Please stop writing this over and over again.
//
// FetchedResultsControllerTableViewDataSource.h
// Flock
//
// Created by Matthew Bischoff on 2/14/15.
// Copyright (c) 2015 Lickability. All rights reserved.
//
@import Foundation;
@import CoreData;
//
// LCKConcurrentOperation.h
// LCKOperations
//
// Created by Twig on 12/19/13.
// Copyright (c) 2013 Lickability. All rights reserved.
//
@import Foundation;