-
```
YYLabel *label = [YYLabel new];
[self.view addSubview:label];
[label mas_makeConstraints:^(MASConstraintMaker *make) {
make.center.equalTo(self.view);
}];
NSMutableAttributedString *te…
-
**height calculated by ASTextNode2 is higher than ASTextNode, also not center layout in its rect**
![1559310521889](https://user-images.githubusercontent.com/3829585/58710120-323fae00-83ee-11e9-80c…
-
![image](https://user-images.githubusercontent.com/6138838/28661201-e1f4119e-72f0-11e7-9d48-273a1b396b24.png)
Space characters of Korean has weird background on iOS 8, iOS 9 and iOS 10.
…
-
Hi!
I'm having a problem with `ASCollectionNode`'s `contentInset`. After hours of debugging, to me It looks like the horizontal content insets are ignored when calculating header/footer sizes. I h…
-
### New Packages
https://github.com/zunda-pixel/LicenseProvider
https://github.com/zunda-pixel/AttributedText
https://github.com/zunda-pixel/tripadvisor-swift
https://github.com/zunda-pixel/cloudf…
-
Hi,
BonMot works great. It is really faster then attributedText.
But I would like to highlight a text like
~~~
some important text.
~~~
Any idea, how to solve it?
Greetings
Petr
-
使用BSText实现文本展开收缩的时候,设置truncationToken值,打印string值显示为空。
代码:
func addSeeMoreActionWithText(text:String,label:BSLabel,font:UIFont,isMore:Bool) -> NSAttributedString {
label.attributed…
-
NSMutableAttributedString *text = [[NSMutableAttributedString alloc] initWithString:str];
[text addAttribute:NSForegroundColorAttributeName
value:kThemeGreen
r…
-
here is my code:
OHParagraphStyle\* paragraphStyle = [OHParagraphStyle defaultParagraphStyle];
paragraphStyle.lineSpacing = 0;
paragraphStyle.textAlignment=kCTJustifiedTextAlignment;
[attr…
-
Scenario: If a PopTip is visible and we hide that Poptip and show another Poptip in the same callstack, the second Poptip is not visible.
Severity: This is important in cases where the code is such…