4 ms·
Came here to post this. It's got some interesting usage of custom Swift operators to create almost diagrammatic code, like here: https://github.com/kickstarter
by sixstringtheory 7y ago
Came here to post this.
It's got some interesting usage of custom Swift operators to create almost diagrammatic code, like here: https://github.com/kickstarter/ios-oss/blob/master/Kickstarter-iOS/Views/Controllers/AddNewCardViewController.swift#L112-L115 https://github.com/kickstarter/ios-oss/blob/master/Kickstart...
_ = self.cardholderNameTextField
|> formFieldStyle
|> cardholderNameTextFieldStyle
|> \.accessibilityLabel .~ self.cardholderNameLabel.text
And it's the first iOS codebase I've seen that puts test files right next to the files that define the things being tested. It's all there together.
Tons of other goodies to find.
- akaralar 7y ago2 of the guys that worked on that app are doing video series about functional programming now where they talk a lot about the ideas in the app, https://www.pointfree.co https://www.pointfree.co
- sixstringtheory 7y agoNice rec! They're the ones that wrote the tagged [0] repo I use, had no idea they were connected. Very cool. [0]: https://github.com/pointfreeco/swift-tagged https://github.com/pointfreeco/swift-tagged