You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have two LEOTextViews (Non-editable view and editable view).
First subclassed in Storyboard, with the ViewController written in Obj-C.
Second is initiated programmatically, with the ViewController written in Swift.
Write text and set to bold / italic in the second VC (Swift) and segue back to first VC (Obj-C). All formatting copies perfectly. Then try to segue back to the second VC (Swift) to edit again, and bold & italics are reverted back to normal text. Formatting not copied for some reason...although bullet points are copying correctly, just not bold & italic, which is strange since it copied over perfectly the first time to the non-editable view.
In both cases I'm just doing textView.attributedText = otherViewController.textView.attributedText
The text was updated successfully, but these errors were encountered:
Have two LEOTextViews (Non-editable view and editable view).
First subclassed in Storyboard, with the ViewController written in Obj-C.
Second is initiated programmatically, with the ViewController written in Swift.
Write text and set to bold / italic in the second VC (Swift) and segue back to first VC (Obj-C). All formatting copies perfectly. Then try to segue back to the second VC (Swift) to edit again, and bold & italics are reverted back to normal text. Formatting not copied for some reason...although bullet points are copying correctly, just not bold & italic, which is strange since it copied over perfectly the first time to the non-editable view.
In both cases I'm just doing
textView.attributedText = otherViewController.textView.attributedText
The text was updated successfully, but these errors were encountered: