Comments (9)
@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.
Hmm, can you provide a sample project to demonstrate the issue? I need more information on this.
from animatedcollectionviewlayout.
I encountered this issue too.
from animatedcollectionviewlayout.
This is very simple sample project.
CubeAnimationSample.zip
from animatedcollectionviewlayout.
@KelvinJin What cause this bug?
from animatedcollectionviewlayout.
This is storyboard version.
CubeAnimationSample 2.zip
from animatedcollectionviewlayout.
This bug of non-storyboard is fixed if I use contentView of UICollectionView.
from animatedcollectionviewlayout.
@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.
@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)
- How to make parallax cell not effect text? HOT 3
- How to adjust collectionView Cell size appropriately when in landscape? HOT 6
- Hello, I would like to ask how to write the following layout.
- The cell is set to the screen width, and the current cell position is constantly shifted
- RotateInOut - Cells are not vertical @ center
- CubeAttributesAnimator screen display is strange. HOT 8
- Blinking parallax on iPhone 8 plus HOT 2
- RTL Support HOT 1
- Layout wrong on iOS 10
- Is it possible with infinite scrolling?
- Scroll by button tap HOT 1
- iOS 14 break CubeLayout HOT 9
- Having trouble with Cube Animator w/ programmatic cells HOT 10
- Cell scroll with scrollToItem does not work HOT 4
- index path is not corrrect.
- On vertical scroll with sections, unexpected behaviour. Cells appear in front of others
- CrossFade Animation alpha is not changed to 1.0
- Importing this library has no effect
- Automatic page jumping would be better
- CubeAttributesAnimator Bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animatedcollectionviewlayout.