Re: Strange Managed Context Error
Re: Strange Managed Context Error
- Subject: Re: Strange Managed Context Error
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 21 Aug 2005 11:15:22 -0700
On Aug 21, 2005, at 9:51 AM, Colin Cornaby wrote:
The NSPersistentDocument's init:
- (id)init
{
self = [super init];
if (self != nil) {
//Initialize the data for the document. A
MyManagedObjectContext is a NSManagedObjectContext subclass
//so we can directly interface to CoreData. We can also set
the MyManagedObjectContext as this persistent
//document's object context
MyManagedObjectContext *documentContext =
[[MyManagedObjectContext alloc] init];
[self setManagedObjectContext: documentContext];
[Aside: This is another leak.
[documentContext release];
]
}
return self;
}
There isn't anything in what you've described so far that should give
rise to the error message you report. To check, I created a
framework etc. following your description, and I don't see the
message. What other configuration are you doing?
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden