Skip to content

Instantly share code, notes, and snippets.

@sgoodwin
Created March 29, 2018 20:51
Show Gist options
  • Save sgoodwin/39deb1c0b6123018fbbe4fd1818d0caa to your computer and use it in GitHub Desktop.
Save sgoodwin/39deb1c0b6123018fbbe4fd1818d0caa to your computer and use it in GitHub Desktop.
let predicate = NSPredicate(format: "%@.completedUnitCount == 1", argumentArray: [progress])
let exp = expectation(for: predicate, evaluatedWith: progress)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment