Instance Property インスタンスプロパティ

childCount

Returns the number of child nodes the receiver has. レシーバが持つ子ノードの数を返します。

Declaration 宣言

@property(readonly) NSUInteger childCount;

Discussion 議論

This receiver should be an NSXMLNode object representing a document, element, or document type declaration. For performance reasons, use this method instead of getting the count from the array returned by children (for example, [[thisNode children] count]). このレシーバは、ある書類、要素、または書類型宣言を表しているNSXMLNodeオブジェクトであるべきです。性能上の理由のために、このメソッドを使ってください、childrenによって返される配列から数えるのではなく(例えば、[[thisNode children] count])。

See Also 参照

Navigating the Tree of Nodes ノードのツリーを閲覧する