while typing inside NSTokenField
I show suggestions for this value, with GetCompletionStrings
from NSTokenFieldDelegate
public override string [] GetCompletionStrings (NSTokenField tokenField, string substring, nint tokenIndex, nint selectedIndex)
{
//return my values
}
but if I will completely remove all symboled from NSTokenFiled this event won't be fired.
I need to catch notification when NSTokenFiled string value
will changed or cleared or updated, without click enter button.
I use custom nstoken field TokenField : NSTokenField
inside it I had override DidEndEditing, like this :
public override void DidEndEditing (NSNotification notification)
{
if (EditingFinished != null) {
EditingFinished (null, null);
}
base.DidEndEditing (notification);
}
this is only called after enter clicked , isn't fired on text change...
I also tried to handle change event of my view in view controller, but it is not called
TagsSearchField.EditingFinished += OnTagFilterSet;
TagsSearchField.Delegate = new TagFieldDelegate ();
TagsSearchField.Changed += (o, e) => {
//debug
};