uber / uber/RIBs

[iOS] How Uber create a viewable RIB based on UIView not UIViewController ?

Open
#362 5 comments 1 reaction 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

As documentation mentioned that a RIB can be viewable or viewless, it is found that viewable RIB must be associated with UIViewController. However, I think it is not possible and most viewable RIB should be UIView-based as RIBs framework encouraging us to make reusable and micro components.

As the below image shown, are those viewable RIBs (Confirmation, Location Refinements, Menu) UIViewController based?
image

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 documentation file, test, or entry point. Start by locating the documentation that defines viewable and viewless RIBs, then verify how UIView, UIViewController, and the iOS RIB APIs are intended to relate. Done means the docs clearly answer whether UIView-based viewable RIBs are supported and explain the relationship using the reported examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
documentation, mobile-dev
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.