Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.35 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.35 KB

Venues

An iOS app to browse nearby venues using the Foursquare API

Getting Started

  1. Open Venues.xcworkspace.
  2. Enter your Foursquare client identifier & secret in AppDelegate.swift:29.
  3. Run the app. 👟

Screenshots

Screenshot 1 Screenshot 2

The Code

  • My main goal was to implement a scaleable and testable architecture.
  • The communication with Foursquare has been implemented in a separate framework.
  • In this framework, I've tried to replicate Foursquare's API structure as much as possible.
  • The app communicates with the Foursquare framework using the VenueService protocol, and maps the framework's structures into an application specific Venue structure.
  • Combined with the usage of dependency injection, it's easy to test the app (swap the Foursquare.Session for a mock VenueService, as seen in NearbyVenueSearchControllerTests).

Dependencies

I've tried to use as few dependencies as possible. The following dependencies have been used: