Created
July 20, 2016 06:58
-
-
Save pepicrft/3ac3b5384eb8551acf5f24dd5c0216a1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class KeychainRepository { | |
| static let instance: KeychainRepository = KeychainRepository() | |
| func save(session session: Session, name: String) | |
| func clear(name name: String) | |
| func fetch(name name: String) -> Session? | |
| func observe(name name: String) -> Observable<Session?> | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment