Cocoa: NSArrayController and two tableview’s

Apple, Cocoa, General

Hi Cocoa Developers,
Tip of the day: Don’t bind two NSTableView’s to a single NSArrayController instance. Bugs will happen! More specifically, attempting to multi-select rows will not work properly — the two tableviews will fight for the selection. Eventually, this may be changed, but for now, in Tiger, it does not work, so don’t do it!

EDIT: This will work, as long as the allowsMultipleSelection value is the same on both tableviews.

Previous in Cocoa
no_thumbnail
Cocoa: Targeting the entire tableview in a drop operation
Next in Cocoa
no_thumbnail
Xcode shortcuts to finding a file.

Leave a Reply

avatar
500
  Subscribe  
Notify of

As an Amazon Associate I earn from qualifying purchases.

(c) 2008-2020 Corbin Dunn

Privacy Policy

Subscribe to RSS feeds for entries.

78 queries. 1.076 seconds.

Log in