• 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
Re: nubie attempt to use NSTableView with NSArrayController[resolved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nubie attempt to use NSTableView with NSArrayController[resolved]


  • Subject: Re: nubie attempt to use NSTableView with NSArrayController[resolved]
  • From: John James <email@hidden>
  • Date: Sun, 14 Nov 2004 13:26:49 -0500

Thanks, I had the columns correct, but the problem was that I also had the TableView content bound to the array controller.
After I unbound that all is well.


On Nov 13, 2004, at 6:01 PM, mmalcolm crawford wrote:


On Nov 13, 2004, at 2:29 PM, John James wrote:
| 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?

The "(a,a,a)" pattern signifies that the value is an array.

What are the bindings for the columns? They should be something of the form:

	[ControllerName].arrangedObjects.<propertyName>

There are a number of examples you can compare at:
	<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>

mmalc

_______________________________________________ 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
References: 
 >nubie attempt to use NSTableView with NSArrayController (From: John James <email@hidden>)
 >Re: nubie attempt to use NSTableView with NSArrayController (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Execute On-Load
  • Next by Date: performSelector and subclassing
  • Previous by thread: Re: nubie attempt to use NSTableView with NSArrayController
  • Next by thread: NSDocument window not showing
  • Index(es):
    • Date
    • Thread