Adding a UIScrollView to ViewController based iPad application
Hi
I have a fully functional viewcontroller based application. Now I want to add additional navigation in the form of a horizontal scroller that appears ether on a pinch or double tap gesture.
I am unclear as to how to do this.
As a first step do i add the UIScrollView to my ViewController's view window in IB?
Right now, all of my logic exists in th ViewController class.
Should I place any scroll logic in my view controller, or keep it in its own class? If the latter, can someone explain via a code sample as to how I would create the relationship between the 2 classes? (I assume one would act as a delegate for the other)
Any feedback appreciated!
|