Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.53k stars 1.1k forks source link

Replace SkeletonCollectionDataSource.automaticNumberOfRows with UITableView.automaticNumberOfSkeletonRows and UICollectionView.automaticNumberOfSkeletonItems #409

Closed rlziii closed 3 years ago

rlziii commented 3 years ago

Summary

The previous implementation for this (Issue #400, Pull Request #401) was incorrect as SkeletonCollectionDataSource is not a public class. Therefore, this fixes the issue by replacing SkeletonCollectionDataSource.automaticNumberOfRows with UITableView.automaticNumberOfSkeletonRows and UICollectionView.automaticNumberOfSkeletonItems.

Closes #408

Requirements

github-actions[bot] commented 3 years ago
Warnings
:warning: Consider **also** updating the README for other languages.

Generated by :no_entry_sign: Danger Swift against 02aa3857022f40aec51d4f9948d26016b12b5c7d