Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let color = UIColor(white: 0.2, alpha: 1)
- let attributedTextCustom = NSMutableAttributedString(string:"( format:) %@, attributes: [NSAttributedString.Key.font: UIFont(name:"AvenirNext-Medium", size: 16)!, NSAttributedString.Key.foregroundColor: color])
- attributedTextCustom.append(NSAttributedString(string: " ((String())", attributes: [NSAttributedString.Key.font: UIFont(name: "AvenirNext-Regular", size: 12)!, NSAttributedString.Key.foregroundColor: UIColor.lightGray
- ]))
- cell.nameLabel.attributedText = attributedTextCustom
Add Comment
Please, Sign In to add comment