I want to use
-preferredLayoutAttributesFittingAttributes inside the
UICollectionviewCell subclass we are writing.
Currently we already had a weak pointer to out
parentViewController and I try to set the collectionViewcell frame width to be the same as
I don't want to have a pointer to the
parentViewController from the
CollectionViewCell subclass as having a reference to the parentviewcontroller is a bad idea.
My question is....
Is there a simple and ideal way to get the frame of collectionviewcell's super view from inside the