Few.swift
Few.swift copied to clipboard
Views as functions of their state.
@joshaber This one's a biggie, sorry. I wanted to get the demo working in decent shape before PR. What we've got is - Add `Switch` element for `UISwitch` - Make...
The repo is still using Swift 2, should upgrade to Swift 3 or 4.
It's pretty excellent, and it's just _begging_ for a React-style API. Few can make this happen. @joshaber Any interest?
@joshaber We call `reloadData()` every time we diff a TableView, and that kills our selection. I'll work on this one – just putting it here as a reminder. Current thinking...
We use flexbox for layout but different terminology. We should use the same so it's easy to share existing knowledge and resources. This'll obviously require changes to SwiftBox.
It would be great if we could wrap UINavigationController in an `Navigator`(Navigation Component). Not sure how what the api would be.
@joshaber Sometimes it would be nice to be able to customize a Component's behavior from outside, after the render. For example I want to set some scroll view insets after...
Now that protocols can have concrete implementations, we should re-visit whether Few can be designed around value types and protocols. :sparkles:
The `Input` element does not seem to follow the `.childAlignment(.Stretch)` property. I have attached a screenshot (I'm bad at designing but these colors are used for clarity of the issue...