• 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: Using a Core Data relationship binded to an NSTokenField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a Core Data relationship binded to an NSTokenField


  • Subject: Re: Using a Core Data relationship binded to an NSTokenField
  • From: William Turner <email@hidden>
  • Date: Sun, 08 Jun 2008 21:43:06 -0700

On Jun 8, 2008, at 2:53 PM, Orestis Markou wrote:
I have a list of articles, binded to an NSArrayController binded to an NSTableView.

Each article can have multiple authors, which I want to display in one row, using an NSTokenField.

It seems like the NSTokenField expects an NSArray, and it gets an NSSet, which it ignores.

I've tried doing this with a Value Transformer, but I can't seem to get it working. I have managed to do it with a plain NSTextField by parsing comma-separated strings (so it seems that the wiring is correct), but it's a mess and tokens are really better suited.


This shouldn't be a problem - could you post the code for your value transformer?


Wil

_______________________________________________

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: Using a Core Data relationship binded to an NSTokenField
      • From: "Orestis Markou" <email@hidden>
References: 
 >Using a Core Data relationship binded to an NSTokenField (From: Orestis Markou <email@hidden>)

  • Prev by Date: Re: Garbage collector vs variable lifetime
  • Next by Date: Re: Garbage collector vs variable lifetime
  • Previous by thread: Using a Core Data relationship binded to an NSTokenField
  • Next by thread: Re: Using a Core Data relationship binded to an NSTokenField
  • Index(es):
    • Date
    • Thread