Questions tagged [fscalendar]

A calendar control for iOS7+

FSCalendar is an iOS7+ calendar control.

It is compatible with both and .

171 questions
1
vote
1 answer

Adding Next/ Prev buttons to FSCalendar in SwiftUI

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…
Nico Cobelo
  • 557
  • 7
  • 18
1
vote
1 answer

how to use @published and @observed with FSCalendar?

How to get for example selectedDate from FSCalendar? struct CalendarController: UIViewControllerRepresentable { func makeCoordinator() -> Coordinator { Coordinator(self) } func makeUIViewController(context:…
Valdi
  • 39
  • 5
1
vote
1 answer

How do I show 2 different color dots for a date using FSCalendar?

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) ->…
BriScoLeg
  • 105
  • 1
  • 9
1
vote
1 answer

FSCalendar event dot disappears after selecting the day

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…
G S
  • 19
  • 2
1
vote
0 answers

How to Add Specific Events for each date with FS Calendar CocoaPod on Swift 5+

I am trying to figure out how to add specific events for each date with CocoaPod FS Calendar. Swift 5+
Arjun101
  • 11
  • 2
1
vote
2 answers

Show event label/string on calendar view ios?

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…
Mukesh Lokare
  • 2,159
  • 26
  • 38
1
vote
2 answers

How to import FSCalendar using SwiftUi?

Here is my code: import SwiftUI import FSCalendar class calendars: UIViewController, FSCalendarDelegate{ var calendar = FSCalendar() override func viewDidLoad() { super.viewDidLoad() calendar.delegate = self } …
KickAxe
  • 149
  • 2
  • 13
1
vote
1 answer

How to dynamically change cell size when scope of FSCalendar changes from month to week?

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…
Vikash Sinha
  • 869
  • 1
  • 7
  • 21
1
vote
1 answer

FSCalendar hide next previous months labels swift

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…
user12435629
1
vote
0 answers

FSCalendar hide today image when selected others

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…
iDelusion
  • 775
  • 1
  • 8
  • 9
1
vote
2 answers

Changing the TimeZone of FSCalendar Globally in the project

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…
Ramprasad A
  • 221
  • 1
  • 13
1
vote
1 answer

FSCalendar 'didSelect'-Event fires too late?

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…
CaipiDE
  • 93
  • 1
  • 10
1
vote
4 answers

Placing buttons on FSCalendar UIView

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…
Jessica Kimble
  • 493
  • 2
  • 7
  • 17
1
vote
0 answers

In FSCalendar, how to refresh minimum date without reloadData

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…
1
vote
0 answers

Gradient fill in linear vertical objective c FSCalender

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 =…
AJ Sanjay
  • 1,276
  • 1
  • 12
  • 29