Javier Cicchelli c0a49b2a85 [Feature] Persistence (#5)
This PR contains the work done to implement some useful protocols, classes and extensions to use to setup a persistence layer in an application.

To provide further details about the work done:
 - [x] declared the `Persistence` target in the Package file;
 - [x] forgot to declare the `Communications` and `Persistence` target to the `SwiftLibs` library in the `Package` file;
 - [x] defined the `Service` public protocol;
 - [x] implemented the `Fetcher` generic class;
 - [x] implemented the `bitBucket` static property in the `URL+Devices` public extension;
 - [x] updated the `README` file.

Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Reviewed-on: #5
2023-04-17 23:12:11 +00:00
2023-04-17 23:12:11 +00:00
2023-04-17 23:12:11 +00:00
2023-04-15 01:10:38 +02:00
2023-04-17 23:12:11 +00:00
2023-04-17 23:12:11 +00:00

SwiftLibs

This package contains the core building blocks that we, Röck+Cöde, usually use to build any kind of application written in the Swift programming language.

Libraries

This package contains several libraries which a developer can also use in their own codebase, and these libraries are grouped by a certain concern or purpose.

Currently, this package contains the following libraries:

  • Communications: protocols, enumerations and a ready-to-use mock url class to build remote API services;
  • Coordination: protocols to implement the Coordinator pattern and some ready-to-use platform-specific concrete routers;
  • Core: extensions we usually add to the base layer functionality and primitive types provided by the Swift standard library;
  • Dependencies: a ready-to-use, simple Dependency Injection mechanism that levers heavily on the dynamic property wrappers provided by the Swift programming language;
  • Persistence: protocols, extensions and a ready-to-use fetcher class to simplify the building of the CoreData persistence layer;
Description
A collection of reusable patterns, protocols, classes, structs, and extensions we have been using in our Swift libraries and applications from some time now, grouped in libraries based on purpose or feature.
https://github.com/rock-n-code/swift-libs.git Readme 3.3 MiB
2023-08-14 21:03:37 +00:00
Languages
Swift 75.8%
HTML 12.7%
JavaScript 7.6%
Makefile 3.9%