SMIconLabel icon indicating copy to clipboard operation
SMIconLabel copied to clipboard

UILabel with image placed from left or right

Results 3 SMIconLabel issues
Sort by recently updated
recently updated
newest added

Hi When i use the label in cell the size gets changed and as a consequence the text doesn't fit anymore cell.itemLabel?.icon = UIImage(named: "hanger-icon") cell.itemLabel?.iconPadding = 5 cell.itemLabel?.numberOfLines =...

Would it be possible to set @IBInspectable fields to configure icon and position through the Interface Builder?

labelLeft.icon = UIImage(named: "Bell") // Set icon image labelLeft.iconPadding = 5 // Set padding between icon and label labelLeft.numberOfLines = 1 // Required labelLeft.iconPosition =( .Right, .Center ) // Icon...