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 programming
Cocoa: Targeting the entire tableview in a drop operation
Next in programming
Xcode shortcuts to finding a file.

Leave a Reply

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. 0.453 seconds.

Log in