Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Zach Studdiford
6,212 PointsGPS With Objective C
I want to make an app where you can run with your phone, and it can keep track of how far the run was in miles. How would I do this?(I just completed making the BlogReader app on the Objective C course. Are there any more tutorials I should go through on the Objective C track before making an app like this?).
1 Answer
dungeonkeeperhf
3,272 PointsLook up using CLLocation.
Zach Studdiford
6,212 PointsZach Studdiford
6,212 PointsThanks! It seems useful! How should I use it in my app and make it so that one CLLocation instance is updated as you run and one stays as the location where you started running and isn't updated? Also, how can you calculate the distance between to instances of CLLocation? Thanks, Kirk.
Zach Studdiford
6,212 PointsZach Studdiford
6,212 PointsI'm having trouble making a class for CLLocation. How should I do it?
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsHi, i just seen this post and I'm wondering . Do you guys know any this sort of command like for GPS is CLLocations , to make a point is CGPointMake or something like that , Xcode would help xd but i mean something common used for , to make games? like the infinite world, touches began , etc.. is there any good website or something?