• 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
Core Data / Bindings Behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data / Bindings Behavior


  • Subject: Core Data / Bindings Behavior
  • From: Jeff LaMarche <email@hidden>
  • Date: Tue, 7 Jun 2005 18:22:33 -0400

I've been writing a small application using Core Data and Cocoa Bindings. There's one bit of the "free" functionality that seems weird, and I was wondering if anyone knew how to change it, and/or if I should report it as a bug.

In my application, I've bound the Save menu item to a method that calls:

if (![[self managedObjectContext] save:&error])
    [[NSApplication sharedApplication] presentError:error];

Now, if someone is entering data or editing a field, and they type command-S or select Save from the file menu, the changes to that field just disappear. If they tab out of the field first, it works fine.

This seems like a bug to me, but I'm new enough to Core Data to realize that I might be doing something horribly wrong. Any suggestions or thoughts are appreciated.

Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Core Data / Bindings Behavior
      • From: mmalcolm crawford <email@hidden>
    • Re: Core Data / Bindings Behavior
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: multithreading, cocoa, pools and POSIX
  • Next by Date: Anyone interested in helping me port SkiFree (http://ski.ihoc.net/) to MacOS X?
  • Previous by thread: Sample Core Data Interface/Code available
  • Next by thread: Re: Core Data / Bindings Behavior
  • Index(es):
    • Date
    • Thread