Let's say I have a Post model. Post has image, title, comment properties. Comment property is optional. So, in my PostSectionController (section controller that manages post model), how many numberOfItems, cellForItem, sizeForItem do I return? So if comment is an empty string, how should I model the code?
Hey @joseph-francis, check out our demos, we have something almost exactly like this. You can also check out IGListBindingSectionController which does a lot of the dynamic stuff for you. There’s a demo for that too!
Sent with GitHawk
Hey @joseph-francis did you manage to get it solved?
Yes I have. Thank you so much! I forgot to reply. Please also let Ryan
Nystrom know that I really appreciate his help.
Thank you,
JF
On Thu, Dec 7, 2017 at 2:24 AM, Sebastian Benzian Olsson <
[email protected]> wrote:
Hey @joseph-francis https://github.com/joseph-francis did you manage to
get it solved?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Instagram/IGListKit/issues/1001#issuecomment-349896396,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXP3d8rCy5oSkyHSYZLYuDiMz3D0BDXQks5s96C_gaJpZM4QPFsS
.
Most helpful comment
Yes I have. Thank you so much! I forgot to reply. Please also let Ryan
Nystrom know that I really appreciate his help.
Thank you,
JF
On Thu, Dec 7, 2017 at 2:24 AM, Sebastian Benzian Olsson <
[email protected]> wrote: