Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MrFusion

macrumors 6502a
Original poster
The NSTokenField can be used with coredata by giving it an array of strings. In your accessors code (set<Key>) you need to convert this array to whatever you want to use it for. It is not really mentioned in the docs, from reading them I got the impression nstokenfield would only accept a NSString but it doesn't.

It works nice but for one issue. Hitting enter accepts the (additional) input as an token, but only after hitting enter a second time does it propagate to coredata. In other words, hitting enter once enters the data, hitting enter again saves it in the context/store.

Does anyway have an hint about how to save the data directly after the first enter?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.