Swiftpack.co - Bartlebys/BartlebysCore as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Bartlebys.
Bartlebys/BartlebysCore v1.3.0
A swift 4 Persistency Layer And Off Line First Framework
⭐️ 2
🕓 5 years ago
.package(url: "https://github.com/Bartlebys/BartlebysCore.git", from: "v1.3.0")

Swift 4 Platform

What is Bartleby's Core?

BarlebysCore is a framework written in Swift4, available for macOS, iOS, tvOS et Linux, that allows to :

  1. Insure the persistency Objects Collection, and FilePersistent Objects.
  2. Create serializable HTTP Operation (with off line support, fault tolerence, paralellizable sequences, ...)
  3. Deal efficiently with runtime Object Relations resolution

BartlebysCore's goal is to keep things simples and "Swifty" by Design. BartlebysCore is the core Engine of BartlebyKit but is suitable for other usages. I will replace Bartleby

If your data can be totally loaded in Memory, Bartleby's Core is probably a good solution for your App. It will allow to use simple functional programming approach to manipulate your data synchronously very efficiently, and integrate easily with your RESTFul API.

Installation

You can use the Swift Package Manager, a git submodule, or Carthage to install BartlebysCore Framework. You can clone BartlebyKit and run ./install.sh. It will synchronise update the submodules a offer a configured workspace.

Using the swift Package manager

You can check the SPM sample CURRENTLY A USELESS PLACEHOLDER

Linking BartlebysCore as a Submodule in Xcode

You need to create a workspace with

1. as an external target

  1. You create submodules in a repository git submodule add -b master https://github.com/Bartlebys/BartlebysCore
  2. Drop the BartlebysCore/Projects/BartlebysCore/BartlebysCore.xcodeproj file in your Xcode workspace
  3. Add BartlebysCore.framework as Linked Frameworks and libraries from the target general Tab.

2. integrated to your sources

This approach may improve performance and can be suitable is you want to aggregate all the sources.

  1. You create submodules in a repository git submodule add -b master https://github.com/Bartlebys/BartlebysCore
  2. Drop the source into your Workspace directly.
  3. You should add -DUSE_EMBEDDED_MODULES in the target Build Settings tab > Other swift flags.

If you want to use mixed approach you should import BartlebysCore as :

#if !USE_EMBEDDED_MODULES
import BartlebysCore
#endif

You can also use Carthage.

Add in your Cartfile:

github "Bartlebys/BartlebysCore"

Documents

Bartleby's

Bartleby's Core License

Bartleby's stack is Licensed under the Apache License version 2.0 By Benoit Pereira da Silva

GitHub

link
Stars: 2
Last commit: 5 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1.3.0
5 years ago

Features

  • Http Probes

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics