Skip to content

Instantly share code, notes, and snippets.

@pepicrft
Created July 20, 2016 06:58
Show Gist options
  • Select an option

  • Save pepicrft/3ac3b5384eb8551acf5f24dd5c0216a1 to your computer and use it in GitHub Desktop.

Select an option

Save pepicrft/3ac3b5384eb8551acf5f24dd5c0216a1 to your computer and use it in GitHub Desktop.
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