Allow MessageLabelDelegate to specify enabled data detectors#197
Allow MessageLabelDelegate to specify enabled data detectors#197hyouuu wants to merge 3 commits into
Conversation
|
@hyouuu I think this is tricky because it's confusing which detectors the cell is going to be using. I do agree that we can improve this. I'm guessing your problem is you want to modify the detectors but it's too difficult for you to subclass? |
|
I think most MessageKit users would use a subclass to MessagesViewController e.g.: |
|
@hyouuu I've given this some thought and I don't think it makes sense that this is declared as part of the |
|
Looking forward to it! |
In my use case, I don't want to show data detectors, and this change allows delegates to list what they want, or simply return nil to keep the default behavior