Skip to content

ControllerRootViewContainer could be typed. #62

@matoushybl

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> { ... }
}

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