Xcode – UICollection View not reloading after changing the Array from a button click (button is outside UI Collection view)
I am very new to swift. So TLDR I have a collection view which I want to update after I click a button. I have seen various solutions and everyone suggesting to put collectionView.reloadData but I am not understanding where…