Fixed: table view selection color did not change when losing focus.

CPTableView has no focus ring, and currently gives no visual feedback of its firstResponder status. In Cocoa when the table view resigns firstResponder or its window loses key status, the selection color turns gray.

This commit sets the selection color to gray when a table view resign firstResponder or its window loses key status. A second window and a couple of textfields were added to the CPDictionaryControllerTest to demonstrate the changes.

Fixes #1839
This commit is contained in:
Blair Duncan
2013-03-15 19:56:47 -04:00
committed by Aparajita Fishman
parent 9482d14160
commit fd20a8045e
5 changed files with 352 additions and 60 deletions
+13
View File
@@ -179,6 +179,11 @@
var oldValue = _tableViews.length - 1,
indexPlusOne = columnIndex + 1; // unloads all later columns.
if (columnIndex > 0)
[_tableViews[columnIndex - 1] setNeedsDisplay:YES];
[_tableViews[columnIndex] setNeedsDisplay:YES];
[[_tableViews.slice(indexPlusOne) valueForKey:"enclosingScrollView"]
makeObjectsPerformSelector:@selector(removeFromSuperview)];
@@ -820,6 +825,14 @@
return _browser;
}
/*!
@ignore
*/
- (BOOL)_isFocused
{
return ([super _isFocused] || [_browser tableViewInColumn:[_browser selectedColumn]] === self);
}
- (BOOL)canDragRowsWithIndexes:(CPIndexSet)rowIndexes atPoint:(CGPoint)mouseDownPoint
{
return [_browser canDragRowsWithIndexes:rowIndexes inColumn:[_browser columnOfTableView:self] withEvent:[CPApp currentEvent]];
+55 -3
View File
@@ -97,6 +97,20 @@ CPSourceListGradient = "CPSourceListGradient";
CPSourceListTopLineColor = "CPSourceListTopLineColor";
CPSourceListBottomLineColor = "CPSourceListBottomLineColor";
var CPTableViewSourceListUnfocusedSelectionColor = @{
CPSourceListGradient: CGGradientCreateWithColorComponents(
CGColorSpaceCreateDeviceRGB(),
[
(200.0 / 255), (200.0 / 255), (200.0 / 255), 1.0,
(210.0 / 255), (210.0 / 255), (210.0 / 255), 1.0,
],
[0, 1],
2
),
CPSourceListTopLineColor: [CPColor secondarySelectedControlColor],
CPSourceListBottomLineColor: [CPColor secondarySelectedControlColor],
};
// TODO: add docs
CPTableViewSelectionHighlightStyleNone = -1;
@@ -831,6 +845,9 @@ NOT YET IMPLEMENTED
*/
- (void)setSelectionHighlightColor:(CPColor)aColor
{
if ([[self selectionHighlightColor] isEqual:aColor])
return;
[self setValue:aColor forThemeAttribute:@"selection-color"];
[self setNeedsDisplay:YES];
@@ -3867,6 +3884,13 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
[[self headerView] setNeedsLayout];
}
/*!
@ignore
*/
- (BOOL)_isFocused
{
return [[self window] isKeyWindow] && [[self window] firstResponder] === self;
}
/*!
@ignore
@@ -4058,19 +4082,20 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
return;
var drawGradient = (CPFeatureIsCompatible(CPHTMLCanvasFeature) && _selectionHighlightStyle === CPTableViewSelectionHighlightStyleSourceList && [_selectedRowIndexes count] >= 1),
deltaHeight = 0.5 * (_gridStyleMask & CPTableViewSolidHorizontalGridLineMask);
deltaHeight = 0.5 * (_gridStyleMask & CPTableViewSolidHorizontalGridLineMask),
focused = [self _isFocused];
CGContextBeginPath(context);
if (drawGradient)
{
var gradientCache = [self selectionGradientColors],
var gradientCache = focused ? [self selectionGradientColors] : CPTableViewSourceListUnfocusedSelectionColor,
topLineColor = [gradientCache objectForKey:CPSourceListTopLineColor],
bottomLineColor = [gradientCache objectForKey:CPSourceListBottomLineColor],
gradientColor = [gradientCache objectForKey:CPSourceListGradient];
}
var normalSelectionHighlightColor = [self selectionHighlightColor];
var normalSelectionHighlightColor = focused ? [self selectionHighlightColor] : [CPColor secondarySelectedControlColor];
// don't do these lookups if there are no group rows
if ([_groupRows count])
@@ -4929,11 +4954,37 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
userInfo:nil];
}
/*!
@ignore
*/
- (void)becomeKeyWindow
{
[self setNeedsDisplay:YES];
}
/*!
@ignore
*/
- (void)resignKeyWindow
{
[self setNeedsDisplay:YES];
}
/*!
@ignore
*/
- (BOOL)becomeFirstResponder
{
[self setNeedsDisplay:YES];
return YES;
}
/*!
@ignore
*/
- (BOOL)resignFirstResponder
{
[self setNeedsDisplay:YES];
return YES;
}
@@ -4944,6 +4995,7 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
{
return YES;
}
/*!
@ignore
*/
@@ -32,5 +32,32 @@
[tableView reloadData];
}
- (void)nextHighlightStyle:(id)sender
{
switch ([tableView selectionHighlightStyle])
{
case CPTableViewSelectionHighlightStyleNone :
[tableView setSelectionHighlightStyle:CPTableViewSelectionHighlightStyleSourceList];
[sender setTitle:"CPTableViewSelectionHighlightStyleSourceList"];
break;
case CPTableViewSelectionHighlightStyleSourceList :
[tableView setSelectionHighlightStyle:CPTableViewSelectionHighlightStyleRegular];
[sender setTitle:"CPTableViewSelectionHighlightStyleRegular"];
break;
default:
[tableView setSelectionHighlightStyle:CPTableViewSelectionHighlightStyleNone];
[sender setTitle:"CPTableViewSelectionHighlightStyleNone"];
}
[tableView setNeedsDisplay:YES];
}
- (BOOL)tableView:(CPTableView)tableView isGroupRow:(int)row
{
return (row > 2 && row < 5);
}
@end
File diff suppressed because one or more lines are too long
@@ -12,6 +12,8 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="2"/>
<integer value="85"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -40,17 +42,55 @@
<object class="NSCustomObject" id="793752084">
<string key="NSClassName">AppController</string>
</object>
<object class="NSDictionaryController" id="812841958">
<object class="NSMutableArray" key="NSDeclaredKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>key</string>
<string>value</string>
</object>
<bool key="NSEditable">YES</bool>
<bool key="NSAutomaticallyPreparesContent">YES</bool>
<bool key="NSAvoidsEmptySelection">YES</bool>
<bool key="NSPreservesSelection">YES</bool>
<bool key="NSSelectsInsertedObjects">YES</bool>
<bool key="NSFilterRestrictsInsertion">YES</bool>
<object class="NSArray" key="NSSortDescriptors">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSSortDescriptor">
<string key="NSKey">key</string>
<bool key="NSAscending">YES</bool>
<string key="NSSelector">compare:</string>
</object>
</object>
<bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
<bool key="NSAutomaticallyRearrangesObjects">YES</bool>
<string key="NSInitialKey">key</string>
<string key="NSInitialValue">value</string>
<object class="NSArray" key="NSIncludedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Nick Name</string>
<string>Address</string>
<string>City</string>
<string>Province</string>
<string>Postal</string>
<string>Favorite Movie</string>
</object>
<object class="NSArray" key="NSExcludedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Phone Number</string>
</object>
</object>
<object class="NSWindowTemplate" id="1005">
<int key="NSWindowStyleMask">15</int>
<int key="NSWindowBacking">2</int>
<string key="NSWindowRect">{{240, 442}, {480, 270}}</string>
<string key="NSWindowRect">{{41, 441}, {386, 304}}</string>
<int key="NSWTFlags">544735232</int>
<string key="NSWindowTitle">Window</string>
<string key="NSWindowClass">NSWindow</string>
<nil key="NSViewClass"/>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<object class="NSView" key="NSWindowView" id="1006">
<nil key="NSNextResponder"/>
<reference key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -67,13 +107,13 @@
<object class="NSTableView" id="144610870">
<reference key="NSNextResponder" ref="544211696"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{349, 184}</string>
<string key="NSFrameSize">{344, 165}</string>
<reference key="NSSuperview" ref="544211696"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="687245611">
<reference key="NSNextResponder" ref="142602557"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{349, 17}</string>
<string key="NSFrameSize">{344, 17}</string>
<reference key="NSSuperview" ref="142602557"/>
<reference key="NSTableView" ref="144610870"/>
</object>
@@ -151,7 +191,7 @@
</object>
<object class="NSTableColumn" id="539390751">
<string key="NSIdentifier">value</string>
<double key="NSWidth">242</double>
<double key="NSWidth">237</double>
<double key="NSMinWidth">40</double>
<double key="NSMaxWidth">1000</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
@@ -184,10 +224,7 @@
</object>
<double key="NSIntercellSpacingWidth">3</double>
<double key="NSIntercellSpacingHeight">2</double>
<object class="NSColor" key="NSBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
<reference key="NSBackgroundColor" ref="292314166"/>
<object class="NSColor" key="NSGridColor">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
@@ -198,7 +235,7 @@
</object>
</object>
<double key="NSRowHeight">17</double>
<int key="NSTvFlags">-692060160</int>
<int key="NSTvFlags">-624951296</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<int key="NSColumnAutoresizingStyle">4</int>
@@ -208,7 +245,7 @@
<int key="NSTableViewDraggingDestinationStyle">0</int>
</object>
</object>
<string key="NSFrame">{{1, 17}, {349, 184}}</string>
<string key="NSFrame">{{1, 17}, {344, 165}}</string>
<reference key="NSSuperview" ref="31411179"/>
<reference key="NSNextKeyView" ref="144610870"/>
<reference key="NSDocView" ref="144610870"/>
@@ -242,7 +279,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="687245611"/>
</object>
<string key="NSFrame">{{1, 0}, {349, 17}}</string>
<string key="NSFrame">{{1, 0}, {344, 17}}</string>
<reference key="NSSuperview" ref="31411179"/>
<reference key="NSNextKeyView" ref="687245611"/>
<reference key="NSDocView" ref="687245611"/>
@@ -251,7 +288,7 @@
</object>
<reference ref="1006235186"/>
</object>
<string key="NSFrame">{{56, 48}, {351, 202}}</string>
<string key="NSFrame">{{20, 48}, {346, 183}}</string>
<reference key="NSSuperview" ref="1006"/>
<reference key="NSNextKeyView" ref="544211696"/>
<int key="NSsFlags">562</int>
@@ -265,7 +302,7 @@
<object class="NSButton" id="1027504291">
<reference key="NSNextResponder" ref="1006"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{50, 12}, {96, 32}}</string>
<string key="NSFrame">{{14, 12}, {96, 32}}</string>
<reference key="NSSuperview" ref="1006"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="580768836">
@@ -285,7 +322,7 @@
<object class="NSButton" id="275684078">
<reference key="NSNextResponder" ref="1006"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{146, 12}, {96, 32}}</string>
<string key="NSFrame">{{110, 12}, {96, 32}}</string>
<reference key="NSSuperview" ref="1006"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="278100624">
@@ -302,48 +339,100 @@
<int key="NSPeriodicInterval">25</int>
</object>
</object>
<object class="NSButton" id="35456987">
<reference key="NSNextResponder" ref="1006"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{14, 256}, {358, 32}}</string>
<reference key="NSSuperview" ref="1006"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="1035276617">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134217728</int>
<string key="NSContents">CPTableViewSelectionHighlightStyleRegular</string>
<reference key="NSSupport" ref="392541906"/>
<reference key="NSControlView" ref="35456987"/>
<int key="NSButtonFlags">-2038284033</int>
<int key="NSButtonFlags2">129</int>
<string key="NSAlternateContents"/>
<string key="NSKeyEquivalent"/>
<int key="NSPeriodicDelay">200</int>
<int key="NSPeriodicInterval">25</int>
</object>
</object>
<object class="NSTextField" id="207635663">
<reference key="NSNextResponder" ref="1006"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{20, 236}, {96, 22}}</string>
<reference key="NSSuperview" ref="1006"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="150344314">
<int key="NSCellFlags">-1804468671</int>
<int key="NSCellFlags2">272630784</int>
<string key="NSContents"/>
<reference key="NSSupport" ref="392541906"/>
<reference key="NSControlView" ref="207635663"/>
<bool key="NSDrawsBackground">YES</bool>
<object class="NSColor" key="NSBackgroundColor" id="868093418">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">textBackgroundColor</string>
<object class="NSColor" key="NSColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
</object>
<object class="NSColor" key="NSTextColor" id="1030721833">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">textColor</string>
<reference key="NSColor" ref="296291476"/>
</object>
</object>
</object>
</object>
<string key="NSFrameSize">{480, 270}</string>
<string key="NSFrameSize">{386, 304}</string>
<reference key="NSSuperview"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
</object>
<object class="NSDictionaryController" id="812841958">
<object class="NSMutableArray" key="NSDeclaredKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>key</string>
<string>value</string>
</object>
<bool key="NSEditable">YES</bool>
<bool key="NSAutomaticallyPreparesContent">YES</bool>
<bool key="NSAvoidsEmptySelection">YES</bool>
<bool key="NSPreservesSelection">YES</bool>
<bool key="NSSelectsInsertedObjects">YES</bool>
<bool key="NSFilterRestrictsInsertion">YES</bool>
<object class="NSArray" key="NSSortDescriptors">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSSortDescriptor">
<string key="NSKey">key</string>
<bool key="NSAscending">YES</bool>
<string key="NSSelector">compare:</string>
<object class="NSWindowTemplate" id="1058317463">
<int key="NSWindowStyleMask">15</int>
<int key="NSWindowBacking">2</int>
<string key="NSWindowRect">{{478, 441}, {386, 304}}</string>
<int key="NSWTFlags">544735232</int>
<string key="NSWindowTitle">Window</string>
<string key="NSWindowClass">NSWindow</string>
<nil key="NSViewClass"/>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<object class="NSView" key="NSWindowView" id="521441474">
<reference key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTextField" id="222844200">
<reference key="NSNextResponder" ref="521441474"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{83, 176}, {220, 22}}</string>
<reference key="NSSuperview" ref="521441474"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="732622908">
<int key="NSCellFlags">-1804468671</int>
<int key="NSCellFlags2">272630784</int>
<string key="NSContents"/>
<reference key="NSSupport" ref="392541906"/>
<reference key="NSControlView" ref="222844200"/>
<bool key="NSDrawsBackground">YES</bool>
<reference key="NSBackgroundColor" ref="868093418"/>
<reference key="NSTextColor" ref="1030721833"/>
</object>
</object>
</object>
<string key="NSFrameSize">{386, 304}</string>
<reference key="NSSuperview"/>
</object>
<bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
<string key="NSInitialKey">key</string>
<string key="NSInitialValue">value</string>
<object class="NSArray" key="NSIncludedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Nick Name</string>
<string>Address</string>
<string>City</string>
<string>Province</string>
<string>Postal</string>
<string>Favorite Movie</string>
</object>
<object class="NSArray" key="NSExcludedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Phone Number</string>
</object>
<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
@@ -493,6 +582,22 @@
</object>
<int key="connectionID">79</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">nextHighlightStyle:</string>
<reference key="source" ref="793752084"/>
<reference key="destination" ref="35456987"/>
</object>
<int key="connectionID">122</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="144610870"/>
<reference key="destination" ref="793752084"/>
</object>
<int key="connectionID">123</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -538,6 +643,8 @@
<reference ref="31411179"/>
<reference ref="1027504291"/>
<reference ref="275684078"/>
<reference ref="207635663"/>
<reference ref="35456987"/>
</object>
<reference key="parent" ref="1005"/>
</object>
@@ -644,6 +751,66 @@
<reference key="object" ref="278100624"/>
<reference key="parent" ref="275684078"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">81</int>
<reference key="object" ref="207635663"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="150344314"/>
</object>
<reference key="parent" ref="1006"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">82</int>
<reference key="object" ref="150344314"/>
<reference key="parent" ref="207635663"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">85</int>
<reference key="object" ref="1058317463"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="521441474"/>
</object>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">86</int>
<reference key="object" ref="521441474"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="222844200"/>
</object>
<reference key="parent" ref="1058317463"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">83</int>
<reference key="object" ref="222844200"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="732622908"/>
</object>
<reference key="parent" ref="521441474"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">84</int>
<reference key="object" ref="732622908"/>
<reference key="parent" ref="222844200"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">114</int>
<reference key="object" ref="35456987"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="1035276617"/>
</object>
<reference key="parent" ref="1006"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">115</int>
<reference key="object" ref="1035276617"/>
<reference key="parent" ref="35456987"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -661,6 +828,8 @@
<string>1.editorWindowContentRectSynchronizationRect</string>
<string>10.IBPluginDependency</string>
<string>11.IBPluginDependency</string>
<string>114.IBPluginDependency</string>
<string>115.IBPluginDependency</string>
<string>12.IBPluginDependency</string>
<string>14.IBPluginDependency</string>
<string>19.IBPluginDependency</string>
@@ -674,6 +843,17 @@
<string>6.IBPluginDependency</string>
<string>7.IBPluginDependency</string>
<string>8.IBPluginDependency</string>
<string>81.IBPluginDependency</string>
<string>82.IBPluginDependency</string>
<string>83.IBPluginDependency</string>
<string>84.IBPluginDependency</string>
<string>85.IBEditorWindowLastContentRect</string>
<string>85.IBPluginDependency</string>
<string>85.IBWindowTemplateEditedContentRect</string>
<string>85.NSWindowTemplate.visibleAtLaunch</string>
<string>85.WindowOrigin</string>
<string>85.editorWindowContentRectSynchronizationRect</string>
<string>86.IBPluginDependency</string>
<string>9.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -681,9 +861,9 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{289, 442}, {480, 270}}</string>
<string>{{41, 441}, {386, 304}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{289, 442}, {480, 270}}</string>
<string>{{41, 441}, {386, 304}}</string>
<integer value="1"/>
<string>{196, 240}</string>
<string>{{357, 418}, {480, 270}}</string>
@@ -703,6 +883,19 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{478, 436}, {386, 304}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{478, 436}, {386, 304}}</string>
<integer value="1"/>
<string>{196, 240}</string>
<string>{{357, 418}, {480, 270}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -721,7 +914,7 @@
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">80</int>
<int key="maxID">123</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -730,13 +923,13 @@
<string key="className">AppController</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<string key="NS.key.0">updateOrReloadContent:</string>
<string key="NS.key.0">nextHighlightStyle:</string>
<string key="NS.object.0">id</string>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
<string key="NS.key.0">updateOrReloadContent:</string>
<string key="NS.key.0">nextHighlightStyle:</string>
<object class="IBActionInfo" key="NS.object.0">
<string key="name">updateOrReloadContent:</string>
<string key="name">nextHighlightStyle:</string>
<string key="candidateClassName">id</string>
</object>
</object>
@@ -745,11 +938,13 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>dictionaryController</string>
<string>selectionHighlightStyleString</string>
<string>tableView</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSDictionaryController</string>
<string>id</string>
<string>NSTableView</string>
</object>
</object>
@@ -758,6 +953,7 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>dictionaryController</string>
<string>selectionHighlightStyleString</string>
<string>tableView</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -766,6 +962,10 @@
<string key="name">dictionaryController</string>
<string key="candidateClassName">NSDictionaryController</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">selectionHighlightStyleString</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableView</string>
<string key="candidateClassName">NSTableView</string>