Giter Site home page Giter Site logo

uber's Introduction

Uber

iOS Ride-Sharing App written in Swift 4 Using Map Kit and Core Data

Preview

Alt Text Alt Text Alt Text

Built with

  • Ios 11.4
  • Xcode 9.4

Features

  • Pick a Destination with a UISearchBar

  • Find locations near your area by using MKLocalSearchCompleter

    var searchCompleter = MKLocalSearchCompleter()
    var searchResults = [MKLocalSearchCompletion]()
    ...
    func completerDidUpdateResults(_ completer: MKLocalSearchCompleter) {
      searchResults = completer.results
      searchTableView.reloadData()
    }
  • Save and fetch user data using Core Data

  • Fully customizable Side Menu by jonkykong

  • Set personal favorite locations

  • See recently searched locations for reusable access

  • Track current location using CLLocationManager()

  • See route of picked destination from current location using MKOverlay

    let directionRequest = MKDirectionsRequest()
    directionRequest.source = sourceMapItem //current location
    directionRequest.destination = destinationMapItem //destination
    ...
    let directions = MKDirections(request: directionRequest)
    directions.calculate { () }
    ...
    self.mapKitView.add(route.polyline, level: MKOverlayLevel.aboveRoads)
  • Convert Street names into map Coordinates and vice versa

    let geoCoder = CLGeocoder()
    geoCoder.geocodeAddressString(location) //convert street names into coordinates
    geoCoder.reverseGeocodeLocation(location) //convert coordinates into street names
  • Pick different type of uber using UISegmentedControl()

  • Simulate a ride with trip details and driver information

  • Formated date to show when a ride took place

    let date = Date()
    let formatter = DateFormatter()
    //Saturday, July 8, 2018, 3:18 PM
  • See recent trip details in a TableView Cell

Requirements

import CoreData
import MapKit
import SideMenu // project library used to implement a customized side menu

Pod Files

pod 'SideMenu' 

Side Menu Library by jonkykong

Project Configuration

You'll have to configure your Xcode project in order to track user Location with Map Kit.

Your Xcode project should contain an Info.plist file.

  1. In Info.plist, open Information Property List.

  2. Hover your cursor over the up-down arrows, or click on any item in the list,
    to display the + and โ€“ symbols, then click the + symbol to create a new item.

  3. Scroll down to select Privacy โ€“ Location When In Use Usage Description, then set its Value to something like:

To show you cool things nearby

License

Standard MIT License

uber's People

Contributors

johnnyperdomo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.