badoo / badoo/Chatto

Custom Flow Layout

Open
#230 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
4.6k
Forks
588
PR merge metrics
No merged PRs in 30d

Description

Hi! Thanks for great work.
Could you please tell the easiest way to implement my our custom flow layout like iMessage Application? The following code you can see below in gist repo. The main problem that we already have layoutmodel which calculates layoutAttributesForElementsInRect, layoutAttributesForItemAtIndexPath and shouldInvalidateLayoutForBoundsChange.

https://gist.github.com/NikAshanin/049825d4860e363c90271b616e403108

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked gist and comparing its custom flow layout with Chatto's existing layout model. Trace how layoutAttributesForElementsInRect, layoutAttributesForItemAtIndexPath, and shouldInvalidateLayoutForBoundsChange are used, then clarify the intended iMessage-style behavior and acceptance criteria before proposing an implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
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.