Skip navigation.
 
mlUsing a Core Data relationship binded to an NSTokenField
FROM : Orestis Markou
DATE : Sun Jun 08 23:53:22 2008

Hello,

I've been looking everywhere to find a solution to this:

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.

Regards,
--
Orestis Markou
<email_removed>
http://orestis.gr/

Related mailsAuthorDate
mlUsing a Core Data relationship binded to an NSTokenField Orestis Markou Jun 8, 23:53
mlRe: Using a Core Data relationship binded to an NSTokenField William Turner Jun 9, 06:43
mlRe: Using a Core Data relationship binded to an NSTokenField Orestis Markou Jun 9, 11:08
mlRe: Using a Core Data relationship binded to an NSTokenField Charles Srstka Jun 9, 18:40
mlRe: Using a Core Data relationship binded to an NSTokenField Orestis Markou Jun 11, 12:13
mlRe: Using a Core Data relationship binded to an NSTokenField Orestis Markou Jun 15, 23:01