Skip to content

Instantly share code, notes, and snippets.

@dannyshain
Created March 12, 2021 01:42
Show Gist options
  • Save dannyshain/d6479c04f6c17fd805a4087822a868a0 to your computer and use it in GitHub Desktop.
Save dannyshain/d6479c04f6c17fd805a4087822a868a0 to your computer and use it in GitHub Desktop.
// Interacting with pickers
let first = NSPredicate(format: "label BEGINSWITH 'Picker'")
let picker = app.pickerWheels.element(matching: first)
picker.adjust(toPickerWheelValue: "value")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment