Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Doubt/Question β€” Update text parsing, while writing #148

Open
2 of 3 tasks
ivancantarino opened this issue May 5, 2020 · 1 comment
Open
2 of 3 tasks

Doubt/Question β€” Update text parsing, while writing #148

ivancantarino opened this issue May 5, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@ivancantarino
Copy link

ivancantarino commented May 5, 2020

What is the purpose of your issue?

  • Bug
  • Question
  • Other

Description

Hello,
I have a doubt that I'm looking forward to get some help πŸ™πŸ»
I have added the RichTextView to my ViewController and passed in the input string and it works properly.
I have also set the isEditable property to true.

My question comes: how can I update the content (properly parsed) as I'm writing?
I have added the richText.update(input:_) within the textViewDidChange to be as the textView.text, but the view seems to lag/stuck!? and the view doesn't update itself.

Is there any way to achieve this?

@BisuGit
Copy link
Collaborator

BisuGit commented Oct 2, 2020

Hello,
That should be the correct way to update a RichTextView's text. There are many other optional parameters in the update method that are set to nil, one of them being a completion block that might help or give some clues.

@BisuGit BisuGit added the help wanted Extra attention is needed label Oct 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants