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

Can we add dot with some text in Calendar view & how to reload calendar view ? #397

Closed
YogeshBharate opened this issue Aug 26, 2016 · 3 comments

Comments

@YogeshBharate
Copy link

YogeshBharate commented Aug 26, 2016

Hi @WenchaoD ,

I am creating an iPad app, in that

  1. I have to show the total count of appointments along with dot circle. So can we add dot with some text in calendar view ? I have two types of appointment. So Is it possible to add two dot of different colour with the count on a particular date?
    ex. (green dot)2 (blue dot)4
  2. In my application I am getting appointments as in JSON response, so can we reload or add these appointments once I get the response from the server?

Please reply. Thank in advance !!!

@WenchaoD
Copy link
Owner

WenchaoD commented Aug 27, 2016

@YogeshBharate I suppose we can use -calendar:imageForDate:, make count-in-circle static images.

To reload [calendar reloadData];

@YogeshBharate
Copy link
Author

YogeshBharate commented Aug 27, 2016

@WenchaoD Thanks for quick reply. I will try this in my project. But Can we add two dots on same date ?

@WenchaoD
Copy link
Owner

Yes. The maximum is 3 which the demo also shows.

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

2 participants