Re: core data - beyond the simple example
Re: core data - beyond the simple example
- Subject: Re: core data - beyond the simple example
- From: Jim Correia <email@hidden>
- Date: Fri, 4 Apr 2008 17:53:01 -0400
On Apr 4, 2008, at 5:44 PM, Torsten Curdt wrote:
- (void)setFilter:(NSPredicate*)newFilter
{
if (filter != newFilter) {
[filter release];
filter = newFilter;
}
}
- (NSPredicate*)filter
{
return filter;
}
Is this the exact code you are using in your application? Your -
setFilter: has a memory management bug... review the object ownership
rules.
Jim
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden