Through recursion, I have accessed a private collection view inside a child view controller. It contains cells of type IceCreamCell
which hold a coneImageURL
string.
The problem is I'm not sure how to cast the accessed UICollectionViewCell to IceCreamCell
to access the coneImageURL
property since the cell class is private and Xcode doesn't recognize it.
Is there a way I can define the type by string (e.g. class(with name: "")
and or request that property in that manner?
EDIT: By private I mean that it's inside a private third party framework where I don't have access to the actual files.