ITKit for Menutunes
[ITKit.git] / ITCategory-NSView.m
diff --git a/ITCategory-NSView.m b/ITCategory-NSView.m
new file mode 100755 (executable)
index 0000000..b2c8c0c
--- /dev/null
@@ -0,0 +1,10 @@
+#import "ITCategory-NSView.h"
+
+
+@implementation NSView (ITCategory)
+
+- (void)removeAllSubviews {
+    [[self subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];
+}
+
+@end