bwalkin / BWToolkit (http://brandonwalkin.com/bwtoolkit/)

BWToolkit is an Interface Builder plugin that contains commonly used UI elements and other objects designed to simplify development for the Mac.

Clone this repository (size: 1.5 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/bwalkin/bwtoolkit/
commit 95: 95320d1ebd45
parent 94: 4ce78c9b9c43
branch: default
Rewrote Anchored Button and Unanchored Button
Brandon Walkin
7 months ago

Changed (Δ18.6 KB):

raw changeset »

BWAnchoredButtonCell.m (77 lines added, 117 lines removed)

BWButtonBarLibrary.nib/designable.nib (687 lines added, 360 lines removed)

BWButtonBarLibrary.nib/keyedobjects.nib (binary file changed)

BWUnanchoredButtonCell.m (5 lines added, 22 lines removed)

BWUnanchoredButtonContainer.m (8 lines added, 0 lines removed)

Up to file-list BWAnchoredButtonCell.m:

14
14
15
15
static NSColor *fillStop1, *fillStop2, *fillStop3, *fillStop4;
16
16
static NSColor *topBorderColor, *bottomBorderColor, *sideBorderColor, *sideInsetColor, *pressedColor;
17
static NSColor *textColor, *textShadowColor, *imageColor, *imageShadowColor;
17
static NSColor *enabledTextColor, *disabledTextColor, *enabledImageColor, *disabledImageColor;
18
18
static NSColor *borderedSideBorderColor, *borderedTopBorderColor;
19
19
static NSGradient *fillGradient;
20
static float scaleFactor = 1.0f;
20
static NSShadow *contentShadow;
21
22
@interface NSCell (BWABCPrivate)
23
- (NSDictionary *)_textAttributes;
24
@end
21
25
22
26
@interface BWAnchoredButtonCell (BWABCPrivate)
23
- (void)drawTitleInFrame:(NSRect)cellFrame;
24
- (void)drawImageInFrame:(NSRect)cellFrame;
27
- (NSColor *)textColor;
28
- (NSColor *)imageColor;
29
- (NSRect)highlightRectForBounds:(NSRect)cellFrame;
25
30
@end
26
31
27
32
@implementation BWAnchoredButtonCell
@@ -47,24 +52,50 @@ static float scaleFactor = 1.0f;
47
52
	
48
53
	pressedColor		= [[NSColor colorWithCalibratedWhite:(0.0f / 255.0f) alpha:0.35] retain];
49
54
	
50
	textColor			= [[NSColor colorWithCalibratedWhite:(10.0f / 255.0f) alpha:1] retain];
51
	textShadowColor		= [[NSColor colorWithCalibratedWhite:(255.0f / 255.0f) alpha:0.75] retain];
55
	enabledTextColor	= [[NSColor colorWithCalibratedWhite:(10.0f / 255.0f) alpha:1] retain];
56
	disabledTextColor	= [[enabledTextColor colorWithAlphaComponent:0.6] retain];
52
57
	
53
	imageColor			= [[NSColor colorWithCalibratedWhite:(72.0f / 255.0f) alpha:1] retain];
54
	imageShadowColor	= [[NSColor colorWithCalibratedWhite:(240.0f / 255.0f) alpha:1] retain];
58
	enabledImageColor	= [[NSColor colorWithCalibratedWhite:(72.0f / 255.0f) alpha:1] retain];
59
	disabledImageColor	= [[enabledImageColor colorWithAlphaComponent:0.6] retain];
55
60
	
56
61
	borderedSideBorderColor	= [[NSColor colorWithCalibratedWhite:(0.0f / 255.0f) alpha:0.25] retain];
57
62
	borderedTopBorderColor	= [[NSColor colorWithCalibratedWhite:(190.0f / 255.0f) alpha:1] retain];
58
63
64
	contentShadow = [[NSShadow alloc] init];
65
	[contentShadow setShadowOffset:NSMakeSize(0,-1)];
66
	[contentShadow setShadowColor:[NSColor colorWithCalibratedWhite:(255.0f / 255.0f) alpha:0.75]];
59
67
}
60
68
61
- (void)awakeFromNib
69
- (NSControlSize)controlSize
62
70
{
63
	scaleFactor = [[NSScreen mainScreen] userSpaceScaleFactor];
71
	return NSSmallControlSize;
64
72
}
65
73
74
- (void)setControlSize:(NSControlSize)size
75
{
76
	
77
}
78
79
#pragma mark Draw Bezel
80
66
81
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
67
{		
82
{
83
	[super drawWithFrame:cellFrame inView:controlView];
84
85
	if ([self isHighlighted])
86
	{
87
		[pressedColor set];
88
		NSRectFillUsingOperation([self highlightRectForBounds:cellFrame], NSCompositeSourceOver);
89
	}
90
}
91
92
- (NSRect)highlightRectForBounds:(NSRect)bounds
93
{
94
	return bounds;
95
}
96
97
- (void)drawBezelWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
98
{
68
99
	BOOL inBorderedBar = YES;
69
100
	
70
101
	if ([[[self controlView] superview] respondsToSelector:@selector(isAtBottom)])
@@ -99,126 +130,55 @@ static float scaleFactor = 1.0f;
99
130
		if ([(BWAnchoredButton *)[self controlView] isAtRightEdgeOfBar])
100
131
			[bottomBorderColor bwDrawPixelThickLineAtPosition:0 withInset:1 inRect:cellFrame inView:[self controlView] horizontal:NO flip:YES];
101
132
	}
102
	
103
	if ([self image] == nil)
104
		[self drawTitleInFrame:cellFrame];
105
	else
106
		[self drawImageInFrame:cellFrame];
107
		
108
	if ([self isHighlighted])
109
	{
110
		[pressedColor set];
111
		NSRectFillUsingOperation(cellFrame, NSCompositeSourceOver);
112
	}
113
133
}
114
134
115
- (void)drawTitleInFrame:(NSRect)cellFrame
135
#pragma mark Draw Title
136
137
- (NSColor *)textColor
116
138
{
117
	if (![[self title] isEqualToString:@""])
118
	{
119
		NSColor *localTextColor = textColor;
120
		
121
		if (![self isEnabled])
122
		{
123
			localTextColor = [textColor colorWithAlphaComponent:0.6];
124
		}
125
		
126
		NSMutableDictionary *attributes = [[[NSMutableDictionary alloc] init] autorelease];
127
		[attributes addEntriesFromDictionary:[[self attributedTitle] attributesAtIndex:0 effectiveRange:NULL]];
128
		[attributes setObject:localTextColor forKey:NSForegroundColorAttributeName];
129
		[attributes setObject:[NSFont systemFontOfSize:11] forKey:NSFontAttributeName];
130
		
131
		NSShadow *shadow = [[[NSShadow alloc] init] autorelease];
132
		[shadow setShadowOffset:NSMakeSize(0,-1)];
133
		[shadow setShadowColor:textShadowColor];
134
		[attributes setObject:shadow forKey:NSShadowAttributeName];
135
		
136
		NSMutableAttributedString *string = [[[NSMutableAttributedString alloc] initWithString:[self title] attributes:attributes] autorelease];
137
		[self setAttributedTitle:string];
138
139
		// Draw title
140
		NSRect boundingRect = [[self attributedTitle] boundingRectWithSize:cellFrame.size options:0];
141
		
142
		NSPoint cellCenter;
143
		cellCenter.x = cellFrame.size.width / 2;
144
		cellCenter.y = cellFrame.size.height / 2;
145
		
146
		NSPoint drawPoint = cellCenter;
147
		drawPoint.x -= boundingRect.size.width / 2;
148
		drawPoint.y -= boundingRect.size.height / 2;
149
		
150
		drawPoint.x = roundf(drawPoint.x);
151
		drawPoint.y = roundf(drawPoint.y);
152
		
153
		if (drawPoint.x < 4)
154
			drawPoint.x = 4;
155
		
156
		[[self attributedTitle] drawAtPoint:drawPoint];
157
	}
139
	return [self isEnabled] ? enabledTextColor : disabledTextColor;
158
140
}
159
141
160
- (void)drawImageInFrame:(NSRect)cellFrame
142
- (NSDictionary *)_textAttributes
161
143
{
162
	NSImage *image = [self image];
144
	NSMutableDictionary *attributes = [[[NSMutableDictionary alloc] init] autorelease];
145
	[attributes addEntriesFromDictionary:[super _textAttributes]];
146
	[attributes setObject:[self textColor] forKey:NSForegroundColorAttributeName];
147
	[attributes setObject:[NSFont systemFontOfSize:11] forKey:NSFontAttributeName];
148
	[attributes setObject:contentShadow forKey:NSShadowAttributeName];
163
149
	
164
	if (image != nil)
165
	{
166
		[image setScalesWhenResized:NO];
167
		NSRect sourceRect = NSZeroRect;
168
		
169
		if ([[image name] isEqualToString:@"NSActionTemplate"])
170
			[image setSize:NSMakeSize(10,10)];
171
172
		sourceRect.size = [image size];
173
		
174
		NSPoint backgroundCenter;
175
		backgroundCenter.x = cellFrame.size.width / 2;
176
		backgroundCenter.y = cellFrame.size.height / 2;
177
		
178
		NSPoint drawPoint = backgroundCenter;
179
		drawPoint.x -= sourceRect.size.width / 2;
180
		drawPoint.y -= sourceRect.size.height / 2 ;
181
		
182
		drawPoint.x = roundf(drawPoint.x);
183
		drawPoint.y = roundf(drawPoint.y);
184
		
185
		NSAffineTransform* xform = [NSAffineTransform transform];
186
		[xform translateXBy:0.0 yBy:cellFrame.size.height];
187
		[xform scaleXBy:1.0 yBy:-1.0];
188
		[xform concat];
189
		
190
		if ([image isTemplate])
191
		{
192
			NSImage *glyphImage = [image bwTintedImageWithColor:imageColor];
193
			NSImage *shadowImage = [image bwTintedImageWithColor:imageShadowColor];
194
			NSPoint shadowPoint = drawPoint;
195
			shadowPoint.y--;
196
			
197
			[shadowImage drawAtPoint:shadowPoint fromRect:sourceRect operation:NSCompositeSourceOver fraction:1];		
198
			
199
			if ([self isEnabled])
200
				[glyphImage drawAtPoint:drawPoint fromRect:sourceRect operation:NSCompositeSourceOver fraction:1];
201
			else
202
				[glyphImage	drawAtPoint:drawPoint fromRect:sourceRect operation:NSCompositeSourceOver fraction:0.5];
203
		}
204
		else
205
		{
206
			if ([self isEnabled])
207
				[image drawAtPoint:drawPoint fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1];
208
			else
209
				[image drawAtPoint:drawPoint fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:0.5];
210
		}
211
	}
150
	return attributes;
212
151
}
213
152
214
- (NSControlSize)controlSize
153
- (NSRect)titleRectForBounds:(NSRect)bounds
215
154
{
216
	return NSSmallControlSize;
155
	return NSOffsetRect([super titleRectForBounds:bounds], 0, 1);
217
156
}
218
157
219
- (void)setControlSize:(NSControlSize)size
158
#pragma mark Draw Image
159
160
- (NSColor *)imageColor
220
161
{
162
	return [self isEnabled] ? enabledImageColor : disabledImageColor;
163
}
164
165
- (void)drawImage:(NSImage *)image withFrame:(NSRect)frame inView:(NSView *)controlView
166
{	
167
	if ([[image name] isEqualToString:@"NSActionTemplate"])
168
		[image setSize:NSMakeSize(10,10)];
221
169
	
170
	NSImage *newImage = image;
171
	
172
	// Only tint if the image is a template and shouldn't be rendered as a blue active state
173
	if ([image isTemplate] && !([self showsStateBy] == NSContentsCellMask && [self intValue] == 1))
174
	{
175
		newImage = [image bwTintedImageWithColor:[self imageColor]];
176
		[newImage setTemplate:NO];
177
178
		[contentShadow set];
179
	}
180
181
	[super drawImage:newImage withFrame:NSOffsetRect(frame, 0, 1) inView:controlView];
222
182
}
223
183
224
184
@end

Up to file-list BWButtonBarLibrary.nib/designable.nib:

1
1
<?xml version="1.0" encoding="UTF-8"?>
2
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
2
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
3
3
	<data>
4
4
		<int key="IBDocument.SystemTarget">1050</int>
5
		<string key="IBDocument.SystemVersion">9J61</string>
6
		<string key="IBDocument.InterfaceBuilderVersion">677</string>
7
		<string key="IBDocument.AppKitVersion">949.46</string>
8
		<string key="IBDocument.HIToolboxVersion">353.00</string>
5
		<string key="IBDocument.SystemVersion">10A432</string>
6
		<string key="IBDocument.InterfaceBuilderVersion">732</string>
7
		<string key="IBDocument.AppKitVersion">1038</string>
8
		<string key="IBDocument.HIToolboxVersion">437.00</string>
9
		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10
			<bool key="EncodedWithXMLCoder">YES</bool>
11
			<object class="NSArray" key="dict.sortedKeys">
12
				<bool key="EncodedWithXMLCoder">YES</bool>
13
				<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
14
				<string>com.apple.InterfaceBuilder.IBSDKPlugin</string>
15
			</object>
16
			<object class="NSMutableArray" key="dict.values">
17
				<bool key="EncodedWithXMLCoder">YES</bool>
18
				<string>732</string>
19
				<string>732</string>
20
			</object>
21
		</object>
9
22
		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
10
23
			<bool key="EncodedWithXMLCoder">YES</bool>
11
24
			<integer value="7"/>
12
25
		</object>
13
26
		<object class="NSArray" key="IBDocument.PluginDependencies">
14
27
			<bool key="EncodedWithXMLCoder">YES</bool>
15
			<string>com.apple.InterfaceBuilderKit</string>
16
28
			<string>com.apple.InterfaceBuilder.IBSDKPlugin</string>
17
29
			<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
18
30
		</object>
19
31
		<object class="NSMutableDictionary" key="IBDocument.Metadata">
20
32
			<bool key="EncodedWithXMLCoder">YES</bool>
21
			<object class="NSArray" key="dict.sortedKeys">
33
			<object class="NSArray" key="dict.sortedKeys" id="0">
22
34
				<bool key="EncodedWithXMLCoder">YES</bool>
23
35
			</object>
24
36
			<object class="NSMutableArray" key="dict.values">
53
65
							<string key="NSContents">Anchored Button Bar</string>
54
66
							<object class="NSFont" key="NSSupport" id="1007">
55
67
								<string key="NSName">LucidaGrande</string>
56
								<double key="NSSize">1.300000e+01</double>
68
								<double key="NSSize">13</double>
57
69
								<int key="NSfFlags">1044</int>
58
70
							</object>
59
71
							<reference key="NSControlView" ref="71754860"/>
63
75
								<string key="NSColorName">controlColor</string>
64
76
								<object class="NSColor" key="NSColor">
65
77
									<int key="NSColorSpace">3</int>
66
									<bytes key="NSWhite">MC42NjY2NjY2OQA</bytes>
78
									<bytes key="NSWhite">MC42NjY2NjY2ODY1AA</bytes>
67
79
								</object>
68
80
							</object>
69
81
							<object class="NSColor" key="NSTextColor" id="320956320">
99
111
							</object>
100
112
							<object class="NSColor" key="NSTextColor">
101
113
								<int key="NSColorSpace">3</int>
102
								<bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes>
114
								<bytes key="NSWhite">MCAwLjgwMDAwMDAxMTkAA</bytes>
103
115
							</object>
104
116
						</object>
105
117
						<int key="NSBorderType">3</int>
107
119
						<int key="NSTitlePosition">0</int>
108
120
						<bool key="NSTransparent">NO</bool>
109
121
					</object>
110
					<object class="NSCustomView" id="842215012">
111
						<reference key="NSNextResponder" ref="1000"/>
112
						<int key="NSvFlags">268</int>
113
						<object class="NSMutableArray" key="NSSubviews">
114
							<bool key="EncodedWithXMLCoder">YES</bool>
115
							<object class="NSButton" id="30210369">
116
								<reference key="NSNextResponder" ref="842215012"/>
117
								<int key="NSvFlags">268</int>
118
								<string key="NSFrame">{{-1, -2}, {32, 25}}</string>
119
								<reference key="NSSuperview" ref="842215012"/>
120
								<bool key="NSEnabled">YES</bool>
121
								<object class="NSButtonCell" key="NSCell" id="253109075">
122
									<int key="NSCellFlags">67239424</int>
123
									<int key="NSCellFlags2">134348800</int>
124
									<string key="NSContents"/>
125
									<object class="NSFont" key="NSSupport" id="26">
126
										<string key="NSName">LucidaGrande</string>
127
										<double key="NSSize">1.100000e+01</double>
128
										<int key="NSfFlags">3100</int>
129
									</object>
130
									<reference key="NSControlView" ref="30210369"/>
131
									<int key="NSButtonFlags">-2033958657</int>
132
									<int key="NSButtonFlags2">163</int>
133
									<object class="NSCustomResource" key="NSNormalImage" id="1008274031">
134
										<string key="NSClassName">NSImage</string>
135
										<string key="NSResourceName">NSAddTemplate</string>
136
									</object>
137
									<string key="NSAlternateContents"/>
138
									<string key="NSKeyEquivalent"/>
139
									<int key="NSPeriodicDelay">200</int>
140
									<int key="NSPeriodicInterval">25</int>
141
								</object>
142
							</object>
143
							<object class="NSPopUpButton" id="1030343982">
144
								<reference key="NSNextResponder" ref="842215012"/>
145
								<int key="NSvFlags">268</int>
146
								<string key="NSFrame">{{30, -2}, {32, 25}}</string>
147
								<reference key="NSSuperview" ref="842215012"/>
148
								<bool key="NSEnabled">YES</bool>
149
								<object class="NSPopUpButtonCell" key="NSCell" id="220749973">
150
									<int key="NSCellFlags">-2076049856</int>
151
									<int key="NSCellFlags2">134350848</int>
152
									<reference key="NSSupport" ref="26"/>
153
									<reference key="NSControlView" ref="1030343982"/>
154
									<int key="NSButtonFlags">-2038284033</int>
155
									<int key="NSButtonFlags2">163</int>
156
									<string key="NSAlternateContents"/>
157
									<string key="NSKeyEquivalent"/>
158
									<int key="NSPeriodicDelay">400</int>
159
									<int key="NSPeriodicInterval">75</int>
160
									<object class="NSMenuItem" key="NSMenuItem" id="726542256">
161
										<reference key="NSMenu" ref="139701603"/>
162
										<bool key="NSIsHidden">YES</bool>
163
										<string key="NSTitle"/>
164
										<string key="NSKeyEquiv"/>
165
										<int key="NSKeyEquivModMask">1048576</int>
166
										<int key="NSMnemonicLoc">2147483647</int>
167
										<int key="NSState">1</int>
168
										<object class="NSCustomResource" key="NSImage" id="789056213">
169
											<string key="NSClassName">NSImage</string>
170
											<string key="NSResourceName">NSActionTemplate</string>
171
										</object>
172
										<object class="NSCustomResource" key="NSOnImage" id="1069227618">
173
											<string key="NSClassName">NSImage</string>
174
											<string key="NSResourceName">NSMenuCheckmark</string>
175
										</object>
176
										<object class="NSCustomResource" key="NSMixedImage" id="283321110">
177
											<string key="NSClassName">NSImage</string>
178
											<string key="NSResourceName">NSMenuMixedState</string>
179
										</object>
180
										<string key="NSAction">_popUpItemAction:</string>
181
										<reference key="NSTarget" ref="220749973"/>
182
									</object>
183
									<bool key="NSMenuItemRespectAlignment">YES</bool>
184
									<object class="NSMenu" key="NSMenu" id="139701603">
185
										<string key="NSTitle">OtherViews</string>
186
										<object class="NSMutableArray" key="NSMenuItems">
187
											<bool key="EncodedWithXMLCoder">YES</bool>
188
											<reference ref="726542256"/>
189
											<object class="NSMenuItem" id="351605320">
190
												<reference key="NSMenu" ref="139701603"/>
191
												<string key="NSTitle">Item 2</string>
192
												<string key="NSKeyEquiv"/>
193
												<int key="NSKeyEquivModMask">1048576</int>
194
												<int key="NSMnemonicLoc">2147483647</int>
195
												<reference key="NSOnImage" ref="1069227618"/>
196
												<reference key="NSMixedImage" ref="283321110"/>
197
												<string key="NSAction">_popUpItemAction:</string>
198
												<reference key="NSTarget" ref="220749973"/>
199
											</object>
200
											<object class="NSMenuItem" id="716140647">
201
												<reference key="NSMenu" ref="139701603"/>
202
												<string key="NSTitle">Item 3</string>
203
												<string key="NSKeyEquiv"/>
204
												<int key="NSKeyEquivModMask">1048576</int>
205
												<int key="NSMnemonicLoc">2147483647</int>
206
												<reference key="NSOnImage" ref="1069227618"/>
207
												<reference key="NSMixedImage" ref="283321110"/>
208
												<string key="NSAction">_popUpItemAction:</string>
209
												<reference key="NSTarget" ref="220749973"/>
210
											</object>
211
										</object>
212
									</object>
213
									<bool key="NSPullDown">YES</bool>
214
									<int key="NSPreferredEdge">1</int>
215
									<bool key="NSUsesItemFromMenu">YES</bool>
216
									<bool key="NSAltersState">YES</bool>
217
									<int key="NSArrowPosition">2</int>
218
								</object>
219
							</object>
220
						</object>
221
						<string key="NSFrame">{{108, 335}, {136, 23}}</string>
222
						<reference key="NSSuperview" ref="1000"/>
223
						<string key="NSClassName">BWAnchoredButtonBar</string>
224
					</object>
225
122
					<object class="NSButton" id="865469312">
226
123
						<reference key="NSNextResponder" ref="1000"/>
227
124
						<int key="NSvFlags">268</int>
232
129
							<int key="NSCellFlags">67239424</int>
233
130
							<int key="NSCellFlags2">134348800</int>
234
131
							<string key="NSContents"/>
235
							<reference key="NSSupport" ref="26"/>
132
							<object class="NSFont" key="NSSupport" id="26">
133
								<string key="NSName">LucidaGrande</string>
134
								<double key="NSSize">11</double>
135
								<int key="NSfFlags">3100</int>
136
							</object>
236
137
							<reference key="NSControlView" ref="865469312"/>
237
138
							<int key="NSButtonFlags">-2033958657</int>
238
139
							<int key="NSButtonFlags2">163</int>
239
							<reference key="NSNormalImage" ref="1008274031"/>
140
							<object class="NSCustomResource" key="NSNormalImage" id="522876412">
141
								<string key="NSClassName">NSImage</string>
142
								<string key="NSResourceName">NSAddTemplate</string>
143
							</object>
240
144
							<string key="NSAlternateContents"/>
241
145
							<string key="NSKeyEquivalent"/>
242
146
							<int key="NSPeriodicDelay">200</int>
254
158
							<int key="NSCellFlags2">134350848</int>
255
159
							<object class="NSFont" key="NSSupport">
256
160
								<string key="NSName">LucidaGrande</string>
257
								<double key="NSSize">1.300000e+01</double>
161
								<double key="NSSize">13</double>
258
162
								<int key="NSfFlags">16</int>
259
163
							</object>
260
164
							<reference key="NSControlView" ref="137779012"/>
272
176
								<int key="NSKeyEquivModMask">1048576</int>
273
177
								<int key="NSMnemonicLoc">2147483647</int>
274
178
								<int key="NSState">1</int>
275
								<reference key="NSImage" ref="789056213"/>
276
								<reference key="NSOnImage" ref="1069227618"/>
277
								<reference key="NSMixedImage" ref="283321110"/>
179
								<object class="NSCustomResource" key="NSImage">
180
									<string key="NSClassName">NSImage</string>
181
									<string key="NSResourceName">NSActionTemplate</string>
182
								</object>
183
								<object class="NSCustomResource" key="NSOnImage" id="293075423">
184
									<string key="NSClassName">NSImage</string>
185
									<string key="NSResourceName">NSMenuCheckmark</string>
186
								</object>
187
								<object class="NSCustomResource" key="NSMixedImage" id="29630450">
188
									<string key="NSClassName">NSImage</string>
189
									<string key="NSResourceName">NSMenuMixedState</string>
190
								</object>
278
191
								<string key="NSAction">_popUpItemAction:</string>
279
192
								<reference key="NSTarget" ref="976666719"/>
280
193
							</object>
290
203
										<string key="NSKeyEquiv"/>
291
204
										<int key="NSKeyEquivModMask">1048576</int>
292
205
										<int key="NSMnemonicLoc">2147483647</int>
293
										<reference key="NSOnImage" ref="1069227618"/>
294
										<reference key="NSMixedImage" ref="283321110"/>
206
										<reference key="NSOnImage" ref="293075423"/>
207
										<reference key="NSMixedImage" ref="29630450"/>
295
208
										<string key="NSAction">_popUpItemAction:</string>
296
209
										<reference key="NSTarget" ref="976666719"/>
297
210
									</object>
301
214
										<string key="NSKeyEquiv"/>
302
215
										<int key="NSKeyEquivModMask">1048576</int>
303
216
										<int key="NSMnemonicLoc">2147483647</int>
304
										<reference key="NSOnImage" ref="1069227618"/>
305
										<reference key="NSMixedImage" ref="283321110"/>
217
										<reference key="NSOnImage" ref="293075423"/>
218
										<reference key="NSMixedImage" ref="29630450"/>
306
219
										<string key="NSAction">_popUpItemAction:</string>
307
220
										<reference key="NSTarget" ref="976666719"/>
308
221
									</object>
345
258
							<reference key="NSBackgroundColor" ref="674407674"/>
346
259
							<object class="NSColor" key="NSTextColor">
347
260
								<int key="NSColorSpace">3</int>
348
								<bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes>
261
								<bytes key="NSWhite">MCAwLjgwMDAwMDAxMTkAA</bytes>
349
262
							</object>
350
263
						</object>
351
264
						<int key="NSBorderType">3</int>
363
276
								<int key="NSvFlags">256</int>
364
277
								<object class="NSMutableSet" key="NSDragTypes">
365
278
									<bool key="EncodedWithXMLCoder">YES</bool>
366
									<object class="NSMutableArray" key="set.sortedObjects">
279
									<object class="NSArray" key="set.sortedObjects">
367
280
										<bool key="EncodedWithXMLCoder">YES</bool>
368
281
										<string>Apple PDF pasteboard type</string>
369
282
										<string>Apple PICT pasteboard type</string>
398
311
						<string key="briefDescription">Button for placing inside an anchored button bar.</string>
399
312
						<object class="NSAttributedString" key="fullDescription">
400
313
							<string key="NSString">Button for placing inside an anchored button bar. For a button on its own, use an unanchored button.</string>
401
							<object class="NSDictionary" key="NSAttributes" id="562435346">
314
							<object class="NSDictionary" key="NSAttributes" id="283409343">
402
315
								<bool key="EncodedWithXMLCoder">YES</bool>
403
								<object class="NSMutableArray" key="dict.sortedKeys">
316
								<object class="NSArray" key="dict.sortedKeys">
404
317
									<bool key="EncodedWithXMLCoder">YES</bool>
405
318
									<string>NSFont</string>
406
319
									<string>NSParagraphStyle</string>
409
322
									<bool key="EncodedWithXMLCoder">YES</bool>
410
323
									<object class="NSFont">
411
324
										<string key="NSName">Helvetica</string>
412
										<double key="NSSize">1.200000e+01</double>
325
										<double key="NSSize">12</double>
413
326
										<int key="NSfFlags">16</int>
414
327
									</object>
415
328
									<object class="NSParagraphStyle">
426
339
						<nil key="filterableNames"/>
427
340
						<nil key="subtitle"/>
428
341
						<int key="animationScalingMode">0</int>
342
						<bool key="representativeTemplateForClass">NO</bool>
429
343
					</object>
430
344
					<object class="IBLibraryObjectTemplate" id="234232932">
431
345
						<reference key="NSNextResponder" ref="1000"/>
437
351
								<int key="NSvFlags">256</int>
438
352
								<object class="NSMutableSet" key="NSDragTypes">
439
353
									<bool key="EncodedWithXMLCoder">YES</bool>
440
									<object class="NSMutableArray" key="set.sortedObjects">
354
									<object class="NSArray" key="set.sortedObjects">
441
355
										<bool key="EncodedWithXMLCoder">YES</bool>
442
356
										<string>Apple PDF pasteboard type</string>
443
357
										<string>Apple PICT pasteboard type</string>
472
386
						<string key="briefDescription">Pop up button for placing inside an anchored button bar.</string>
473
387
						<object class="NSAttributedString" key="fullDescription">
474
388
							<string key="NSString">Pop up button for placing inside an anchored button bar.</string>
475
							<reference key="NSAttributes" ref="562435346"/>
389
							<reference key="NSAttributes" ref="283409343"/>
476
390
						</object>
477
391
						<string key="initialCategoryPath">Button Bar</string>
478
392
						<nil key="draggableView"/>
481
395
						<nil key="filterableNames"/>
482
396
						<nil key="subtitle"/>
483
397
						<int key="animationScalingMode">0</int>
398
						<bool key="representativeTemplateForClass">NO</bool>
484
399
					</object>
485
400
					<object class="IBLibraryObjectTemplate" id="638688660">
486
401
						<reference key="NSNextResponder" ref="1000"/>
492
407
								<int key="NSvFlags">256</int>
493
408
								<object class="NSMutableSet" key="NSDragTypes">
494
409
									<bool key="EncodedWithXMLCoder">YES</bool>
495
									<object class="NSMutableArray" key="set.sortedObjects">
410
									<object class="NSArray" key="set.sortedObjects">
496
411
										<bool key="EncodedWithXMLCoder">YES</bool>
497
412
										<string>Apple PDF pasteboard type</string>
498
413
										<string>Apple PICT pasteboard type</string>
527
442
						<string key="briefDescription">Bar for placement directly below a view.</string>
528
443
						<object class="NSAttributedString" key="fullDescription">
529
444
							<string key="NSString">Bar for placement directly below a view. It should contain anchored buttons and other UI elements pertaining to the view it is anchored to.</string>
530
							<reference key="NSAttributes" ref="562435346"/>
445
							<reference key="NSAttributes" ref="283409343"/>
531
446
						</object>
532
447
						<string key="initialCategoryPath">Button Bar</string>
533
448
						<nil key="draggableView"/>
536
451
						<nil key="filterableNames"/>
537
452
						<nil key="subtitle"/>
538
453
						<int key="animationScalingMode">0</int>
454
						<bool key="representativeTemplateForClass">NO</bool>
539
455
					</object>
540
					<object class="IBLibraryObjectTemplate" id="467485410">
456
					<object class="NSCustomView" id="1030500576">
457
						<reference key="NSNextResponder" ref="1000"/>
458
						<int key="NSvFlags">268</int>
459
						<string key="NSFrame">{{108, 319}, {128, 23}}</string>
460
						<reference key="NSSuperview" ref="1000"/>
461
						<string key="NSClassName">BWAnchoredButtonBar</string>
462
					</object>
463
					<object class="IBLibraryObjectTemplate" id="124173362">
541
464
						<reference key="NSNextResponder" ref="1000"/>
542
465
						<int key="NSvFlags">268</int>
543
466
						<object class="NSMutableArray" key="NSSubviews">
544
467
							<bool key="EncodedWithXMLCoder">YES</bool>
545
							<object class="NSButton" id="773436835">
546
								<reference key="NSNextResponder" ref="467485410"/>
468
							<object class="NSButton" id="692998779">
469
								<reference key="NSNextResponder" ref="124173362"/>
547
470
								<int key="NSvFlags">268</int>
548
								<string key="NSFrame">{{28, 29}, {23, 22}}</string>
549
								<reference key="NSSuperview" ref="467485410"/>
471
								<string key="NSFrame">{{28, 28}, {23, 25}}</string>
472
								<reference key="NSSuperview" ref="124173362"/>
550
473
								<bool key="NSEnabled">YES</bool>
551
								<object class="NSButtonCell" key="NSCell" id="118317209">
474
								<object class="NSButtonCell" key="NSCell" id="1011226483">
552
475
									<int key="NSCellFlags">67239424</int>
553
									<int key="NSCellFlags2">134217728</int>
476
									<int key="NSCellFlags2">134348800</int>
554
477
									<string key="NSContents"/>
555
									<reference key="NSSupport" ref="1007"/>
556
									<reference key="NSControlView" ref="773436835"/>
478
									<reference key="NSSupport" ref="26"/>
479
									<reference key="NSControlView" ref="692998779"/>
557
480
									<int key="NSButtonFlags">-2033958657</int>
558
									<int key="NSButtonFlags2">134</int>
481
									<int key="NSButtonFlags2">163</int>
559
482
									<string key="NSAlternateContents"/>
560
483
									<string key="NSKeyEquivalent"/>
561
484
									<int key="NSPeriodicDelay">200</int>
566
489
						<string key="NSFrame">{{20, 167}, {80, 80}}</string>
567
490
						<reference key="NSSuperview" ref="1000"/>
568
491
						<string key="label">Unanchored Button</string>
569
						<string key="identifier">FAE31A26-A5A4-4331-B0CD-31AFE5320FBA</string>
492
						<string key="identifier">6F8444C4-0158-4031-A28C-DD88204BD961</string>
570
493
						<string key="briefDescription">Unanchored button for use below a table view.</string>
571
494
						<object class="NSAttributedString" key="fullDescription">
572
495
							<string key="NSString">Unanchored button for use below a table view.</string>
573
							<reference key="NSAttributes" ref="562435346"/>
496
							<reference key="NSAttributes" ref="283409343"/>
574
497
						</object>
575
498
						<string key="initialCategoryPath">Button Bar</string>
576
499
						<nil key="draggableView"/>
579
502
						<nil key="filterableNames"/>
580
503
						<nil key="subtitle"/>
581
504
						<int key="animationScalingMode">0</int>
582
					</object>
583
					<object class="NSCustomView" id="1030500576">
584
						<reference key="NSNextResponder" ref="1000"/>
585
						<int key="NSvFlags">268</int>
586
						<string key="NSFrame">{{108, 304}, {128, 23}}</string>
587
						<reference key="NSSuperview" ref="1000"/>
588
						<string key="NSClassName">BWAnchoredButtonBar</string>
505
						<bool key="representativeTemplateForClass">NO</bool>
589
506
					</object>
590
507
					<object class="IBLibraryObjectTemplate" id="803438660">
591
508
						<reference key="NSNextResponder" ref="1000"/>
597
514
								<int key="NSvFlags">268</int>
598
515
								<object class="NSMutableArray" key="NSSubviews">
599
516
									<bool key="EncodedWithXMLCoder">YES</bool>
600
									<object class="NSButton" id="441622674">
517
									<object class="NSButton" id="152459747">
601
518
										<reference key="NSNextResponder" ref="92496390"/>
602
519
										<int key="NSvFlags">268</int>
603
										<string key="NSFrameSize">{23, 22}</string>
520
										<string key="NSFrame">{{22, 0}, {23, 25}}</string>
604
521
										<reference key="NSSuperview" ref="92496390"/>
605
522
										<bool key="NSEnabled">YES</bool>
606
										<object class="NSButtonCell" key="NSCell" id="63315047">
523
										<object class="NSButtonCell" key="NSCell" id="941584126">
607
524
											<int key="NSCellFlags">67239424</int>
608
											<int key="NSCellFlags2">134217728</int>
525
											<int key="NSCellFlags2">134348800</int>
609
526
											<string key="NSContents"/>
610
											<reference key="NSSupport" ref="1007"/>
611
											<reference key="NSControlView" ref="441622674"/>
527
											<reference key="NSSupport" ref="26"/>
528
											<reference key="NSControlView" ref="152459747"/>
612
529
											<int key="NSButtonFlags">-2033958657</int>
613
											<int key="NSButtonFlags2">134</int>
614
											<reference key="NSNormalImage" ref="1008274031"/>
530
											<int key="NSButtonFlags2">163</int>
531
											<object class="NSCustomResource" key="NSNormalImage">
532
												<string key="NSClassName">NSImage</string>
533
												<string key="NSResourceName">NSRemoveTemplate</string>
534
											</object>
615
535
											<string key="NSAlternateContents"/>
616
536
											<string key="NSKeyEquivalent"/>
617
537
											<int key="NSPeriodicDelay">200</int>
618
538
											<int key="NSPeriodicInterval">25</int>
619
539
										</object>
620
540
									</object>
621
									<object class="NSButton" id="215733208">
541
									<object class="NSButton" id="790925572">
622
542
										<reference key="NSNextResponder" ref="92496390"/>
623
543
										<int key="NSvFlags">268</int>
624
										<string key="NSFrame">{{22, 0}, {23, 22}}</string>
544
										<string key="NSFrameSize">{23, 25}</string>
625
545
										<reference key="NSSuperview" ref="92496390"/>
626
546
										<bool key="NSEnabled">YES</bool>
627
										<object class="NSButtonCell" key="NSCell" id="724108233">
547
										<object class="NSButtonCell" key="NSCell" id="586633726">
628
548
											<int key="NSCellFlags">67239424</int>
629
											<int key="NSCellFlags2">134217728</int>
549
											<int key="NSCellFlags2">134348800</int>
630
550
											<string key="NSContents"/>
631
											<reference key="NSSupport" ref="1007"/>
632
											<reference key="NSControlView" ref="215733208"/>
551
											<reference key="NSSupport" ref="26"/>
552
											<reference key="NSControlView" ref="790925572"/>
633
553
											<int key="NSButtonFlags">-2033958657</int>
634
											<int key="NSButtonFlags2">134</int>
635
											<object class="NSCustomResource" key="NSNormalImage">
636
												<string key="NSClassName">NSImage</string>
637
												<string key="NSResourceName">NSRemoveTemplate</string>
638
											</object>
554
											<int key="NSButtonFlags2">163</int>
555
											<reference key="NSNormalImage" ref="522876412"/>
639
556
											<string key="NSAlternateContents"/>
640
557
											<string key="NSKeyEquivalent"/>
641
558
											<int key="NSPeriodicDelay">200</int>
655
572
						<string key="briefDescription">Convenience for adding a set of plus and minus unanchored buttons. </string>
656
573
						<object class="NSAttributedString" key="fullDescription">
657
574
							<string key="NSString">Convenience for adding a set of plus and minus unanchored buttons to be placed below a table view.</string>
658
							<reference key="NSAttributes" ref="562435346"/>
575
							<reference key="NSAttributes" ref="283409343"/>
659
576
						</object>
660
577
						<string key="initialCategoryPath">Button Bar</string>
661
578
						<nil key="draggableView"/>
664
581
						<nil key="filterableNames"/>
665
582
						<nil key="subtitle"/>
666
583
						<int key="animationScalingMode">0</int>
584
						<bool key="representativeTemplateForClass">NO</bool>
667
585
					</object>
668
586
				</object>
669
587
				<string key="NSFrameSize">{310, 593}</string>
704
622
					<bool key="EncodedWithXMLCoder">YES</bool>
705
623
					<object class="IBObjectRecord">
706
624
						<int key="objectID">0</int>
707
						<object class="NSArray" key="object" id="1014">
708
							<bool key="EncodedWithXMLCoder">YES</bool>
709
						</object>
625
						<reference key="object" ref="0"/>
710
626
						<reference key="children" ref="1012"/>
711
627
						<nil key="parent"/>
712
628
					</object>
713
629
					<object class="IBObjectRecord">
714
630
						<int key="objectID">-2</int>
715
631
						<reference key="object" ref="1013"/>
716
						<reference key="parent" ref="1014"/>
717
						<string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
632
						<reference key="parent" ref="0"/>
633
						<string key="objectName">File's Owner</string>
718
634
					</object>
719
635
					<object class="IBObjectRecord">
720
636
						<int key="objectID">-1</int>
721
637
						<reference key="object" ref="1015"/>
722
						<reference key="parent" ref="1014"/>
638
						<reference key="parent" ref="0"/>
723
639
						<string key="objectName">First Responder</string>
724
640
					</object>
725
641
					<object class="IBObjectRecord">
726
642
						<int key="objectID">-3</int>
727
643
						<reference key="object" ref="1016"/>
728
						<reference key="parent" ref="1014"/>
644
						<reference key="parent" ref="0"/>
729
645
						<string key="objectName">Application</string>
730
646
					</object>
731
647
					<object class="IBObjectRecord">
742
658
							<reference ref="638688660"/>
743
659
							<reference ref="1055984948"/>
744
660
							<reference ref="969667489"/>
745
							<reference ref="467485410"/>
661
							<reference ref="124173362"/>
662
							<reference ref="1030500576"/>
746
663
							<reference ref="803438660"/>
747
							<reference ref="842215012"/>
748
							<reference ref="1030500576"/>
749
664
						</object>
750
						<reference key="parent" ref="1014"/>
665
						<reference key="parent" ref="0"/>
751
666
						<string key="objectName">Library Objects</string>
752
667
					</object>
753
668
					<object class="IBObjectRecord">
828
743
						<reference key="parent" ref="865469312"/>
829
744
					</object>
830
745
					<object class="IBObjectRecord">
831
						<int key="objectID">43</int>
832
						<reference key="object" ref="842215012"/>
833
						<object class="NSMutableArray" key="children">
834
							<bool key="EncodedWithXMLCoder">YES</bool>
835
							<reference ref="30210369"/>
836
							<reference ref="1030343982"/>
837
						</object>
838
						<reference key="parent" ref="1000"/>
839
					</object>
840
					<object class="IBObjectRecord">
841
746
						<int key="objectID">64</int>
842
747
						<reference key="object" ref="1055984948"/>
843
748
						<object class="NSMutableArray" key="children">
857
762
						<reference key="parent" ref="1055984948"/>
858
763
					</object>
859
764
					<object class="IBObjectRecord">
860
						<int key="objectID">101</int>
861
						<reference key="object" ref="30210369"/>
862
						<object class="NSMutableArray" key="children">
863
							<bool key="EncodedWithXMLCoder">YES</bool>
864
							<reference ref="253109075"/>
865
						</object>
866
						<reference key="parent" ref="842215012"/>
867
					</object>
868
					<object class="IBObjectRecord">
869
						<int key="objectID">102</int>
870
						<reference key="object" ref="253109075"/>
871
						<reference key="parent" ref="30210369"/>
872
					</object>
873
					<object class="IBObjectRecord">
874
						<int key="objectID">103</int>
875
						<reference key="object" ref="1030343982"/>
876
						<object class="NSMutableArray" key="children">
877
							<bool key="EncodedWithXMLCoder">YES</bool>
878
							<reference ref="220749973"/>
879
						</object>
880
						<reference key="parent" ref="842215012"/>
881
					</object>
882
					<object class="IBObjectRecord">
883
						<int key="objectID">104</int>
884
						<reference key="object" ref="220749973"/>
885
						<object class="NSMutableArray" key="children">
886
							<bool key="EncodedWithXMLCoder">YES</bool>
887
							<reference ref="139701603"/>
888
						</object>
889
						<reference key="parent" ref="1030343982"/>
890
					</object>
891
					<object class="IBObjectRecord">
892
						<int key="objectID">105</int>
893
						<reference key="object" ref="139701603"/>
894
						<object class="NSMutableArray" key="children">
895
							<bool key="EncodedWithXMLCoder">YES</bool>
896
							<reference ref="726542256"/>
897
							<reference ref="351605320"/>
898
							<reference ref="716140647"/>
899
						</object>
900
						<reference key="parent" ref="220749973"/>
901
					</object>
902
					<object class="IBObjectRecord">
903
						<int key="objectID">106</int>
904
						<reference key="object" ref="726542256"/>
905
						<reference key="parent" ref="139701603"/>
906
					</object>
907
					<object class="IBObjectRecord">
908
						<int key="objectID">107</int>
909
						<reference key="object" ref="351605320"/>
910
						<reference key="parent" ref="139701603"/>
911
					</object>
912
					<object class="IBObjectRecord">
913
						<int key="objectID">108</int>
914
						<reference key="object" ref="716140647"/>
915
						<reference key="parent" ref="139701603"/>
916
					</object>
917
					<object class="IBObjectRecord">
918
765
						<int key="objectID">109</int>
919
766
						<reference key="object" ref="783278254"/>
920
767
						<object class="NSMutableArray" key="children">
984
831
						<reference key="parent" ref="358113999"/>
985
832
					</object>
986
833
					<object class="IBObjectRecord">
987
						<int key="objectID">115</int>
988
						<reference key="object" ref="467485410"/>
989
						<object class="NSMutableArray" key="children">
990
							<bool key="EncodedWithXMLCoder">YES</bool>
991
							<reference ref="773436835"/>
992
						</object>
993
						<reference key="parent" ref="1000"/>
994
					</object>
995
					<object class="IBObjectRecord">
996
						<int key="objectID">82</int>
997
						<reference key="object" ref="773436835"/>
998
						<object class="NSMutableArray" key="children">
999
							<bool key="EncodedWithXMLCoder">YES</bool>
1000
							<reference ref="118317209"/>
1001
						</object>
1002
						<reference key="parent" ref="467485410"/>
1003
					</object>
1004
					<object class="IBObjectRecord">
1005
						<int key="objectID">83</int>
1006
						<reference key="object" ref="118317209"/>
1007
						<reference key="parent" ref="773436835"/>
1008
					</object>
1009
					<object class="IBObjectRecord">
1010
834
						<int key="objectID">116</int>
1011
835
						<reference key="object" ref="1030500576"/>
1012
836
						<object class="NSMutableArray" key="children">
1028
852
						<reference key="object" ref="92496390"/>
1029
853
						<object class="NSMutableArray" key="children">
1030
854
							<bool key="EncodedWithXMLCoder">YES</bool>
1031
							<reference ref="215733208"/>
1032
							<reference ref="441622674"/>
855
							<reference ref="790925572"/>
856
							<reference ref="152459747"/>
1033
857
						</object>
1034
858
						<reference key="parent" ref="803438660"/>
1035
859
					</object>
1036
860
					<object class="IBObjectRecord">
1037
						<int key="objectID">128</int>
1038
						<reference key="object" ref="215733208"/>
861
						<int key="objectID">134</int>
862
						<reference key="object" ref="124173362"/>
1039
863
						<object class="NSMutableArray" key="children">
1040
864
							<bool key="EncodedWithXMLCoder">YES</bool>
1041
							<reference ref="724108233"/>
865
							<reference ref="692998779"/>
866
						</object>
867
						<reference key="parent" ref="1000"/>
868
					</object>
869
					<object class="IBObjectRecord">
870
						<int key="objectID">137</int>
871
						<reference key="object" ref="692998779"/>
872
						<object class="NSMutableArray" key="children">
873
							<bool key="EncodedWithXMLCoder">YES</bool>
874
							<reference ref="1011226483"/>
875
						</object>
876
						<reference key="parent" ref="124173362"/>
877
					</object>
878
					<object class="IBObjectRecord">
879
						<int key="objectID">138</int>
880
						<reference key="object" ref="1011226483"/>
881
						<reference key="parent" ref="692998779"/>
882
					</object>
883
					<object class="IBObjectRecord">
884
						<int key="objectID">139</int>
885
						<reference key="object" ref="790925572"/>
886
						<object class="NSMutableArray" key="children">
887
							<bool key="EncodedWithXMLCoder">YES</bool>
888
							<reference ref="586633726"/>
1042
889
						</object>
1043
890
						<reference key="parent" ref="92496390"/>
1044
891
					</object>
1045
892
					<object class="IBObjectRecord">
1046
						<int key="objectID">129</int>
1047
						<reference key="object" ref="441622674"/>
893
						<int key="objectID">140</int>
894
						<reference key="object" ref="586633726"/>
895
						<reference key="parent" ref="790925572"/>
896
					</object>
897
					<object class="IBObjectRecord">
898
						<int key="objectID">141</int>
899
						<reference key="object" ref="152459747"/>
1048
900
						<object class="NSMutableArray" key="children">
1049
901
							<bool key="EncodedWithXMLCoder">YES</bool>
1050
							<reference ref="63315047"/>
902
							<reference ref="941584126"/>
1051
903
						</object>
1052
904
						<reference key="parent" ref="92496390"/>
1053
905
					</object>
1054
906
					<object class="IBObjectRecord">
1055
						<int key="objectID">130</int>
1056
						<reference key="object" ref="63315047"/>
1057
						<reference key="parent" ref="441622674"/>
1058
					</object>
1059
					<object class="IBObjectRecord">
1060
						<int key="objectID">131</int>
1061
						<reference key="object" ref="724108233"/>
1062
						<reference key="parent" ref="215733208"/>
907
						<int key="objectID">142</int>
908
						<reference key="object" ref="941584126"/>
909
						<reference key="parent" ref="152459747"/>
1063
910
					</object>
1064
911
				</object>
1065
912
			</object>
1066
913
			<object class="NSMutableDictionary" key="flattenedProperties">
1067
914
				<bool key="EncodedWithXMLCoder">YES</bool>
1068
				<object class="NSMutableArray" key="dict.sortedKeys">
915
				<object class="NSArray" key="dict.sortedKeys">
1069
916
					<bool key="EncodedWithXMLCoder">YES</bool>
1070
					<string>-1.IBPluginDependency</string>
1071
					<string>-2.IBPluginDependency</string>
1072
917
					<string>-3.IBPluginDependency</string>
1073
					<string>101.CustomClassName</string>
1074
					<string>101.IBPluginDependency</string>
1075
					<string>102.CustomClassName</string>
1076
					<string>102.IBPluginDependency</string>
1077
					<string>103.CustomClassName</string>
1078
					<string>103.IBPluginDependency</string>
1079
					<string>104.CustomClassName</string>
1080
					<string>104.IBPluginDependency</string>
1081
					<string>105.IBEditorWindowLastContentRect</string>
1082
					<string>105.IBPluginDependency</string>
1083
					<string>106.IBPluginDependency</string>
1084
					<string>107.IBPluginDependency</string>
1085
					<string>108.IBPluginDependency</string>
1086
918
					<string>109.IBPluginDependency</string>
1087
919
					<string>111.IBPluginDependency</string>
1088
920
					<string>113.IBPluginDependency</string>
1089
					<string>115.IBPluginDependency</string>
1090
921
					<string>116.IBPluginDependency</string>
1091
922
					<string>126.IBPluginDependency</string>
1092
923
					<string>127.IBPluginDependency</string>
1093
					<string>128.CustomClassName</string>
1094
					<string>128.IBPluginDependency</string>
1095
					<string>129.CustomClassName</string>
1096
					<string>129.IBPluginDependency</string>
1097
					<string>130.CustomClassName</string>
1098
					<string>130.IBPluginDependency</string>
1099
					<string>131.CustomClassName</string>
1100
					<string>131.IBPluginDependency</string>
924
					<string>134.IBPluginDependency</string>
925
					<string>137.CustomClassName</string>
926
					<string>137.IBPluginDependency</string>
927
					<string>138.CustomClassName</string>
928
					<string>138.IBPluginDependency</string>
929
					<string>139.CustomClassName</string>
930
					<string>139.IBPluginDependency</string>
931
					<string>140.CustomClassName</string>
932
					<string>140.IBPluginDependency</string>
933
					<string>141.CustomClassName</string>
934
					<string>141.IBPluginDependency</string>
935
					<string>142.CustomClassName</string>
936
					<string>142.IBPluginDependency</string>
1101
937
					<string>32.IBPluginDependency</string>
1102
938
					<string>33.IBPluginDependency</string>
1103
939
					<string>34.IBPluginDependency</string>
1104
					<string>43.IBPluginDependency</string>
1105
940
					<string>44.CustomClassName</string>
1106
941
					<string>44.IBPluginDependency</string>
1107
942
					<string>46.CustomClassName</string>
1113
948
					<string>49.IBPluginDependency</string>
1114
949
					<string>50.IBPluginDependency</string>
1115
950
					<string>51.IBPluginDependency</string>
951
					<string>52.IBPluginDependency</string>
952
					<string>53.IBPluginDependency</string>
1116
953
					<string>54.CustomClassName</string>
1117
954
					<string>54.IBPluginDependency</string>
955
					<string>55.IBPluginDependency</string>
956
					<string>56.IBPluginDependency</string>
957
					<string>57.IBPluginDependency</string>
958
					<string>58.IBPluginDependency</string>
1118
959
					<string>64.IBPluginDependency</string>
1119
960
					<string>65.IBPluginDependency</string>
1120
961
					<string>66.IBPluginDependency</string>
1123
964
					<string>7.IBUserGuides</string>
1124
965
					<string>7.WindowOrigin</string>
1125
966
					<string>7.editorWindowContentRectSynchronizationRect</string>
1126
					<string>82.CustomClassName</string>
1127
					<string>82.IBPluginDependency</string>
1128
					<string>83.CustomClassName</string>
1129
					<string>83.IBPluginDependency</string>
1130
967
				</object>
1131
968
				<object class="NSMutableArray" key="dict.values">
1132
969
					<bool key="EncodedWithXMLCoder">YES</bool>
1133
970
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1134
					<string>com.apple.InterfaceBuilderKit</string>
1135
					<string>com.apple.InterfaceBuilderKit</string>
1136
					<string>BWAnchoredButton</string>
1137
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1138
					<string>BWAnchoredButtonCell</string>
1139
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1140
					<string>BWAnchoredPopUpButton</string>
1141
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1142
					<string>BWAnchoredPopUpButtonCell</string>
1143
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1144
					<string>{{967, 542}, {100, 54}}</string>
1145
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1146
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1147
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1148
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1149
					<string>com.apple.InterfaceBuilder.IBSDKPlugin</string>
1150
971
					<string>com.apple.InterfaceBuilder.IBSDKPlugin</string>
1151
972
					<string>com.apple.InterfaceBuilder.IBSDKPlugin</string>
1152
973
					<string>com.apple.InterfaceBuilder.IBSDKPlugin</string>
1153
974
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1154
975
					<string>com.apple.InterfaceBuilder.IBSDKPlugin</string>
1155
976
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
977
					<string>com.apple.InterfaceBuilder.IBSDKPlugin</string>
1156
978
					<string>BWUnanchoredButton</string>
1157
979
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
980
					<string>BWUnanchoredButtonCell</string>
981
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1158
982
					<string>BWUnanchoredButton</string>
1159
983
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1160
984
					<string>BWUnanchoredButtonCell</string>
1161
985
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
986
					<string>BWUnanchoredButton</string>
987
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1162
988
					<string>BWUnanchoredButtonCell</string>
1163
989
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1164
990
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1165
991
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1166
992
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1167
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1168
993
					<string>BWAnchoredButton</string>
1169
994
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1170
995
					<string>BWAnchoredPopUpButton</string>
1176
1001
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1177
1002
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1178
1003
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1004
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1005
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1179
1006
					<string>BWAnchoredButtonCell</string>
1180
1007
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1181
1008
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1182
1009
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1183
1010
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1184
					<string>{{902, 88}, {310, 593}}</string>
1011
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1012
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1013
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1014
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1015
					<string>{{712, 309}, {310, 593}}</string>
1185
1016
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1186
1017
					<object class="NSMutableArray">
1187
1018
						<bool key="EncodedWithXMLCoder">YES</bool>
1188
1019
					</object>
1189
1020
					<string>{332, 343}</string>
1190
1021
					<string>{{403, 401}, {264, 327}}</string>
1191
					<string>BWUnanchoredButton</string>
1192
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1193
					<string>BWUnanchoredButtonCell</string>
1194
					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
1195
1022
				</object>
1196
1023
			</object>
1197
1024
			<object class="NSMutableDictionary" key="unlocalizedProperties">
1198
1025
				<bool key="EncodedWithXMLCoder">YES</bool>
1199
				<object class="NSArray" key="dict.sortedKeys">
1200
					<bool key="EncodedWithXMLCoder">YES</bool>
1201
				</object>
1026
				<reference key="dict.sortedKeys" ref="0"/>
1202
1027
				<object class="NSMutableArray" key="dict.values">
1203
1028
					<bool key="EncodedWithXMLCoder">YES</bool>
1204
1029
				</object>
1206
1031
			<nil key="activeLocalization"/>
1207
1032
			<object class="NSMutableDictionary" key="localizations">
1208
1033
				<bool key="EncodedWithXMLCoder">YES</bool>
1209
				<object class="NSArray" key="dict.sortedKeys">
1210
					<bool key="EncodedWithXMLCoder">YES</bool>
1211
				</object>
1034
				<reference key="dict.sortedKeys" ref="0"/>
1212
1035
				<object class="NSMutableArray" key="dict.values">
1213
1036
					<bool key="EncodedWithXMLCoder">YES</bool>
1214
1037
				</object>
1215
1038
			</object>
1216
1039
			<nil key="sourceID"/>
1217
			<int key="maxID">133</int>
1040
			<int key="maxID">142</int>
1218
1041
		</object>
1219
1042
		<object class="IBClassDescriber" key="IBDocument.Classes">
1220
1043
			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
1288
1111
					</object>
1289
1112
				</object>
1290
1113
				<object class="IBPartialClassDescription">
1114
					<string key="className">NSApplication</string>
1115
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1116
						<string key="majorKey">IBProjectSource</string>
1117
						<string key="minorKey">NSApplication+BWAdditions.h</string>
1118
					</object>
1119
				</object>
1120
				<object class="IBPartialClassDescription">
1291
1121
					<string key="className">NSView</string>
1292
1122
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1293
1123
						<string key="majorKey">IBProjectSource</string>
1295
1125
					</object>
1296
1126
				</object>
1297
1127
			</object>
1128
			<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
1129
				<bool key="EncodedWithXMLCoder">YES</bool>
1130
				<object class="IBPartialClassDescription">
1131
					<string key="className">NSActionCell</string>
1132
					<string key="superclassName">NSCell</string>
1133
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1134
						<string key="majorKey">IBFrameworkSource</string>
1135
						<string key="minorKey">AppKit.framework/Headers/NSActionCell.h</string>
1136
					</object>
1137
				</object>
1138
				<object class="IBPartialClassDescription">
1139
					<string key="className">NSApplication</string>
1140
					<string key="superclassName">NSResponder</string>
1141
					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="433947134">
1142
						<string key="majorKey">IBFrameworkSource</string>
1143
						<string key="minorKey">AppKit.framework/Headers/NSApplication.h</string>
1144
					</object>
1145
				</object>
1146
				<object class="IBPartialClassDescription">
1147
					<string key="className">NSApplication</string>
1148
					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="698125841">
1149
						<string key="majorKey">IBFrameworkSource</string>
1150
						<string key="minorKey">AppKit.framework/Headers/NSApplicationScripting.h</string>
1151
					</object>
1152
				</object>
1153
				<object class="IBPartialClassDescription">
1154
					<string key="className">NSApplication</string>
1155
					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="158511885">
1156
						<string key="majorKey">IBFrameworkSource</string>
1157
						<string key="minorKey">AppKit.framework/Headers/NSColorPanel.h</string>
1158
					</object>
1159
				</object>
1160
				<object class="IBPartialClassDescription">
1161
					<string key="className">NSApplication</string>
1162
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1163
						<string key="majorKey">IBFrameworkSource</string>
1164
						<string key="minorKey">AppKit.framework/Headers/NSHelpManager.h</string>
1165
					</object>
1166
				</object>
1167
				<object class="IBPartialClassDescription">
1168
					<string key="className">NSApplication</string>
1169
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1170
						<string key="majorKey">IBFrameworkSource</string>
1171
						<string key="minorKey">AppKit.framework/Headers/NSPageLayout.h</string>
1172
					</object>
1173
				</object>
1174
				<object class="IBPartialClassDescription">
1175
					<string key="className">NSApplication</string>
1176
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1177
						<string key="majorKey">IBFrameworkSource</string>
1178
						<string key="minorKey">AppKit.framework/Headers/NSUserInterfaceItemSearching.h</string>
1179
					</object>
1180
				</object>
1181
				<object class="IBPartialClassDescription">
1182
					<string key="className">NSBox</string>
1183
					<string key="superclassName">NSView</string>
1184
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1185
						<string key="majorKey">IBFrameworkSource</string>
1186
						<string key="minorKey">AppKit.framework/Headers/NSBox.h</string>
1187
					</object>
1188
				</object>
1189
				<object class="IBPartialClassDescription">
1190
					<string key="className">NSButton</string>
1191
					<string key="superclassName">NSControl</string>
1192
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1193
						<string key="majorKey">IBFrameworkSource</string>
1194
						<string key="minorKey">AppKit.framework/Headers/NSButton.h</string>
1195
					</object>
1196
				</object>
1197
				<object class="IBPartialClassDescription">
1198
					<string key="className">NSButtonCell</string>
1199
					<string key="superclassName">NSActionCell</string>
1200
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1201
						<string key="majorKey">IBFrameworkSource</string>
1202
						<string key="minorKey">AppKit.framework/Headers/NSButtonCell.h</string>
1203
					</object>
1204
				</object>
1205
				<object class="IBPartialClassDescription">
1206
					<string key="className">NSCell</string>
1207
					<string key="superclassName">NSObject</string>
1208
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1209
						<string key="majorKey">IBFrameworkSource</string>
1210
						<string key="minorKey">AppKit.framework/Headers/NSCell.h</string>
1211
					</object>
1212
				</object>
1213
				<object class="IBPartialClassDescription">
1214
					<string key="className">NSControl</string>
1215
					<string key="superclassName">NSView</string>
1216
					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="804127244">
1217
						<string key="majorKey">IBFrameworkSource</string>
1218
						<string key="minorKey">AppKit.framework/Headers/NSControl.h</string>
1219
					</object>
1220
				</object>
1221
				<object class="IBPartialClassDescription">
1222
					<string key="className">NSFormatter</string>
1223
					<string key="superclassName">NSObject</string>
1224
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1225
						<string key="majorKey">IBFrameworkSource</string>
1226
						<string key="minorKey">Foundation.framework/Headers/NSFormatter.h</string>
1227
					</object>
1228
				</object>
1229
				<object class="IBPartialClassDescription">
1230
					<string key="className">NSImageCell</string>
1231
					<string key="superclassName">NSCell</string>
1232
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1233
						<string key="majorKey">IBFrameworkSource</string>
1234
						<string key="minorKey">AppKit.framework/Headers/NSImageCell.h</string>
1235
					</object>
1236
				</object>
1237
				<object class="IBPartialClassDescription">
1238
					<string key="className">NSImageView</string>
1239
					<string key="superclassName">NSControl</string>
1240
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1241
						<string key="majorKey">IBFrameworkSource</string>
1242
						<string key="minorKey">AppKit.framework/Headers/NSImageView.h</string>
1243
					</object>
1244
				</object>
1245
				<object class="IBPartialClassDescription">
1246
					<string key="className">NSMenu</string>
1247
					<string key="superclassName">NSObject</string>
1248
					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="977108066">
1249
						<string key="majorKey">IBFrameworkSource</string>
1250
						<string key="minorKey">AppKit.framework/Headers/NSMenu.h</string>
1251
					</object>
1252
				</object>
1253
				<object class="IBPartialClassDescription">
1254
					<string key="className">NSMenuItem</string>
1255
					<string key="superclassName">NSObject</string>
1256
					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="121404243">
1257
						<string key="majorKey">IBFrameworkSource</string>
1258
						<string key="minorKey">AppKit.framework/Headers/NSMenuItem.h</string>
1259
					</object>
1260
				</object>
1261
				<object class="IBPartialClassDescription">
1262
					<string key="className">NSMenuItemCell</string>
1263
					<string key="superclassName">NSButtonCell</string>
1264
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1265
						<string key="majorKey">IBFrameworkSource</string>
1266
						<string key="minorKey">AppKit.framework/Headers/NSMenuItemCell.h</string>
1267
					</object>
1268
				</object>
1269
				<object class="IBPartialClassDescription">
1270
					<string key="className">NSObject</string>
1271
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1272
						<string key="majorKey">IBFrameworkSource</string>
1273
						<string key="minorKey">AppKit.framework/Headers/NSAccessibility.h</string>
1274
					</object>
1275
				</object>
1276
				<object class="IBPartialClassDescription">
1277
					<string key="className">NSObject</string>
1278
					<reference key="sourceIdentifier" ref="433947134"/>
1279
				</object>
1280
				<object class="IBPartialClassDescription">
1281
					<string key="className">NSObject</string>
1282
					<reference key="sourceIdentifier" ref="698125841"/>
1283
				</object>
1284
				<object class="IBPartialClassDescription">
1285
					<string key="className">NSObject</string>
1286
					<reference key="sourceIdentifier" ref="158511885"/>
1287
				</object>
1288
				<object class="IBPartialClassDescription">
1289
					<string key="className">NSObject</string>
1290
					<reference key="sourceIdentifier" ref="804127244"/>
1291
				</object>
1292
				<object class="IBPartialClassDescription">
1293
					<string key="className">NSObject</string>
1294
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1295
						<string key="majorKey">IBFrameworkSource</string>
1296
						<string key="minorKey">AppKit.framework/Headers/NSDictionaryController.h</string>
1297
					</object>
1298
				</object>
1299
				<object class="IBPartialClassDescription">
1300
					<string key="className">NSObject</string>
1301
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1302
						<string key="majorKey">IBFrameworkSource</string>
1303
						<string key="minorKey">AppKit.framework/Headers/NSDragging.h</string>
1304
					</object>
1305
				</object>
1306
				<object class="IBPartialClassDescription">
1307
					<string key="className">NSObject</string>
1308
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1309
						<string key="majorKey">IBFrameworkSource</string>
1310
						<string key="minorKey">AppKit.framework/Headers/NSFontManager.h</string>
1311
					</object>
1312
				</object>
1313
				<object class="IBPartialClassDescription">
1314
					<string key="className">NSObject</string>
1315
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1316
						<string key="majorKey">IBFrameworkSource</string>
1317
						<string key="minorKey">AppKit.framework/Headers/NSFontPanel.h</string>
1318
					</object>
1319
				</object>
1320
				<object class="IBPartialClassDescription">
1321
					<string key="className">NSObject</string>
1322
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1323
						<string key="majorKey">IBFrameworkSource</string>
1324
						<string key="minorKey">AppKit.framework/Headers/NSKeyValueBinding.h</string>
1325
					</object>
1326
				</object>
1327
				<object class="IBPartialClassDescription">
1328
					<string key="className">NSObject</string>
1329
					<reference key="sourceIdentifier" ref="977108066"/>
1330
				</object>
1331
				<object class="IBPartialClassDescription">
1332
					<string key="className">NSObject</string>
1333
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1334
						<string key="majorKey">IBFrameworkSource</string>
1335
						<string key="minorKey">AppKit.framework/Headers/NSNibLoading.h</string>
1336
					</object>
1337
				</object>
1338
				<object class="IBPartialClassDescription">
1339
					<string key="className">NSObject</string>
1340
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1341
						<string key="majorKey">IBFrameworkSource</string>
1342
						<string key="minorKey">AppKit.framework/Headers/NSOutlineView.h</string>
1343
					</object>
1344
				</object>
1345
				<object class="IBPartialClassDescription">
1346
					<string key="className">NSObject</string>
1347
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1348
						<string key="majorKey">IBFrameworkSource</string>
1349
						<string key="minorKey">AppKit.framework/Headers/NSPasteboard.h</string>
1350
					</object>
1351
				</object>
1352
				<object class="IBPartialClassDescription">
1353
					<string key="className">NSObject</string>
1354
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1355
						<string key="majorKey">IBFrameworkSource</string>
1356
						<string key="minorKey">AppKit.framework/Headers/NSSavePanel.h</string>
1357
					</object>
1358
				</object>
1359
				<object class="IBPartialClassDescription">
1360
					<string key="className">NSObject</string>
1361
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1362
						<string key="majorKey">IBFrameworkSource</string>
1363
						<string key="minorKey">AppKit.framework/Headers/NSTableView.h</string>
1364
					</object>
1365
				</object>
1366
				<object class="IBPartialClassDescription">
1367
					<string key="className">NSObject</string>
1368
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1369
						<string key="majorKey">IBFrameworkSource</string>
1370
						<string key="minorKey">AppKit.framework/Headers/NSToolbarItem.h</string>
1371
					</object>
1372
				</object>
1373
				<object class="IBPartialClassDescription">
1374
					<string key="className">NSObject</string>
1375
					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="306038203">
1376
						<string key="majorKey">IBFrameworkSource</string>
1377
						<string key="minorKey">AppKit.framework/Headers/NSView.h</string>
1378
					</object>
1379
				</object>
1380
				<object class="IBPartialClassDescription">
1381
					<string key="className">NSObject</string>
1382
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1383
						<string key="majorKey">IBFrameworkSource</string>
1384
						<string key="minorKey">Foundation.framework/Headers/NSArchiver.h</string>
1385
					</object>
1386
				</object>
1387
				<object class="IBPartialClassDescription">
1388
					<string key="className">NSObject</string>
1389
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1390
						<string key="majorKey">IBFrameworkSource</string>
1391
						<string key="minorKey">Foundation.framework/Headers/NSClassDescription.h</string>
1392
					</object>
1393
				</object>
1394
				<object class="IBPartialClassDescription">
1395
					<string key="className">NSObject</string>
1396
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1397
						<string key="majorKey">IBFrameworkSource</string>
1398
						<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
1399
					</object>
1400
				</object>
1401
				<object class="IBPartialClassDescription">
1402
					<string key="className">NSObject</string>
1403
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1404
						<string key="majorKey">IBFrameworkSource</string>
1405
						<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
1406
					</object>
1407
				</object>
1408
				<object class="IBPartialClassDescription">
1409
					<string key="className">NSObject</string>
1410
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1411
						<string key="majorKey">IBFrameworkSource</string>
1412
						<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
1413
					</object>
1414
				</object>
1415
				<object class="IBPartialClassDescription">
1416
					<string key="className">NSObject</string>
1417
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1418
						<string key="majorKey">IBFrameworkSource</string>
1419
						<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
1420
					</object>
1421
				</object>
1422
				<object class="IBPartialClassDescription">
1423
					<string key="className">NSObject</string>
1424
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1425
						<string key="majorKey">IBFrameworkSource</string>
1426
						<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
1427
					</object>
1428
				</object>
1429
				<object class="IBPartialClassDescription">
1430
					<string key="className">NSObject</string>
1431
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1432
						<string key="majorKey">IBFrameworkSource</string>
1433
						<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
1434
					</object>
1435
				</object>
1436
				<object class="IBPartialClassDescription">
1437
					<string key="className">NSObject</string>
1438
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1439
						<string key="majorKey">IBFrameworkSource</string>
1440
						<string key="minorKey">Foundation.framework/Headers/NSObjectScripting.h</string>
1441
					</object>
1442
				</object>
1443
				<object class="IBPartialClassDescription">
1444
					<string key="className">NSObject</string>
1445
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1446
						<string key="majorKey">IBFrameworkSource</string>
1447
						<string key="minorKey">Foundation.framework/Headers/NSPortCoder.h</string>
1448
					</object>
1449
				</object>
1450
				<object class="IBPartialClassDescription">
1451
					<string key="className">NSObject</string>
1452
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1453
						<string key="majorKey">IBFrameworkSource</string>
1454
						<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
1455
					</object>
1456
				</object>
1457
				<object class="IBPartialClassDescription">
1458
					<string key="className">NSObject</string>
1459
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1460
						<string key="majorKey">IBFrameworkSource</string>
1461
						<string key="minorKey">Foundation.framework/Headers/NSScriptClassDescription.h</string>
1462
					</object>
1463
				</object>
1464
				<object class="IBPartialClassDescription">
1465
					<string key="className">NSObject</string>
1466
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1467
						<string key="majorKey">IBFrameworkSource</string>
1468
						<string key="minorKey">Foundation.framework/Headers/NSScriptKeyValueCoding.h</string>
1469
					</object>
1470
				</object>
1471
				<object class="IBPartialClassDescription">
1472
					<string key="className">NSObject</string>
1473
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1474
						<string key="majorKey">IBFrameworkSource</string>
1475
						<string key="minorKey">Foundation.framework/Headers/NSScriptObjectSpecifiers.h</string>
1476
					</object>
1477
				</object>
1478
				<object class="IBPartialClassDescription">
1479
					<string key="className">NSObject</string>
1480
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1481
						<string key="majorKey">IBFrameworkSource</string>
1482
						<string key="minorKey">Foundation.framework/Headers/NSScriptWhoseTests.h</string>
1483
					</object>
1484
				</object>
1485
				<object class="IBPartialClassDescription">
1486
					<string key="className">NSObject</string>
1487
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1488
						<string key="majorKey">IBFrameworkSource</string>
1489
						<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
1490
					</object>
1491
				</object>
1492
				<object class="IBPartialClassDescription">
1493
					<string key="className">NSObject</string>
1494
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1495
						<string key="majorKey">IBFrameworkSource</string>
1496
						<string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
1497
					</object>
1498
				</object>
1499
				<object class="IBPartialClassDescription">
1500
					<string key="className">NSObject</string>
1501
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1502
						<string key="majorKey">IBFrameworkSource</string>
1503
						<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
1504
					</object>
1505
				</object>
1506
				<object class="IBPartialClassDescription">
1507
					<string key="className">NSObject</string>
1508
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1509
						<string key="majorKey">IBFrameworkSource</string>
1510
						<string key="minorKey">Foundation.framework/Headers/NSURLDownload.h</string>
1511
					</object>
1512
				</object>
1513
				<object class="IBPartialClassDescription">
1514
					<string key="className">NSObject</string>
1515
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1516
						<string key="majorKey">IBFrameworkSource</string>
1517
						<string key="minorKey">InterfaceBuilderKit.framework/Headers/IBObjectIntegration.h</string>
1518
					</object>
1519
				</object>
1520
				<object class="IBPartialClassDescription">
1521
					<string key="className">NSObject</string>
1522
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1523
						<string key="majorKey">IBFrameworkSource</string>
1524
						<string key="minorKey">Sparkle.framework/Headers/SUAppcast.h</string>
1525
					</object>
1526
				</object>
1527
				<object class="IBPartialClassDescription">
1528
					<string key="className">NSObject</string>
1529
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1530
						<string key="majorKey">IBFrameworkSource</string>
1531
						<string key="minorKey">Sparkle.framework/Headers/SUUpdater.h</string>
1532
					</object>
1533
				</object>
1534
				<object class="IBPartialClassDescription">
1535
					<string key="className">NSPopUpButton</string>
1536
					<string key="superclassName">NSButton</string>
1537
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1538
						<string key="majorKey">IBFrameworkSource</string>
1539
						<string key="minorKey">AppKit.framework/Headers/NSPopUpButton.h</string>
1540
					</object>
1541
				</object>
1542
				<object class="IBPartialClassDescription">
1543
					<string key="className">NSPopUpButtonCell</string>
1544
					<string key="superclassName">NSMenuItemCell</string>
1545
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1546
						<string key="majorKey">IBFrameworkSource</string>
1547
						<string key="minorKey">AppKit.framework/Headers/NSPopUpButtonCell.h</string>
1548
					</object>
1549
				</object>
1550
				<object class="IBPartialClassDescription">
1551
					<string key="className">NSResponder</string>
1552
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1553
						<string key="majorKey">IBFrameworkSource</string>
1554
						<string key="minorKey">AppKit.framework/Headers/NSInterfaceStyle.h</string>
1555
					</object>
1556
				</object>
1557
				<object class="IBPartialClassDescription">
1558
					<string key="className">NSResponder</string>
1559
					<string key="superclassName">NSObject</string>
1560
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1561
						<string key="majorKey">IBFrameworkSource</string>
1562
						<string key="minorKey">AppKit.framework/Headers/NSResponder.h</string>
1563
					</object>
1564
				</object>
1565
				<object class="IBPartialClassDescription">
1566
					<string key="className">NSTextField</string>
1567
					<string key="superclassName">NSControl</string>
1568
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1569
						<string key="majorKey">IBFrameworkSource</string>
1570
						<string key="minorKey">AppKit.framework/Headers/NSTextField.h</string>
1571
					</object>
1572
				</object>
1573
				<object class="IBPartialClassDescription">
1574
					<string key="className">NSTextFieldCell</string>
1575
					<string key="superclassName">NSActionCell</string>
1576
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1577
						<string key="majorKey">IBFrameworkSource</string>
1578
						<string key="minorKey">AppKit.framework/Headers/NSTextFieldCell.h</string>
1579
					</object>
1580
				</object>
1581
				<object class="IBPartialClassDescription">
1582
					<string key="className">NSView</string>
1583
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1584
						<string key="majorKey">IBFrameworkSource</string>
1585
						<string key="minorKey">AppKit.framework/Headers/NSClipView.h</string>
1586
					</object>
1587
				</object>
1588
				<object class="IBPartialClassDescription">
1589
					<string key="className">NSView</string>
1590
					<reference key="sourceIdentifier" ref="121404243"/>
1591
				</object>
1592
				<object class="IBPartialClassDescription">
1593
					<string key="className">NSView</string>
1594
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1595
						<string key="majorKey">IBFrameworkSource</string>
1596
						<string key="minorKey">AppKit.framework/Headers/NSRulerView.h</string>
1597
					</object>
1598
				</object>
1599
				<object class="IBPartialClassDescription">
1600
					<string key="className">NSView</string>
1601
					<string key="superclassName">NSResponder</string>
1602
					<reference key="sourceIdentifier" ref="306038203"/>
1603
				</object>
1604
				<object class="IBPartialClassDescription">
1605
					<string key="className">NSView</string>
1606
					<object class="IBClassDescriptionSource" key="sourceIdentifier">
1607
						<string key="majorKey">IBFrameworkSource</string>
1608
						<string key="minorKey">InterfaceBuilderKit.framework/Headers/IBViewIntegration.h</string>
1609
					</object>
1610
				</object>
1611
			</object>
1298
1612
		</object>
1299
1613
		<int key="IBDocument.localizationMode">0</int>
1614
		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
1615
			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
1616
			<integer value="1050" key="NS.object.0"/>
1617
		</object>
1618
		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
1619
			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
1620
			<integer value="1050" key="NS.object.0"/>
1621
		</object>
1622
		<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
1623
			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
1624
			<integer value="3000" key="NS.object.0"/>
1625
		</object>
1626
		<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
1300
1627
		<string key="IBDocument.LastKnownRelativeProjectPath">BWToolkit.xcodeproj</string>
1301
1628
		<int key="IBDocument.defaultPropertyAccessControl">3</int>
1302
1629
	</data>

Up to file-list BWButtonBarLibrary.nib/keyedobjects.nib:

Binary file has changed or diff was empty.

Up to file-list BWUnanchoredButtonCell.m:

@@ -14,11 +14,6 @@ static NSColor *fillStop1, *fillStop2, *
14
14
static NSColor *borderColor, *topBorderColor, *bottomInsetColor, *topInsetColor, *pressedColor;
15
15
static NSGradient *fillGradient;
16
16
17
@interface BWAnchoredButtonCell (BWUBCPrivate)
18
- (void)drawTitleInFrame:(NSRect)cellFrame;
19
- (void)drawImageInFrame:(NSRect)cellFrame;
20
@end
21
22
17
@implementation BWUnanchoredButtonCell
23
18
24
19
+ (void)initialize;
@@ -44,8 +39,7 @@ static NSGradient *fillGradient;
44
39
	pressedColor		= [[NSColor colorWithCalibratedWhite:(0.0f / 255.0f) alpha:0.3] retain];
45
40
}
46
41
47
48
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
42
- (void)drawBezelWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
49
43
{
50
44
	[fillGradient drawInRect:NSInsetRect(cellFrame, 0, 2) angle:90];
51
45
	
@@ -56,22 +50,11 @@ static NSGradient *fillGradient;
56
50
	
57
51
	[borderColor bwDrawPixelThickLineAtPosition:0 withInset:2 inRect:cellFrame inView:[self controlView] horizontal:NO flip:YES];
58
52
	[borderColor bwDrawPixelThickLineAtPosition:0 withInset:2 inRect:cellFrame inView:[self controlView] horizontal:NO flip:NO];
59
60
	if ([self image] == nil)
61
	{
62
		NSRect titleRect = cellFrame;
63
		titleRect.size.height -= 4;
64
		[super drawTitleInFrame:titleRect];
65
	}
66
	else
67
		[super drawImageInFrame:cellFrame];
68
	
69
	if ([self isHighlighted])
70
	{
71
		[pressedColor set];
72
		NSRectFillUsingOperation(NSInsetRect(cellFrame,0,1), NSCompositeSourceOver);
73
	}
74
53
}
75
54
55
- (NSRect)highlightRectForBounds:(NSRect)bounds
56
{
57
	return NSInsetRect(bounds, 0, 1);
58
}
76
59
77
60
@end

Up to file-list BWUnanchoredButtonContainer.m:

12
12
13
13
@implementation BWUnanchoredButtonContainer
14
14
15
- (void)awakeFromNib
16
{
17
	for (NSView *subview in [self subviews])
18
	{
19
		[subview setFrameSize:NSMakeSize(subview.frame.size.width, 22)];
20
	}
21
}
22
15
23
@end