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.

Next in Apple
Greener AAPLs

Leave a Reply

avatar
500
  Subscribe  
Notify of

(c) 2008-2019 Corbin Dunn

Privacy Policy

Subscribe to RSS feeds for entries.

89 queries. 0.636 seconds.

Log in