Skip to content

An iOS app to browse nearby venues using the Foursquare API

Notifications You must be signed in to change notification settings

joostvandijk/Venues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

An iOS app to browse nearby venues using the Foursquare API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages