Permalink
Browse files

lots of railscamp fun

  • Loading branch information...
1 parent aa0e4da commit 746e60acd8215182a70c4ffb40b84ecab346ef20 @lachie committed Jun 25, 2008
Showing with 48 additions and 67 deletions.
  1. +10 −0 BonjourWatcher.rb
  2. +30 −67 English.lproj/MainMenu.xib
  3. +8 −0 starjour.xcodeproj/project.pbxproj
View
@@ -137,11 +137,21 @@ def netServiceBrowser_didRemoveService_moreComing(nsb,service,more)
end
+ # olv delegate
def outlineView_isGroupItem(outlineView,item)
item.representedObject.is_a?(ServiceKind)
end
def outlineView_shouldSelectItem(outlineView,item)
!item.representedObject.is_a?(ServiceKind)
end
+
+ def outlineView_shouldCollapseItem(outline_view,item)
+ item.representedObject.is_a?(ServiceKind)
+ end
+
+ def pcOutlineView_shouldShowDisclosureTriangleForItem(outline_view,item)
+ item.representedObject.is_a?(ServiceKind)
+ end
+
end
@@ -8,7 +8,7 @@
<string key="IBDocument.HIToolboxVersion">352.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="367"/>
+ <integer value="484"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -830,35 +830,40 @@
</object>
<object class="NSMutableArray" key="NSTableColumns">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTableColumn" id="9220477">
- <double key="NSWidth">2.800000e+01</double>
- <double key="NSMinWidth">1.600000e+01</double>
- <double key="NSMaxWidth">1.000000e+03</double>
+ <object class="NSTableColumn" id="664053431">
+ <double key="NSWidth">1.540000e+02</double>
+ <double key="NSMinWidth">1.000000e+01</double>
+ <double key="NSMaxWidth">3.402823e+38</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
<int key="NSCellFlags">75628032</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents"/>
- <object class="NSFont" key="NSSupport" id="26">
+ <object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">1.100000e+01</double>
<int key="NSfFlags">3100</int>
</object>
<object class="NSColor" key="NSBackgroundColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes>
+ <int key="NSColorSpace">6</int>
+ <string key="NSCatalogName">System</string>
+ <string key="NSColorName">headerColor</string>
+ <object class="NSColor" key="NSColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
</object>
- <object class="NSColor" key="NSTextColor" id="929884713">
+ <object class="NSColor" key="NSTextColor">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">headerTextColor</string>
<reference key="NSColor" ref="574714943"/>
</object>
</object>
- <object class="NSTextFieldCell" key="NSDataCell" id="338825516">
+ <object class="NSTextFieldCell" key="NSDataCell" id="933958747">
<int key="NSCellFlags">337772096</int>
<int key="NSCellFlags2">2048</int>
<string key="NSContents">Text Cell</string>
- <object class="NSFont" key="NSSupport" id="637456802">
+ <object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">1.300000e+01</double>
<int key="NSfFlags">1044</int>
@@ -876,39 +881,6 @@
<bool key="NSIsResizeable">YES</bool>
<reference key="NSTableView" ref="1005650349"/>
</object>
- <object class="NSTableColumn" id="664053431">
- <double key="NSWidth">1.250000e+02</double>
- <double key="NSMinWidth">1.000000e+01</double>
- <double key="NSMaxWidth">3.402823e+38</double>
- <object class="NSTableHeaderCell" key="NSHeaderCell">
- <int key="NSCellFlags">75628032</int>
- <int key="NSCellFlags2">0</int>
- <string key="NSContents"/>
- <reference key="NSSupport" ref="26"/>
- <object class="NSColor" key="NSBackgroundColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">headerColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MQA</bytes>
- </object>
- </object>
- <reference key="NSTextColor" ref="929884713"/>
- </object>
- <object class="NSTextFieldCell" key="NSDataCell" id="933958747">
- <int key="NSCellFlags">337772096</int>
- <int key="NSCellFlags2">2048</int>
- <string key="NSContents">Text Cell</string>
- <reference key="NSSupport" ref="637456802"/>
- <reference key="NSControlView" ref="1005650349"/>
- <reference key="NSBackgroundColor" ref="449539636"/>
- <reference key="NSTextColor" ref="965034473"/>
- </object>
- <int key="NSResizingMask">1</int>
- <bool key="NSIsResizeable">YES</bool>
- <reference key="NSTableView" ref="1005650349"/>
- </object>
</object>
<double key="NSIntercellSpacingWidth">3.000000e+00</double>
<object class="NSColor" key="NSBackgroundColor">
@@ -2106,7 +2078,6 @@
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="664053431"/>
- <reference ref="9220477"/>
</object>
<reference key="parent" ref="1051005359"/>
</object>
@@ -2130,20 +2101,6 @@
<reference key="parent" ref="1005650349"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">486</int>
- <reference key="object" ref="9220477"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="338825516"/>
- </object>
- <reference key="parent" ref="1005650349"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">489</int>
- <reference key="object" ref="338825516"/>
- <reference key="parent" ref="9220477"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">491</int>
<reference key="object" ref="933958747"/>
<reference key="parent" ref="664053431"/>
@@ -2317,9 +2274,8 @@
<string>481.IBPluginDependency</string>
<string>482.IBPluginDependency</string>
<string>483.IBPluginDependency</string>
+ <string>484.CustomClassName</string>
<string>484.IBPluginDependency</string>
- <string>486.IBPluginDependency</string>
- <string>489.IBPluginDependency</string>
<string>492.IBPluginDependency</string>
<string>5.IBPluginDependency</string>
<string>5.ImportedFromIB2</string>
@@ -2495,18 +2451,18 @@
<reference ref="9"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="9"/>
- <string>{{344, 218}, {641, 291}}</string>
+ <string>{{395, 177}, {641, 291}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="0"/>
- <string>{{344, 218}, {641, 291}}</string>
+ <integer value="0" id="8"/>
+ <string>{{395, 177}, {641, 291}}</string>
<reference ref="9"/>
<string>{{437, 175}, {352, 291}}</string>
<reference ref="9"/>
<string>{3.40282e+38, 3.40282e+38}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="0" id="8"/>
+ <reference ref="8"/>
<reference ref="574714943"/>
<reference ref="8"/>
<reference ref="8"/>
@@ -2516,8 +2472,7 @@
<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>SourceOutlineView</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -2618,6 +2573,14 @@
<string key="minorKey"/>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">SourceOutlineView</string>
+ <string key="superclassName">NSOutlineView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">SourceOutlineView.h</string>
+ </object>
+ </object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
@@ -10,6 +10,8 @@
080DA5440E0CD5E5009AFF17 /* AppJour.xib in Resources */ = {isa = PBXBuildFile; fileRef = 080DA5430E0CD5E5009AFF17 /* AppJour.xib */; };
080DA55C0E0CDE29009AFF17 /* GitJour.xib in Resources */ = {isa = PBXBuildFile; fileRef = 080DA55B0E0CDE29009AFF17 /* GitJour.xib */; };
080DA55E0E0CDE32009AFF17 /* GemJour.xib in Resources */ = {isa = PBXBuildFile; fileRef = 080DA55D0E0CDE32009AFF17 /* GemJour.xib */; };
+ 080DA5980E0FB94F009AFF17 /* SourceOutlineView.h in Headers */ = {isa = PBXBuildFile; fileRef = 080DA5960E0FB94F009AFF17 /* SourceOutlineView.h */; };
@dustin
dustin Jul 3, 2008

SourceOutlineView seems to be missing from the tree.

@seigel
seigel Jul 3, 2008

In my “fork” I removed it from the project.

@lachie
lachie Jul 3, 2008 Owner

yeah sorry, I’ll merge it asap!

+ 080DA5990E0FB94F009AFF17 /* SourceOutlineView.m in Sources */ = {isa = PBXBuildFile; fileRef = 080DA5970E0FB94F009AFF17 /* SourceOutlineView.m */; };
083C8C080E0C750C00E2D5AD /* Jour.rb in Resources */ = {isa = PBXBuildFile; fileRef = 083C8C070E0C750C00E2D5AD /* Jour.rb */; };
083C8C0A0E0C751C00E2D5AD /* GitJour.rb in Resources */ = {isa = PBXBuildFile; fileRef = 083C8C090E0C751C00E2D5AD /* GitJour.rb */; };
083C8C0C0E0C756000E2D5AD /* AppJour.rb in Resources */ = {isa = PBXBuildFile; fileRef = 083C8C0B0E0C756000E2D5AD /* AppJour.rb */; };
@@ -37,6 +39,8 @@
080DA5430E0CD5E5009AFF17 /* AppJour.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = AppJour.xib; sourceTree = "<group>"; };
080DA55B0E0CDE29009AFF17 /* GitJour.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = GitJour.xib; sourceTree = "<group>"; };
080DA55D0E0CDE32009AFF17 /* GemJour.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = GemJour.xib; sourceTree = "<group>"; };
+ 080DA5960E0FB94F009AFF17 /* SourceOutlineView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SourceOutlineView.h; sourceTree = "<group>"; };
+ 080DA5970E0FB94F009AFF17 /* SourceOutlineView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SourceOutlineView.m; sourceTree = "<group>"; };
083C8C070E0C750C00E2D5AD /* Jour.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = Jour.rb; sourceTree = "<group>"; };
083C8C090E0C751C00E2D5AD /* GitJour.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = GitJour.rb; sourceTree = "<group>"; };
083C8C0B0E0C756000E2D5AD /* AppJour.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = AppJour.rb; sourceTree = "<group>"; };
@@ -91,6 +95,8 @@
083C8C0D0E0C766800E2D5AD /* GemJour.rb */,
083C8C0F0E0C767B00E2D5AD /* PasteJour.rb */,
083C8C6B0E0C882300E2D5AD /* ServiceKind.rb */,
+ 080DA5960E0FB94F009AFF17 /* SourceOutlineView.h */,
+ 080DA5970E0FB94F009AFF17 /* SourceOutlineView.m */,
);
name = Classes;
sourceTree = "<group>";
@@ -175,6 +181,7 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
+ 080DA5980E0FB94F009AFF17 /* SourceOutlineView.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -254,6 +261,7 @@
buildActionMask = 2147483647;
files = (
4DDCA70A0ACC9A6100E082CE /* main.m in Sources */,
+ 080DA5990E0FB94F009AFF17 /* SourceOutlineView.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

0 comments on commit 746e60a

Please sign in to comment.