Skip to content

Mitmatched frame #5

@PatrickSH79

Description

@PatrickSH79

`Hi ApplikeySolutions,
Unfortunately, I ran into a Problem with GravitySlider using Swift 4.1 on XCode 10.1:

TIMESTAMP MYAPP[4843:192324] Logging only once for UICollectionViewFlowLayout cache mismatched frame
TIMESTAMP MYAPP[4843:192324] UICollectionViewFlowLayout has cached frame mismatch for index path <NSIndexPath: 0xc3c3a5e22250291b> {length = 2, path = 0 - 1} - cached value: {{154.45696076278136, 67.006175491898148}, {152.38257137345681, 206.54764901620371}}; expected value: {{177.5, 51}, {176, 238.56}}
TIMESTAMP MYAPP[4843:192324] This is likely occurring because the flow layout subclass GravitySliderFlowLayout.GravitySliderFlowLayout is modifying attributes returned by UICollectionViewFlowLayout without copying them

I already tried things like copying the Attributes as shown on StackOverflow (https://stackoverflow.com/questions/31508153/warning-uicollectionviewflowlayout-has-cached-frame-mismatch-for-index-path-ab), but it didn't work out.

Any ideas / help on that?

Thank you in advance!
-Patrick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions