Skip to content

[iOS] is there a way to create a view-based rib? #33

@alexvbush

Description

@alexvbush

Original issue: uber/RIBs#331

My title might not be obvious to some of you so here is my situation. I'd like to implement a view changes height dynamically based on its contents. I usually do it by overriding the intrinsicContentSize and autoresizingMask but since it's a view controller, I'm lost at how I should go around it.

And besides my situation, I feel there is a need to create a view-based rib since in some situations, we don't need a view controller's life cycle or view controller's aspects.

I was just wondering how you guys do it.

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions