Skip to content

ControllerRootViewContainer could be typed. #62

Description

@matoushybl

The implementation could be like this:

public final class TypedControllerRootViewContainer<CONTROLLER>: ControllerRootViewContainer

public class ControllerRootViewContainer: UIView, Configurable

It would allow switching in styles in Configuration like this:

controllerRoot = { view in
    if view is TypedControllerRootViewContainer<LoginController> { ... }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions