fenrus110
Oct 22, 2008, 06:33 PM
I'm trying to drag around with my finger, a view that contains multiple subviews. Easiest way to show this is to grab the Touches sample, go to the function:
-(void) dispatchTouchEvent:(UIView *)theView toPosition:(CGPoint)position
and put in this line at the beginning or end,
self.center = position;
Now when you drag, you move the entire view. Except, it kind of looks like crap as it flickers like crazy. There is also a double image effect. As well, it's almost like the view "wraps around" as you get to the edges.
Is there a good way to accomplish this? Like a property I can set or a method I should call as I am dragging?
-(void) dispatchTouchEvent:(UIView *)theView toPosition:(CGPoint)position
and put in this line at the beginning or end,
self.center = position;
Now when you drag, you move the entire view. Except, it kind of looks like crap as it flickers like crazy. There is also a double image effect. As well, it's almost like the view "wraps around" as you get to the edges.
Is there a good way to accomplish this? Like a property I can set or a method I should call as I am dragging?
