UILabel
class UILabel : UIView, NSCoding, UIContentSizeCategoryAdjusting
Extensions for UILabel class.
-
Returns value which is estimated height for UILabel. Before using, you have to set all label properties like font, lines, word wrap mode. This function is creating copy of instance UILabel.
Declaration
Swift
public func estimateHeigh(width: Int) -> CGFloat