As you know, simprokmachine automates all the communication between your applcation's components. But what are those components? There is still a necessity of coming up with an architecture every time the app is created or expanded.
simprokcore
is a template that removes all headache of designing your application's architecture by providing a simple API that encourages you to separate an application's logic properly.
The architecture we encourage using is a state machine with multiple subscribers called "layers".
The storage machine of the application's state stands as a single source of truth and all other layers update their state according to it.
LayerType
protocol conformance or extend an existing one.Core
protocol conformance.start()
to run the flow.Check out this sample with a small counter app for a better understanding of the framework's main functions as well as wiki for API reference.
As for now, Swift Package Manager
is the only option to use for adding the framework to your project.
Once you have your Swift package set up, adding simprokcore
as a dependency is as easy as adding it to the dependencies value of your Package.swift.
dependencies: [
.package(url: "https://github.com/simprok-dev/simprokcore-ios.git", .upToNextMajor(from: "1.1.8"))
]
link |
Stars: 0 |
Last commit: 2 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics