In my app user can create NSPredicate
s by using NSPredicateEditor
.
I want to validate that user entered correct RegEx in NSPredicateEditorRow
by testing NSPredicate.
@IBAction func predicateChanged(_ sender: NSPredicateEditor) {
//I want to test sender.predicate
Is that possible?