Can I use autoSizeThatFits on collection view cell ?
jsyrtsov opened this issue · 5 comments
Hello, thanks in advance !
I want to create a UICollectionViewCell with some labels added below each other.
+------------------------+
| |
| Label |
| |
| Label |
| |
| Label |
+------------------------+
So my cell should calculate the height of itself.
Can you please help me with that case ?
I think I found solution, if anybody interested I can share my code with auto sizing cells in collection view using PinLayout
I think I found solution, if anybody interested I can share my code with auto sizing cells in collection view using PinLayout
Sure, it may help some wanting to achieve the same thing.
I think I found solution, if anybody interested I can share my code with auto sizing cells in collection view using PinLayout
Sure, it may help some wanting to achieve the same thing.
What is the best way to share some code? Should I add it to example app and create PR or just create zip and leave here the link ?
I’d drop a zip here
I’d drop a zip here
ok, I'll drop it here after some improvements.
but I have no idea how long will be zip link alive