Returns the number of child nodes the receiver has.
SDK
- macOS 10.4+
Framework
- Foundation
Declaration
var childCount: Int { get }
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, [[this
]).