You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great Project! Do you have any writing about Add/Delete Sections and Add/Delete CollectionView Cells from user interface, can you help me please. Thanks
The text was updated successfully, but these errors were encountered:
You can add and delete UICollectionViewCells simply by calling UICollectionView's reloadData method, be sure to update the value inside collectionView(_:numberOfItemsInSection:) before calling it.
So for example if you have 20 UICollectionViewCells in a UICollectionView and you want to delete one or more just update the numberOfItemsInSection value from 20 to whatever number and call reloadData on the UICollectionView you're pointing to.
Since GLTableCollectionView is a UITableViewController you could also just call the reloadData method on the GLTableCollectionView to reload and update all the UICollectionViews with a single action.
Hi Giulio!
Great Project! Do you have any writing about Add/Delete Sections and Add/Delete CollectionView Cells from user interface, can you help me please. Thanks
The text was updated successfully, but these errors were encountered: