StackViewController is an open source component from Seed that builds on UIStackView adding a number of features for creating forms and lists.
Often UITableView is used for creating forms, but UITableView requires a large amount of boiler plate code, can be tedious when working with variable height content, and especially difficult if the layout needs to change.
StackViewController allows you to lay out views as simply as you would with UIStackView, but adds some features necessary for lists and forms such as scrolling support, autoscroll support for getting out of the way of the keyboard and customizable separator views.
Here’s an image showing a form created with StackViewController:
You can find StackViewController on Github here .
A nice component for displaying forms and static lists.
转载本站任何文章请注明：转载至神刀安全网，谢谢神刀安全网 » Maniac Dev : StackViewController – Enhanced UIStackView Based Component For Forms And Static Lists