This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation MyRestorableAppDelegate | |
... | |
- (UIViewController *)application:(UIApplication *)application viewControllerWithRestorationIdentifierPath:(NSArray *)identifierComponents coder:(NSCoder *)coder { | |
coder.managedObjectContext = self.managedObjectContext; | |
return nil; | |
} | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIWebView+JSONObjectByEvaluatingJavascript.h | |
// Feeder | |
// | |
// Created by Brent Royal-Gordon on 7/1/13. | |
// Copyright (c) 2013 Architechies. All rights reserved. | |
// | |
@interface UIWebView (Additions) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TsLineEnumerator.h | |
// Typesetter | |
// | |
// Created by Brent Royal-Gordon on 2/3/12. | |
// Copyright (c) 2012 Architechies. All rights reserved. | |
// | |
@interface NSFileHandle (lineEnumerator) | |
- (NSEnumerator*)lineEnumerator; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// FDRCollectionViewCell.h | |
// | |
// | |
// Created by Brent Royal-Gordon on 7/10/13. | |
// | |
// | |
#import <UIKit/UIKit.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NSWindow+BetterSheets.h | |
// Gistapo | |
// | |
// Created by Brent Royal-Gordon on 7/12/13. | |
// Copyright (c) 2013 Architechies. All rights reserved. | |
// | |
#import <Cocoa/Cocoa.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// GSTApplication.h | |
// Gistapo | |
// | |
// Created by Brent Royal-Gordon on 7/12/13. | |
// Copyright (c) 2013 Architechies. All rights reserved. | |
// | |
#import <Cocoa/Cocoa.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NSString+EnumerateParagraphs.h | |
// Ingist | |
// | |
// Created by Brent Royal-Gordon on 7/19/13. | |
// Copyright (c) 2013 Architechies. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// GSTApplication.h | |
// Ingist | |
// | |
// Created by Brent Royal-Gordon on 7/12/13. | |
// Copyright (c) 2013 Architechies. All rights reserved. | |
// | |
#import <Cocoa/Cocoa.h> | |
#import "GSTServicesProvider.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface MyRootController: OWWebController | |
// GET / | |
- (BOOL)get:(OWRequest*)request error:(NSError**)error { | |
return [request.responder renderTemplate:@"Root" withObject:nil error:error]; | |
} | |
// Everything under /users is handled by MyUsersController | |
- (OWWebController*)controllerForUsersRequest:(OWRequest*)request error:(NSError**)error { | |
return [[MyUsersController alloc] initWithManagedObjectContext:self.managedObjectContext]; |