Core Data & Sheet problem
Core Data & Sheet problem
- Subject: Core Data & Sheet problem
- From: Jeff LaMarche <email@hidden>
- Date: Tue, 25 Mar 2008 07:59:13 -0400
Okay, I know I've had this problem before a couple of years ago when
Core Data was fairly new, but searching the archives didn't turn
anything up and I think I've just been looking at it too long - it's
probably something really obvious, but... I have a custom sheet with
several text fields. These text fields are bound to attributes of an
outline view's selection binding. When a button is pressed, it drops
the sheet down to let them edit additional properties of the selected
entity in a sheet, and that all works great.
Except, the field that the cursor is in when the user presses okay
doesn't get saved. Now, if I tab out of the field or click on another
field before hitting okay, it works fine and saves the changed value.
It seems that I have to tell the field to somehow commit its changes,
but I'm not sure how to do that. I've tried having the field
resignFirstResponder, and have tried setting the sheet's first
responder to nil, and neither changed my results.
Does anyone have any idea what I'm doing wrong?
Thanks much,
Jeff
_______________________________________________
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