views:

40

answers:

0

Hi,

I'm trying to us a NSTokenField as a representation of a to-many relationship in Core Data. Since binding it directly appears to be impossible, I want to use its delegate method -(void) controlTextDidEndEditing:(NSNotification *)aNotification; to ring up the array controller, who should then do all the dirty work of inserting/deleting/updating the tokens into the entity. However, the array controller itself is in entity mode for entity "Tag". The entity "Tag"'s class is set to "Tag", too. However, even though I set the array controller to be the NSTokenField's delegate, the delegate method is not called. If I set the ViewController to be the delegate, the method is called w/o any problems.

Does anyone have any suggestions?

Thanks,

Oliver