#575: Bug in Cocoa bindings for NSTableViewColumn + NSArrayController
-----------------------------+----------------------------------------------
 Reporter:  n...@…           |       Owner:  lsansone...@…        
     Type:  defect           |      Status:  new                  
 Priority:  blocker          |   Milestone:  MacRuby 0.5          
Component:  MacRuby          |    Keywords:                       
-----------------------------+----------------------------------------------
 When an NSTableViewColumn has a subclass of NSTextFieldCell as its data
 cell, and when the column is bound to an NSArrayController, then when I
 add data to that array controller, it is expected that the arrangedObject
 of the array controller will set the datacell's objectValue property
 accordingly. The latter only seems to work for NSMutableDictionary
 strangely (maybe other cases too, but have only tested this one in
 particular) but not for other custom objects. When querying for the
 objectValue from within my subclass of NSTextFieldCell, I do however see
 that objectValue is set to an object of the right type, but its object id
 keeps changing during the draw cycle: I don't think that should be the
 case either as the objects in the arraycontroller should correspond to
 those in the datacell's objectValue.

 Also, objectValue's properties seem to be nil. This basically prevent
 people from using Cocoa bindings with NSTableViewColumns and custom
 objectValue's.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/575>
MacRuby <http://macruby.org/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to