I hereby claim:
- I am mattbischoff on github.
- I am matthewbischoff (https://keybase.io/matthewbischoff) on keybase.
- I have a public key whose fingerprint is EECC 1F2E 27A9 2D5D 29F2 1E33 09F3 0AD2 B628 A4CD
To claim this, I am signing this object:
// | |
// LCKIndexedFetchedResultsController.h | |
// Quotebook | |
// | |
// Created by Andrew Harrison on 7/26/14. | |
// Copyright (c) 2014 Lickability. All rights reserved. | |
// | |
@import CoreData; |
I hereby claim:
To claim this, I am signing this object:
// | |
// LCKAlertPresenter.h | |
// Quotebook | |
// | |
// Created by Matthew Bischoff on 9/1/14. | |
// Copyright (c) 2014 Lickability. All rights reserved. | |
// | |
@import Foundation; |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>%d messages in your inbox</key> | |
<dict> | |
<key>NSStringLocalizedFormatKey</key> | |
<string>%#@messages@ in your inbox</string> | |
<key>messages</key> | |
<dict> |
@implementation TMDashboardViewController | |
#pragma mark - UIResponder | |
- (BOOL)canBecomeFirstResponder { | |
return YES; | |
} | |
- (NSArray *)keyCommands { | |
static NSArray *keyCommands; |
#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]; |