UITableView

class UITableView : UIScrollView, NSCoding, UIDataSourceTranslating
  • Adds version label into the table footer. Will replace current table footer.

    Declaration

    Swift

    public func addVersionFooter(with format: AppInfo.VersionFormat,
                                 alignment: NSTextAlignment = .center,
                                 textColor: UIColor = UIColor.gray,
                                 footerHeight: CGFloat = 22)

    Parameters

    format

    Version format

    alignment

    Label text alignment in the footer, default: Center

    textColor

    Label text color, default: UIColor.gray

    footerHeight

    Label text color, default: 20