Pavel Sharanda

Results 32 comments of Pavel Sharanda

Hi @MRSorokinMaxim, Could you provide sample project where this bug is reproducible?

@prikhi @elefantel could you check this workaround from Carthage team? https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md

Hi, Works for me if set `translatesAutoresizingMaskIntoConstraints` to `false` ``` struct HTMLViewAttributedLabel: UIViewRepresentable { let html: String func makeUIView(context: Context) -> AttributedLabel { let all = Style.font(.systemFont(ofSize: 16)) let link...

Yeah API is not perfect. But haven't been able to find anything better.

Actually, what if add modifier like this: `let a = Style("a").userInteractionEnabled(true).foregroundColor(.blue)` So there is no need to define something special to make text clickable

I am also thinking about macOS, in addition to highlighted, text can have hovered state

userInteractionEnabled is more universal across platforms. Actually I just realized that there is no support for AttributedLabel on macOS :)

Hi @devandanger Thanks for your interest! Unfortunately I don't see any way, how we can increase hit area without introducing intersection problem, hit area is already at max size But...

Looks good, I like it 👍 Do you want to create a PR?

Hi, Could you explain in more details your suggestion?