PaoloCuscela / Cards

Awesome iOS 11 appstore cards in swift 5.
MIT License
4.2k stars 274 forks source link

Add Card to Collection View [Question] #89

Closed kraj011 closed 5 years ago

kraj011 commented 5 years ago

Hey so i am trying to add the card to a horizontal scrolling collection view. However, I have tried several things and none seem to work. The card at its base is just a UIView I believe but ive still had no luck implementing it as such. Any help is appreciated :D Thanks!

PaoloCuscela commented 5 years ago

Yes, Card is an UIView. You can use is as you would do in a tableview. In the storyboard placing an UIView inside the prototype cell and subclassing it into Card. Or by code instantiating it in a Custom Cell Class