Skip to main content

All Questions

1 vote
1 answer
589 views

How can I touch and drag an animated image? here's my animation code:

- (void)viewDidLoad { [super viewDidLoad]; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:4]; [UIView setAnimationRepeatCount:50]; [UIView ...
Dana Abu Ali's user avatar
0 votes
1 answer
1k views

"Drag 'n' Drop" game animation

I'm quite new to Objective-C and am looking to create a fairly simple Jigsaw. I'm currently just looking at making a 4-piece puzzle as a way of learning the method. At the moment I have 4 pieces ...
garethdn's user avatar
  • 12.3k
0 votes
1 answer
1k views

How to use drag and drop within a UIScrollView

I am trying to drag and drop UIViews within a UIScrollView. I'd like the UIScrollView to scroll if I drag a UIView so that it intersects the top or bottom of the ScrollView. If it touches the top, it ...
Jerry SHen's user avatar