[Solved] Re: Saving a core data model to persistent store makes application hang
[Solved] Re: Saving a core data model to persistent store makes application hang
- Subject: [Solved] Re: Saving a core data model to persistent store makes application hang
- From: Remco Poelstra <email@hidden>
- Date: Sun, 26 Nov 2006 23:11:44 +0100
Op 26-nov-2006, om 21:36 heeft Bill Bumgarner het volgende geschreven:
You are correct. I'm sorry -- my mistake -- the modeling tools
can't support that, though there really isn't any reason why they
shouldn't (beyond confusing). (I wonder if you can setup said
relationship via the model API? That gets ugly quickly, though.
And CoreData may still not do the right thing.)
So, relationship management by hand would appear to be your only
option. Nuts.
Yeah, I hope Leopard will change this.
These 6 lines keep repeating? That would indicate that there is
something in your code that triggers a change notificaiton that
triggers a subsequent change that causes another notification ad
nauseum.
I figured that removing the [self setValue:NSStringFromRect(bounds)
forKey:@"boundsAsString"]; fixed the problem, but then the string
wasn't saved of course. Then, by guess, I changed the setValue to
setPrimitiveValue and that also solved the problem :) So I'll have to
read the guide again to figure out why that makes such a huge
difference.
Thanks for your support.
Remco Poelstra
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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