FSCalendar icon indicating copy to clipboard operation
FSCalendar copied to clipboard

how to make calendar with square structure and cell selection with square instead of circle

Open poonamdhomane opened this issue 7 years ago • 8 comments

lines between each row. And also is there any way to add selector horizontal line instead of circle or box

poonamdhomane avatar Mar 15 '17 06:03 poonamdhomane

I am able to make the border square for each date cell ..but need to remove the space between tow date cell

poonamdhomane avatar Mar 15 '17 10:03 poonamdhomane

make changes in FSCalendarCollectionViewLayout

self.sectionInsets = UIEdgeInsetsMake(0, 0, 0, 0);

paresh-navadiya avatar Apr 04 '17 09:04 paresh-navadiya

how to access collectionViewFLow layout in our code

poonamdhomane avatar Apr 27 '17 07:04 poonamdhomane

@paresh-navadiya Your solution is not working space still remains between date cell.

@iOSUser110 You can access with this code. self.calendar.collectionViewLayout.sectionInsets = UIEdgeInsetsMake(0, 0, 0, 0);

Assuming calendar is the FSCalendar instance.

viveking avatar Jun 20 '17 13:06 viveking

Hi @iOSUser110 , can share your code on how to put the border lines on the cell?

iad24 avatar Jul 04 '17 06:07 iad24

got any solution for this?

GaneshKumarSelvam avatar May 30 '18 10:05 GaneshKumarSelvam

Somebody got any solution for this?

constantinrazvan avatar Aug 30 '21 17:08 constantinrazvan

@constantinrazvan

    calendar.appearance.borderRadius = 0.2

KhaledHoSobh avatar Nov 07 '22 08:11 KhaledHoSobh