• 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: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
      • From: Steve Mills <email@hidden>
References: 
 >View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
  • Next by Date: Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
  • Previous by thread: Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
  • Next by thread: Re: View based NSTableView bounds to NSArrayController bounds to NSUserDefaultsController
  • Index(es):
    • Date
    • Thread