Skip to content

Instantly share code, notes, and snippets.

View mbbischoff's full-sized avatar
🏳️‍⚧️

mb mbbischoff

🏳️‍⚧️
View GitHub Profile
@mbbischoff
mbbischoff / keybase.md
Last active June 7, 2024 12:50
Keybase

Keybase proof

I hereby claim:

  • I am mbbischoff on github.
  • I am mbbischoff (https://keybase.io/mbbischoff) on keybase.
  • I have a public key ASC144fNp4lrYtOAfG3fQhY4lqgELdn0h5_iqjXX0LXiTAo

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>
@mbbischoff
mbbischoff / .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 {
@mbbischoff
mbbischoff / 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? {
@mbbischoff
mbbischoff / 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;