Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-13-2008, 06:32 PM   #5 (permalink)
ipodtouchmaster05
Registered Member
 
Join Date: Sep 2008
Posts: 180
Default

heres a way to track the coordinates of where you move your finger:

- (void)touchesMovedNSSet *)touches withEventUIEvent *)event {
UITouch *touch = [touches anyObject];
CGPoint location = [touch locationInView:self];

NSLog(@"%f", location.x);
NSLog(@"%f", location.y);
}

Then instead of nslogging you can store those in an array for later use or whatever else you want to do with them.
ipodtouchmaster05 is offline   Reply With Quote
 

» Advertisements
» Online Users: 706
20 members and 686 guests
ADY, Anahtarcı, dacapo, dapis, denied, fanarin, Fit4him, jimbo, joeallenpro, LiquidFire, mathieuh, padsoftware, Punkjumper, ric2z, robotkid249, Sander, thesooty, Thompson22, troop231, tymex
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,558
Threads: 89,128
Posts: 380,257
Top Poster: BrianSlick (7,103)
Welcome to our newest member, thesooty
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:34 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.