Skip to content

Instantly share code, notes, and snippets.

@kostiakoval
Created January 9, 2014 10:08
Show Gist options
  • Save kostiakoval/8332010 to your computer and use it in GitHub Desktop.
Save kostiakoval/8332010 to your computer and use it in GitHub Desktop.
ManagedObject Category
//
// NSManagedObject+RFObject.h
// PocketID
//
// Created by Konstantin Koval on 09/01/14.
// Copyright (c) 2014 Rocketfarm. All rights reserved.
//
#import <CoreData/CoreData.h>
@interface NSManagedObject (RFObject)
- (void)fillObjectWithAttributes:(NSDictionary *)attributes;
@end
//
// NSManagedObject+RFObject.m
// PocketID
//
// Created by Konstantin Koval on 09/01/14.
// Copyright (c) 2014 Rocketfarm. All rights reserved.
//
#import "NSManagedObject+RFObject.h"
@implementation NSManagedObject (RFObject)
- (void)fillObjectWithAttributes:(NSDictionary *)attributes
{
NSAssert(FALSE, @"fillObjectWithAttributes not implemented in %@", [self class]);
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment