{"id":15038397,"url":"https://github.com/johnnyperdomo/uber","last_synced_at":"2025-04-09T23:40:36.669Z","repository":{"id":175694095,"uuid":"138532449","full_name":"johnnyperdomo/Uber","owner":"johnnyperdomo","description":"iOS Ride-Sharing App written in Swift 4 Using Map Kit and Core Data ","archived":false,"fork":false,"pushed_at":"2020-03-27T19:05:01.000Z","size":4018,"stargazers_count":37,"open_issues_count":0,"forks_count":24,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-07T10:26:35.022Z","etag":null,"topics":["coredata","ios","mapkit","ridesharing","swift-4","uber"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnnyperdomo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-25T02:10:02.000Z","updated_at":"2024-07-28T14:32:35.000Z","dependencies_parsed_at":"2023-09-21T09:50:06.167Z","dependency_job_id":null,"html_url":"https://github.com/johnnyperdomo/Uber","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"d3599734aac452a9f4a61ab09f166c3d468f081c"},"previous_names":["johnnyperdomo/uber"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnnyperdomo%2FUber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnnyperdomo%2FUber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnnyperdomo%2FUber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnnyperdomo%2FUber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnnyperdomo","download_url":"https://codeload.github.com/johnnyperdomo/Uber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131466,"owners_count":21052819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coredata","ios","mapkit","ridesharing","swift-4","uber"],"created_at":"2024-09-24T20:38:17.810Z","updated_at":"2025-04-09T23:40:36.647Z","avatar_url":"https://github.com/johnnyperdomo.png","language":"Swift","readme":"# Uber\niOS Ride-Sharing App written in Swift 4 Using Map Kit and Core Data \n\n## Preview\n![Alt Text](https://media.giphy.com/media/KGwtAaaBrPEbJJNZ9b/giphy.gif) ![Alt Text](https://media.giphy.com/media/LMEyEIc3mvsjTBsi4D/giphy.gif)  ![Alt Text](https://media.giphy.com/media/Lo7ECaKBZ7y3YuUctj/giphy.gif) \n\n**Built with**\n- Ios 11.4\n- Xcode 9.4 \n\n## Features\n- **Pick a Destination with a ```UISearchBar```**\n- **Find locations near your area by using ```MKLocalSearchCompleter```**\n  ```swift\n  var searchCompleter = MKLocalSearchCompleter()\n  var searchResults = [MKLocalSearchCompletion]()\n  ...\n  func completerDidUpdateResults(_ completer: MKLocalSearchCompleter) {\n    searchResults = completer.results\n    searchTableView.reloadData()\n  }\n  ```\n  \n- **Save and fetch user data using ```Core Data```**\n- **Fully customizable Side Menu by [jonkykong](https://github.com/jonkykong/SideMenu)**\n- **Set personal favorite locations**\n- **See recently searched locations for reusable access**\n- **Track current location using ```CLLocationManager()```**\n- **See route of picked destination from current location using ```MKOverlay```**\n  ```swift\n  let directionRequest = MKDirectionsRequest()\n  directionRequest.source = sourceMapItem //current location\n  directionRequest.destination = destinationMapItem //destination\n  ...\n  let directions = MKDirections(request: directionRequest)\n  directions.calculate { () }\n  ...\n  self.mapKitView.add(route.polyline, level: MKOverlayLevel.aboveRoads)\n  ```\n- **Convert Street names into map Coordinates and vice versa**\n  ```swift\n  let geoCoder = CLGeocoder()\n  geoCoder.geocodeAddressString(location) //convert street names into coordinates\n  geoCoder.reverseGeocodeLocation(location) //convert coordinates into street names\n  ```\n- **Pick different type of uber using ```UISegmentedControl()```**\n- **Simulate a ride with trip details and driver information**\n- **Formated date to show when a ride took place**\n  ```swift\n  let date = Date()\n  let formatter = DateFormatter()\n  //Saturday, July 8, 2018, 3:18 PM\n  ```\n- **See recent trip details in a ```TableView Cell```**\n\n## Requirements\n```swift\nimport CoreData\nimport MapKit\nimport SideMenu // project library used to implement a customized side menu\n```\n\n**_Pod Files_**\n```swift\npod 'SideMenu' \n```\n[Side Menu Library by jonkykong](https://github.com/jonkykong/SideMenu)\n\n## Project Configuration\nYou'll have to configure your Xcode project in order to track user Location with ```Map Kit```.\n\n_Your Xcode project should contain an ```Info.plist``` file._\n\n1. In Info.plist, open Information Property List. \n\n2. Hover your cursor over the up-down arrows, or click on any item in the list,   \nto display the + and – symbols, then click the + symbol to create a new item. \n\n3. Scroll down to select Privacy – Location When In Use Usage Description, then set its Value to something like: \n\u003e To show you cool things nearby\n\n## License\nStandard MIT [License](https://github.com/johnnyperdomo/Uber/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnyperdomo%2Fuber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnnyperdomo%2Fuber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnyperdomo%2Fuber/lists"}