Skip to content

yahoo/bgswift

Repository files navigation

BehaviorGraph

Behavior Graph is a software library that greatly enhances our ability to program user facing software and control systems. Programs of this type quickly scale up in complexity as features are added. Behavior Graph directly addresses this complexity by shifting more of the burden to the computer. It works by offering the programmer a new unit of code organization called a behavior. Behaviors are blocks of code enriched with additional information about their stateful relationships. Using this information, Behavior Graph enforces safe use of mutable state, arguably the primary source of complexity in this class of software. It does this by taking on the responsibility of control flow between behaviors, ensuring they are are run at the correct time and in the correct order.

Is it any good?

Yes

Documentation

Coming Soon. See Objective-C Docs Here

Introduction to Behavior Graph

Behavior Graph Programming Guide

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS or MacOS

Installation

Work In Progress:

Simply add the following line to your Podfile:

pod 'BGSwift', :git => '???'

License

BehaviorGraph is available under the Apache 2.0 license. See the LICENSE file for more info.