forked from timthedevguy/BGHUDAppKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBGHUDBoxIntegration.m
35 lines (28 loc) · 1.38 KB
/
BGHUDBoxIntegration.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// BGHUDBoxIntegration.m
// BGHUDAppKit
//
// Created by BinaryGod on 2/16/09.
// Copyright 2009 none. All rights reserved.
//
#import <InterfaceBuilderKit/InterfaceBuilderKit.h>
#import <BGHUDAppKit/BGHUDBox.h>
#import "BGHUDViewInspector.h"
@implementation BGHUDBox ( Private )
- (void)ibPopulateKeyPaths:(NSMutableDictionary *)keyPaths {
[super ibPopulateKeyPaths:keyPaths];
// Remove the comments and replace "MyFirstProperty" and "MySecondProperty"
// in the following line with a list of your view's KVC-compliant properties.
//[[keyPaths objectForKey:IBAttributeKeyPaths] addObjectsFromArray:[NSArray arrayWithObjects:/* @"MyFirstProperty", @"MySecondProperty",*/ nil]];
[[keyPaths objectForKey:IBAttributeKeyPaths] addObjectsFromArray:[NSArray arrayWithObjects: @"flipGradient", @"drawTopBorder",
@"drawBottomBorder", @"drawLeftBorder", @"drawRightBorder",
@"borderColor", @"drawTopShadow", @"drawBottomShadow",
@"drawLeftShadow", @"drawRightShadow", @"shadowColor", @"useTheme",
@"themeKey", @"color1", @"color2", nil]];
}
- (void)ibPopulateAttributeInspectorClasses:(NSMutableArray *)classes {
[super ibPopulateAttributeInspectorClasses:classes];
// Replace "BGHUDViewIntegrationInspector" with the name of your inspector class.
[classes addObject:[BGHUDViewInspector class]];
}
@end