Show
Ignore:
Timestamp:
09/01/07 17:43:15 (1 year ago)
Author:
rentzsch
Message:

[FIX] +[NSManagedObject newInManagedObjectContext:] had an incorrect extraneous -autorelease. Thanks to Pierre Bernard for finding the bug.
[NEW] Add MIT license header.
[CHANGE] Remove CoreData?+PositionSupport?.m. I have a different solution nowadays.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 
    18#import "CoreData+JRExtensions.h" 
    29 
     
    411 
    512+ (id)newInManagedObjectContext:(NSManagedObjectContext*)moc_ { 
    6         return [[[self alloc] initAndInsertIntoManagedObjectContext:moc_] autorelease]; 
     13        return [[self alloc] initAndInsertIntoManagedObjectContext:moc_]; 
    714} 
    815