I'm creating an assistant sheet in my storyboard in interface builder. The viewController contains an NSPredicateEditor
and is connected to a property of the viewController using cocoa bindings.
However, I'm not able to properly configure the row templates. When I uncheck one of the predicate operators, I'm not able to re-enable them, nor I'm able to use any of the other provided operators.
Doesn't Xcode support NSPredicateEditor
anymore, or am I doing anything wrong here? Just to be clear, I'm not having any code jet.
This is a bug in Xcode. I tried this with and without storyboards and had to force quit Xcode in both cases while configuring the binding. Close and open the project and try to modify the row template before doing anything else.
来源:https://stackoverflow.com/questions/40321303/nspredicateeditor-row-templates-not-configurable-in-interface-builder