childIndex(forItem:)
Returns the child index of the specified item within its parent.
Declaration
func childIndex(forItem item: Any) -> IntDiscussion
The performance of this method is O(1) at best and O(n) at worst.
Returns the child index of the specified item within its parent.
func childIndex(forItem item: Any) -> IntThe performance of this method is O(1) at best and O(n) at worst.