Skip to content
This repository was archived by the owner on Jun 13, 2019. It is now read-only.
This repository was archived by the owner on Jun 13, 2019. It is now read-only.

Decouple NSKeyArchiver from StoreManager.swift #29

@johndpope

Description

@johndpope

further to investigation
remirobert/Dotzu-Objective-c#4

I drafted this code for your review
https://gist.github.com/johndpope/1dd3663a8712bb1901536a44bccd6a5a

this way - if we can get this into core library,
I can over ride this with any library that conforms to logging protocol,

protocol LogProvider {
func archiveLogs(logs: [T])
func storedDataForKey(key:String)->NSData?
func logs() -> [T]
func reset()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions