Some more code cleanup, converting spaces to tabs. Redid ITKit.h framework
[ITKit.git] / ITCategory-NSView.m
1 #import "ITCategory-NSView.h"
2
3 @implementation NSView (ITKitCategory)
4
5 - (void)removeAllSubviews {
6         [[self subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];
7 }
8
9 - (void)removeSubview:(NSView *)subview {
10         if ([subview superview] == self) {
11                 [subview removeFromSuperview];
12         }
13 }
14
15 @end