We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi thanks for this library..
I would like to ask about the following code:
return [theDay].containsObject(calendar.dayOfDate(date)) ? UIImage(named: "icon_cat") : nil
how to implement var datesWithCat = ["20160129","20160130"] and so on.
on the example it has specific date for all of the month.
The text was updated successfully, but these errors were encountered:
A recommented way is to use a Dictionary , for example
var datesWithCat = ["20160129","20160130"] func calendar(calendar: FSCalendar!, imageForDate date: NSDate!) -> UIImage! { var dateString = calendar.stringFromDate(date, format: "yyyyMMdd") return datesWithCat.containsObject(dateString ? UIImage(named: "icon_cat") : nil }
Sorry, something went wrong.
No branches or pull requests
Hi thanks for this library..
I would like to ask about the following code:
return [theDay].containsObject(calendar.dayOfDate(date)) ? UIImage(named: "icon_cat") : nil
how to implement
var datesWithCat = ["20160129","20160130"] and so on.
on the example it has specific date for all of the month.
The text was updated successfully, but these errors were encountered: