Up

# NSTreeNode class documentation

### Authors

Generated by root

# Software documentation for the NSTreeNode class

## NSTreeNode : NSObject

> Declared in:
>   AppKit/NSTreeNode.h

Availability: MacOS-X 10.5.0
Description forthcoming.

Instance Variables
Method summary

- +treeNodeWithRepresentedObject:
- -childNodes
- -descendantNodeAtIndexPath:
- -indexPath
- -initWithRepresentedObject:
- -isLeaf
- -mutableChildNodes
- -parentNode
- -representedObject
- -sortWithSortDescriptors:recursively:

### treeNodeWithRepresentedObject:

+ (id) treeNodeWithRepresentedObject: (id)modelObject;
Availability: MacOS-X 10.5.0
Description forthcoming.

### childNodes

- (NSArray*) childNodes;
Availability: MacOS-X 10.5.0
Description forthcoming.

### descendantNodeAtIndexPath:

- (NSTreeNode*) descendantNodeAtIndexPath: (NSIndexPath*)path;
Availability: MacOS-X 10.5.0
Description forthcoming.

### indexPath

- (NSIndexPath*) indexPath;
Availability: MacOS-X 10.5.0
Description forthcoming.

### initWithRepresentedObject:

- (id) initWithRepresentedObject: (id)repObj;
Availability: MacOS-X 10.5.0
Description forthcoming.

### isLeaf

- (BOOL) isLeaf;
Availability: MacOS-X 10.5.0
Description forthcoming.

### mutableChildNodes

- (NSMutableArray*) mutableChildNodes;
Availability: MacOS-X 10.5.0
Description forthcoming.

### parentNode

- (NSTreeNode*) parentNode;
Availability: MacOS-X 10.5.0
Description forthcoming.

### representedObject

- (id) representedObject;
Availability: MacOS-X 10.5.0
Description forthcoming.

### sortWithSortDescriptors: recursively:

- (void) sortWithSortDescriptors: (NSArray*)sortDescs recursively: (BOOL)flag;
Availability: MacOS-X 10.5.0
Description forthcoming.

## Instance Variables for NSTreeNode Class

### _childNodes

@protected NSMutableArray* _childNodes;
Availability: MacOS-X 10.5.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _parentNode

@protected NSTreeNode* _parentNode;
Availability: MacOS-X 10.5.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _representedObject

@protected id _representedObject;
Availability: MacOS-X 10.5.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

Up