• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreData and NSObjectController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Properly symbol fonts handling in Cocoa
  • Next by Date: Re: Is UITableView more memory efficient than UIScrollView?
  • Previous by thread: CoreData and NSObjectController
  • Next by thread: CoreImage: bend frame with shadow
  • Index(es):
    • Date
    • Thread