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

Allow Custom Next/Back Images #132

Open
4 tasks
MosheBerman opened this issue Nov 1, 2017 · 0 comments
Open
4 tasks

Allow Custom Next/Back Images #132

MosheBerman opened this issue Nov 1, 2017 · 0 comments
Assignees

Comments

@MosheBerman
Copy link
Owner

Summary

[This fork][https://github.com/iChernov/MBCalendarKit/commit/a45db8c3dc7c51ffc3d61ef33a05034439440d43#diff-e4cba162800cbd8cb027cda8d049c5f1R485] swaps out the arrow images. It would be cool to allow these to be configured on the calendar view, and only use the drawn arrows be default.

Steps To Implement

  • Add methods to the calendar view to set forwardArrowImageName and backArrowImageName
  • Add the properties for the image names to the CKCalendarHeaderView.
  • In the header, if those image names are set, load those up.
  • If they're not, use the default arrows.

Notes

  • There are different ways to do caching of these images.
  • Localization is important.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant