Changeset 246 for trunk/cocoa/CoreData+JRExtensions
- Timestamp:
- 09/01/07 17:43:15 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cocoa/CoreData+JRExtensions/CoreData+JRExtensions.h
r182 r246 1 /******************************************************************************* 2 CoreData+JRExtensions.h 3 Copyright (c) 2006-2007 Jonathan 'Wolf' Rentzsch: <http://rentzsch.com> 4 Some rights reserved: <http://opensource.org/licenses/mit-license.php> 5 6 ***************************************************************************/ 7 1 8 #import <Cocoa/Cocoa.h> 2 9 trunk/cocoa/CoreData+JRExtensions/CoreData+JRExtensions.m
r224 r246 1 /******************************************************************************* 2 CoreData+JRExtensions.m 3 Copyright (c) 2006-2007 Jonathan 'Wolf' Rentzsch: <http://rentzsch.com> 4 Some rights reserved: <http://opensource.org/licenses/mit-license.php> 5 6 ***************************************************************************/ 7 1 8 #import "CoreData+JRExtensions.h" 2 9 … … 4 11 5 12 + (id)newInManagedObjectContext:(NSManagedObjectContext*)moc_ { 6 return [[ [self alloc] initAndInsertIntoManagedObjectContext:moc_] autorelease];13 return [[self alloc] initAndInsertIntoManagedObjectContext:moc_]; 7 14 } 8 15
