Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use Cocoa Binding

  • Loading branch information...
commit 8e7c6533e76d7b10a8e6e40e6c1b187557d0d4d7 1 parent ff52ad7
@Watson1978 authored
View
30 PodCreator/AppDelegate.rb
@@ -8,11 +8,11 @@ class AppDelegate
attr_accessor :platformButton
attr_accessor :addButton, :removeButton, :createButton
attr_accessor :tableView
+ attr_accessor :arrayController
PLATFORM = {'iOS' => ":ios", 'Mac' => ":osx" }
def applicationDidFinishLaunching(a_notification)
- @depend = []
@podList = PodList.alloc.init
@podList.delegate = self
end
@@ -22,18 +22,6 @@ def windowWillClose(a_notification)
end
#----------------------------------------
- def numberOfRowsInTableView(aTableView)
- return 0 if @depend.nil?
- return @depend.size
- end
-
- def tableView(aTableView,
- objectValueForTableColumn:aTableColumn,
- row:rowIndex)
- return @depend[rowIndex]
- end
-
- #----------------------------------------
def showList(sender)
NSApp.beginSheet(@podList.window,
modalForWindow:window,
@@ -45,12 +33,8 @@ def showList(sender)
end
def remove(sender)
- index = tableView.selectedRow
-
- if index >= 0
- @depend.delete_at(index)
- tableView.reloadData
- end
+ index = arrayController.selectionIndexes
+ arrayController.removeObjectsAtArrangedObjectIndexes(index)
end
def create(sender)
@@ -64,8 +48,9 @@ def create(sender)
File.open(path, "w") {|f|
f.puts "platform #{PLATFORM[plat]}"
- @depend.each do |item|
- f.puts "dependency '#{item}'"
+ ary = arrayController.arrangedObjects
+ ary.each do |item|
+ f.puts "dependency '#{item['name']}'"
end
}
system "open -a TextEdit '#{path}'"
@@ -74,8 +59,7 @@ def create(sender)
#----------------------------------------
def addPod(pod)
- @depend << pod.name.dup
- tableView.reloadData
+ arrayController.addObject(pod.dup)
end
end
View
35 PodCreator/PodList.rb
@@ -6,9 +6,10 @@
class PodList < NSWindowController
attr_accessor :delegate
attr_accessor :tableView
+ attr_accessor :arrayController
def init
- @pods ||= Pod::Source::search_by_name("", true)
+ @pods = Pod::Source::search_by_name("", true)
super
self.initWithWindowNibName("PodList")
@@ -17,35 +18,19 @@ def init
def awakeFromNib
tableView.setTarget(self)
tableView.setDoubleAction("selectPods:")
- end
-
- #----------------------------------------
- def numberOfRowsInTableView(aTableView)
- return 0 if @pods.nil?
- return @pods.size
- end
-
- def tableView(aTableView,
- objectValueForTableColumn:aTableColumn,
- row:rowIndex)
- case aTableColumn.identifier
- when 'name'
- @pods[rowIndex].name
- when 'version'
- @pods[rowIndex].versions.reverse.join(", ")
- when 'description'
- @pods[rowIndex].specification.summary
+ @pods.each do |pod|
+ arrayController.addObject({'name' => pod.name,
+ 'version' => pod.versions.join(", "),
+ 'description' => pod.specification.summary
+ })
end
end
#----------------------------------------
def selectPods(sender)
- index = tableView.selectedRow
-
- if index >= 0
- delegate.addPod(@pods[index])
- self.window.orderOut(self)
- end
+ obj = arrayController.selectedObjects.first
+ delegate.addPod(obj)
+ self.window.orderOut(self)
end
end
View
158 PodCreator/en.lproj/MainMenu.xib
@@ -23,6 +23,7 @@
<string>NSButton</string>
<string>NSButtonCell</string>
<string>NSTableView</string>
+ <string>NSArrayController</string>
<string>NSCustomObject</string>
<string>NSCustomView</string>
<string>NSView</string>
@@ -1452,7 +1453,7 @@
<string key="NSFrameSize">{361, 176}</string>
<reference key="NSSuperview" ref="831709274"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="451024722"/>
+ <reference key="NSNextKeyView" ref="1026024532"/>
<string key="NSReuseIdentifierKey">_NS:1828</string>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="862756960">
@@ -1481,7 +1482,7 @@
<int key="NSCellFlags">75628096</int>
<int key="NSCellFlags2">2048</int>
<string key="NSContents">Dependency</string>
- <object class="NSFont" key="NSSupport" id="26">
+ <object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">11</double>
<int key="NSfFlags">3100</int>
@@ -1490,7 +1491,7 @@
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC4zMzMzMzI5ODU2AA</bytes>
</object>
- <object class="NSColor" key="NSTextColor" id="280231084">
+ <object class="NSColor" key="NSTextColor">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">headerTextColor</string>
@@ -1519,11 +1520,11 @@
</object>
<double key="NSIntercellSpacingWidth">3</double>
<double key="NSIntercellSpacingHeight">2</double>
- <object class="NSColor" key="NSBackgroundColor" id="879542304">
+ <object class="NSColor" key="NSBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
- <object class="NSColor" key="NSGridColor" id="286993699">
+ <object class="NSColor" key="NSGridColor">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">gridColor</string>
@@ -1599,7 +1600,7 @@
<string key="NSFrame">{{15, 89}, {363, 194}}</string>
<reference key="NSSuperview" ref="439893737"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="831709274"/>
+ <reference key="NSNextKeyView" ref="451024722"/>
<string key="NSReuseIdentifierKey">_NS:1824</string>
<int key="NSsFlags">133682</int>
<reference key="NSVScroller" ref="1026024532"/>
@@ -1614,6 +1615,7 @@
<string key="NSFrame">{{15, 19}, {363, 33}}</string>
<reference key="NSSuperview" ref="439893737"/>
<reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:2466</string>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="551096043">
@@ -1716,71 +1718,14 @@
<object class="NSCustomObject" id="755631768">
<string key="NSClassName">NSFontManager</string>
</object>
- <object class="NSTableView" id="255639219">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">4352</int>
- <string key="NSFrameSize">{238, 1}</string>
- <string key="NSReuseIdentifierKey">_NS:1828</string>
- <bool key="NSEnabled">YES</bool>
- <object class="NSTableHeaderView" key="NSHeaderView">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrameSize">{238, 17}</string>
- <string key="NSReuseIdentifierKey">_NS:1830</string>
- <reference key="NSTableView" ref="255639219"/>
- </object>
- <object class="_NSCornerView" key="NSCornerView">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">-2147483392</int>
- <string key="NSFrame">{{224, 0}, {16, 17}}</string>
- <string key="NSReuseIdentifierKey">_NS:1833</string>
- </object>
- <object class="NSMutableArray" key="NSTableColumns">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTableColumn" id="570893597">
- <double key="NSWidth">235</double>
- <double key="NSMinWidth">40</double>
- <double key="NSMaxWidth">1000</double>
- <object class="NSTableHeaderCell" key="NSHeaderCell">
- <int key="NSCellFlags">75628096</int>
- <int key="NSCellFlags2">2048</int>
- <string key="NSContents">Dependency</string>
- <reference key="NSSupport" ref="26"/>
- <object class="NSColor" key="NSBackgroundColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC4zMzMzMzI5ODU2AA</bytes>
- </object>
- <reference key="NSTextColor" ref="280231084"/>
- </object>
- <object class="NSTextFieldCell" key="NSDataCell" id="1018162736">
- <int key="NSCellFlags">337772096</int>
- <int key="NSCellFlags2">2048</int>
- <string key="NSContents">Text Cell</string>
- <reference key="NSSupport" ref="19798554"/>
- <reference key="NSControlView" ref="255639219"/>
- <reference key="NSBackgroundColor" ref="135435619"/>
- <reference key="NSTextColor" ref="848635780"/>
- </object>
- <int key="NSResizingMask">3</int>
- <bool key="NSIsResizeable">YES</bool>
- <bool key="NSIsEditable">YES</bool>
- <reference key="NSTableView" ref="255639219"/>
- </object>
- </object>
- <double key="NSIntercellSpacingWidth">3</double>
- <double key="NSIntercellSpacingHeight">2</double>
- <reference key="NSBackgroundColor" ref="879542304"/>
- <reference key="NSGridColor" ref="286993699"/>
- <double key="NSRowHeight">17</double>
- <int key="NSTvFlags">-700448768</int>
- <reference key="NSDelegate"/>
- <reference key="NSDataSource"/>
- <int key="NSColumnAutoresizingStyle">4</int>
- <int key="NSDraggingSourceMaskForLocal">15</int>
- <int key="NSDraggingSourceMaskForNonLocal">0</int>
- <bool key="NSAllowsTypeSelect">YES</bool>
- <int key="NSTableViewDraggingDestinationStyle">0</int>
- <int key="NSTableViewGroupRowStyle">1</int>
+ <object class="NSArrayController" id="382599744">
+ <bool key="NSEditable">YES</bool>
+ <object class="_NSManagedProxy" key="_NSManagedProxy"/>
+ <bool key="NSAvoidsEmptySelection">YES</bool>
+ <bool key="NSPreservesSelection">YES</bool>
+ <bool key="NSSelectsInsertedObjects">YES</bool>
+ <bool key="NSFilterRestrictsInsertion">YES</bool>
+ <bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
@@ -2540,6 +2485,14 @@
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
+ <string key="label">arrayController</string>
+ <reference key="source" ref="976324537"/>
+ <reference key="destination" ref="382599744"/>
+ </object>
+ <int key="connectionID">596</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
<string key="label">dataSource</string>
<reference key="source" ref="560573976"/>
<reference key="destination" ref="976324537"/>
@@ -2555,20 +2508,20 @@
<int key="connectionID">581</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">dataSource</string>
- <reference key="source" ref="255639219"/>
- <reference key="destination" ref="976324537"/>
- </object>
- <int key="connectionID">577</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="255639219"/>
- <reference key="destination" ref="976324537"/>
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">value: arrangedObjects.name</string>
+ <reference key="source" ref="680340439"/>
+ <reference key="destination" ref="382599744"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="680340439"/>
+ <reference key="NSDestination" ref="382599744"/>
+ <string key="NSLabel">value: arrangedObjects.name</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">arrangedObjects.name</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
</object>
- <int key="connectionID">578</int>
+ <int key="connectionID">598</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
@@ -3776,28 +3729,10 @@
<reference key="parent" ref="60923220"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">574</int>
- <reference key="object" ref="255639219"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="570893597"/>
- </object>
+ <int key="objectID">593</int>
+ <reference key="object" ref="382599744"/>
<reference key="parent" ref="0"/>
</object>
- <object class="IBObjectRecord">
- <int key="objectID">575</int>
- <reference key="object" ref="570893597"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="1018162736"/>
- </object>
- <reference key="parent" ref="255639219"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">576</int>
- <reference key="object" ref="1018162736"/>
- <reference key="parent" ref="570893597"/>
- </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -3966,10 +3901,8 @@
<string>564.IBPluginDependency</string>
<string>565.IBPluginDependency</string>
<string>57.IBPluginDependency</string>
- <string>574.IBPluginDependency</string>
- <string>575.IBPluginDependency</string>
- <string>576.IBPluginDependency</string>
<string>58.IBPluginDependency</string>
+ <string>593.IBPluginDependency</string>
<string>72.IBPluginDependency</string>
<string>73.IBPluginDependency</string>
<string>74.IBPluginDependency</string>
@@ -4161,8 +4094,6 @@
<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">
@@ -4177,7 +4108,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">591</int>
+ <int key="maxID">598</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -4229,6 +4160,7 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addButton</string>
+ <string>arrayController</string>
<string>createButton</string>
<string>platformButton</string>
<string>removeButton</string>
@@ -4243,6 +4175,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
@@ -4250,6 +4183,7 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addButton</string>
+ <string>arrayController</string>
<string>createButton</string>
<string>platformButton</string>
<string>removeButton</string>
@@ -4263,6 +4197,10 @@
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">arrayController</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">createButton</string>
<string key="candidateClassName">id</string>
</object>
View
112 PodCreator/en.lproj/PodList.xib
@@ -17,6 +17,7 @@
<string>NSScrollView</string>
<string>NSWindowTemplate</string>
<string>NSTextFieldCell</string>
+ <string>NSArrayController</string>
<string>NSTableHeaderView</string>
<string>NSTableColumn</string>
<string>NSScroller</string>
@@ -44,7 +45,7 @@
<object class="NSWindowTemplate" id="1032949858">
<int key="NSWindowStyleMask">15</int>
<int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{109, 132}, {482, 270}}</string>
+ <string key="NSWindowRect">{{109, 132}, {411, 270}}</string>
<int key="NSWTFlags">1685586944</int>
<string key="NSWindowTitle">Window</string>
<string key="NSWindowClass">NSWindow</string>
@@ -70,7 +71,6 @@
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{482, 254}</string>
<reference key="NSSuperview" ref="61345182"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="707334132"/>
<string key="NSReuseIdentifierKey">_NS:1828</string>
<bool key="NSEnabled">YES</bool>
@@ -79,7 +79,6 @@
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{482, 17}</string>
<reference key="NSSuperview" ref="926716805"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="61345182"/>
<string key="NSReuseIdentifierKey">_NS:1830</string>
<reference key="NSTableView" ref="498095769"/>
@@ -240,7 +239,6 @@
</object>
<string key="NSFrame">{{1, 17}, {482, 254}}</string>
<reference key="NSSuperview" ref="146025028"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="498095769"/>
<string key="NSReuseIdentifierKey">_NS:1826</string>
<reference key="NSDocView" ref="498095769"/>
@@ -252,7 +250,6 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{224, 17}, {15, 102}}</string>
<reference key="NSSuperview" ref="146025028"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="145580823"/>
<string key="NSReuseIdentifierKey">_NS:1845</string>
<reference key="NSTarget" ref="146025028"/>
@@ -265,7 +262,6 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{1, 256}, {410, 15}}</string>
<reference key="NSSuperview" ref="146025028"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:1847</string>
<int key="NSsFlags">1</int>
@@ -282,7 +278,6 @@
</object>
<string key="NSFrame">{{1, 0}, {482, 17}}</string>
<reference key="NSSuperview" ref="146025028"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="221419135"/>
<string key="NSReuseIdentifierKey">_NS:1831</string>
<reference key="NSDocView" ref="221419135"/>
@@ -292,7 +287,6 @@
</object>
<string key="NSFrame">{{-1, -1}, {484, 272}}</string>
<reference key="NSSuperview" ref="247989158"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="926716805"/>
<string key="NSReuseIdentifierKey">_NS:1824</string>
<int key="NSsFlags">133682</int>
@@ -303,9 +297,8 @@
<bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes>
</object>
</object>
- <string key="NSFrameSize">{482, 270}</string>
+ <string key="NSFrameSize">{411, 270}</string>
<reference key="NSSuperview"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="146025028"/>
<string key="NSReuseIdentifierKey">_NS:224</string>
</object>
@@ -313,6 +306,15 @@
<string key="NSMaxSize">{10000000000000, 10000000000000}</string>
<bool key="NSWindowIsRestorable">YES</bool>
</object>
+ <object class="NSArrayController" id="119792787">
+ <bool key="NSEditable">YES</bool>
+ <object class="_NSManagedProxy" key="_NSManagedProxy"/>
+ <bool key="NSAvoidsEmptySelection">YES</bool>
+ <bool key="NSPreservesSelection">YES</bool>
+ <bool key="NSSelectsInsertedObjects">YES</bool>
+ <bool key="NSFilterRestrictsInsertion">YES</bool>
+ <bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
+ </object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
@@ -335,6 +337,14 @@
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
+ <string key="label">arrayController</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="119792787"/>
+ </object>
+ <int key="connectionID">32</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="1032949858"/>
<reference key="destination" ref="1001"/>
@@ -357,6 +367,54 @@
</object>
<int key="connectionID">30</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">value: arrangedObjects.name</string>
+ <reference key="source" ref="931258695"/>
+ <reference key="destination" ref="119792787"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="931258695"/>
+ <reference key="NSDestination" ref="119792787"/>
+ <string key="NSLabel">value: arrangedObjects.name</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">arrangedObjects.name</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">34</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">value: arrangedObjects.description</string>
+ <reference key="source" ref="946375743"/>
+ <reference key="destination" ref="119792787"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="946375743"/>
+ <reference key="NSDestination" ref="119792787"/>
+ <string key="NSLabel">value: arrangedObjects.description</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">arrangedObjects.description</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">38</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">value: arrangedObjects.version</string>
+ <reference key="source" ref="920505691"/>
+ <reference key="destination" ref="119792787"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="920505691"/>
+ <reference key="NSDestination" ref="119792787"/>
+ <string key="NSLabel">value: arrangedObjects.version</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">arrangedObjects.version</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">36</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -485,6 +543,11 @@
<reference key="object" ref="829953808"/>
<reference key="parent" ref="920505691"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">31</int>
+ <reference key="object" ref="119792787"/>
+ <reference key="parent" ref="1002"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -505,6 +568,7 @@
<string>25.IBPluginDependency</string>
<string>26.IBPluginDependency</string>
<string>27.IBPluginDependency</string>
+ <string>31.IBPluginDependency</string>
<string>5.IBPluginDependency</string>
<string>5.NSWindowTemplate.visibleAtLaunch</string>
<string>6.IBPluginDependency</string>
@@ -526,6 +590,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>
<boolean value="NO"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
@@ -542,32 +607,9 @@
<reference key="dict.values" ref="1002"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">30</int>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes">
- <object class="NSMutableArray" key="referencedPartialClassDescriptions">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBPartialClassDescription">
- <string key="className">PodList</string>
- <string key="superclassName">NSWindowController</string>
- <object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">tableView</string>
- <string key="NS.object.0">id</string>
- </object>
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <string key="NS.key.0">tableView</string>
- <object class="IBToOneOutletInfo" key="NS.object.0">
- <string key="name">tableView</string>
- <string key="candidateClassName">id</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/PodList.h</string>
- </object>
- </object>
- </object>
+ <int key="maxID">38</int>
</object>
+ <object class="IBClassDescriber" key="IBDocument.Classes"/>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
Please sign in to comment.
Something went wrong with that request. Please try again.