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

Leave a Reply

avatar
500
  Subscribe  
Notify of

(c) 2008-2019 Corbin Dunn

Privacy Policy

Subscribe to RSS feeds for entries.

89 queries. 0.664 seconds.

Log in