开发者

customizing the NSPredicateEditor

开发者 https://www.devze.com 2023-04-09 06:12 出处:网络
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

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

精彩评论

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