YYText icon indicating copy to clipboard operation
YYText copied to clipboard

Powerful text framework for iOS to display and edit rich text.

Results 150 YYText issues
Sort by recently updated
recently updated
newest added

正常: 消失: 我是用在cell里面,有时候点击cell跳转后,在返回 就没有了, ![34f26560-dffb-4765-bd8e-22d9832db0a5](https://user-images.githubusercontent.com/5137016/40596604-9710fe44-626e-11e8-88c8-bbd100f4d8ad.png) 代码就是普通的添加附件,麻烦大神解答

如图,在debug下字符是可以显示下的但是莫名截断了

[messageAttribute yy_setTextHighlightRange:[msg rangeOfString:redMsg] color:[UIColor colorConvertFromString:@"#999999"] backgroundColor:[UIColor clearColor] tapAction:^(UIView * _Nonnull containerView, NSAttributedString * _Nonnull text, NSRange range, CGRect rect) { [weakSelf sendOrderGuide]; }]; UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"" message:@"" preferredStyle:UIAlertControllerStyleAlert];...

-[YYTextLayout firstRectForRange:(YYTextRange *)] ``` NSUInteger startLineIndex = [self lineIndexForPosition:range.start]; NSUInteger endLineIndex = [self lineIndexForPosition:range.end]; /* ... 此处省略若干行代码 ... */ NSMutableArray *lines = [NSMutableArray new]; // 这里的 `for` 循环, `i

window.overrideUserInterfaceStyle = UIUserInterfaceStyleDark 强制暗黑模式动态颜色不起作用,这个要怎么解决?

1. Add SwiftPM support 2. Partially close #1004

因为size的width是需要和rect的x修正,导致算出的textlayout中的textboundingsize的宽度会过宽

1. Swift API issue On Swift side, the signature of `+[YYTextLayout layoutWithContainer:text:]` and `+[YYTextLayout layoutWithContainers:text:]` would both be `YYTextLayout.layout(with:text:)` automatically. We need some manually `NS_SWIFT_NAME` to fix it. Saying it,...

_UIGraphicsBeginImageContextWithOptions(CGSize, BOOL, CGFloat, BOOL)(), UIGraphics.m:410