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

-- adding menu item index to prepare prepareMenuItemView #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

riosc
Copy link

@riosc riosc commented Nov 27, 2015

Hey, thanks for this interesting library, I found it a lot useful for a project where I am working right now. Btw

I just added an index to calendar:prepareMenuItemView:date:(NSDate *)date protocol's method to manage the UI states of the menu item views when selected/unselected. I know that the JTCalendarMenuView is a class that can easily customizable, however I think this modification is useful for all subclassing of JTCalendarMenuView or whatever class that implements the JTMenu protocol. Always is gonna be a index change for the menu item elements.

Also, I put an example of that in the CustomViewController. So take a look and let me know if I should change something!

Have a nice weekend!

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

Successfully merging this pull request may close these issues.

None yet

2 participants