PaoloCuscela / Cards

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

Cannot update title, subtitle and category label for CardPlayer #16

Closed WillChilcutt closed 7 years ago

WillChilcutt commented 7 years ago

Hello,

Upfront I wanted to say thank your for the project!

I have a UICollectionView and each cell contains a CardPlayer. I can set the new videoSource and playerCover correctly, but in order to refresh the CardPlayer labels I have to call setNeedsDisplay() in order to get the redraw to happen. Those labels are private so I do not have access to them outside of the class.

PaoloCuscela commented 7 years ago

I'm fixing that right now for every card. Actually they don't update in runtime. 1.2.5 will have runtime views update and descriptions for each public attribute.

Sent with GitHawk

WillChilcutt commented 7 years ago

Awesome! Thanks!