nubie attempt to use NSTableView with NSArrayController
nubie attempt to use NSTableView with NSArrayController
- Subject: nubie attempt to use NSTableView with NSArrayController
- From: John James <email@hidden>
- Date: Sat, 13 Nov 2004 17:29:48 -0500
I have been trying to build up a TableView with a Controller. I am
trying to do a simple table of an array of objects with two columns
corresponding to two attributes of the object. Very similar to
Hillegass's 2nd edition. I have 'add' and a 'remove' buttons. I get a
strange behavior which a more seasoned Cocoa builder will probably
recognize, but I have not found its significance in anything i have
read so far.
When i hit the add-button i get:
+-----------+---------------+
| name | key |
+-----------+---------------+
| (name) | (key) |
+-----------+---------------+
When i hit the add-button again i get:
+-------------------+---------------+
| name | key |
+-------------------+---------------+
| (name,name) | (key,key) |
| (name,name) | (key,key) |
+-------+---------------------------+
When i hit the add-button again i get:
+---------------------------+----------------------------+
| name | key |
+---------------------------+----------------------------+
| (name,name,name) | (key,key,key) |
| (name,name,name) | (key,key,key) |
| (name,name,name) | (key,key,key) |
+-------+------------------------------------------------+
Is this an obvious bug?
What does the "(a,a,a)" pattern signify?
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden