NSPredicateEditor行模板在接口构建器中不可配置 [英] NSPredicateEditor row templates not configurable in interface builder

查看:125
本文介绍了NSPredicateEditor行模板在接口构建器中不可配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在界面构建器的故事板中创建一个助手表。 viewController包含一个 NSPredicateEditor ,并使用cocoa绑定连接到viewController的一个属性。

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.

< a href =https://i.stack.imgur.com/0E5Rd.gif =nofollow>

Xcode不支持 NSPredicateEditor 了,或者我在做什么这里有什么问题?为了清楚起见,我没有任何代码喷射。

Doesn't Xcode support NSPredicateEditor anymore, or am I doing anything wrong here? Just to be clear, I'm not having any code jet.

推荐答案

这是Xcode中的一个错误。我在有和没有故事板的情况下尝试了这个,并且在配置绑定时不得不强制退出Xcode。关闭并打开项目,并在执行任何其他操作之前尝试修改行模板。

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.

这篇关于NSPredicateEditor行模板在接口构建器中不可配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆