macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

ruleEditor:numberOfChildrenForCriterion:withRowType:

**

-(NSInteger)ruleEditor:(NSRuleEditor *)editor:
                 numberOfChildrenForCriterion:(id)criterion:
                 withRowType:(NSRuleEditorRowType)rowType:

解説

デリゲートメソッド
与えられた標準または行タイプの子アイテムの番号を返します。
このメソッドの実装は必須です。

返り値

( NSInteger )

引数

( NSRuleEditor * )editor
( id )criterion
( NSRuleEditorRowType )rowType

フレームワーク

ApplicationKit

クラス

NSRuleEditor

使用可能

10.5

参照

例文