Skip to content

Instantly share code, notes, and snippets.

@ncreated
Last active July 17, 2017 19:57
Show Gist options
  • Save ncreated/0e4ee3702aa5bf2de3d0ed06be201c26 to your computer and use it in GitHub Desktop.
Save ncreated/0e4ee3702aa5bf2de3d0ed06be201c26 to your computer and use it in GitHub Desktop.
Medium blogpost snippet
import RxSwift
import RxCocoa
final class Autocomplete {
func autocomplete(text: Observable<String>) -> (result: Driver<AutocompleteResult>,
isBusy: Driver<Bool>) {
return (result: .empty(), isBusy: .empty()) // TODO
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment