//
//  NSManagedObject+ASABUtilities.h
//  iOrdning
//
//  Created by Erik Aderstedt on 2013-10-24.
//  Copyright (c) 2013 Aderstedt Software AB. All rights reserved.
//

#import <CoreData/CoreData.h>

@interface NSManagedObject (ASABUtilities)

- (void)setObject:(id)i ofType:(NSString *)s forKey:(NSString *)k;
- (void)setObject:(id)i ofType:(NSString *)s;
- (void)setNumberedObject:(id)i ofType:(NSString *)s;
- (void)setNamedObject:(id)i ofType:(NSString *)s;
- (void)setNamedObject:(id)i ofType:(NSString *)s inKey:(NSString *)key;
- (void)copyKeys:(NSArray *)keys toManagedObject:(NSManagedObject *)destination;

- (void)generateUUID;

@end
