# NSView+GormExtensions documentation

### Authors

Generated by heron

# Software documentation for the NSView(GormExtensions) category

## NSView(GormExtensions)

> Declared in:
>   GormCore/NSView+GormExtensions.h

Description forthcoming.
Method summary

- -hasSuperviewKindOfClass:
- -moveViewToBack:
- -moveViewToFront:
- -superviews

### hasSuperviewKindOfClass:

- (BOOL) hasSuperviewKindOfClass: (Class)cls;
Returns `YES` if the receiver has an instance of the Class cls as a superview.
Checks for a superview of a give class.

### moveViewToBack:

- (void) moveViewToBack: (NSView*)sv;
Move the subview sv in reciever to the beginning of the reciever's display list. This has the effect of making it appear in back of the other views.
Moves the specified subview to the beginning of the list, so it's displayed behind all of the other views.

### moveViewToFront:

- (void) moveViewToFront: (NSView*)sv;
Move the subview sv in reciever to the end of the reciever's display list. This has the effect of making it appear in front of the other views.
Moves the specified subview to the end of the list, so it's displayed in front of the other views.

### superviews

- (NSArray*) superviews;
All superviews of the receiver.
All superviews of this view