// FROM: Andy Lee
// DATE: 2002-06-16 18:30

#import <Cocoa/Cocoa.h>

@interface NSView (Utils)

- (id)viewOfClass:(Class)aClass withTag:(int)tag;

- (id)hitView:(NSPoint)location;
// location is in window coordinates

- (id)hitViewOfClass:(Class)requiredClass location:(NSPoint)location;
// location is in window coordinates

- (id)subviewWithTag:(int)tag;

- (id)buttonWithTag:(int)tag;

@end