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:
I hereby claim:
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> |
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 { |
#import <UIKit/UIKit.h> | |
@interface UITextField (LCKHacks) | |
/// Fixes a bug in UIKit where the `hasText` methods sometimes returns the string's length instead of a BOOL in iOS 7.0.x. | |
- (BOOL)actuallyHasText; | |
@end |
// Run this in the viewDidLoad of a new Core Data project with the Master-Detail Application Template | |
// Replace the file name with your momd's filename. | |
- (void)testCoreDataEquality { | |
NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"TestCoreDataISEqual" withExtension:@"momd"]; | |
NSManagedObjectModel *model = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL]; | |
NSPersistentStoreCoordinator *storeCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:model]; | |
[storeCoordinator addPersistentStoreWithType:NSInMemoryStoreType configuration:nil URL:nil options:nil error:nil]; | |
NSManagedObjectContext *mainQueueContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType]; |
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? { |