• 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: NSObjectController and Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSObjectController and Core Data


  • Subject: Re: NSObjectController and Core Data
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 16 Feb 2007 11:20:51 -0500
  • Organization: Rogue Research

On 2007-02-13 14:23, Kevin said:

>Problem #2:
>When I edit the contents in any of the text views and then decide to
>save my managed object context WITHOUT leaving the text view, the
>changes are not recorded. If I leave the text view, the changes do
>get recorded.

Unfortunately, this is a common problem in many Cocoa apps that use
bindings and/or core data.  For example Xcode: open an .xcdatamodel, add
a new entity, change its name (but don't leave text field), File>Save,
leave the text field.  Notice that only now is the change of name
noticed, and the wrong data was saved!  So you are not alone! :)

I'm not sure, but since no one else has answered, I suggest you read up
on NSEditor/NSEditorRegistration.  I believe the solution is there.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

  • Follow-Ups:
    • Re: NSObjectController and Core Data
      • From: Volker Runkel <email@hidden>
References: 
 >NSObjectController and Core Data (From: Kevin <email@hidden>)

  • Prev by Date: Re: NSWindowController versus other NIB Owners
  • Next by Date: Re: NSObjectController and Core Data
  • Previous by thread: NSObjectController and Core Data
  • Next by thread: Re: NSObjectController and Core Data
  • Index(es):
    • Date
    • Thread