开发者

customizing the NSPredicateEditor

I want to customize the NSPredicateEditorRowTemplate, but I needn't the subtraction sign in the first RowTemplate, the second, and the third, like the Finder app开发者_JS百科lication.


If you tell the NSPredicateEditor that it cannot remove all the rows in the editor, then the editor will automatically remove the (-) button when necessary.

You can do this by unchecking the "Can Remove All Rows" checkbox when editing the predicate editor in a xib, or by doing it programmatically with the -setCanRemoveAllRows: method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜