Re: CoreData and NSObjectController
Re: CoreData and NSObjectController
- Subject: Re: CoreData and NSObjectController
- From: Steve Steinitz <email@hidden>
- Date: Tue, 10 Mar 2009 10:37:23 +1100
Hi Michael,
On 9/3/09, email@hidden wrote:
When I execute the program and click on the add button, the
controller creates a new data record and I can enter the
attributes. If I press again the button, the add method is
called, but no new record is created.
I've had plenty of problems with Core Data but never that one
:) Have you had a look at the run log in Xcode to see if
anything is going wrong after you add that first record?
I have subclassed the controller object and learned that the
canAdd: method returns false after I press the button the
second time.
Odd.
What have I done wrong? Which action does the controller expect?
Feel free to post your test project and I or someone else can
have a look.
Cheers,
Steve
_______________________________________________
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