Great job indeed Brian with bonus and LBTATools. But something not working for me, because i'm getting error "Extra argument 'distribution' in call" when
navBar.hstack(messagesLabel, feedLabel, distribution: .fillEqually).
checked the hstack code, i can't see "distribution" in there either...
@discardableResult
open func hstack(_ views: UIView..., spacing: CGFloat = 0, alignment: UIStackView.Alignment = .fill) -> UIStackView {
return _stack(.horizontal, views: views, spacing: spacing, alignment: alignment)
}
what am i doing wrong?