Re: Keeping Scroll Views in Sync

2013-10-09 Thread Dave
Hi, This works really well, but of course there is no inertia/deceleration which feels a bit strange and I'm willing to bet marketing won't like it! I'm still playing about trying to get it to work. When you couple this with the Infinite Scroll View I've been working on, you get some very inter

Re: Keeping Scroll Views in Sync

2013-10-09 Thread Dave
Hi, I should have said, this is for iOS and it doesn't look like UIScrollView has the scrollToPoint method defined. There is also something about using notifications for this in a Mac Reference: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/NSScrollViewGuide/Articles/Sy

Re: Keeping Scroll Views in Sync

2013-10-09 Thread Damian Carrillo
Dave, Try the following: - (void) scrollViewDidScroll:(LTWScrollView*) theScrollView { if (theScrollView.tag == kScrollViewA) { [self.scrollViewB setContentOffset:theScrollView.contentOffset animated:NO]; [self.scrollViewC setContentOffset:theScrollView.contentOffset an

Re: Keeping Scroll Views in Sync

2013-10-09 Thread Tamas Nagy
Hi, in one of my apps I'm doing this too, but without any problems. I'm using scrollToPoint: method instead. [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(viewScrolled:)