Re: NSArrayController / NSTableView questions
Re: NSArrayController / NSTableView questions
- Subject: Re: NSArrayController / NSTableView questions
- From: Paul Forgey <email@hidden>
- Date: Mon, 5 Sep 2005 15:16:44 -0700
In the section about how to disable all sorting in an NSTableView by
manually binding the table view's content and selectionIndex, for
some reason this breaks my table column using an NSPopupButtonCell.
The contents of the popup are now apparently the description: method
strings of the to-one entities rather than the contentValues binding
for the column. I get this output:
-[NSManagedObject isEqualToString:]: selector not recognized [self =
0x351020]
On Sep 5, 2005, at 2:47 PM, mmalcolm crawford wrote:
On Sep 5, 2005, at 2:11 PM, Paul Forgey wrote:
Using the result of dropping an entity into a window as an
example, I have some questions about what is going on. Does this
"take over" the dataSource of the NSTableView? What is the
dataSource when this is happening? The controller? I'm trying to
figure out how to support dragging in the NSTableView to reorder
the items. Also, I'm noticing the NSTableColumns are all
individually bound to the various arrangedObject.key.path
expressions. How does this come together for the entire
NSTableView itself, which I am noticing is not bound to anything?
<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
_______________________________________________
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