Code Monkey home page Code Monkey logo

trendingvenues's Introduction

TrendingVenues

Intro

Application to fetch a list of venues near a particular location. The result is displayed in a table. The app also offers the ability to view the found venue in a map. A pin is dropped on the map to indicate when the venue is.

Overview

I have used test able services within in the application, all of which conforming to an interface. (Protocol) This allows for ease of use and Liskov substitution principle. Each service is responsible for a single responsibility. The services in this application use a block based API. However, if there where multiple recipients of the services, multi delegation would become more appropriate. Also you will see that dependency injection is used to pass weak references. With the AppAssembly managing the objects lifecycle.

Application

The application is split into these main directories;

  • Application - Includes application code to bootstrap
  • Business Logic - Includes reuse code for additional targets. Services are included here, which will provide the information required by the UI.
  • View Controllers - The main infrastructure for the app.
  • Views - Custom views and generally any subclass of UIView.

Open Source

The project is setup using cocoapods, including the following;

  • pod 'Mantle', '1.3.1', // Used for parsing JSON
  • pod 'Masonry', '0.6.1', // Used for aiding autolayout syntax
  • pod 'SDWebImage', '3.7.1' // Not used. But would be in the future for image download and caching
  • pod 'OHHTTPStubs', '3.1.7' // Not used. But would be in the future for mocking the network requests, and uniting testing the remote service(s).

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.