Open ShawEw opened 3 years ago
PushRow needs the controller to be a SelectorViewController. If your controller is a subclass you could be able to make it work by setting the type of provider
to ControllerProvider<SelectorViewController<...>>
or maybe by just putting everything in one line Swift infers the types correctly.
If your view controller is not a subclass then you might have to create a row as subclass from OptionsRow
to avoid depending on SelectorViewController. Or maybe you could use a ButtonRowWithPresent
how to use PushRow to push custom viewcontroller? should I define customRow?