Skip to content

Instantly share code, notes, and snippets.

Avatar

James Moschou jamesmoschou

View GitHub Profile
View JCMMemoryEfficientMigrationManager.h
@import CoreData;
/**
A subclass of NSMigrationManager that is more memory efficient than
NSMigrationManager itself.
This class maintains its own source and destination instance association
tables, which store only the URI representation of the instances's object IDs,
rather than the objects themselves. This means that objects do not accumulate
@jamesmoschou
jamesmoschou / StoryboardController.h
Last active Dec 30, 2015
StoryboardController: A storyboard controller manages a set of view controllers described in a storyboard file that make up a portion of your app’s user interface. A storyboard controller is to a storyboard what a view controller is to a view. Whereas a view controller would manage a view heirachy that allows a user to perform a single task, a s…
View StoryboardController.h
//
// StoryboardController.h
// Ideas
//
// Created by James Moschou on 12/3/13.
// Copyright (c) 2013 James Moschou. All rights reserved.
//
#import <Foundation/Foundation.h>
@jamesmoschou
jamesmoschou / UIResponder+FirstResponder.h
Created May 25, 2013
A category on the UIResponder class to obtain the first responder object.
View UIResponder+FirstResponder.h
@interface UIResponder (FirstResponder)
+ (UIResponder *)firstResponder;
@end