Attributed Text assigned to UILabel, Swift. Preview Add multiple type of styling in text like foregorund color, background color, stroke color, shadow using NSMutableAttributedString. Reference