Latest 0.2.0
Homepage https://github.com/crescentflare/BitletSynchronizer
License MIT
Platforms ios 8.0
Authors

Bitlet Synchronizer

CI Status
License
Version
Version

Bitlet Synchronizer is a project to improve handling of data in iOS and Android applications. The goal is to provide a simple way to fetch data from one or multiple sources without having to program things manually. Later on, it will also able modify and push the data back, as long as there is an API supporting it.

The library has been designed to be generic, and not depend on any existing library. The examples will show how to use it together with AlamoFire (iOS) or Retrofit (Android).

Features

  • Provides a Bitlet protocol (iOS) or interface (Android) to integrate the library with your domain layer (data models)
  • A synchronizer singleton to easily start the bitlet loading process
  • Supports data caching in memory with cache expire times that can be specified per bitlet
  • When loading the same resource multiple times, the synchronizer will combine them and makes only 1 actual load call

iOS integration guide

The library is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "BitletSynchronizer", '~> 0.2.0'

Android integration guide

When using gradle, the library can easily be imported into the build.gradle file of your project. Add the following dependency:

compile 'com.crescentflare.bitletsynchronizer:BitletSynchronizerLib:0.2.0'

Make sure that jcenter is added as a repository.

Example

The provided example will show how to integrate the library with a popular networking library and a domain layer featuring models. It will demonstrate fetching, serializing and caching data (including error handling).

Status

The library is new and provides a limited amount of functionality, but can already be useful. New features may be added in the future.

Latest podspec

{
    "name": "BitletSynchronizer",
    "version": "0.2.0",
    "summary": "BitletSynchronizer makes it easy to handle online data for both Android and iOS.",
    "description": "BitletSynchronizer is a library to create Bitlet objects, which can be implemented as data models. Together with the synchronizer it will be able to easily fetch the data.",
    "homepage": "https://github.com/crescentflare/BitletSynchronizer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Crescent Flare Apps": "[email protected]"
    },
    "source": {
        "git": "https://github.com/crescentflare/BitletSynchronizer.git",
        "tag": "0.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "BitletSynchronizerIOS/BitletSynchronizer/Classes/**/*"
}

Pin It on Pinterest

Share This