Skip to content

Instantly share code, notes, and snippets.

@BLCKBIRDS
Created January 25, 2020 14:53
Show Gist options
  • Save BLCKBIRDS/285fdda469761a198233c8a3e4be363b to your computer and use it in GitHub Desktop.
Save BLCKBIRDS/285fdda469761a198233c8a3e4be363b to your computer and use it in GitHub Desktop.
class KeyboardResponder: ObservableObject {
//...
var _center: NotificationCenter
init(center: NotificationCenter = .default) {
_center = center
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment