-
Hi
I am trying to build a UI header similar to the Apple News layout and I keep having UILabels/ UIImages vanish.
It would be usefult to understand whats causing it - or where I am going wrong. …
-
问题代码片段:
_cookMethod.sd_layout
.topSpaceToView(_cmImage, 2)
.rightSpaceToView(wc, 10)
.leftEqualToView(_cmImage)
.autoHeightRatio(0);
NSAttributedString \* attrStr = [[NSAttributed…
-
안녕하세요. 한국분인거 같아서 한국어로 글남깁니다.
제가 지금 밑줄이 있는 label을 사용하려 하는데 작동이 되지않습니다.
cell.labelThemeTitle?.attributedText = NSAttributedString(string: self.categotyThemes[indexPath.row].title!, attributes: [NSUn…
-
Attaching photo below.
![img_3f386d843b88-1](https://user-images.githubusercontent.com/30164240/44062642-1d449360-9f12-11e8-826c-580c4cbf3189.jpeg)
When sending messages, the words "Today" "Tomorr…
-
```swift
let mAtt = NSMutableAttributedString(string: "string")
let rely = BehaviorRelay(value: mAtt)
// ✅
BehaviorRelay(value: mAtt).bind(to: label.rx.attributedText)
// ✅
BehaviorRelay(value…
-
Hi,
My tags was not replaced:
![image](https://user-images.githubusercontent.com/395096/42964176-a1fdd814-8b6c-11e8-935d-556c4bfc3582.png)
My code:
```
let paragraph = NSMutableParagrap…
-
Hi,
href are not working. The following code snippet is an example. Can you look into it where we did the mistake?
Also, unable to click **Facebook** link. If I am displaying as **Facebook.com**, it…
-
Not sure why this simple example is failing.
```
func updatethePage(){
if let items = self.swiftyJsonVar2["daily"]["leadmessage"].string {
data = items.data(using: .utf8)
attrSt…
-
I'm using AsyncDisplayKit to have a more responsive CollectionView.
I have problems showing ASCollectionView header.
I would like to have headers in full width of the collection view to right align th…
-
Hi,
I have a text which might include "&" character, for example "Travel & Talk". I would like to format this text and show all the formatted text as an attributed string, but only "Travel" is show…