GeoLocator is a small iOS app written in Swift that makes use of the CoreLocation framework to provide geolocation features. With GeoLocator, you can seamlessly ask for GPS permission, get your current location, obtain directions to a specific destination, and save locations persistently in a CoreData database. It's a handy tool for all your location-based needs.
• GPS Permission: GeoLocator requests permission to access your device's GPS sensor, ensuring you have control over your location data.
• Geolocation: The app precisely determines your current position based on the GPS sensor, allowing you to explore and interact with your surroundings.
• Directions: Easily find directions from your current location to a specific destination, making navigation a breeze.
• Location Storage: GeoLocator lets you save a pin (location) to a CoreData database, so you can revisit your favorite places or keep a log of important locations.
-
Clone the repository to your local machine.
-
Clone the repository code
git clone https://github.com/your-username/geolocator-app.git
-
Open the project in Xcode.
-
Build and run the app on your iOS device or simulator.
GPS Permission: When you first launch GeoLocator, the app will request permission to access your device's GPS sensor. Be sure to grant it access.
Getting Your Location: Press the "Get My Location" button to retrieve your current location.
Finding Directions: Enter a destination address or coordinates and tap "Get Directions" to find the route from your current location.
Saving Locations: To save a location, click the "Save Location" button, and the location will be stored in the CoreData database for future reference.
Swift
CoreLocation Framework
CoreData