CSHasLayoutProtocol

public protocol CSHasLayoutProtocol

Undocumented

  • Undocumented

    Declaration

    Swift

    var layoutFunctions: CSEvent<Void> { get }
  • Undocumented

    Declaration

    Swift

    func onLayout() -> Self
  • Undocumented

    Declaration

    Swift

    func onLayoutSubviewsFirstTime()
  • Undocumented

    Declaration

    Swift

    func onCreate()
  • Undocumented

    Declaration

    Swift

    func onCreated()
  • Undocumented

    Declaration

    Swift

    func onUpdate()

Available where Self: UIScrollView

  • Undocumented

    Declaration

    Swift

    @discardableResult
    func layout<View>(footer view: View, margin: CGFloat, function: @escaping ArgFunc<View>) -> View where View : UIView
  • layout(footer:margin:) Extension method

    Undocumented

    Declaration

    Swift

    @discardableResult
    func layout<View>(footer view: View, margin: CGFloat) -> View where View : UIView

Available where Self: UIView

  • column(top:margin:bottom:) Extension method

    Undocumented

    Declaration

    Swift

    static func column(top topView: UIView, margin: CGFloat = 0, bottom bottomView: UIView) -> Self
  • Undocumented

    Declaration

    Swift

    static func row(fixed leftView: UIView, margin: CGFloat = 0, sizedToFit rightView: UIView) -> Self
  • Undocumented

    Declaration

    Swift

    func row(fixed leftView: UIView, margin: CGFloat = 0, sizedToFit rightView: UIView) -> UIView
  • Undocumented

    Declaration

    Swift

    static func row(flexible leftView: UIView, margin: CGFloat = 0, flexible rightView: UIView) -> Self
  • Undocumented

    Declaration

    Swift

    func row(flexible leftView: UIView, margin: CGFloat = 0, flexible rightView: UIView) -> CSView
  • row(flexible:margin:fixed:) Extension method

    Undocumented

    Declaration

    Swift

    static func row(flexible leftView: UIView, margin: CGFloat = 0, fixed rightView: UIView) -> Self
  • row(flexible:margin:fixed:) Extension method

    Undocumented

    Declaration

    Swift

    func row(flexible leftView: UIView, margin: CGFloat = 0, fixed rightView: UIView) -> CSView
  • row(fixed:margin:flexible:) Extension method

    Undocumented

    Declaration

    Swift

    static func row(fixed leftView: UIView, margin: CGFloat = 0, flexible rightView: UIView) -> Self
  • row(fixed:margin:flexible:) Extension method

    Undocumented

    Declaration

    Swift

    func row(fixed leftView: UIView, margin: CGFloat = 0, flexible rightView: UIView) -> CSView