Posts

Post marked as solved
9 Replies
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!
Post marked as solved
9 Replies
Yes this is the right JSON any thoughts on how to decode this structure.?
Post marked as solved
2 Replies
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 😎
Post marked as solved
3 Replies
Thanks a ton 😍