Skip to content

Instantly share code, notes, and snippets.

@piotrbernad
Created September 28, 2017 10:28
Show Gist options
  • Save piotrbernad/94ff577f38de065aebe158f1ebe7f44d to your computer and use it in GitHub Desktop.
Save piotrbernad/94ff577f38de065aebe158f1ebe7f44d to your computer and use it in GitHub Desktop.
KeychainAccess.swift
public protocol KeychainAccess {
func remove(_ key: String) throws
func set(_ value: Data, key: String) throws
func get(_ key: String) throws -> Data?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment