uber / uber/RIBs

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

Open
#331 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

iOS
Dominant language
Kotlin
Stars
7.9k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the iOS RIB architecture and existing view-controller lifecycle patterns, then determine the intended scope for a view-based RIB and how dynamically sized views should be supported; done requires an agreed design and documented implementation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.