ios-oss
ios-oss copied to clipboard
What does "|>" mean?
_ = self.titleLabel
|> UILabel.lens.font .~ .ksr_headline(size: 14)
|> UILabel.lens.textColor .~ .ksr_soft_black
|> UILabel.lens.text %~ { _ in Strings.Discover_more_projects() }
the same with '.~' and '%~'
emm.. public func |> <A, B> (x: A, f: (A) -> B) -> B { return f(x) }