Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed IB 3.0 plugin

  • Loading branch information...
commit 53df98fbac3dde19bebe99aaa65d1d176ba09a2f 1 parent 1272b2e
@dparnell authored
View
300 English.lproj/PSMTabBarLibrary.nib/designable.nib
@@ -2,16 +2,17 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9G55</string>
+ <string key="IBDocument.SystemVersion">9J61</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
- <string key="IBDocument.AppKitVersion">949.43</string>
+ <string key="IBDocument.AppKitVersion">949.46</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="18"/>
+ <integer value="7"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.automagicsoftware.PSMTabBarInspector</string>
<string>com.apple.InterfaceBuilderKit</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
@@ -133,6 +134,253 @@
<int key="NSTitlePosition">0</int>
<bool key="NSTransparent">NO</bool>
</object>
+ <object class="PSMTabBarControl" id="130102136">
+ <reference key="NSNextResponder" ref="1000"/>
+ <int key="NSvFlags">268</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="PSMOverflowPopUpButton" id="1002262381">
+ <reference key="NSNextResponder" ref="130102136"/>
+ <int key="NSvFlags">-2147483391</int>
+ <string key="NSFrame">{{198, 0}, {24, 22}}</string>
+ <reference key="NSSuperview" ref="130102136"/>
+ <int key="NSTag">-1</int>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSPopUpButtonCell" key="NSCell">
+ <int key="NSCellFlags">67239488</int>
+ <int key="NSCellFlags2">2048</int>
+ <object class="NSFont" key="NSSupport">
+ <string key="NSName">LucidaGrande</string>
+ <double key="NSSize">1.300000e+01</double>
+ <int key="NSfFlags">1301</int>
+ </object>
+ <reference key="NSControlView" ref="1002262381"/>
+ <int key="NSButtonFlags">-2046672641</int>
+ <int key="NSButtonFlags2">2</int>
+ <object class="NSFont" key="NSAlternateImage">
+ <string key="NSName">LucidaGrande</string>
+ <double key="NSSize">1.300000e+01</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">400</int>
+ <int key="NSPeriodicInterval">75</int>
+ <nil key="NSMenuItem"/>
+ <bool key="NSMenuItemRespectAlignment">YES</bool>
+ <object class="NSMenu" key="NSMenu">
+ <string key="NSTitle"/>
+ </object>
+ <bool key="NSPullDown">YES</bool>
+ <int key="NSPreferredEdge">2</int>
+ <bool key="NSUsesItemFromMenu">YES</bool>
+ <bool key="NSAltersState">YES</bool>
+ <int key="NSArrowPosition">1</int>
+ </object>
+ <object class="NSImage" key="PSMTabBarOverflowPopUpImage">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="1" id="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/overflowImage.tiff</string>
+ </object>
+ </object>
+ <object class="NSColor" key="NSColor" id="760429484">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MCAwAA</bytes>
+ </object>
+ </object>
+ <object class="NSImage" key="PSMTabBarOverflowDownPopUpImage">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/overflowImagePressed.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <bool key="PSMTabBarOverflowAnimatingAlternateImage">NO</bool>
+ </object>
+ <object class="PSMRolloverButton" id="523145119">
+ <reference key="NSNextResponder" ref="130102136"/>
+ <int key="NSvFlags">-2147483392</int>
+ <string key="NSFrame">{{17, 3}, {16, 16}}</string>
+ <reference key="NSSuperview" ref="130102136"/>
+ <int key="NSTag">-1</int>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">134217728</int>
+ <string key="NSContents"/>
+ <object class="NSFont" key="NSSupport">
+ <string key="NSName">LucidaGrande</string>
+ <double key="NSSize">1.200000e+01</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <reference key="NSControlView" ref="523145119"/>
+ <int key="NSButtonFlags">138428671</int>
+ <int key="NSButtonFlags2">6</int>
+ <object class="NSImage" key="NSNormalImage" id="291721915">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabNewMetal.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <object class="NSImage" key="NSAlternateImage" id="348366676">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabNewMetalPressed.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">400</int>
+ <int key="NSPeriodicInterval">75</int>
+ </object>
+ <object class="NSImage" key="rolloverImage" id="469749764">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabNewMetalRollover.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <reference key="usualImage" ref="291721915"/>
+ <int key="myTrackingRectTag">433414032</int>
+ </object>
+ </object>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="set.sortedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>PSMTabBarControlItemPBType</string>
+ </object>
+ </object>
+ <string key="NSFrame">{{23, 124}, {221, 22}}</string>
+ <reference key="NSSuperview" ref="1000"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSMutableArray" key="PSMcells">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="PSMoverflowPopUpButton" ref="1002262381"/>
+ <reference key="PSMaddTabButton" ref="523145119"/>
+ <object class="PSMMetalTabStyle" key="PSMstyle">
+ <object class="NSImage" key="metalCloseButton">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabClose_Front.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <object class="NSImage" key="metalCloseButtonDown">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabClose_Front_Pressed.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <object class="NSImage" key="metalCloseButtonOver">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabClose_Front_Rollover.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <object class="NSImage" key="metalCloseDirtyButton">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabClose_Dirty.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <object class="NSImage" key="metalCloseDirtyButtonDown">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabClose_Dirty_Pressed.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <object class="NSImage" key="metalCloseDirtyButtonOver">
+ <int key="NSImageFlags">80740352</int>
+ <object class="NSMutableArray" key="NSReps">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="9"/>
+ <string>/Users/daniel/Development/query/Frameworks/PSMTabBar/build/Debug/PSMTabBarFramework.framework/Resources/TabClose_Dirty_Rollover.png</string>
+ </object>
+ </object>
+ <reference key="NSColor" ref="760429484"/>
+ </object>
+ <reference key="addTabButtonImage" ref="291721915"/>
+ <reference key="addTabButtonPressedImage" ref="348366676"/>
+ <reference key="addTabButtonRolloverImage" ref="469749764"/>
+ </object>
+ <int key="PSMorientation">0</int>
+ <bool key="PSMcanCloseOnlyTab">NO</bool>
+ <bool key="PSMdisableTabClose">NO</bool>
+ <bool key="PSMhideForSingleTab">NO</bool>
+ <bool key="PSMallowsBackgroundTabClosing">YES</bool>
+ <bool key="PSMallowsResizing">NO</bool>
+ <bool key="PSMselectsTabsOnMouseDown">NO</bool>
+ <bool key="PSMshowAddTabButton">NO</bool>
+ <bool key="PSMsizeCellsToFit">NO</bool>
+ <int key="PSMcellMinWidth">100</int>
+ <int key="PSMcellMaxWidth">280</int>
+ <int key="PSMcellOptimumWidth">130</int>
+ <int key="PSMcurrentStep">-1</int>
+ <bool key="PSMisHidden">NO</bool>
+ <bool key="PSMawakenedFromNib">YES</bool>
+ <nil key="PSMlastMouseDownEvent"/>
+ <bool key="PSMuseOverflowMenu">YES</bool>
+ <bool key="PSMautomaticallyAnimates">NO</bool>
+ <bool key="PSMalwaysShowActiveTab">NO</bool>
+ <bool key="PSMcanDragTabs">YES</bool>
+ </object>
</object>
<string key="NSFrameSize">{264, 327}</string>
<reference key="NSSuperview"/>
@@ -142,6 +390,14 @@
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">draggedView</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="130102136"/>
+ </object>
+ <int key="connectionID">42</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -180,6 +436,7 @@
<reference ref="1001"/>
<reference ref="1025445589"/>
<reference ref="71754860"/>
+ <reference ref="130102136"/>
</object>
<reference key="parent" ref="1014"/>
<string key="objectName">Library Objects</string>
@@ -217,6 +474,11 @@
<reference key="object" ref="787386790"/>
<reference key="parent" ref="71754860"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">41</int>
+ <reference key="object" ref="130102136"/>
+ <reference key="parent" ref="1000"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -235,6 +497,7 @@
<string>32.IBPluginDependency</string>
<string>33.IBPluginDependency</string>
<string>34.IBPluginDependency</string>
+ <string>41.IBPluginDependency</string>
<string>7.IBEditorWindowLastContentRect</string>
<string>7.IBPluginDependency</string>
<string>7.IBUserGuides</string>
@@ -261,7 +524,7 @@ dyB3aWxsIHNob3cgdXAgaW4gcGxhY2Ugb2YgdGhpcyB2aWV3Lg</string>
</object>
</object>
</object>
- <integer value="1" id="9"/>
+ <reference ref="9"/>
<string>com.apple.InterfaceBuilderKit</string>
<object class="NSAttributedString">
<string type="base64-UTF8" key="NSString">SWYgeW91IHdvdWxkIGxpa2UgeW91ciB2aWV3IHRvIGFuaW1hdGUgZnJvbSBhIHNtYWxsLCBpY29uaWMg
@@ -277,6 +540,7 @@ b2JqZWN0IHRvIGRlcG9zaXQuA</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.automagicsoftware.PSMTabBarInspector</string>
<string>{{21, 395}, {264, 327}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSMutableArray">
@@ -306,12 +570,26 @@ b2JqZWN0IHRvIGRlcG9zaXQuA</string>
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">40</int>
+ <int key="maxID">42</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
+ <string key="className">NSApplication</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier" id="153513467">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">source/PSMTabDragAssistant.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier" id="733400136">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">source/PSMTabBarCell.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="477717032">
<string key="majorKey">IBProjectSource</string>
@@ -327,10 +605,7 @@ b2JqZWN0IHRvIGRlcG9zaXQuA</string>
</object>
<object class="IBPartialClassDescription">
<string key="className">PSMTabBarControl</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">source/PSMTabBarCell.h</string>
- </object>
+ <reference key="sourceIdentifier" ref="733400136"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">PSMTabBarControl</string>
@@ -342,24 +617,19 @@ b2JqZWN0IHRvIGRlcG9zaXQuA</string>
<string>delegate</string>
<string>partnerView</string>
<string>style</string>
- <string>tabView</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
<string>id</string>
- <string>NSTabView</string>
</object>
</object>
<reference key="sourceIdentifier" ref="477717032"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">PSMTabBarControl</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">source/PSMTabDragAssistant.h</string>
- </object>
+ <reference key="sourceIdentifier" ref="153513467"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">PSMTabBarControl</string>
View
BIN  English.lproj/PSMTabBarLibrary.nib/keyedobjects.nib
Binary file not shown
View
24 IBApplication-Info.plist
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.automagicsoftwre.${PRODUCT_NAME:identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>NSMainNibFile</key>
+ <string>TestAppMainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
View
4 Info.plist
@@ -9,7 +9,7 @@
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
- <string>com.automagicsoftware.PSMTabBar</string>
+ <string>com.automagicsoftware.PSMTabBarInspector</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
@@ -22,5 +22,7 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
+ <key>NSPrincipalClass</key>
+ <string>PSMTabBar</string>
</dict>
</plist>
View
14 PSMTabBar.m
@@ -10,15 +10,13 @@
@implementation PSMTabBar
-- (NSArray *)libraryNibNames {
- NSBundle* frameworkBundle;
- NSString* path;
-
- NSLog(@"Loading the PSMTabBar framework");
- path = [[NSBundle bundleForClass: [PSMTabBar class]] bundlePath];
- frameworkBundle = [[NSBundle alloc] initWithPath: [[path stringByDeletingLastPathComponent] stringByDeletingLastPathComponent]];
- [frameworkBundle load];
+- (NSArray*)requiredFrameworks {
+ NSBundle* frameworkBundle = [NSBundle bundleWithIdentifier: @"com.automagicsoftware.PSMTabBar"];
+ return [NSArray arrayWithObject: frameworkBundle];
+}
+
+- (NSArray *)libraryNibNames {
return [NSArray arrayWithObject:@"PSMTabBarLibrary"];
}
View
167 PSMTabBar.xcodeproj/project.pbxproj
@@ -77,6 +77,10 @@
65140ECE0FE5F94C00D862D2 /* PSMTabBarFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53DF68FD067E5B5A0090B5B0 /* PSMTabBarFramework.framework */; };
65140EE50FE5F9A800D862D2 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 65140EE10FE5F9A800D862D2 /* MainMenu.nib */; };
65140EE60FE5F9A800D862D2 /* Window.nib in Resources */ = {isa = PBXBuildFile; fileRef = 65140EE30FE5F9A800D862D2 /* Window.nib */; };
+ 65371A340FEDDFA80008D1A1 /* ibapp_main.m in Sources */ = {isa = PBXBuildFile; fileRef = 65371A330FEDDFA80008D1A1 /* ibapp_main.m */; };
+ 65371A390FEDE0380008D1A1 /* TestAppMainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 65371A380FEDE0380008D1A1 /* TestAppMainMenu.xib */; };
+ 65371A400FEDE0EC0008D1A1 /* PSMTabBarFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53DF68FD067E5B5A0090B5B0 /* PSMTabBarFramework.framework */; };
+ 65371AA20FEDECC80008D1A1 /* PSMTabBarFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53DF68FD067E5B5A0090B5B0 /* PSMTabBarFramework.framework */; };
65D065020D26175000FD8609 /* PSMAquaTabStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = 65D064EF0D26175000FD8609 /* PSMAquaTabStyle.h */; settings = {ATTRIBUTES = (); }; };
65D065030D26175000FD8609 /* PSMAquaTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = 65D064F00D26175000FD8609 /* PSMAquaTabStyle.m */; };
65D065040D26175000FD8609 /* PSMMetalTabStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = 65D064F10D26175000FD8609 /* PSMMetalTabStyle.h */; settings = {ATTRIBUTES = (); }; };
@@ -155,7 +159,14 @@
isa = PBXContainerItemProxy;
containerPortal = 0259C573FE90428111CA0C5A /* Project object */;
proxyType = 1;
- remoteGlobalIDString = 53DF68FC067E5B5A0090B5B0 /* PSMTabBarFramework */;
+ remoteGlobalIDString = 53DF68FC067E5B5A0090B5B0;
+ remoteInfo = PSMTabBarFramework;
+ };
+ 65371A880FEDEA310008D1A1 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 0259C573FE90428111CA0C5A /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 53DF68FC067E5B5A0090B5B0;
remoteInfo = PSMTabBarFramework;
};
/* End PBXContainerItemProxy section */
@@ -228,6 +239,10 @@
65140EC40FE5F93700D862D2 /* Warning.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Warning.png; path = images/Warning.png; sourceTree = "<group>"; };
65140EE20FE5F9A800D862D2 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; };
65140EE40FE5F9A800D862D2 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/Window.nib; sourceTree = "<group>"; };
+ 65371A2D0FEDDF5E0008D1A1 /* IBApplication.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IBApplication.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 65371A2F0FEDDF5E0008D1A1 /* IBApplication-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "IBApplication-Info.plist"; sourceTree = "<group>"; };
+ 65371A330FEDDFA80008D1A1 /* ibapp_main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ibapp_main.m; sourceTree = "<group>"; };
+ 65371A380FEDE0380008D1A1 /* TestAppMainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = TestAppMainMenu.xib; sourceTree = "<group>"; };
65D064EF0D26175000FD8609 /* PSMAquaTabStyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSMAquaTabStyle.h; path = source/PSMAquaTabStyle.h; sourceTree = "<group>"; };
65D064F00D26175000FD8609 /* PSMAquaTabStyle.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSMAquaTabStyle.m; path = source/PSMAquaTabStyle.m; sourceTree = "<group>"; };
65D064F10D26175000FD8609 /* PSMMetalTabStyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSMMetalTabStyle.h; path = source/PSMMetalTabStyle.h; sourceTree = "<group>"; };
@@ -298,10 +313,19 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 65371A2B0FEDDF5E0008D1A1 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 65371A400FEDE0EC0008D1A1 /* PSMTabBarFramework.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
8D1AC96E0486D14A00FE50C9 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 65371AA20FEDECC80008D1A1 /* PSMTabBarFramework.framework in Frameworks */,
8D1AC9700486D14A00FE50C9 /* Cocoa.framework in Frameworks */,
C0D069560A49DF9100C95564 /* InterfaceBuilderKit.framework in Frameworks */,
65140C010FE36BB100D862D2 /* Carbon.framework in Frameworks */,
@@ -314,13 +338,13 @@
0259C574FE90428111CA0C5A /* PSMTabBar */ = {
isa = PBXGroup;
children = (
+ 65371A210FEDDF280008D1A1 /* IB Application */,
65140E9E0FE5F84A00D862D2 /* Application */,
32DBCF9E0370C38000C91783 /* Plugin */,
54D33B2C06778E4400C9C163 /* Framework */,
0259C582FE90428111CA0C5A /* Resources */,
- 1ED78706FE9D4A0611CA0C5A /* Products */,
2E58F364FFB232C311CA0CBA /* Frameworks */,
- 65140EA70FE5F86400D862D2 /* TestApplication-Info.plist */,
+ 1ED78706FE9D4A0611CA0C5A /* Products */,
);
name = PSMTabBar;
sourceTree = "<group>";
@@ -413,6 +437,7 @@
8D1AC9740486D14A00FE50C9 /* PSMTabBar.ibplugin */,
53DF68FD067E5B5A0090B5B0 /* PSMTabBarFramework.framework */,
65140EA50FE5F86400D862D2 /* TestApplication.app */,
+ 65371A2D0FEDDF5E0008D1A1 /* IBApplication.app */,
);
name = Products;
sourceTree = "<group>";
@@ -516,6 +541,7 @@
65140EB00FE5F8E100D862D2 /* Resources */ = {
isa = PBXGroup;
children = (
+ 65140EA70FE5F86400D862D2 /* TestApplication-Info.plist */,
65140EE10FE5F9A800D862D2 /* MainMenu.nib */,
65140EE30FE5F9A800D862D2 /* Window.nib */,
65140EBC0FE5F93700D862D2 /* Folder.png */,
@@ -531,6 +557,40 @@
name = Resources;
sourceTree = "<group>";
};
+ 65371A210FEDDF280008D1A1 /* IB Application */ = {
+ isa = PBXGroup;
+ children = (
+ 65371A260FEDDF4A0008D1A1 /* Classes */,
+ 65371A230FEDDF430008D1A1 /* Other Sources */,
+ 65371A220FEDDF3C0008D1A1 /* Resources */,
+ );
+ name = "IB Application";
+ sourceTree = "<group>";
+ };
+ 65371A220FEDDF3C0008D1A1 /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 65371A2F0FEDDF5E0008D1A1 /* IBApplication-Info.plist */,
+ 65371A380FEDE0380008D1A1 /* TestAppMainMenu.xib */,
+ );
+ name = Resources;
+ sourceTree = "<group>";
+ };
+ 65371A230FEDDF430008D1A1 /* Other Sources */ = {
+ isa = PBXGroup;
+ children = (
+ 65371A330FEDDFA80008D1A1 /* ibapp_main.m */,
+ );
+ name = "Other Sources";
+ sourceTree = "<group>";
+ };
+ 65371A260FEDDF4A0008D1A1 /* Classes */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Classes;
+ sourceTree = "<group>";
+ };
C0894DA40C32F4C100401507 /* Classes */ = {
isa = PBXGroup;
children = (
@@ -638,6 +698,24 @@
productReference = 65140EA50FE5F86400D862D2 /* TestApplication.app */;
productType = "com.apple.product-type.application";
};
+ 65371A2C0FEDDF5E0008D1A1 /* IBApplication */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 65371A320FEDDF600008D1A1 /* Build configuration list for PBXNativeTarget "IBApplication" */;
+ buildPhases = (
+ 65371A290FEDDF5E0008D1A1 /* Resources */,
+ 65371A2A0FEDDF5E0008D1A1 /* Sources */,
+ 65371A2B0FEDDF5E0008D1A1 /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 65371A890FEDEA310008D1A1 /* PBXTargetDependency */,
+ );
+ name = IBApplication;
+ productName = IBApplication;
+ productReference = 65371A2D0FEDDF5E0008D1A1 /* IBApplication.app */;
+ productType = "com.apple.product-type.application";
+ };
8D1AC9600486D14A00FE50C9 /* PSMTabBar */ = {
isa = PBXNativeTarget;
buildConfigurationList = C056398308A954F8003078D8 /* Build configuration list for PBXNativeTarget "PSMTabBar" */;
@@ -673,6 +751,7 @@
8D1AC9600486D14A00FE50C9 /* PSMTabBar */,
53DF68FC067E5B5A0090B5B0 /* PSMTabBarFramework */,
65140EA40FE5F86400D862D2 /* TestApplication */,
+ 65371A2C0FEDDF5E0008D1A1 /* IBApplication */,
);
};
/* End PBXProject section */
@@ -746,6 +825,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 65371A290FEDDF5E0008D1A1 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 65371A390FEDE0380008D1A1 /* TestAppMainMenu.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
8D1AC9660486D14A00FE50C9 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@@ -794,6 +881,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 65371A2A0FEDDF5E0008D1A1 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 65371A340FEDDFA80008D1A1 /* ibapp_main.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
8D1AC96A0486D14A00FE50C9 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@@ -827,6 +922,11 @@
target = 53DF68FC067E5B5A0090B5B0 /* PSMTabBarFramework */;
targetProxy = 65140ECF0FE5F95600D862D2 /* PBXContainerItemProxy */;
};
+ 65371A890FEDEA310008D1A1 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 53DF68FC067E5B5A0090B5B0 /* PSMTabBarFramework */;
+ targetProxy = 65371A880FEDEA310008D1A1 /* PBXContainerItemProxy */;
+ };
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
@@ -907,6 +1007,54 @@
};
name = Release;
};
+ 65371A300FEDDF600008D1A1 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
+ INFOPLIST_FILE = "IBApplication-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ OTHER_LDFLAGS = (
+ "-framework",
+ Foundation,
+ "-framework",
+ AppKit,
+ );
+ PREBINDING = NO;
+ PRODUCT_NAME = IBApplication;
+ };
+ name = Debug;
+ };
+ 65371A310FEDDF600008D1A1 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
+ INFOPLIST_FILE = "IBApplication-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ OTHER_LDFLAGS = (
+ "-framework",
+ Foundation,
+ "-framework",
+ AppKit,
+ );
+ PREBINDING = NO;
+ PRODUCT_NAME = IBApplication;
+ ZERO_LINK = NO;
+ };
+ name = Release;
+ };
C056398008A954F8003078D8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -923,7 +1071,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = source/Framework_Prefix.pch;
INFOPLIST_FILE = "PSMTabBarFramework-Info.plist";
- INSTALL_PATH = "@executable_path/../Frameworks";
+ INSTALL_PATH = /Library/Frameworks;
PRODUCT_NAME = PSMTabBarFramework;
SKIP_INSTALL = NO;
};
@@ -942,7 +1090,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = source/Framework_Prefix.pch;
INFOPLIST_FILE = "PSMTabBarFramework-Info.plist";
- INSTALL_PATH = "@executable_path/../Frameworks";
+ INSTALL_PATH = /Library/Frameworks;
PRODUCT_NAME = PSMTabBarFramework;
SKIP_INSTALL = YES;
};
@@ -1074,6 +1222,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
+ 65371A320FEDDF600008D1A1 /* Build configuration list for PBXNativeTarget "IBApplication" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 65371A300FEDDF600008D1A1 /* Debug */,
+ 65371A310FEDDF600008D1A1 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
C056397F08A954F8003078D8 /* Build configuration list for PBXNativeTarget "PSMTabBarFramework" */ = {
isa = XCConfigurationList;
buildConfigurations = (
View
2  PSMTabBarFramework-Info.plist
@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>PSMTabBarFramework</string>
<key>CFBundleIdentifier</key>
- <string>com.yourcompany.PSMTabBarFramework</string>
+ <string>com.automagicsoftware.PSMTabBar</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
View
53 PSMTabBarInspector.m
@@ -24,6 +24,59 @@
#define kPSMAllowsBackgroundTabClosing 12
#define kPSMCanDragTabs 13
+@implementation PSMTabBarControl(IBAdditions)
+
+- (NSArray*) ibDefaultChildren {
+ return [NSArray array];
+}
+
+/*
+- (NSSize)ibMaximumSize {
+ return NSMakeSize(100000.0f, 22.0f);
+}
+
+- (NSSize)ibPreferredDesignSize {
+ return NSMakeSize(0.0, 22.0f);
+}
+
+- (IBDirection)ibPreferredResizeDirection {
+ return IBMinXDirection || IBMaxXDirection;
+}
+*/
+
+- (void)ibPopulateKeyPaths:(NSMutableDictionary *)keyPaths
+{
+ // Always call super.
+ [super ibPopulateKeyPaths:keyPaths];
+
+ // Add any custom attributes.
+ [[keyPaths objectForKey:IBToOneRelationshipKeyPaths] addObjectsFromArray:
+ [NSArray arrayWithObjects:@"tabView", @"partnerView", @"delegate", nil]];
+}
+
+/*
+- (void) newConnection:(NSNotification*)notification {
+ id connection = [[notification userInfo] objectForKey: @"IBDocumentConnectionKey"];
+
+ id source = [connection source];
+ if(source==self) {
+ NSString* label = [connection label];
+ id destination = [connection destination];
+ NSLog(@"setting property %@ of %@ to %@", label, self, destination);
+
+ [self setValue: destination forKey: [connection label]];
+ }
+}
+
+- (void)ibDidAddToDesignableDocument:(IBDocument *)document {
+ [super ibDidAddToDesignableDocument: document];
+
+ [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(newConnection:) name: @"IBDocumentDidAddConnectionNotification" object: document];
+}
+ */
+
+@end
+
@implementation PSMTabBarInspector
+ (BOOL)supportsMultipleObjectInspection {
View
4 PSMTabBarView.classdescription
@@ -4,9 +4,7 @@
// "myAction:" = id;
};
Outlets = {
- delegate = id;
- tabView = NSTabView;
- partnerView = id;
+ "delegate" = id; "tabView" = "NSTabView"; "partnerView" = id;
};
ClassName = PSMTabBarControl;
SuperClass = NSControl;
View
3,400 TestAppMainMenu.xib
3,400 additions, 0 deletions not shown
View
14 ibapp_main.m
@@ -0,0 +1,14 @@
+//
+// ibapp_main.m
+// TabBarControl
+//
+// Created by Daniel Parnell on 21/06/09.
+// Copyright Automagic Software Pty Ltd. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+int main(int argc, char *argv[])
+{
+ return NSApplicationMain(argc, (const char **) argv);
+}
View
4 source/PSMAquaTabStyle.m
@@ -569,4 +569,8 @@ - (id)initWithCoder:(NSCoder *)aDecoder {
return self;
}
++ (id) sharedInstance {
+ return nil;
+}
+
@end
View
6 source/PSMTabBarControl.h
@@ -60,7 +60,7 @@ enum {
// control basics
NSMutableArray *_cells; // the cells that draw the tabs
- IBOutlet NSTabView *tabView; // the tab view being navigated
+ NSTabView *tabView; // the tab view being navigated
PSMOverflowPopUpButton *_overflowPopUpButton; // for too many tabs
PSMRolloverButton *_addTabButton;
PSMTabBarController *_controller;
@@ -102,7 +102,7 @@ enum {
// animation for hide/show
int _currentStep;
BOOL _isHidden;
- IBOutlet id partnerView; // gets resized when hide/show
+ id partnerView; // gets resized when hide/show
BOOL _awakenedFromNib;
int _tabBarWidth;
NSTimer *_showHideAnimationTimer;
@@ -113,7 +113,7 @@ enum {
BOOL _closeClicked;
// MVC help
- IBOutlet id delegate;
+ id delegate;
}
// control characteristics
View
27 source/PSMTabBarControl.m
@@ -322,6 +322,10 @@ - (void)setTabView:(NSTabView *)view
[view retain];
[tabView release];
tabView = view;
+
+ if(tabView) {
+ [self tabViewDidChangeNumberOfTabViewItems: tabView];
+ }
}
- (id<PSMTabStyle>)style
@@ -603,7 +607,15 @@ - (void)addTabViewItem:(NSTabViewItem *)item
{
// create cell
PSMTabBarCell *cell = [[PSMTabBarCell alloc] initWithControlView:self];
- NSRect cellRect, lastCellFrame = [[_cells lastObject] frame];
+ PSMTabBarCell *lastCell = [_cells lastObject];
+
+ NSRect cellRect, lastCellFrame;
+
+ if(lastCell) {
+ lastCellFrame = [lastCell frame];
+ } else {
+ lastCellFrame = NSMakeRect(0, 0, 0, 0);
+ }
if ([self orientation] == PSMTabBarHorizontalOrientation) {
cellRect = [self genericCellRect];
@@ -1845,10 +1857,9 @@ - (void)encodeWithCoder:(NSCoder *)aCoder
[super encodeWithCoder:aCoder];
if ([aCoder allowsKeyedCoding]) {
[aCoder encodeObject:_cells forKey:@"PSMcells"];
- [aCoder encodeObject:tabView forKey:@"PSMtabView"];
[aCoder encodeObject:_overflowPopUpButton forKey:@"PSMoverflowPopUpButton"];
[aCoder encodeObject:_addTabButton forKey:@"PSMaddTabButton"];
- [aCoder encodeObject:style forKey:@"PSMstyle"];
+ [aCoder encodeObject: [self styleName] forKey: @"PSMstyleName"];
[aCoder encodeInt:_orientation forKey:@"PSMorientation"];
[aCoder encodeBool:_canCloseOnlyTab forKey:@"PSMcanCloseOnlyTab"];
[aCoder encodeBool:_disableTabClose forKey:@"PSMdisableTabClose"];
@@ -1863,10 +1874,8 @@ - (void)encodeWithCoder:(NSCoder *)aCoder
[aCoder encodeInt:_cellOptimumWidth forKey:@"PSMcellOptimumWidth"];
[aCoder encodeInt:_currentStep forKey:@"PSMcurrentStep"];
[aCoder encodeBool:_isHidden forKey:@"PSMisHidden"];
- [aCoder encodeObject:partnerView forKey:@"PSMpartnerView"];
[aCoder encodeBool:_awakenedFromNib forKey:@"PSMawakenedFromNib"];
[aCoder encodeObject:_lastMouseDownEvent forKey:@"PSMlastMouseDownEvent"];
- [aCoder encodeObject:delegate forKey:@"PSMdelegate"];
[aCoder encodeBool:_useOverflowMenu forKey:@"PSMuseOverflowMenu"];
[aCoder encodeBool:_automaticallyAnimates forKey:@"PSMautomaticallyAnimates"];
[aCoder encodeBool:_alwaysShowActiveTab forKey:@"PSMalwaysShowActiveTab"];
@@ -1879,11 +1888,11 @@ - (id)initWithCoder:(NSCoder *)aDecoder
self = [super initWithCoder:aDecoder];
if (self) {
if ([aDecoder allowsKeyedCoding]) {
+ _controller = [[PSMTabBarController alloc] initWithTabBarControl:self];
_cells = [[aDecoder decodeObjectForKey:@"PSMcells"] retain];
- tabView = [[aDecoder decodeObjectForKey:@"PSMtabView"] retain];
_overflowPopUpButton = [[aDecoder decodeObjectForKey:@"PSMoverflowPopUpButton"] retain];
_addTabButton = [[aDecoder decodeObjectForKey:@"PSMaddTabButton"] retain];
- style = [[aDecoder decodeObjectForKey:@"PSMstyle"] retain];
+ [self setStyleNamed: [aDecoder decodeObjectForKey: @"PSMstyleName"]];
_orientation = (PSMTabBarOrientation)[aDecoder decodeIntForKey:@"PSMorientation"];
_canCloseOnlyTab = [aDecoder decodeBoolForKey:@"PSMcanCloseOnlyTab"];
_disableTabClose = [aDecoder decodeBoolForKey:@"PSMdisableTabClose"];
@@ -1898,19 +1907,18 @@ - (id)initWithCoder:(NSCoder *)aDecoder
_cellOptimumWidth = [aDecoder decodeIntForKey:@"PSMcellOptimumWidth"];
_currentStep = [aDecoder decodeIntForKey:@"PSMcurrentStep"];
_isHidden = [aDecoder decodeBoolForKey:@"PSMisHidden"];
- partnerView = [[aDecoder decodeObjectForKey:@"PSMpartnerView"] retain];
_awakenedFromNib = [aDecoder decodeBoolForKey:@"PSMawakenedFromNib"];
_lastMouseDownEvent = [[aDecoder decodeObjectForKey:@"PSMlastMouseDownEvent"] retain];
_useOverflowMenu = [aDecoder decodeBoolForKey:@"PSMuseOverflowMenu"];
_automaticallyAnimates = [aDecoder decodeBoolForKey:@"PSMautomaticallyAnimates"];
_alwaysShowActiveTab = [aDecoder decodeBoolForKey:@"PSMalwaysShowActiveTab"];
_canDragTabs = [aDecoder decodeBoolForKey: @"PSMcanDragTabs"];
- delegate = [[aDecoder decodeObjectForKey:@"PSMdelegate"] retain];
}
}
return self;
}
+/*
#pragma mark -
#pragma mark IB Palette
@@ -1930,6 +1938,7 @@ - (void)placeView:(NSRect)newFrame
[self setFrame:newFrame];
[self update:NO];
}
+*/
#pragma mark -
#pragma mark Convenience
Please sign in to comment.
Something went wrong with that request. Please try again.