[iOS] is there a way to create a view-based rib?
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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