• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
nubie attempt to use NSTableView with NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: nubie attempt to use NSTableView with NSArrayController
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: mouseMoved events
  • Next by Date: Re: Using Cocoa to get UID
  • Previous by thread: I tried but I can't...
  • Next by thread: Re: nubie attempt to use NSTableView with NSArrayController
  • Index(es):
    • Date
    • Thread