python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Attributed String in Swift
I'm trying to autocomplete emails. I've done the autocomplete part, but I want to use some properties in strings. For example, after typing the user's e-mail address and making @g, I want to show a di...
Şevval Tıraşlar
Votes: 0
Answers: 2
NSAttributedText alignment right and left doesn't work for the same object
I have a simple extension for NSAttributedString:
convenience init(
string: String,
strikeThrough: Bool = false,
color: UIColor? = nil,
font: UIFont? = nil,
alignment: NSTextAlignm...
Bartłomiej Semańczyk
Votes: 0
Answers: 1
How to make NSAttributedString link clickable
I have a requirement to display the numbers as clickable link from a string input(contains alphabets and numerals) and on tap of that number it should open an iOS call dialler and should dials that nu...
johnsena
Votes: 0
Answers: 1
UIButton Change Title Color Partially
enter image description here
I want to make button like this picture.
In order to implement it like a picture, the color of the button title needs to be partially changed, but I don't know what to do....
장서영
Votes: 0
Answers: 1