SimplePagedView icon indicating copy to clipboard operation
SimplePagedView copied to clipboard

Make it mutable

Open twof opened this issue 7 years ago • 2 comments

SimplePagedView is currently best used immutably, because that's what we're doing within Redbooth. This is a clunky and unnatural way to use a UI component without a lot of auxiliary infrastructure. SimplePagedView either needs to be mutable, or needs to include something to assist with immutable usage.

twof avatar Dec 28 '18 20:12 twof

Hi, I want to add 3 different-different UiView so where can add this UIView?

ChandaniOS avatar Sep 03 '19 12:09 ChandaniOS

Can you do something like this?

SimplePagedView(with:
    FooView(),
    BarView(),
    BazView()
)

twof avatar Sep 03 '19 19:09 twof