Need to try a new food spot, bar or café? Vector is a simple, intuitive app that allows you and a friend to find a meeting spot exactly at the midpoint between your locations. Wherever the midpoint is calculated, icons pop up on a map near the midpoint, allowing you to choose the type of meeting place, such as a bar, café, bakery, restaurant, or supermarket. Use the convenience of meeting your friend somewhere in the middle with Vector.
Time spent: 56 mythical man hours spent in total
The following required functionality is completed:
- User can get current location
- User can get input a friend's location & get a midpoint
- User can get friends location from a list of friends
- User can choose the type of meeting point (ex: bar, coffee shop, library).
- User can pull a list of businesses around a radius of the meeting point.
- Users can access detailed view of midpoint location(s)
- User account persists through app restarts
The following optional features are implemented:
- User can select multiple friends and calculate the midpoint between everyone selected
Please list two areas of the assignment you'd like to discuss further with your peers during the next class (examples include better ways to implement something, how to extend your app in certain ways, etc):
- Using Google Map API
- Integrating multiple API datasets into a single "stream" of user info
Here's a walkthrough of implemented user stories:
GIF created withLiceCap.
Default view allows interaction with the local area and nearest friends.
When a location is selected along the vector between two friends.
Tap the more friends button to access the full list of friends.
var owner: PFUser?
var userName: String?
var firstname: String?
var lastname: String?
var profilePicture: UIImage?
var phone: String?
var latitude: Double?
var longitude: Double?
var destination: String?
var friends: [String]?
var friendRequest: [String]?
var friendAdd: [String]?
Describe any challenges encountered while building the app.
- Google Maps API: coordinate.longitude, coordinate.latitude
- Google Places API: name, vicinity, geometry.location.lat, geometry.location.lng, placeType, photos
Copyright 2016 WayZimChu
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.