ios - Populating UICollectionView in reverse order -
i populate uicollectionview in reverse order last item of uicollectionview fills first , second last , on. i'm applying animation , items showing 1 one. therefore, want last item show first.
i'm assuming using uicollectionviewflawlayout, , doesn't have logic that, works in top-left bottom-right order. have build own layout, can creating new object inherits uicollectionviewlayout.
it seems lot of work not much, have implement 4 methods, , since layout bottom-up should easy know frames of each cell.
check apple tutorial here: https://developer.apple.com/library/prerelease/ios/documentation/windowsviews/conceptual/collectionviewpgforios/creatingcustomlayouts/creatingcustomlayouts.html
Comments
Post a Comment