June 19
Five refactors to do
1
tapping.
There is no need to have tap recognition in GraphWorldView.
2
get rid of all calls to pointInside() like this one:
(x as! UIView).pointInside(loc, withEvent: nil)
3
issue
my tap gestures are not getting recognized.
I turned off tap gesture recog on the the scroll view in its init
However, I may have left tap gesture recog turned on
Fond it. I am turning off all recognizers in moveMode()
What’s holding you back is rushing. Don’t assume.
4
remove gridBack from CoreController
5
add the buttons as a subview of the scrollView.
this could take 45 minutes
have 11 right now
last thing done: wrote a helper method
summary
Morning: I struggled with adding an image in the middle of another view.
Afternoon: fixed the buttons so that they would be dispalyed on the scroll view.
Took some time to understand that
- the problem was view order
- there was no way to fix this without reassigning a parent view of some other views. The methods sendSubviewToFront and sendSubviewToBack are weak tools, they only change the position of entries in the subviews array and trigger a redraw. If the given input view is not in the subviews array they will fail silently.
No comments:
Post a Comment