RKConstraintBaseline

public struct RKConstraintBaseline

Undocumented

  • Create ‘equal’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor of superview

    Declaration

    Swift

    public static func firstBaseline(_ offset: CGFloat, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    offset

    Constraint constant

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘equal’ constraint between firstBaselineAnchor of current view and specific NSLayoutYAxisAnchor

    Declaration

    Swift

    public static func firstBaseline(_ anchor: NSLayoutYAxisAnchor, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    anchor

    Specific NSLayoutYAxisAnchor

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘equal’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor other view

    Declaration

    Swift

    public static func firstBaseline(_ view: UIView, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    view

    Other view

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘greaterThanOrEqual’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor of superview

    Declaration

    Swift

    public static func firstBaseline(min: CGFloat, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    min

    Constraint constant

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘greaterThanOrEqual’ constraint between firstBaselineAnchor of current view and specific NSLayoutYAxisAnchor

    Declaration

    Swift

    public static func firstBaseline(min anchor: NSLayoutYAxisAnchor, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    anchor

    Specific NSLayoutYAxisAnchor

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘greaterThanOrEqual’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor other view

    Declaration

    Swift

    public static func firstBaseline(min view: UIView, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    view

    Other view

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘lessThanOrEqual’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor of superview

    Declaration

    Swift

    public static func firstBaseline(max: CGFloat, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    max

    Constraint constant

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘lessThanOrEqual’ constraint between firstBaselineAnchor of current view and specific NSLayoutYAxisAnchor

    Declaration

    Swift

    public static func firstBaseline(max anchor: NSLayoutYAxisAnchor, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    anchor

    Specific NSLayoutYAxisAnchor

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘lessThanOrEqual’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor other view

    Declaration

    Swift

    public static func firstBaseline(max view: UIView, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    view

    Other view

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘equal’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor of superview

    Declaration

    Swift

    public static func lastBaseline(_ offset: CGFloat, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    offset

    Constraint constant

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘equal’ constraint between firstBaselineAnchor of current view and specific NSLayoutYAxisAnchor

    Declaration

    Swift

    public static func lastBaseline(_ anchor: NSLayoutYAxisAnchor, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    anchor

    Specific NSLayoutYAxisAnchor

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘equal’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor other view

    Declaration

    Swift

    public static func lastBaseline(_ view: UIView, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    view

    Other view

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘greaterThanOrEqual’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor of superview

    Declaration

    Swift

    public static func lastBaseline(min: CGFloat, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    min

    Constraint constant

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘greaterThanOrEqual’ constraint between firstBaselineAnchor of current view and specific NSLayoutYAxisAnchor

    Declaration

    Swift

    public static func lastBaseline(min anchor: NSLayoutYAxisAnchor, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    anchor

    Specific NSLayoutYAxisAnchor

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘greaterThanOrEqual’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor other view

    Declaration

    Swift

    public static func lastBaseline(min view: UIView, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    view

    Other view

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘lessThanOrEqual’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor of superview

    Declaration

    Swift

    public static func lastBaseline(max: CGFloat, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    max

    Constraint constant

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘lessThanOrEqual’ constraint between firstBaselineAnchor of current view and specific NSLayoutYAxisAnchor

    Declaration

    Swift

    public static func lastBaseline(max anchor: NSLayoutYAxisAnchor, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    anchor

    Specific NSLayoutYAxisAnchor

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline

  • Create ‘lessThanOrEqual’ constraint between firstBaselineAnchor of current view and firstBaselineAnchor other view

    Declaration

    Swift

    public static func lastBaseline(max view: UIView, offset: CGFloat = 0, priority: RKConstraintPriority = .required, isActive: Bool = true) -> RKConstraintBaseline

    Parameters

    view

    Other view

    offset

    Constraint constant. Default 0

    priority

    Constraint priority. Default .required

    isActive

    true, if constraint must be activated, otherwise false. Default true

    Return Value

    RKConstraintBaseline