Questions tagged [fscalendar]

A calendar control for iOS7+

FSCalendar is an iOS7+ calendar control.

It is compatible with both and .

171 questions
3
votes
1 answer

FSCalendar - Change the title color of Particular Dates Using Swift

Hello all I'm working on the WenchaoD's FSCalendar now a days.I successfully loaded the calendar with many events.But now the question is how to change the date's title color for particular dates.Can anyone suggest me how to do this?
deltami
  • 303
  • 2
  • 17
3
votes
1 answer

FSCalendar multiple Selection customization

I am using FSCalendar to implement a custom calendar. I managed to make something similar to the following by changing a few methods and handling the various select and deselect modes. Here is a screenshot of what I have so far: Now the designer…
Rikh
  • 4,078
  • 3
  • 15
  • 35
3
votes
4 answers

how to customise FSCalendar

I am using FSCalendar https://github.com/WenchaoIOS/FSCalendar I have a button in my VC and FSCalendar in UIView If I click on the button I need to show the Current date(something like the google calendar app) how can I do this?
user5276912
  • 131
  • 1
  • 1
  • 8
2
votes
1 answer

Unable to import packages in Xcode

I am currently trying to import the FSCalendar package into Xcode. The link is: https://github.com/WenchaoD/FSCalendar. I'm using the package manager (file -> add packages -> plus button in bottom left corner -> add package collection...). Upon…
2
votes
1 answer

fscalender weekscope swift

I'm using fscalender in my project, i have to customise the header title in weekscope. from above image weekdays showing is from may 16 - 22. I want to display it over the header title. How to achieve this? I'm new in iOS Thanks in advance
2
votes
1 answer

How can I modify the calendar height dynamically?

I'm trying to modify the calendar's height programmatically by modifying its height constraint programmatically but the calendar won't resize its content. The view's frame is updated correctly because I have other views constrained to the bottom and…
Nikki
  • 193
  • 13
2
votes
1 answer

Update FSCalendar Header value with select date swift

I have set FSCalendar scope mode as week. After that Header date format I have set calendar.appearance.headerDateFormat = "dd MMMM yyyy EEEE" and it's showing correct format. Problem I am facing it gives start of week date. How can I update value…
Tekhe
  • 149
  • 1
  • 12
2
votes
0 answers

Convert FSCalendar into islamic Umm Al-qura calendar in swift

I am trying to make Islamic/Hijri calendar using FSCalendar library in which months and date should show according to Islamic month and date. So far i have tried dateFormatter.locale = NSLocale(localeIdentifier: "en_US") as Locale let…
CodeX
  • 81
  • 1
  • 2
  • 6
2
votes
1 answer

How to display the date in circle having event using FSCalendar?

I have programatically added FSCalendar using swift and getting the list of events from the api call. A s default the events is displaying like dot below the event date. But I need to display the event in the circle instead of the dot below the…
2
votes
1 answer

Reload View of FSCalendar

Currently I have a simple calendar app using FSCalendar and I want to display an event for every day that matches an array of dates. When the view is loaded it shows the events properly based on what is in the array. After I add a new date, I verify…
marduc812
  • 1,177
  • 17
  • 26
2
votes
3 answers

How to get date from static string?

I want to get full date with time like my below code, func findDate(date: Date) { let format1: DateFormatter = DateFormatter() format1.dateFormat = "yyyy-MM-dd" let onlyDate = format1.string(from: date) // Here date is like…
Komal Goyani
  • 779
  • 6
  • 25
2
votes
3 answers

FSCalendar event dots not showing

I am using FSCalendar to render a calendar in my app. At first I used fillDefaultColorFor to display the events in color like so: func calendar(_ calendar: FSCalendar, appearance: FSCalendarAppearance, fillDefaultColorFor date: Date) -> UIColor?…
HamdyAli
  • 173
  • 3
  • 14
2
votes
2 answers

disabling past days in fscalendar

I'm using fscalender and am disabling user's selected days like this: func getUserSelectedDates(_ arrWeekDay: [Int], calender calenderVW: FSCalendar?) -> NSMutableArray { let arrUnAvailibilityDates = NSMutableArray() let currentDate:…
mrs.bassim
  • 469
  • 2
  • 7
  • 16
2
votes
0 answers

how to show certain amount of dates in FSCalendar in iOS swift

I am having an issue with FSCalendar. In my project i have a tableview having a different type of cell one of them having a calendar which is FScalendar. Now I want to show dates on the calendar and dates are coming from another UITableviewCell but…
2
votes
2 answers

How to change Event Dot Color in FSCalender

Here is my code. I am trying to change the dot color but I did not find any solution. Thanks func calendar(_ calendar: FSCalendar, numberOfEventsFor date: Date) -> Int { return 1; } func calendar(_ calendar: FSCalendar, appearance:…
manvir singh
  • 23
  • 1
  • 5
1
2
3
11 12