I've been playing around with FSCalendar and it's helped me build my own customized calendar.
Because it's written in UIKit, I've had a couple of problems integrating it to my SwiftUI project, such as adding a Next and Previous button to the sides…
How to get for example selectedDate from FSCalendar?
struct CalendarController: UIViewControllerRepresentable {
func makeCoordinator() -> Coordinator {
Coordinator(self)
}
func makeUIViewController(context:…
Beginner programmer here.
I am trying to show two different color dots if there is a negative AND a positive transaction for that date.
Here is my code. It only shows one dot.
func calendar(_ calendar: FSCalendar, numberOfEventsFor date: Date) ->…
I am using this code to add dots for events and the dots appear perfectly fine but when I select the day with the event, the dot permanently disappears and even when selecting another day, the dot still doesnt reappear.
here is my code to make the…
I am working on one of my iOS application where I am needed to add the events on the date, I am trying to achieve the UI result like in bellow screenshot.
I've worked out most of area using FSCalendar, JTAppleCalendar etc but I meet most of…
I have been trying to change the tableview cell size when i change my FSCalendar scope from week to month or vice versa. This is working fine with calender.scope = .week and contents are displaying correctly as required but the bounds of the…
I have implemented FSCalendar for dates but I need to hide next previous month labels only. I have marked red in image attached for reference.
actually I have tried all properties but couldn't find it. I know for not showing last month dates I am…
FSCalendar hide today image when selected others dates .
Here I have a DIYCell for FSCalendarCell and got a ImageView on it .
only when it's today the imageView will show .
and when selected other dates , I want hide today's imageView .
Like When I…
I am working on a project which lists different project locations, each project locations are associated with the different timezones. I am using FSCalendar for displaying date of the currently selected project in its timezone. I am not able to…
Hope u had a great day so far...
I am trying to build a Calendar app in Swift iOS using the FSCalendar library and that works quite good. Now in a dictionary I saved dates and the matching data for this date, so that's what I call now an Event in…
I'm trying to achieve this calendar (image attached), by using FSCalendar,
All works fine except, any button I add inside FSCalendar UIView is
un-clickable in simulator, I do have gesture recognizers in the calendar view to shift between months…
I am implementing calendar using FSCaleder in which 3 single dates are selected. Every date becomes minimum date for next date. To trigger update of minimum date, I am calling [FSCalendar reloadData] which is causing unintended scroll if minimum…
I am trying to do bezier path fill on selected dates. What I attained is
What I need is like
Here is my code
[super layoutSubviews];
[self.titleLabel sizeToFit];
self.titleLabel.center = self.contentView.center;
self.backgroundView.frame =…