AroundMe | iOS Universal Geolocated Questions App Template (Swift)
$33.00
62 sales
AroundMe | iOS Universal Geolocated Questions App Template (Swift) Review
Introduction
AroundMe is a Universal App Template that allows users to post geolocated questions, comment on others’ questions, and award Thank you’s points and badges. The app is designed for users who need to find help nearby, lost something, or socialize and find new friends while on vacation in a certain place. The app includes a Settings screen where users can edit their profile, rate the app, and follow their social networks pages.
Design and Features
The app has a clean and intuitive design, with a focus on geolocation-based questions and comments. The features include:
- Post questions with image and geolocation attachments
- Comment, favorite, and share questions
- Delete and report comments/users options
- Push notifications for favorites, comments, and thank you’s
- Terms of Use HTML file (to be edited)
- AdMob Interstitial ads
- Backend with Parse Server hosted on back4app.com
User Interface
The app’s user interface is well-designed and easy to navigate. The home screen displays a map with geolocated questions, and users can search for questions by location or category. The app also includes a settings screen where users can edit their profile, rate the app, and follow their social networks pages.
Customization
The app is highly customizable, with a well-commented codebase that makes it easy to modify and extend. The developer provides a PDF user guide and PSD files to help with customization.
Backend
The app uses Parse Server hosted on back4app.com, which provides a scalable and reliable backend solution. The developer also provides instructions on how to host Parse Server on your own server.
Support
The developer offers free support for bugs encountered in the original code. However, if you modify the code and encounter issues, the developer may charge a fee to fix it.
Requirements
To use this app, you will need:
- Apple Mac with its latest OS version installed
- The latest version of Xcode and some knowledge about its UI interface
- Photoshop or any other image editor software
- An Apple Developer account to submit apps to the App Store
- An AdMob account to generate your own banner UNIT ID
- A free account on https://back4app.com
Rating
I highly recommend this app template to anyone looking to create a geolocated questions app. The app is well-designed, highly customizable, and easy to use. The developer provides excellent support and documentation, making it a great value for the price.
Score: 5/5
Overall, AroundMe is an excellent app template that provides a great foundation for creating a geolocated questions app. The app is well-designed, highly customizable, and easy to use, making it a great choice for developers of all levels.
User Reviews
Be the first to review “AroundMe | iOS Universal Geolocated Questions App Template (Swift)”
Introduction
The AroundMe | iOS Universal Geolocated Questions App Template is a Swift-based iOS app template designed to help users find information about their surroundings. With this template, you can create an app that answers questions about the user's current location, such as "What's the weather like?" or "What's the nearest restaurant?"
In this tutorial, we will guide you through the process of setting up and customizing the AroundMe | iOS Universal Geolocated Questions App Template to create a unique and useful app for your users. By the end of this tutorial, you will have a fully functional app that can answer geolocated questions and provide information about the user's surroundings.
Prerequisites
- Xcode 12 or later
- Swift 5 or later
- iOS 14 or later
- Basic understanding of Swift programming language
Step 1: Setting up the Project
To start, open Xcode and create a new project. Choose the "Single View App" template and name your project. Select "Swift" as the programming language and "iOS" as the platform. Make sure to select the "Universal" option to create an app that runs on both iPhone and iPad.
Once the project is created, open the project navigator and select the "Product Name" target. Click on the "General" tab and select the "AroundMe" template under the "Template" section.
Step 2: Understanding the Template
The AroundMe | iOS Universal Geolocated Questions App Template is organized into several files and folders. Here's a brief overview of the main files and their purpose:
AroundMe.swift
: This is the main app delegate file that handles user interactions and geolocation.Question.swift
: This file defines the structure of a question, including the question text, answer, and geolocation coordinates.Answer.swift
: This file defines the structure of an answer, including the answer text and geolocation coordinates.Geocoder.swift
: This file is responsible for converting the user's geolocation coordinates into a human-readable address.API.swift
: This file defines the API endpoint for retrieving answers to user questions.
Step 3: Customizing the Template
To customize the template, you'll need to modify the AroundMe.swift
file to add your own questions and answers. Here's how:
- Open the
AroundMe.swift
file and scroll down to thequestions
array. This array contains the default questions and answers for the app. - To add a new question, create a new
Question
object and add it to thequestions
array. For example:let newQuestion = Question( text: "What's the weather like?", answer: "The weather is sunny", coordinates: CLLocationCoordinate2D(latitude: 37.7749, longitude: -122.4194) ) questions.append(newQuestion)
- To modify an existing question, simply update the
text
,answer
, orcoordinates
properties of theQuestion
object. - To add more questions or answers, simply create new
Question
objects and add them to thequestions
array.
Step 4: Setting up the Geocoder
To use the geocoder, you'll need to modify the Geocoder.swift
file to use your own API key or geocoding service. Here's how:
- Open the
Geocoder.swift
file and scroll down to thegeocode
function. This function is responsible for converting the user's geolocation coordinates into a human-readable address. - To use your own API key or geocoding service, update the
geocode
function accordingly. For example:func geocode(_ coordinates: CLLocationCoordinate2D, completion: @escaping (String?, Error?) -> Void) { // Use your own API key or geocoding service here // For example: let url = URL(string: "https://maps.googleapis.com/maps/api/geocode/json?latlng=(coordinates.latitude),(coordinates.longitude)&key=YOUR_API_KEY")! URLSession.shared.dataTask(with: url) { data, response, error in if let error = error { completion(nil, error) return } guard let data = data else { completion(nil, NSError(domain: "Geocoder", code: 0, userInfo: nil)) return } // Parse the JSON response and extract the address //... completion(address, nil) }.resume() }
Step 5: Setting up the API
To use the API, you'll need to modify the API.swift
file to use your own API endpoint or service. Here's how:
- Open the
API.swift
file and scroll down to thefetchAnswers
function. This function is responsible for retrieving answers to user questions. - To use your own API endpoint or service, update the
fetchAnswers
function accordingly. For example:func fetchAnswers(_ questions: [Question], completion: @escaping ([Answer]?, Error?) -> Void) { // Use your own API endpoint or service here // For example: let url = URL(string: "https://your-api-endpoint.com/answers?questions=(questions.map { $0.text }.joined(separator: ","))")! URLSession.shared.dataTask(with: url) { data, response, error in if let error = error { completion(nil, error) return } guard let data = data else { completion(nil, NSError(domain: "API", code: 0, userInfo: nil)) return } // Parse the JSON response and extract the answers //... completion(answers, nil) }.resume() }
Step 6: Running the App
To run the app, simply click the "Play" button in Xcode or use the simulator. The app will prompt the user to grant location access, and then display a list of questions. When the user selects a question, the app will display the answer and geolocation coordinates.
That's it! You've successfully customized the AroundMe | iOS Universal Geolocated Questions App Template to create a unique and useful app for your users.
GPS Settings
In the project settings, navigate to Product > Scheme > Edit Scheme... and select the Run
action.
Click on the Arguments
tab and add the following arguments:
-GPRadius
=1000
//set the GPS radius in meters-Accuracy
=3km
//set the GPS accuracy in meters
Proximity Alert Settings
To configure the proximity alert, go to the Information Property List
file. Add a new array
key called proximityAlerts
in the NSLocationManager
section.
The key should have the following dictionary structure:
item 0
:latitude
(Double
): The latitude of the locationlongitude
(Double
): The longitude of the locationalertDistance
(Double
): The distance in meters that a user must be from this location to receive an alertidentifier
(String
): A unique identifier for this proximity alert
For example:
<key>NSLocationManager</key>
<dict>
<key>proximityAlerts</key>
<array>
<dict>
<key>latitude</key>
<real>47.620513</real>
<key>longitude</key>
<real>-122.349358</real>
<key>alertDistance</key>
<real>1000.0</real>
<key>identifier</key>
<string>Alert1</string>
</dict>
</array>
</dict>
Background Modes Settings
To enable background location tracking, go to the project settings and navigate to the Capabilities
tab.
Enable the Location
background mode by ticking the box next to it.
Here are the features extracted from the content:
General Features
- Universal app template for iOS devices
- Geolocated questions app
- Post questions with image and geolocation attachments
- Comment, favorite, and share questions
- Push notifications for Favorites, Comments, and Thank you's
Design Features
- Improved design of login, intro, and sign up screens
- Improved design of activities, questions list, and settings screen
- Rounded corners and buttons
- Shaded views and interactive shaded views
Functionality Features
- Ask for categorical questions from users
- Show categories on questions listing screen
- Total number of likes by users
- Report inappropriate/offensive comments/posts
- Delete and Report comments/users options
- Send Push Notifications
- Award Thank you's points and badges
Backend Features
- Backend with Parse Server hosted on back4app.com
- AdMob Interstitial ads
- Works with Parse Server hosted on back4app
Development Features
- XCode 11.4+ project - Swift 4.5+ - 64bit
- iOS 13.5+ - Universal - Storyboard
- Apple Developer account to submit apps to the App Store
- AdMob account to generate own banner UNIT ID
- Free account on back4app.com
Support Features
- Free support for bugs encountered in the original code
- Offered fee-based support for customizations and fixes
Documentation Features
- PDF User Guide included
- PSD included
- Well-commented code
- Easy to customize
$33.00
There are no reviews yet.