Code Monkey home page Code Monkey logo

Comments (9)

boominadhaprakash avatar boominadhaprakash commented on May 24, 2024 1

@KelvinJin I have fixed by adding all subviews inside the cell.ContentView. previously I have added to cell subview. I unable to caught the previous comment points. I got the issue. :)

from animatedcollectionviewlayout.

KelvinJin avatar KelvinJin commented on May 24, 2024

Hmm, can you provide a sample project to demonstrate the issue? I need more information on this.

from animatedcollectionviewlayout.

yukitoto avatar yukitoto commented on May 24, 2024

I encountered this issue too.

from animatedcollectionviewlayout.

yukitoto avatar yukitoto commented on May 24, 2024

This is very simple sample project.
CubeAnimationSample.zip

from animatedcollectionviewlayout.

yukitoto avatar yukitoto commented on May 24, 2024

@KelvinJin What cause this bug?

from animatedcollectionviewlayout.

yukitoto avatar yukitoto commented on May 24, 2024

This is storyboard version.
CubeAnimationSample 2.zip

from animatedcollectionviewlayout.

yukitoto avatar yukitoto commented on May 24, 2024

This bug of non-storyboard is fixed if I use contentView of UICollectionView.

from animatedcollectionviewlayout.

KelvinJin avatar KelvinJin commented on May 24, 2024

@yukitoto Hey, thanks for the sample project. Yeah, the issue is the contentView. The CubeAttributesAnimator will only transform contentView of the UICollectionViewCell, which means the background colour of the cell has to be clear (or all the same for all cells) in order for it to make sense. You can, however, change the background colour of the contentView!

I'll have to document this somewhere...

from animatedcollectionviewlayout.

boominadhaprakash avatar boominadhaprakash commented on May 24, 2024

@KelvinJin I am unable to understand, how to add the CubeAttributesAnimator to contentView of cell.
I am not using Storyboard or XIB. I have added the AnimatedCollectionViewLayout as UICollectionViewLayout Programmatically. But not working. Can you please assist me?

from animatedcollectionviewlayout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.