Canary Framework
Overview
The Canary Framework is a package of general purpose data structure classes implemented by the swift language.
Copyright
This software is produced by Steel Wheels Project and distributed under GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
Contents
There is a category list which is supported by this framework.
Primitive data structures
File access under SandBox
Serializer/Deserializer
- CNSerializer: Serializer functions for primitive data structures.
State class for FSM
- CNState
- CNCombinedState
- CNStateObserver: Function to trace the modification of CNState object.
Log output API
This API can be used for not only CLI application but also GUI application.
- CNConsole: Define API for console access.
- CNTextConsole: Console for the ASCII terminal.
- CNRedirectConsole: Console to redirect terminal which can be added/replaced dynamically.
- CNConsoleText: Data structure for log text.
General purpose extensions
- CNObjectVisitor: NSError Extension to support the visitor patterns for primitive objects.