Skip to content

Instantly share code, notes, and snippets.

@koromiko
Created September 7, 2017 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koromiko/6b0c1239bb559986db8076ac6aadf934 to your computer and use it in GitHub Desktop.
Save koromiko/6b0c1239bb559986db8076ac6aadf934 to your computer and use it in GitHub Desktop.
var saveNotificationCompleteHandler: ((Notification)->())?
func waitForSavedNotification(completeHandler: @escaping ((Notification)->()) ) {
saveNotificationCompleteHandler = completeHandler
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment