Is it possible to set MDCCollectionViewCell from Interface Builder?

464 views Asked by At

From the demo apps I see all of the projects set MDCCollectionViewCell from codes and make no use of the autolayout to constraint the subviews, is it the only way now?

1

There are 1 answers

0
Adrian On

Yes, it's possible to use custom cells created in a storyboard in the normal way in an MDCCollectionView. I just modified the Collections > Storyboard Example to use a custom cell defined in the associated storyboard. The cell has a customized label with italic text and a light blue background. It's not pretty, but it gets the idea across. :)

Does that answer your question?