Because @jimmar thinks himself a spelling cop

This commit is contained in:
Maz Jaleel 2015-10-22 23:02:08 -07:00
parent 5aa9c03687
commit 29d42955e7
2 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,7 @@ This one was a pain... First, the experiments that this project went through inc
+ Adding a `UIPanGestureRecognizer` to the scroll view.
+ Make the user implement `UIScrollViewDelegate`, and send us the events.
The above didn't yield the perfect experience we were hoping for, except the last one. It did, however, make for redundant code everywhere, and forced the component user to implement the `UIScrollViewDelegate`. Tha's when the `NSProxy` happened.
The above didn't yield the perfect experience we were hoping for, except the last one. It did, however, make for redundant code everywhere, and forced the component user to implement the `UIScrollViewDelegate`. That's when the `NSProxy` happened.
When you assign the `scrollView` property to the TLYShyNavBarManager, we attach a proxy object to the `UIScrollView` as the delegate, and then the original delegate to that proxy. The proxy forwards the events we are interested in to the `TLYShyNavBarManager`, and of course, does everything else normally for the original selector, you won't even notice a thing!

View File

@ -1,6 +1,7 @@
# TODO
+ Explore setting ViewController.view as a child, somehow
+ UITableView demo
+ Hidden status bar demo
+ expanded status bar demo