FROM : mmalcolm crawford
DATE : Wed Dec 01 22:41:14 2004
On Dec 1, 2004, at 6:29 AM, J. Scott Anderson wrote:
> I have a simple NSTable with eight properties (columns) defined. My
> bindings work great for the first row. I have two buttons bound so
> that they add and remove rows and they work fine. However, the new
> rows do not work as the first row does. Can anyone tell me where I
> missed the boat?
> The column is bound to the Value section with the name of the method
> that is being used to compute the simple math (adding, multiplying,
> etc.).
>
What are the actual bindings for the columns? It sounds like you may
have bound the column value to:
[Array Controller].selection.attributeName
?
If so, it should be:
[Array Controller].arrangedObjects.attributeName
See various examples at:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
mmalc
DATE : Wed Dec 01 22:41:14 2004
On Dec 1, 2004, at 6:29 AM, J. Scott Anderson wrote:
> I have a simple NSTable with eight properties (columns) defined. My
> bindings work great for the first row. I have two buttons bound so
> that they add and remove rows and they work fine. However, the new
> rows do not work as the first row does. Can anyone tell me where I
> missed the boat?
> The column is bound to the Value section with the name of the method
> that is being used to compute the simple math (adding, multiplying,
> etc.).
>
What are the actual bindings for the columns? It sounds like you may
have bound the column value to:
[Array Controller].selection.attributeName
?
If so, it should be:
[Array Controller].arrangedObjects.attributeName
See various examples at:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
mmalc
| Related mails | Author | Date |
|---|---|---|
| J. Scott Anderson | Dec 1, 15:29 | |
| mmalcolm crawford | Dec 1, 22:41 |






Cocoa mail archive

