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

Editing particular dates #131

Closed
EAZYE9000 opened this issue Sep 8, 2016 · 4 comments
Closed

Editing particular dates #131

EAZYE9000 opened this issue Sep 8, 2016 · 4 comments
Labels

Comments

@EAZYE9000
Copy link

Do you have any idea if this is possible? I have a Realm Database with NSDates stored. Is it possible to highlight/change colour of the stored dates on the calendar?
No need to worry about the Realm side, just is there a function or something that pretty much does "For these particular dates, do something, on the calendar" (in this case cell.text to green)
Cheers!

@patchthecode
Copy link
Owner

patchthecode commented Sep 8, 2016

You can do anything you want with your dates. Literally anything. The design is up to you. Have you seen what people have made with this library yet --> here

The calendar is like a UITableView. Just like you can design your cells in a UITableView, you design the dateCells in JTAppleCalendar the exact same way

@EAZYE9000
Copy link
Author

Wow, those look amazing. Didn't realize how good you can get it looking. Im still stuck though, how would I go about doing: For NSDate (say the 5th September) change to green on the calendar. So when I open the calender, September 5th is green? OR whatever date it is set as? Also how do I get the cells date value? Cheers!

@EAZYE9000
Copy link
Author

For example on some of the examples show there looks to be an event on some of the dates. How have they added a yellow circule to indicate theres something on that date on the actual calendar? Cheers!

@patchthecode
Copy link
Owner

patchthecode commented Sep 8, 2016

Have you tried downloading the example attached to this github project? It gives you an example to start with.

There is also a tutorial. Here -> https://github.com/patchthecode/JTAppleCalendar/wiki/Setup-the-calendar-in-this-quick-tutorial

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

No branches or pull requests

2 participants