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

Expose more highlighting methods #7

Merged
merged 1 commit into from Mar 30, 2016
Merged

Expose more highlighting methods #7

merged 1 commit into from Mar 30, 2016

Conversation

bogo
Copy link
Collaborator

@bogo bogo commented Feb 8, 2016

This diff allows the user to request a recalculation of drop targets in case the available drop targets on the screen change during the drag. (e.g. when a table view is scrolling)

It also exposes the ability to redraw a highlight associated with the view managed by Core Dragon.

cc @nevyn


/*! Explicitely invalidates and redraws a highlight for a specific view. */
- (void)invalidateHighlightForView:(UIView *)view;

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, I'm sad these are needed :/ I'd love for these things to be automatic, but I've done a lot of thinking and haven't figured out a better way to do it.

@bogo If you have the time and energy, I'd love to see demo usage of these in one of the demo apps (or in a new demo app). That way we'd have a scaffold to build something better in the future :)

@nevyn
Copy link
Owner

nevyn commented Mar 30, 2016

@bogo Added some comments but in general this is very clean and good enough for now. Let's merge this and maybe figure something cleaner out in the future :)

@nevyn nevyn merged commit f2aebde into nevyn:master Mar 30, 2016
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