Giter Site home page Giter Site logo

guild-iosuiarchitectures's Introduction

iOS UI Architectures

Xcode version Swift version Swiftlint version

Part of brown bag/guild meeting to present some of the most commonly used iOS UI architectures.

General

There are two main elements in repository.

  • Xcode project for architectures
  • Vapor service to imitate network service.

Project overview

Project contains 3 architectures.

  • MVC - Apple way, where controller is a glue code for model and view interactions.
  • MVVM - Extension of Apple MVC with one more abstraction layer for presentation logic (ViewModel) and custom communication between model and view changes.
  • C-MVVM - Extension of MVVM with additional layer for navigation within application (Coordinators).

All architectures share part of code (networking, models, modals) to better present differences between them, under FIXME Xcode mark there could be found hints/problems of each of them.

C-MVVM has some sample tests to present simple way to mock network requests in Swift code.

Execution

In order to launch application, please follow below steps.

Vapor service

$ cd TasksService
$ vapor build
$ vapor run

Architecture project

Open architecture Xcode project and run one of the targets

  • MVC
  • MVVM
  • C-MVVM

License

Code is released under the MIT license. See LICENSE for details.

guild-iosuiarchitectures's People

Contributors

gkamelo avatar

Stargazers

Przemysław Wośko avatar Filip Zieliński avatar Piotr Tobolski 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.