Part of brown bag/guild meeting to present Redux concept on iOS platform.
There are two main elements in repository.
- Xcode project for Redux samples
- Vapor service to imitate network service.
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.
In order to launch applications, please follow below steps.
- Install Vapor toolbox
- Open Terminal in root folder and execute
$ cd TasksService
$ vapor build
$ vapor run
- Install Carthage to resolve project dependcies
- Open Terminal in root folder and execute
$ cd Redux
$ carthage update --platform iOS
Open Redux Xcode project and run one of the targets
- Warmup
- ToDo (requires Vapor)
- ToDo Router (requires Vapor)
Code is released under the MIT license. See LICENSE for details.