قالب وردپرس درنا توس
Home / IOS Development / What is the best way to implement data segmented collection views? : iOSProgramming

What is the best way to implement data segmented collection views? : iOSProgramming



Looks to me as if you have a simple table view there with value1 cells. Your objects would be a Day object that would have the date and a variety of items. You want a total selection of Day objects, days let's call it. So the number of sections is the number of elements in that group. The number of rows in section is the number of items in each Day object that correspond to where you are in the day frame. Heading title in the section would be the data property of the Day object formatted.

If you're trying to do it as an Android card, I don't suggest. If you really want it, the solution above will not work unless you add hacky false borders as lessons in each cell. If you really need to create separate table views for each day and add them to a cell, the best option is. Set each table view border width to 1

, set a corner radius of 5, and add the shade.


Source link