Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add the possibility to add a accessibility menu

  • Loading branch information...
commit 9562670583c0ab4c338bb7a88ea5ee34a203a991 1 parent ec9eafc
@gcamp authored
View
4 GCJumpBar/GCJumpBar.h
@@ -15,7 +15,10 @@
@property (nonatomic, assign) IBOutlet id<GCJumpBarDelegate> delegate;
@property (nonatomic, retain) IBOutlet NSMenu* menu;
+@property (nonatomic, retain) IBOutlet NSMenu* accessoryMenu;
+
@property (nonatomic, retain) NSIndexPath* selectedIndexPath;
+@property (nonatomic, assign) NSUInteger accessoryMenuSelectedIndex;
//Change automatically the font in the menu to be the same as the Jump Bar and resize the image to 16x16
@property (nonatomic, assign) BOOL changeFontAndImageInMenu;
@@ -29,5 +32,6 @@
@optional
- (void) jumpBar:(GCJumpBar*) jumpBar didSelectItemAtIndexPath:(NSIndexPath*) indexPath;
+- (void) jumpBar:(GCJumpBar *)jumpBar didSelectAccessoryMenuItemAtIndex:(NSUInteger) index;
@end
View
96 GCJumpBar/GCJumpBar.m
@@ -14,6 +14,8 @@
const CGFloat GCJumpBarNormalHeight = 23.0;
const CGFloat GCJumpBarNormalImageSize = 16.0;
+const NSInteger GCJumpBarAccessoryMenuLabelTag = -1;
+
@interface GCJumpBar () <GCJumpBarLabelDelegate>
@property (nonatomic, assign, getter = isUnderIdealWidth) BOOL underIdealWidth;
@@ -32,9 +34,11 @@ - (void) changeFontAndImageInMenu:(NSMenu*) subMenu;
@implementation GCJumpBar
@synthesize underIdealWidth;
+
@synthesize delegate;
-@synthesize menu;
-@synthesize selectedIndexPath;
+@synthesize menu, accessoryMenu;
+
+@synthesize selectedIndexPath, accessoryMenuSelectedIndex;
@synthesize changeFontAndImageInMenu;
- (id)initWithCoder:(NSCoder *)aDecoder {
@@ -62,6 +66,7 @@ - (id) initWithFrame:(NSRect)frameRect menu:(NSMenu*) aMenu {
if (self) {
self.menu = aMenu;
self.changeFontAndImageInMenu = YES;
+ self.accessoryMenuSelectedIndex = 0;
}
return self;
@@ -85,6 +90,17 @@ - (void)setMenu:(NSMenu *)newMenu {
}
}
+- (void)setAccessoryMenu:(NSMenu *)newAccessoryMenu {
+ if (newAccessoryMenu != accessoryMenu) {
+ [accessoryMenu release];
+ accessoryMenu = [newAccessoryMenu retain];
+
+ if (self.changeFontAndImageInMenu) [self changeFontAndImageInMenu:self.accessoryMenu];
+
+ [self performLayout];
+ }
+}
+
- (void)setSelectedIndexPath:(NSIndexPath *)newSelectedIndexPath {
if (newSelectedIndexPath != selectedIndexPath) {
[selectedIndexPath release];
@@ -98,6 +114,18 @@ - (void)setSelectedIndexPath:(NSIndexPath *)newSelectedIndexPath {
}
}
+- (void)setAccessoryMenuSelectedIndex:(NSUInteger)newAccessoryMenuSelectedIndex {
+ if (accessoryMenuSelectedIndex != newAccessoryMenuSelectedIndex) {
+ accessoryMenuSelectedIndex = newAccessoryMenuSelectedIndex;
+
+ [self performLayout];
+
+ if ([self.delegate respondsToSelector:@selector(jumpBar:didSelectAccessoryMenuItemAtIndex:)]) {
+ [self.delegate jumpBar:self didSelectAccessoryMenuItemAtIndex:self.accessoryMenuSelectedIndex];
+ }
+ }
+}
+
- (void)setEnabled:(BOOL)flag {
[super setEnabled:flag];
@@ -121,9 +149,14 @@ - (void)setBounds:(NSRect)aRect {
#pragma mark - Layout
- (void) performLayoutIfNeededWithNewSize:(CGSize) size {
- GCJumpBarLabel* lastLabel = [self viewWithTag:self.selectedIndexPath.length];
- if (size.width < (lastLabel.frame.size.width + lastLabel.frame.origin.x) || self.underIdealWidth) {
- [self performLayout];
+ if (self.accessoryMenu != nil || self.underIdealWidth) [self performLayout];
+ else {
+ GCJumpBarLabel* lastLabel = [self viewWithTag:self.selectedIndexPath.length];
+ CGFloat endFloat = lastLabel.frame.size.width + lastLabel.frame.origin.x;
+
+ if (size.width < endFloat) {
+ [self performLayout];
+ }
}
}
@@ -156,16 +189,37 @@ - (void)placeLabelAndSetValue {
baseX += frame.size.width;
label.frame = frame;
}
+
+ if (self.accessoryMenu != nil) {
+ GCJumpBarLabel* accessoryLabel = [self labelAtLevel:GCJumpBarAccessoryMenuLabelTag];
+
+ NSMenuItem* item = [self.accessoryMenu itemAtIndex:self.accessoryMenuSelectedIndex];
+ accessoryLabel.image = item.image;
+ accessoryLabel.text = item.title;
+ accessoryLabel.indexInLevel = self.accessoryMenuSelectedIndex;
+ [accessoryLabel sizeToFit];
+
+ NSRect frame = [accessoryLabel frame];
+ frame.origin.x = self.frame.size.width - accessoryLabel.frame.size.width;
+ accessoryLabel.frame = frame;
+ }
}
- (void)lookForOverflowWidth {
GCJumpBarLabel* lastLabel = [self viewWithTag:self.selectedIndexPath.length];
- if (self.frame.size.width < (lastLabel.frame.size.width + lastLabel.frame.origin.x)) {
+ CGFloat endFloat = lastLabel.frame.size.width + lastLabel.frame.origin.x;
+
+ if (self.accessoryMenu != nil) {
+ endFloat += [[self viewWithTag:GCJumpBarAccessoryMenuLabelTag] frame].size.width;
+ }
+
+ if (self.frame.size.width < endFloat) {
self.underIdealWidth = YES;
//Set new width for the overflow
- CGFloat overMargin = lastLabel.frame.size.width + lastLabel.frame.origin.x - self.frame.size.width;
- for (NSUInteger position = 0; position < self.selectedIndexPath.length ; position ++) {
+ CGFloat overMargin = endFloat - self.frame.size.width;
+ for (NSUInteger position = 0; position < self.selectedIndexPath.length + (self.accessoryMenu != nil); position ++) {
+ if (position == self.selectedIndexPath.length) position = GCJumpBarAccessoryMenuLabelTag - 1;
GCJumpBarLabel* label = [self labelAtLevel:position + 1];
if ((overMargin + label.minimumWidth - label.frame.size.width) < 0) {
CGRect frame = label.frame;
@@ -192,6 +246,14 @@ - (void)lookForOverflowWidth {
baseX += frame.size.width;
label.frame = frame;
}
+
+ if (self.accessoryMenu != nil) {
+ GCJumpBarLabel* accessoryLabel = [self labelAtLevel:GCJumpBarAccessoryMenuLabelTag];
+
+ NSRect frame = [accessoryLabel frame];
+ frame.origin.x = self.frame.size.width - accessoryLabel.frame.size.width;
+ accessoryLabel.frame = frame;
+ }
}
}
@@ -203,6 +265,8 @@ - (void)removeUnusedLabels {
[viewToRemove removeFromSuperview];
position ++;
}
+
+ if (self.accessoryMenu == nil) [[self viewWithTag:GCJumpBarAccessoryMenuLabelTag] removeFromSuperview];
}
#pragma mark - Drawing
@@ -305,14 +369,20 @@ - (NSMenuItem *)menuItemAtIndexPath:(NSIndexPath *)indexPath {
#pragma mark - GCJumpBarLabelDelegate
- (NSMenu *)menuToPresentWhenClickedForJumpBarLabel:(GCJumpBarLabel *)label {
- NSIndexPath* subIndexPath = [self.selectedIndexPath subIndexPathToPosition:label.level];
-
- return [[self.menu itemAtIndexPath:subIndexPath] menu];
+ if (label.tag == GCJumpBarAccessoryMenuLabelTag) return self.accessoryMenu;
+ else {
+ NSIndexPath* subIndexPath = [self.selectedIndexPath subIndexPathToPosition:label.level];
+
+ return [[self.menu itemAtIndexPath:subIndexPath] menu];
+ }
}
- (void)jumpBarLabel:(GCJumpBarLabel *)label didReceivedClickOnItemAtIndexPath:(NSIndexPath *)indexPath {
- NSIndexPath* subIndexPath = [self.selectedIndexPath subIndexPathToPosition:label.level - 1];
- self.selectedIndexPath = [subIndexPath indexPathByAddingIndexPath:indexPath];
+ if (label.tag == GCJumpBarAccessoryMenuLabelTag) self.accessoryMenuSelectedIndex = [indexPath indexAtPosition:0];
+ else {
+ NSIndexPath* subIndexPath = [self.selectedIndexPath subIndexPathToPosition:label.level - 1];
+ self.selectedIndexPath = [subIndexPath indexPathByAddingIndexPath:indexPath];
+ }
}
@end
View
24 GCJumpBar/GCJumpBarLabel.m
@@ -11,6 +11,8 @@
const CGFloat GCJumpBarLabelMargin = 5.0;
+const NSInteger GCJumpBarLabelAccessoryMenuLabelTag = -1;
+
@interface GCJumpBarLabel ()
@property (nonatomic, readonly) NSDictionary* attributes;
@@ -81,7 +83,10 @@ - (void)mouseDown:(NSEvent *)theEvent {
NSMenu* menu = [self.delegate menuToPresentWhenClickedForJumpBarLabel:self];
[self setPropretyOnMenu:menu deep:0];
- [menu popUpMenuPositioningItem:[menu itemAtIndex:self.indexInLevel] atLocation:NSMakePoint(-16 , self.frame.size.height - 4) inView:self];
+ CGFloat xPoint = (self.tag == GCJumpBarLabelAccessoryMenuLabelTag ? - 9 : - 16);
+
+ [menu popUpMenuPositioningItem:[menu itemAtIndex:self.indexInLevel]
+ atLocation:NSMakePoint(xPoint , self.frame.size.height - 4) inView:self];
}
}
@@ -101,7 +106,15 @@ - (void) menuClicked:(id) sender {
#pragma mark - Dawing
- (void)drawRect:(NSRect)dirtyRect {
- CGFloat baseLeft = GCJumpBarLabelMargin;
+ CGFloat baseLeft = 0;
+
+ if (self.tag == GCJumpBarLabelAccessoryMenuLabelTag) {
+ NSImage* separatorImage = [NSImage imageNamed:@"GCJumpBarAccessorySeparator.png"];
+ [separatorImage drawAtPoint:NSMakePoint(baseLeft, self.frame.size.height / 2 - separatorImage.size.height / 2)
+ fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
+ baseLeft += separatorImage.size.width + GCJumpBarLabelMargin;
+ }
+ else baseLeft = GCJumpBarLabelMargin;
if (self.image != nil) {
[self.image drawAtPoint:NSMakePoint(baseLeft, floorf(self.frame.size.height / 2 - self.image.size.height / 2))
@@ -113,17 +126,18 @@ - (void)drawRect:(NSRect)dirtyRect {
if (self.text != nil) {
NSSize textSize = [self.text sizeWithAttributes:self.attributes];
- CGFloat width = self.frame.size.width - baseLeft - GCJumpBarLabelMargin - (!self.lastLabel * 7);
+ CGFloat width = self.frame.size.width - baseLeft - GCJumpBarLabelMargin;
+ if (!self.lastLabel && self.tag != GCJumpBarLabelAccessoryMenuLabelTag) width -= 7;
+
if (width > 0) {
[self.text drawInRect:CGRectMake(baseLeft, self.frame.size.height / 2 - textSize.height / 2
, width, textSize.height)
withAttributes:self.attributes];
baseLeft += width + GCJumpBarLabelMargin;
}
- //else if (self.image != nil) baseLeft += GCJumpBarLabelMargin;
}
- if (!self.lastLabel) {
+ if (!self.lastLabel && self.tag != GCJumpBarLabelAccessoryMenuLabelTag) {
NSImage* separatorImage = [NSImage imageNamed:@"GCJumpBarSeparator.png"];
[separatorImage drawAtPoint:NSMakePoint(baseLeft, self.frame.size.height / 2 - separatorImage.size.height / 2)
fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
View
BIN  GCJumpBar/Image/GCJumpBarAccessorySeparator.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  GCJumpBarAccessorySeparator.psd
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 GCJumpBarDemo.xcodeproj/project.pbxproj
@@ -17,6 +17,7 @@
B03A406E138D6F3A004677BE /* GCJumpBar.m in Sources */ = {isa = PBXBuildFile; fileRef = B03A4067138D6F3A004677BE /* GCJumpBar.m */; };
B03A406F138D6F3A004677BE /* GCJumpBarLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = B03A4069138D6F3A004677BE /* GCJumpBarLabel.m */; };
B03A4070138D6F3A004677BE /* GCJumpBarSeparator.png in Resources */ = {isa = PBXBuildFile; fileRef = B03A406B138D6F3A004677BE /* GCJumpBarSeparator.png */; };
+ B04247D413A9A99C005FF30D /* GCJumpBarAccessorySeparator.png in Resources */ = {isa = PBXBuildFile; fileRef = B04247D313A9A99B005FF30D /* GCJumpBarAccessorySeparator.png */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -41,6 +42,7 @@
B03A4068138D6F3A004677BE /* GCJumpBarLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GCJumpBarLabel.h; sourceTree = "<group>"; };
B03A4069138D6F3A004677BE /* GCJumpBarLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GCJumpBarLabel.m; sourceTree = "<group>"; };
B03A406B138D6F3A004677BE /* GCJumpBarSeparator.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = GCJumpBarSeparator.png; sourceTree = "<group>"; };
+ B04247D313A9A99B005FF30D /* GCJumpBarAccessorySeparator.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = GCJumpBarAccessorySeparator.png; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -141,6 +143,7 @@
B03A406A138D6F3A004677BE /* Image */ = {
isa = PBXGroup;
children = (
+ B04247D313A9A99B005FF30D /* GCJumpBarAccessorySeparator.png */,
B03A406B138D6F3A004677BE /* GCJumpBarSeparator.png */,
);
path = Image;
@@ -199,6 +202,7 @@
B03A403B138C295D004677BE /* MainMenu.xib in Resources */,
B03A4050138D5C34004677BE /* xcode.png in Resources */,
B03A4070138D6F3A004677BE /* GCJumpBarSeparator.png in Resources */,
+ B04247D413A9A99C005FF30D /* GCJumpBarAccessorySeparator.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
300 GCJumpBarDemo/en.lproj/MainMenu.xib
@@ -2,13 +2,13 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1070</int>
- <string key="IBDocument.SystemVersion">11A459e</string>
- <string key="IBDocument.InterfaceBuilderVersion">1565</string>
- <string key="IBDocument.AppKitVersion">1121.2</string>
- <string key="IBDocument.HIToolboxVersion">557.00</string>
+ <string key="IBDocument.SystemVersion">11A494a</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1864</string>
+ <string key="IBDocument.AppKitVersion">1128</string>
+ <string key="IBDocument.HIToolboxVersion">564.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="NS.object.0">1565</string>
+ <string key="NS.object.0">1864</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -1337,6 +1337,7 @@
<string key="NSFrame">{{0, 339}, {480, 22}}</string>
<reference key="NSSuperview" ref="439893737"/>
<reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="601366783"/>
<string key="NSReuseIdentifierKey">_NS:499</string>
<string key="NSClassName">GCJumpBar</string>
</object>
@@ -1566,6 +1567,36 @@
</object>
</object>
</object>
+ <object class="NSMenu" id="666760259">
+ <string key="NSTitle"/>
+ <object class="NSMutableArray" key="NSMenuItems">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMenuItem" id="1003201475">
+ <reference key="NSMenu" ref="666760259"/>
+ <string key="NSTitle">Accessory 1</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="876275377">
+ <reference key="NSMenu" ref="666760259"/>
+ <string key="NSTitle">Accessory 2</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="391119392">
+ <reference key="NSMenu" ref="666760259"/>
+ <string key="NSTitle">Accessory 3</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ </object>
+ </object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
@@ -2274,6 +2305,14 @@
</object>
<int key="connectionID">574</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">accessoryMenu</string>
+ <reference key="source" ref="639364900"/>
+ <reference key="destination" ref="666760259"/>
+ </object>
+ <int key="connectionID">579</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -3499,6 +3538,32 @@
<reference key="object" ref="925003530"/>
<reference key="parent" ref="601366783"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">575</int>
+ <reference key="object" ref="666760259"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="1003201475"/>
+ <reference ref="876275377"/>
+ <reference ref="391119392"/>
+ </object>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">576</int>
+ <reference key="object" ref="1003201475"/>
+ <reference key="parent" ref="666760259"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">577</int>
+ <reference key="object" ref="876275377"/>
+ <reference key="parent" ref="666760259"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">578</int>
+ <reference key="object" ref="391119392"/>
+ <reference key="parent" ref="666760259"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -3509,144 +3574,69 @@
<string>-2.IBPluginDependency</string>
<string>-3.IBPluginDependency</string>
<string>112.IBPluginDependency</string>
- <string>112.ImportedFromIB2</string>
<string>124.IBPluginDependency</string>
- <string>124.ImportedFromIB2</string>
<string>125.IBPluginDependency</string>
- <string>125.ImportedFromIB2</string>
- <string>125.editorWindowContentRectSynchronizationRect</string>
<string>126.IBPluginDependency</string>
- <string>126.ImportedFromIB2</string>
<string>129.IBPluginDependency</string>
- <string>129.ImportedFromIB2</string>
<string>130.IBPluginDependency</string>
- <string>130.ImportedFromIB2</string>
- <string>130.editorWindowContentRectSynchronizationRect</string>
<string>131.IBPluginDependency</string>
- <string>131.ImportedFromIB2</string>
<string>134.IBPluginDependency</string>
- <string>134.ImportedFromIB2</string>
<string>136.IBPluginDependency</string>
- <string>136.ImportedFromIB2</string>
<string>143.IBPluginDependency</string>
- <string>143.ImportedFromIB2</string>
<string>144.IBPluginDependency</string>
- <string>144.ImportedFromIB2</string>
<string>145.IBPluginDependency</string>
- <string>145.ImportedFromIB2</string>
<string>149.IBPluginDependency</string>
- <string>149.ImportedFromIB2</string>
<string>150.IBPluginDependency</string>
- <string>150.ImportedFromIB2</string>
<string>19.IBPluginDependency</string>
- <string>19.ImportedFromIB2</string>
<string>195.IBPluginDependency</string>
- <string>195.ImportedFromIB2</string>
<string>196.IBPluginDependency</string>
- <string>196.ImportedFromIB2</string>
<string>197.IBPluginDependency</string>
- <string>197.ImportedFromIB2</string>
<string>198.IBPluginDependency</string>
- <string>198.ImportedFromIB2</string>
<string>199.IBPluginDependency</string>
- <string>199.ImportedFromIB2</string>
- <string>200.IBEditorWindowLastContentRect</string>
<string>200.IBPluginDependency</string>
- <string>200.ImportedFromIB2</string>
- <string>200.editorWindowContentRectSynchronizationRect</string>
<string>201.IBPluginDependency</string>
- <string>201.ImportedFromIB2</string>
<string>202.IBPluginDependency</string>
- <string>202.ImportedFromIB2</string>
<string>203.IBPluginDependency</string>
- <string>203.ImportedFromIB2</string>
<string>204.IBPluginDependency</string>
- <string>204.ImportedFromIB2</string>
- <string>205.IBEditorWindowLastContentRect</string>
<string>205.IBPluginDependency</string>
- <string>205.ImportedFromIB2</string>
- <string>205.editorWindowContentRectSynchronizationRect</string>
<string>206.IBPluginDependency</string>
- <string>206.ImportedFromIB2</string>
<string>207.IBPluginDependency</string>
- <string>207.ImportedFromIB2</string>
<string>208.IBPluginDependency</string>
- <string>208.ImportedFromIB2</string>
<string>209.IBPluginDependency</string>
- <string>209.ImportedFromIB2</string>
<string>210.IBPluginDependency</string>
- <string>210.ImportedFromIB2</string>
<string>211.IBPluginDependency</string>
- <string>211.ImportedFromIB2</string>
<string>212.IBPluginDependency</string>
- <string>212.ImportedFromIB2</string>
- <string>212.editorWindowContentRectSynchronizationRect</string>
<string>213.IBPluginDependency</string>
- <string>213.ImportedFromIB2</string>
<string>214.IBPluginDependency</string>
- <string>214.ImportedFromIB2</string>
<string>215.IBPluginDependency</string>
- <string>215.ImportedFromIB2</string>
<string>216.IBPluginDependency</string>
- <string>216.ImportedFromIB2</string>
<string>217.IBPluginDependency</string>
- <string>217.ImportedFromIB2</string>
<string>218.IBPluginDependency</string>
- <string>218.ImportedFromIB2</string>
<string>219.IBPluginDependency</string>
- <string>219.ImportedFromIB2</string>
- <string>220.IBEditorWindowLastContentRect</string>
<string>220.IBPluginDependency</string>
- <string>220.ImportedFromIB2</string>
- <string>220.editorWindowContentRectSynchronizationRect</string>
<string>221.IBPluginDependency</string>
- <string>221.ImportedFromIB2</string>
<string>23.IBPluginDependency</string>
- <string>23.ImportedFromIB2</string>
<string>236.IBPluginDependency</string>
- <string>236.ImportedFromIB2</string>
<string>239.IBPluginDependency</string>
- <string>239.ImportedFromIB2</string>
- <string>24.IBEditorWindowLastContentRect</string>
<string>24.IBPluginDependency</string>
- <string>24.ImportedFromIB2</string>
- <string>24.editorWindowContentRectSynchronizationRect</string>
- <string>29.IBEditorWindowLastContentRect</string>
<string>29.IBPluginDependency</string>
- <string>29.ImportedFromIB2</string>
- <string>29.WindowOrigin</string>
- <string>29.editorWindowContentRectSynchronizationRect</string>
<string>295.IBPluginDependency</string>
- <string>296.IBEditorWindowLastContentRect</string>
<string>296.IBPluginDependency</string>
- <string>296.editorWindowContentRectSynchronizationRect</string>
<string>297.IBPluginDependency</string>
<string>298.IBPluginDependency</string>
<string>346.IBPluginDependency</string>
- <string>346.ImportedFromIB2</string>
<string>348.IBPluginDependency</string>
- <string>348.ImportedFromIB2</string>
- <string>349.IBEditorWindowLastContentRect</string>
<string>349.IBPluginDependency</string>
- <string>349.ImportedFromIB2</string>
- <string>349.editorWindowContentRectSynchronizationRect</string>
<string>350.IBPluginDependency</string>
- <string>350.ImportedFromIB2</string>
<string>351.IBPluginDependency</string>
- <string>351.ImportedFromIB2</string>
<string>354.IBPluginDependency</string>
- <string>354.ImportedFromIB2</string>
- <string>371.IBEditorWindowLastContentRect</string>
<string>371.IBPluginDependency</string>
<string>371.IBWindowTemplateEditedContentRect</string>
<string>371.NSWindowTemplate.visibleAtLaunch</string>
- <string>371.editorWindowContentRectSynchronizationRect</string>
<string>372.IBPluginDependency</string>
<string>375.IBPluginDependency</string>
- <string>376.IBEditorWindowLastContentRect</string>
<string>376.IBPluginDependency</string>
<string>377.IBPluginDependency</string>
- <string>388.IBEditorWindowLastContentRect</string>
<string>388.IBPluginDependency</string>
<string>389.IBPluginDependency</string>
<string>390.IBPluginDependency</string>
@@ -3681,7 +3671,6 @@
<string>419.IBPluginDependency</string>
<string>420.IBPluginDependency</string>
<string>450.IBPluginDependency</string>
- <string>451.IBEditorWindowLastContentRect</string>
<string>451.IBPluginDependency</string>
<string>452.IBPluginDependency</string>
<string>453.IBPluginDependency</string>
@@ -3694,17 +3683,14 @@
<string>466.IBPluginDependency</string>
<string>485.IBPluginDependency</string>
<string>490.IBPluginDependency</string>
- <string>491.IBEditorWindowLastContentRect</string>
<string>491.IBPluginDependency</string>
<string>492.IBPluginDependency</string>
<string>494.IBPluginDependency</string>
<string>496.IBPluginDependency</string>
- <string>497.IBEditorWindowLastContentRect</string>
<string>497.IBPluginDependency</string>
<string>498.IBPluginDependency</string>
<string>499.IBPluginDependency</string>
<string>5.IBPluginDependency</string>
- <string>5.ImportedFromIB2</string>
<string>500.IBPluginDependency</string>
<string>501.IBPluginDependency</string>
<string>502.IBPluginDependency</string>
@@ -3713,7 +3699,6 @@
<string>505.IBPluginDependency</string>
<string>506.IBPluginDependency</string>
<string>507.IBPluginDependency</string>
- <string>508.IBEditorWindowLastContentRect</string>
<string>508.IBPluginDependency</string>
<string>509.IBPluginDependency</string>
<string>510.IBPluginDependency</string>
@@ -3725,7 +3710,6 @@
<string>516.IBPluginDependency</string>
<string>517.IBPluginDependency</string>
<string>534.IBPluginDependency</string>
- <string>534.ImportedFromIB2</string>
<string>536.IBPluginDependency</string>
<string>539.IBPluginDependency</string>
<string>540.IBPluginDependency</string>
@@ -3733,50 +3717,41 @@
<string>542.IBPluginDependency</string>
<string>551.IBPluginDependency</string>
<string>552.IBPluginDependency</string>
+ <string>553.IBPluginDependency</string>
<string>557.IBPluginDependency</string>
<string>558.IBPluginDependency</string>
+ <string>559.IBPluginDependency</string>
<string>56.IBPluginDependency</string>
- <string>56.ImportedFromIB2</string>
<string>560.IBPluginDependency</string>
<string>561.IBPluginDependency</string>
+ <string>562.IBPluginDependency</string>
<string>563.IBPluginDependency</string>
<string>564.IBPluginDependency</string>
+ <string>565.IBPluginDependency</string>
<string>566.IBPluginDependency</string>
<string>567.IBPluginDependency</string>
+ <string>568.IBPluginDependency</string>
<string>569.IBPluginDependency</string>
- <string>57.IBEditorWindowLastContentRect</string>
<string>57.IBPluginDependency</string>
- <string>57.ImportedFromIB2</string>
- <string>57.editorWindowContentRectSynchronizationRect</string>
<string>570.IBPluginDependency</string>
<string>572.IBPluginDependency</string>
<string>573.IBPluginDependency</string>
+ <string>575.IBPluginDependency</string>
+ <string>576.IBPluginDependency</string>
+ <string>577.IBPluginDependency</string>
+ <string>578.IBPluginDependency</string>
<string>58.IBPluginDependency</string>
- <string>58.ImportedFromIB2</string>
<string>72.IBPluginDependency</string>
- <string>72.ImportedFromIB2</string>
<string>73.IBPluginDependency</string>
- <string>73.ImportedFromIB2</string>
<string>74.IBPluginDependency</string>
- <string>74.ImportedFromIB2</string>
<string>75.IBPluginDependency</string>
- <string>75.ImportedFromIB2</string>
<string>77.IBPluginDependency</string>
- <string>77.ImportedFromIB2</string>
<string>78.IBPluginDependency</string>
- <string>78.ImportedFromIB2</string>
<string>79.IBPluginDependency</string>
- <string>79.ImportedFromIB2</string>
- <string>81.IBEditorWindowLastContentRect</string>
<string>81.IBPluginDependency</string>
- <string>81.ImportedFromIB2</string>
- <string>81.editorWindowContentRectSynchronizationRect</string>
<string>82.IBPluginDependency</string>
- <string>82.ImportedFromIB2</string>
<string>83.IBPluginDependency</string>
- <string>83.ImportedFromIB2</string>
<string>92.IBPluginDependency</string>
- <string>92.ImportedFromIB2</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -3784,144 +3759,69 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{522, 812}, {146, 23}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{436, 809}, {64, 6}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{753, 187}, {275, 113}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{608, 612}, {275, 83}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{547, 180}, {254, 283}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{187, 434}, {243, 243}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{608, 612}, {167, 43}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{753, 217}, {238, 103}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{608, 612}, {241, 103}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{654, 239}, {194, 73}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{525, 802}, {197, 73}}</string>
- <string>{{380, 836}, {512, 20}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{74, 862}</string>
- <string>{{6, 978}, {478, 20}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{604, 269}, {231, 43}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{475, 832}, {234, 43}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{746, 287}, {220, 133}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{608, 612}, {215, 63}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{380, 496}, {480, 360}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{380, 496}, {480, 360}}</string>
<integer value="1"/>
- <string>{{33, 99}, {480, 360}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{591, 420}, {83, 43}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{523, 2}, {178, 283}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3956,7 +3856,6 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{753, 197}, {170, 63}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3969,17 +3868,14 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{725, 289}, {246, 23}}</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>{{674, 260}, {204, 183}}</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>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3988,7 +3884,6 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{878, 180}, {164, 173}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -4000,7 +3895,6 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -4011,7 +3905,6 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -4019,39 +3912,31 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{286, 129}, {275, 183}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{23, 794}, {245, 183}}</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>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{452, 109}, {196, 203}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
- <string>{{145, 474}, {199, 203}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
+ <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>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -4066,7 +3951,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">574</int>
+ <int key="maxID">579</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -4078,11 +3963,13 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>accessoryMenu</string>
<string>delegate</string>
<string>menu</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSMenu</string>
<string>id</string>
<string>NSMenu</string>
</object>
@@ -4091,12 +3978,17 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>accessoryMenu</string>
<string>delegate</string>
<string>menu</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBToOneOutletInfo">
+ <string key="name">accessoryMenu</string>
+ <string key="candidateClassName">NSMenu</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">delegate</string>
<string key="candidateClassName">id</string>
</object>
Please sign in to comment.
Something went wrong with that request. Please try again.