Skip to content

Instantly share code, notes, and snippets.

@vasarhelyia
Created August 30, 2015 09:34
Show Gist options
  • Save vasarhelyia/cf88978dea93b5232aba to your computer and use it in GitHub Desktop.
Save vasarhelyia/cf88978dea93b5232aba to your computer and use it in GitHub Desktop.
syncBrew_error
self.brewManager.syncBrewAction.errors
|> observeOn(UIScheduler())
|> observe(next: { error in
UIAlertView(title: "Error creating brew", message: error.localizedDescription, delegate: nil, cancelButtonTitle: "OK").show()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment