Releases: lingochamp/FuriganaTextView
New contentView property
The FuriganaTextView
class now has a new read-only property contentView
to reference the underlying UITextView
that dose the actual text rendering work.
The property will return a valid UITextView
after the contents
has been set.
Note: If the contents
has never been set, contentView
will return nil
.
The previous text view customization properties are now deprecated, and will be removed in the next release. The properties include:
scrollEnabled
alignment
Please use the contentView
to customize the text view instead.
Swift 3.0 Support
- Support Swift 3 and Xcode 8
- Minor fixes in Furiraga annotation layout
- Minor fixes in
demo
andREADME.md
Fix a bug when furigana attributed text encounters line break
In earlier versions, when furigana attributed text encounters line break, the furigana layout bounding rect may be incorrectly calculated to the combination of both lines, which may cause the furigana text be rendered at a incorrect position.
This version fixes this issue.
For more information about the issue, please see #1 .