uber / uber/RIBs-iOS

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

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
193
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Original issue: https://github.com/uber/RIBs/issues/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!

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

The issue names no source file, test, or entry point. Start with the linked original discussion and clarify whether the goal is guidance for dynamic view sizing or a supported view-based RIB design; done would require an agreed scope and an explicit acceptance criterion.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.