-
I need help. I cannot display image between text using NSTextAttachment.
Here is my code:
```
let image1Attachment = NSTextAttachment()
image1Attachment.image = UIImage(named: "profile")
…
-
**功能描述:** 添加完剩余的属性
**优先级:** 首要
-
I've got the following text:
`Je ontvangt je factuur elke maand per post. Daarvoor betaal je € 2,54 per maand. Wil je deze kosten besparen? Meld je dan aan voor een gratis digitale factuur. Pas je …
-
## Expected Behavior
I want to put a button no a cell
## Actual Behavior
My problem is that I can’t even show the button, wanna know if it’s possible to do and how is the better way to achieve
…
-
Here is my sample code. The `` tag displays well in red color. But the `` tag does not show a strikethrough. What seems to be wrong with my code?
```
let all = Style.font(.systemFont(ofSize: 20))
l…
-
Hi
I was trying to add two line of attributed string inside bubble.
I used this function to create message object.
let str = userName + "\n" + temp.message!
let rangeName = (str as NSString).ran…
-
I add a NSAttributedString with link like this:
```
let text = "click google link"
let range = text.range(of: "google")
let attributedText = NSMutableAttributedString(string: text)
attributed…
-
Hi , Style.Swift line 84 and AttributedText.swift line 99 crash , swift 4.1 , Xcode 9 latest version , ios 11 ,
just copy pasted your "link" and "all" code and crashesh without doing anything else
…
-
在你的demo中,按照下面的写法所有文字都是redColor
```
l.attributedText = AS(@"CXYAttr是一个轻量级设置富文本库\n").color([UIColor redColor]).range(NSMakeRange(0, 7)).attr;
```
以下是我的分类
```
NSMutableAttributedString *muAttrS…
-
> MessageKit version : 1.0.0
> iOS Version : 11.4 (Simulator)
> Swift version : Swift 4.1
> iOS Device : iPhone X Simulator
>
> The issue is reproducable in the example app.
Since messagePad…