Git Product home page Git Product logo

popular500px-demo's Introduction

Popular500px demo

This is a small iOS app that consumes the 500px REST API built in swift 1.2 with a VIPER architecture

Description

The app shows the 20 most popular photographs of 500px service in a list. If the user selects a picture from the list, app show another view with the details of the selected picture. In this project we can view how develop a swift application with VIPER architecture.

Getting started

In first time, download project. This project uses cocoapods for SDWebImage library (is used for loading images asynchronously) so you must install cocoapods. In root folder of project running on the terminal

pod install
Popular500px.xcworkspace

Implementation.

  1. Architecture VIPER. VIPER is an application of Clean Architecture to iOS apps, which implement the Clean Architecture, as described by Uncle Bob. The word VIPER is a backronym for View, Interactor, Presenter, Entity and Routing. For more info: https://mutualmobile.github.io/blog/2013/12/04/viper-introduction/ In this app we can see all layers:
  • View: PopularListViewController.swift
  • Interactor: PopularListInteractor.swift
  • Presenter: PopularListPresenter.swift
  • Entity: Folders Entity and Model
  • Routing: MainWireframe.swift
  1. Core data. Using Core Data is made to cached. if there are any connection problem with the API or connection, app shows the last info downloaded.

  2. Animations. To demonstrate the use of animations in swift, in detail the user info is loaded with delay and playing with alpha value.

popular500px-demo's People

Contributors

alfonsomiranda avatar

Watchers

James Cloos 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.