Skip to content

Having trouble with Cube Animator w/ programmatic cells #61

Description

@GalCohen

Hi.

The layout looks broken when using a cell programmatically. What am I missing? What could be different between the configuration of the cell in the Sample project in the storyboard and my own?

I narrowed the problem down to cell configuration because if I copy the Sample project's storyboard and viewControllers, I am about to successfully display and scroll the collectionview. As soon as I replace the Sample cell with my own, it fails.

I tore down the cell to the bare minimum

class MyCustomCell: UICollectionViewCell {
  // nothing    
}

and still, I get something like:
Screen Shot 2020-10-19 at 4 00 19 PMScreen Shot 2020-10-19 at 4 00 25 PM

I'm on v 1.10, using SwiftPM, testing on iPhone SE Simulator iOS 13.5 And 14.
I'm just trying to test out a full screen collectionview exactly like the sample project, only programmatic, and using my own cell.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions