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

Adds a headerItem property in case a header is desired for the menu #84

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vittoriom
Copy link

The headerItem is just a REMenuItem so it's very easy to create one. Moreover, it's just a property on the REMenu instance and it's back-compatible with the existing codebase since when no header is specified, the normal behavior is preserved.

I removed the combinedHeight computed property in favour of a manually set one (this could open the road to different heights for each menuItem - maybe through a dataSource protocol)

@vittoriom vittoriom mentioned this pull request Jul 8, 2014
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.

1 participant