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

Support for partial reveal using subviews and sample project fix #17

Merged
merged 2 commits into from Jul 30, 2013

Conversation

dmallory
Copy link
Contributor

This adds the ability to assign a subview via cell.viewToReveal which is animated instead of cell.contentView. This is useful for revealing only a portion of a large cell, such as a button bar, while leaving the rest of the cell intact. By default self.viewToReveal is set to self.contentView to preserve current functionality. It also sets the next reveal direction when cell.direction is assigned so that if the first or only reveal is a programmatic one via cell.revealing = YES, it will use the intended direction instead of always starting from the left. Finally the sample project has a compile error from backView removal that's been updated to use backgroundView so everything runs happily in the simulator again.

…f the entire contentView while keeping existing behavior by default, also assign initial direction for programmatic reveal when direction is set
alexzielenski pushed a commit that referenced this pull request Jul 30, 2013
Support for partial reveal using subviews and sample project fix
@alexzielenski alexzielenski merged commit d63640c into alexzielenski:master Jul 30, 2013
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