This repository contains a list of applications built using Suas.
Suas is a unidirectional data flow architecture implementation for iOS/macOS/tvOS/watchOS and Android heavily inspired by Redux. It provides an easy-to-use library that helps to create applications that are consistent, deterministic, and scalable.
Suas focuses on providing good developer experience and tooling such as customizable logging and state changes monitoring.
Join our gitter chat channel for any questions. Or check Suas documentatation website.
- Xcode 8 and above
- CocoaPods installed
Get the required dependencies using CocoaPods using:
pod install
This repo contains an Xcode project with 4 sample apps
Example application with a label that displays the counter values and two buttons to increment and decrement the counter.
This example shows the simplest possible Suas application.
Example application that shows adding todo items and editing them; like removing and reordering items.
This example shows multiple actions. And show how to consume the state in a table view.
Example application that searches for a list of cities from the network.
This example shows:
- How to use AsyncAction and AsyncMiddleware.
- How to populate the UI with state fetched from the n
Example application that contains two screens; todo screen that shows a list of todos, and settings screen that shows the application settings.
This example shows:
- How to model an app with multiple states .
- How to create a store with multiple reducers.
- How to listen to changes in multiple states.
- How to use the StateSelector.
Some of the sample apps also use Suas Monitor middleware to send the state and actions to Suas Monitor Desktop.
Head to Suas Monitor Desktop GitHub page for installation instruction.
After installing Suas Monitor app
you can start visualizing your application state.
Check Suas Monitor and the MonitorMiddleware documentation page for more in-depth information.
To get more information about Suas:
- Head to Suas website for more in-depth knowledge about how to use Suas.
- Check the Suas API refrerence.
- Read through how to use Suas by checking some examples built with Suas.
- Join the conversation on Suas gitter channel or get in touch with the people behind Suas.
We love any sort of contribution. From changing the internals of how Suas works, changing Suas methods and public API, changing readmes and documentation topics.
Feel free to suggest changes on the GitHub repos or directly in Saus gitter channel.
For reference check our contributing guidelines.
Join our gitter channel to talk to other Suas developers.
For any question, suggestion, or just to say hi, you can find the core team on twitter:
To help craft Suas future releases, join us on gitter channel.
Copyright 2017 Zendesk, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.