cardslider
cardslider copied to clipboard
Scroll left for more cards, Insert item at the beggining?
When I try to do something like this:
self.movies.insert(newMovie, at: 0) self.collectionView.insertItems(at: [IndexPath(item: 0, section: 0)]) self.collectionView.collectionViewLayout.invalidateLayout() self.collectionView.layoutIfNeeded()
I get that card on top of the first one, it has a strange layout problem. Is it possible to scroll left for more cards?