Skip to content
New issue

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

How to make the event date contain a hollow circle just like the today/selected date contain a filled circle? #225

Closed
CodeKunal opened this issue Mar 9, 2016 · 6 comments

Comments

@CodeKunal
Copy link

No description provided.

@WenchaoD
Copy link
Owner

Draw your custom image with circles and return the image for: -calendar:imageForDate:

@anthonycastelli
Copy link

Implementing this would be quite simple, at least it is from my little digging in my PR for multicolored indicators. Would something like this be adequate?

func calendar(calendar: FSCalendar!, shouldOutlineEventsForDate date: NSDate!) -> Bool! {
    return true
}

I feel like this should be more of an all or nothing option, but there might be some cases where it's needed on a per event basis.

@willzcc
Copy link

willzcc commented Mar 21, 2016

I feel like someone may use the indicators as something like "checkmarks of agenda", maybe can return an array with boolean for every event .

@anthonycastelli
Copy link

That could work. @WenchaoD What are your thoughts on that?

@WenchaoD
Copy link
Owner

I'd rather not coz the complexity and maintainability are also something I had to concern. So unless the feature is indeed necessary like #217

@CodeKunal
Copy link
Author

Hi WenchaoD
I am new to Swift and to programming in general. Could you please help me out on how to draw a custom image with hollow circle around the event date.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@anthonycastelli @WenchaoD @willzcc @CodeKunal and others