This example is a little contrived, because I'm struggling with how to phrase it properly. The answer to the question might be as simple as "You can't do that,", and I'm cool if it is, I just want to confirm I'm not doing something stupid.
I have an array controller of mutable dictionaries. It has two keys - "A" and "B". I have a view based table - I bound the table's Table Content -> Array Controller arrangedObjects Table Cell View.Table View Cell. value is bound -> Table CellView objectValue.A. Table Cell View.Table View Cell. value is bound -> Table CellView objectValue.B. This all works just fine. I then tried to rebind my "B" column to an arbitrary external object with a constant parameter. Assume that this is a class, instantiated within IB, that just has a single method, conveniently also called "B", which returns a single value - "B". It's wrapped up in an Object Controller. I rebound my second column: Table Cell View.Table View Cell. value is bound -> staticObjectController.selection.B. This does not work. I receive no errors (other than Xcode not being able to resolve the key path), and the table just displays the default text repeated. If I try this with a cell based table, it works - bind Table 2.ColumnA.value -> arraycontroller.arrangedObjects.A bind Table 2.columnB.value -> staticObjectController.selection.B Repeats "B" as expected in columnB. It only seems to be in a view based table that it doesn't work. Do I have to cells in a view based table to the cell view/objectValue path? Is there some other obvious gotcha I'm missing? Should this just not be done? What gives? I can provide a sample project if this isn't clear. Thanks, -Jim... _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com