badoo / badoo/Chatto

Can't gain access to the UITextView in the message bubble to handle delegate methods

Open
#225 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.6k
Forks
588
PR merge metrics
No merged PRs in 30d

Description

I have a custom URL scheme that I'd like to handle using the UITextViewDelegate (func textView(UITextView, shouldInteractWith: URL, in: NSRange, interaction: UITextItemInteraction)) methods. Since these are private methods, what would be the best way to solve this problem?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the message bubble's UITextView and the named UITextViewDelegate callbacks, especially shouldInteractWith:in:interaction:. Determine whether the framework exposes a supported way to receive custom URL interactions without relying on private methods; done means the approach is documented and can handle the requested custom URL scheme.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.