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

User interaction with contribution graph #7

Closed
kajensen opened this issue Oct 5, 2014 · 1 comment
Closed

User interaction with contribution graph #7

kajensen opened this issue Oct 5, 2014 · 1 comment
Labels

Comments

@kajensen
Copy link

kajensen commented Oct 5, 2014

It would be awesome to have a callback when a user selects a certain date in the contribution graph! A couple ideas: draw the calendar using subviews, or use a collectionview. both would be a major undertaking, though.

@xhacker xhacker added the feature label Oct 9, 2014
@mythodeia
Copy link
Contributor

@kajensen have you found a solution for this.
What i just tried is this:

  • I added uibuttons on top of each rect
  • used the runtime header to add custom info on each button by using the objc_setAssociatedObject call
  • added an optional delegate to get the result back to the main view

it works just fine

check this #11

@xhacker xhacker closed this as completed Feb 16, 2015
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

3 participants