title: move image following finger with fix x,y iOS7
body: <p>How I can move image with fix x,y coordinate smooth (following user finger) in <strong>xcode 5</strong>.
  I have make some code but it doesn't move following my finger gesture (image move instantly to new location)
  here my <code>.m</code></p>
  
  <pre><code>#import "ViewController.h"
  #import "MyScene.h"
  
  @interface ViewController()
  @property (nonatomic, strong) UISwipeGestureRecognizer *leftSwipeGestureRecognizer;
  @property (nonatomic, strong) UISwipeGestureRecognizer *rightSwipeGestureRecognizer;
  @end
  
  @implementation ViewController
  
  - (IBAction)HandlePan:(UIPanGestureRecognizer *)recognizer{
  CGPoint translation = [recognizer translationInView:self.view];
  recognizer.view.center = CGPointMake(recognizer.view.center.x + translation.x, recognizer.view.center.y + translation.y);
  [recognizer setTranslation:CGPointMake(0,0) inView:self.view];
  }
  
  - (void)viewDidLoad
  {
  [super viewDidLoad];
  // Do any additional setup after loading the view, typically from a nib.
  self.leftSwipeGestureRecognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipes:)];
  self.rightSwipeGestureRecognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipes:)];
  
  self.leftSwipeGestureRecognizer.direction = UISwipeGestureRecognizerDirectionLeft;
  self.rightSwipeGestureRecognizer.direction = UISwipeGestureRecognizerDirectionRight;
  
  [self.view addGestureRecognizer:self.leftSwipeGestureRecognizer];
  [self.view addGestureRecognizer:self.rightSwipeGestureRecognizer];
  }
  
  - (void)handleSwipes:(UISwipeGestureRecognizer *)sender
  {
  if (sender.direction == UISwipeGestureRecognizerDirectionLeft)
  {
      CGPoint labelPosition = CGPointMake(self.pesawat.frame.origin.x - 30.0, self.pesawat.frame.origin.y);
      self.pesawat.frame = CGRectMake( labelPosition.x , labelPosition.y , self.pesawat.frame.size.width, self.pesawat.frame.size.height);
   }
  
  if (sender.direction == UISwipeGestureRecognizerDirectionRight)
  {
      CGPoint labelPosition = CGPointMake(self.pesawat.frame.origin.x + 30.0, self.pesawat.frame.origin.y);
   self.pesawat.frame = CGRectMake( labelPosition.x , labelPosition.y , self.pesawat.frame.size.width, self.pesawat.frame.size.height);
  }
  }
  </code></pre>
  
  <p>and here my <code>.h</code></p>
  
  <pre><code>    @interface ViewController : UIViewController
      @property (nonatomic, retain) IBOutlet UIImageView *pesawat;
      @end
  </code></pre>