matteogobbi / MGSpotyViewController

Beautiful viewController with a tableView and amazing effects like a viewController in the Spotify app.
MIT License
1.02k stars 106 forks source link

Scroll events in overView #15

Closed shahankit closed 9 years ago

shahankit commented 9 years ago

As in the current version, the touch events in overView are sent using hitTest function to respective selectors. I want to implement that scroll events on overView also leads to scrollViewdidScroll and show blur effect but preserving button press events. I did this in previous version where parent view was simple view and not MGSpotyView. Any ideas as to how to implement this?

shahankit commented 9 years ago

Oops but figured out a solution after checking the hitTest logic in MGSpotyView. I added a tag to clickable elements in my overView and instead of checking in the rect frame of overView I checked in rect frame of view with my tags. This works well as I have limited and countable elements in my overView.