I'm working with nibs and I added a scroll view to the view controller and now I want to get the view controller to be the delegate for the scroll view so i can use the methods I gel, like scrollViewDidScroll
.
I already added the UIScrollViewDelegate
class to the view controller implementation signature.
I also control dragged an outlet from the nib file to the view controller.h file.
What else do I need here to make the view controller to respond to scrollViewDidScroll
?
tnx ahead!