Giter Site home page Giter Site logo

guild-iosreduxarchitecture's Introduction

iOS Redux Architecture

Xcode version Swift version Swiftlint version

Part of brown bag/guild meeting to present Redux concept on iOS platform.

General

There are two main elements in repository.

  • Xcode project for Redux samples
  • Vapor service to imitate network service.

Project overview

Project contains 3 examples of redux applications.

  • Warmup - Simple Tic-Tac-Toe game, which shows Redux in its simplest form without asynchronous complications.
  • ToDo - To do application from previous repository adjusted to Redux state managment. It extends warmup usage of this pattern/architecture to present how to handle asynchronous code and more complex applications.
  • ToDo Router - Extension of ToDo application to present how to tackle navigation in Redux manner.

All samples are based on ReSwift library, which try to be aligned with web implementation. Under COMMENT mark there could be found more information about particular code usage and what assumption were adopted.

Execution

In order to launch applications, please follow below steps.

Vapor service

$ cd TasksService
$ vapor build
$ vapor run

Project setup

  • Install Carthage to resolve project dependcies
  • Open Terminal in root folder and execute
$ cd Redux
$ carthage update --platform iOS

Redux project

Open Redux Xcode project and run one of the targets

  • Warmup
  • ToDo (requires Vapor)
  • ToDo Router (requires Vapor)

License

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

guild-iosreduxarchitecture's People

Contributors

gkamelo 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.