Re: Issue with NSTokenFieldCell in NSTableView and bindings..
Re: Issue with NSTokenFieldCell in NSTableView and bindings..
- Subject: Re: Issue with NSTokenFieldCell in NSTableView and bindings..
- From: Jerry Krinock <email@hidden>
- Date: Fri, 13 Nov 2015 21:29:35 -0800
- X_v_e_cd: 44243260dd81f6b6f67b643f16db75c2
- X_v_r_cd: 341138148844a4f545a93934e64f535c
> On 2015 Nov 11, at 19:36, Samuel Williams <email@hidden> 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@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