Nemanja Markicevic and Juanpe Catalán
9fccaf4fbd
Add prepareCellForSkeleton for UITableView and UICollectionView ( #415 )
...
* Add prepareCellForSkeleton for UITableView and UICollectionView
* Update README to add collectionSkeletonView(_ skeletonView: UICollectionView, prepareCellForSkeleton cell: UICollectionViewCell, at indexPath: IndexPath)
* Update README.md
Co-authored-by: Juanpe Catalán <juanpecm@gmail.com >
2021-06-24 08:09:36 +02:00
Juanpe Catalán
58959a5f9b
Add both skeletonCellForRowAt and skeletonCellForItemAt methods ( #414 )
...
* add skeletonCellForIndexPath
* included in README file the new data source methods
* fix typo in the README file
2021-06-23 17:49:31 +02:00
Richard L Zarth III
6f78f5c378
Replace SkeletonCollectionDataSource.automaticNumberOfRows with UITableView.automaticNumberOfSkeletonRows and UICollectionView.automaticNumberOfSkeletonItems ( #409 )
2021-06-11 22:21:27 +02:00
Sam Harrison
e9ac3a5ab3
Fix TableViewCell skeleton not being removed & automaticNumberOfRows reference ( #402 )
...
* Change TableView subviewsToSkeleton to all subviews
* Fix reference to automaticNumberOfRows from pr #401
2021-06-10 18:59:21 +02:00
Richard L Zarth III and Juanpe Catalán
fb83a62f7b
Add SkeletonCollectionDataSource.automaticNumberOfRows Constant ( #401 )
...
* Add automaticNumberOfRows constant to SkeletonCollectionDataSource.
* Update tableView(_:numberOfRowsInSection:) and collectionView(_:numberOfItemsInSection:) to use the new automaticNumberOfRows constant.
* Update README.
* Update README.md
Add an **IMPORTANT!** header to the automaticNumberOfRows mention in the README.
Co-authored-by: Juanpe Catalán <juanpecm@gmail.com >
Co-authored-by: Juanpe Catalán <juanpecm@gmail.com >
2021-06-09 18:45:44 +02:00
Juanpe Catalán
74b5172ea5
use the right delegate method for footers ( #394 )
2021-05-11 19:15:41 +02:00
StasMalinovsky
62193db76f
Added estimated number of rows for UICollectionViewFlowLayout with vertical scroll direction. ( #385 )
2021-04-30 13:26:25 +02:00
Juanpe Catalán
3dcfebda82
refactor: swiftlint changes
2020-09-11 01:10:04 +02:00
Juanpe Catalán
14ef5012f3
feat: refactor Swift format
2019-08-22 15:11:01 +02:00
Eduard Bosch Bertran
623b326e7b
Merge pull request #158 from eduardbosch/feature/allow_updating_skeleton_layers
...
Update skeleton layout and configuration
2019-06-25 23:32:16 +02:00
Eduard Bosch Bertran
3a7be98057
fix: Update table / collection skeleton views
2019-06-18 23:21:53 +02:00
Guglielmo Faglioni
6784de9597
fix - support UICollectionView's headers and footers (UICollectionReusableView)
2019-06-18 17:44:50 +02:00
Juanpe Catalán
bc98cd600e
feat: Refactor associated keys
2018-12-13 09:42:44 +01:00
anho
024171a993
fixed collectionview xib and skeleton
2018-07-27 15:28:59 +02:00
Juanpe Catalán
719a5f507b
feat: refactor some method signatures
2018-05-05 13:25:39 +02:00
Juanpe Catalán
6604c64b03
feat: Add dummy delegate
2018-04-30 13:38:43 +02:00