Core Data / Bindings Behavior
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