Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
- Subject: Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
- From: Ken Thomases <email@hidden>
- Date: Mon, 06 Feb 2017 14:37:56 -0600
On Feb 6, 2017, at 8:43 AM, Steve Mills <email@hidden> wrote:
>
> The problem is that when I edit values in the table, they only seem to get written to the defaults if I add a new item after editing an existing item.
>
> 1. Run app.
> 2. Edit existing row value.
> 3. Add new row and edit it.
> Result: Edited row is changed, new row has only default value instead of edited value.
>
> Any ideas?
What is your cell view? An NSTableCellView with an NSTextField as a descendant view? An NSTextField directly?
Are you also using bindings for the text field's value? How is that binding configured?
Regards,
Ken
_______________________________________________
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