Re:Ask HN: Could any iOS Developer Give me some pointers?
by markcrazyhorse on Thursday January 08, 2015 @10:18AM
(#8856712)
Yes. When the user opens the app I will get their current location and add it to a column in the database 'currentLocation' Then I will query the database like so: select * from users where userOnlineStatus = 'online' and currentLocation = ""; <- That is what I would want to do. Its just calculating the distance so that not all random users are showing up.
[ Parent
| on HN ]
There are no comments on this comment yet.