-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #292 from SimplyDanny/make-simulator-untouched-by-…
…tests Do not influence the Simulator by tests
- Loading branch information
Showing
14 changed files
with
139 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// KeyStore.swift | ||
// passKit | ||
// | ||
// Created by Danny Moesch on 20.07.19. | ||
// Copyright © 2019 Bob Sun. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public protocol KeyStore { | ||
func add(data: Data?, for key: String) | ||
func add(string: String?, for key: String) | ||
func contains(key: String) -> Bool | ||
func get(for key: String) -> Data? | ||
func get(for key: String) -> String? | ||
func removeContent(for key: String) | ||
func removeAllContent() | ||
} |
Oops, something went wrong.