Thanks a ton 😍
Post
Replies
Boosts
Views
Activity
I added this to the collectionviewcelloverride func preferredLayoutAttributesFitting(_ layoutAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes {
setNeedsLayout()
layoutIfNeeded()
let size = contentView.systemLayoutSizeFitting(layoutAttributes.size)
var frame = layoutAttributes.frame
frame.size.height = ceil(size.height)
layoutAttributes.frame = frame
return layoutAttributes
}The Cell is fitting perfectly now 😎
Yes this is the right JSON any thoughts on how to decode this structure.?
Yeah. Is there any way of decoding this type of JSON. I checked we can use enums but i'm kinda wage on using enum can you help me out this!