I have a UICollectionView
and Im trying to set a label
and an image
in the collectionViewCell
. Unfortunately I cant seem
UICollectionViewCell
. For instance TestCollectionViewCell
.Storyboard
drag label
in cell and set "Custom class"
for this UICollectionViewCell
with your created class. Set Reusable identifier
, if your collection view in UIViewController
don't forget to set DataSource
and Delegate
for that collectionView
.IBOutlet
in your Cell subclass.numberOfItemsInSection
method.cellForItemAt
and try set text for a label.