> On 2015 Nov 11, at 19:36, Samuel Williams <[email protected]> > wrote: > > I'm trying to do something which in theory is rather simple: Use a > NSTokenFieldCell in a NSTableView and bind the table column value to the > token field. > > 1/ The binding doesn't seem to propagate the value back to the model.
Known bug since the beginning of NSTokenField in 2004. > 2/ Occasional crashes when editing the column. Haven’t seen that, but I probably wouldn’t have seen it, because when user attempts to edit the token field cell in my apps’ tables, my workaround for the known bug is that it opens a popover instead. > I've put a sample app together with a README which includes screenshots > outlining the issues and filed a bug report with Apple ( > https://github.com/ioquatix/TableViewTokenCellTest). Prepare for “Closed as a duplicate” :( > I was wondering the following:a/ I've filed a bug report but this a blocker > for a commercial app I'm > working on. I have some code level support requests available. Does this seem > like a reasonable issue to bring to Apple at that level? Yes, but a likely result is that you’ll be told that Engineering has concluded this should be handled as a bug report, and the incident will be credited back to your account. But you’ve already done the hard part of making the demo project, so it’s worth considering for a minute. > b/ Has anyone run into these issues and found any solutions? I'm thinking > one option might be to try and use a view based table-view rather than a > cell based one. I plan on coverting to view-based for other reasons. Currently, I’m still cell-based. It is quite possible that putting it in a view, which means you’d be using NSTokenField instead of NSTokenFieldCell, would fix the problem. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
