• 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
Binding NSTableView to NSSet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding NSTableView to NSSet


  • Subject: Binding NSTableView to NSSet
  • From: Koen van der Drift <email@hidden>
  • Date: Wed, 04 Jul 2012 13:46:02 -0400

Hi,

I am trying to hookup a view based NSTableView to my CoreData model using bindings.  The table should display various attributes of the entity 'Tags', which has a many-to-one relationship with my main entity. In my code I can see that the Tags entities are valid using NSLog statements, however I fail to use the correct binding to hook it up to the table. From the docs (at <https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/TableView/PopulatingViewTablesWithBindings/PopulatingView-TablesWithBindings.html#//apple_ref/doc/uid/10000026i-CH13-SW1>), I see I need to bind the table to an NSArrayController, however, my Tags are an NSSet.

How do I solve this?

Thanks,

- Koen.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Binding NSTableView to NSSet
      • From: Koen van der Drift <email@hidden>
  • Prev by Date: Re: Dynamic modification of text search results
  • Next by Date: Re: Dynamic modification of text search results
  • Previous by thread: Re: Property inheritance
  • Next by thread: Re: Binding NSTableView to NSSet
  • Index(es):
    • Date
    • Thread