• 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: NSArrayController / NSTableView questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NSArrayController / NSTableView questions
      • From: Paul Forgey <email@hidden>
References: 
 >NSArrayController / NSTableView questions (From: Paul Forgey <email@hidden>)
 >Re: NSArrayController / NSTableView questions (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Class-Within-Class and Archiving
  • Next by Date: Re: Core Data and two linked NSOutlineView (s) - ala Safari bookmarks
  • Previous by thread: Re: NSArrayController / NSTableView questions
  • Next by thread: Re: NSArrayController / NSTableView questions
  • Index(es):
    • Date
    • Thread