Bloc

main

The BLoC design pattern implemented for Swift
swift-bloc/bloc

Swift Compatibility Platform Compatibility codecov

Bloc

Bloc is a Swift package designed to implement all the core concepts. It provides a set of tools, including the BlocBase class, which is implemented by Cubit and Bloc classes.

Important

This project is in alpha stage and subject to change as it evolves.

Check out our comprehensive documentation to get all the necessary information to start using Bloc in your project.

Warning

This section will be updated when there's more content available.

Translations

We would be delighted to have your help in translating our documentation into your preferred language! Simply open a Pull Request on our repository with the link to your translated version. We are looking forward to receiving your contribution!

Installation

Bloc can be installed using Swift Package Manager. To include it in your project, add the following dependency to your Package.swift file:

dependencies: [
    .package(url: "https://github.com/swift-bloc/bloc.git", from: "1.0.0")
]

Versioning

We follow semantic versioning for this project. The version number is composed of three parts: MAJOR.MINOR.PATCH.

  • MAJOR version: Increments when there are incompatible changes and breaking changes. These changes may require updates to existing code and could potentially break backward compatibility.

  • MINOR version: Increments when new features or enhancements are added in a backward-compatible manner. It may include improvements, additions, or modifications to existing functionality.

  • The PATCH version includes bug fixes, patches, and safe modifications that address issues, bugs, or vulnerabilities without disrupting existing functionality. It may also include new features, but they must be implemented carefully to avoid breaking changes or compatibility issues.

It is recommended to review the release notes for each version to understand the specific changes and updates made in that particular release.

Contributing

If you find a bug or have an idea for a new feature, please open an issue or submit a pull request. We welcome contributions from the community!

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Fri Oct 18 2024 06:34:22 GMT-0900 (Hawaii-Aleutian Daylight Time)