mac_bacon 1.1.21 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +8 -2
- data/RDOX +20 -15
- data/Rakefile +7 -3
- data/lib/mac_bacon.rb +2 -1
- data/lib/mac_bacon/helpers.rb +43 -0
- data/test/fixtures/Window.nib/designable.nib +641 -0
- data/test/fixtures/Window.nib/keyedobjects.nib +0 -0
- data/test/fixtures/Window.xib +641 -0
- data/test/spec_bacon.rb +1 -1
- data/test/spec_helper.rb +2 -0
- data/test/spec_mac_bacon.rb +45 -1
- metadata +9 -5
data/ChangeLog
CHANGED
@@ -1,5 +1,11 @@
|
|
1
|
-
Mon
|
2
|
-
*
|
1
|
+
Mon Feb 28 12:34:55 2011 +0100 Klaas Speller <klaasspeller@gmail.com>
|
2
|
+
* Exit with other status than 0 on fails or errors
|
3
|
+
|
4
|
+
Thu Jan 13 15:26:18 2011 +0100 Eloy Duran <eloy.de.enige@gmail.com>
|
5
|
+
* Add Bacon::Helpers.load_nib(path, owner)
|
6
|
+
|
7
|
+
Mon Jan 10 19:17:34 2011 +0100 Eloy Duran <eloy.de.enige@gmail.com>
|
8
|
+
* Make existing specs work in a runloop based environment.
|
3
9
|
|
4
10
|
Wed Apr 14 05:40:31 2010 -0400 Gabriel Horner <gabriel.horner@gmail.com>
|
5
11
|
* Indent nested contexts for SpecDoxOutput
|
data/RDOX
CHANGED
@@ -57,6 +57,11 @@ describe arguments
|
|
57
57
|
NSRunloop aware Bacon
|
58
58
|
- allows the user to postpone execution of a block for n seconds, which will halt any further execution of specs
|
59
59
|
|
60
|
+
Nib helper
|
61
|
+
- takes a NIB path and instantiates the NIB with the given `owner' object
|
62
|
+
- also returns an array or other top level objects
|
63
|
+
- converts a XIB to a tmp NIB before loading it and caches it
|
64
|
+
|
60
65
|
A non-true value
|
61
66
|
- should pass negated tests inside specs
|
62
67
|
- should pass negated tests outside specs
|
@@ -79,18 +84,18 @@ Bacon::Context
|
|
79
84
|
|
80
85
|
Bacon::Context empty
|
81
86
|
|
82
|
-
Bacon::Error: not #<Proc:
|
83
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
84
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
85
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/test/spec_bacon.rb:9:in `block'
|
86
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
87
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
88
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
89
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/test/spec_bacon.rb:182:in `block'
|
90
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
91
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
92
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
93
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/lib/mac_bacon.rb:
|
94
|
-
/Users/eloy/Documents/DEVELOPMENT/MacBacon/bin/macbacon:118:in `<main>'
|
95
|
-
|
96
|
-
|
87
|
+
Bacon::Error: not #<Proc:0x200c25960 (lambda)>.raise?(Bacon::Error) failed
|
88
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:426:in `satisfy': Bacon - should have should.be.close
|
89
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:440:in `method_missing:'
|
90
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/test/spec_bacon.rb:9:in `block'
|
91
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:423:in `satisfy'
|
92
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:409:in `an:'
|
93
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:375:in `should:'
|
94
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/test/spec_bacon.rb:182:in `block'
|
95
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:158:in `block'
|
96
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:195:in `execute_block'
|
97
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:154:in `run'
|
98
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/lib/mac_bacon.rb:234:in `run'
|
99
|
+
/Users/eloy/Documents/DEVELOPMENT/MacRuby/MacBacon/bin/macbacon:118:in `<main>'
|
100
|
+
|
101
|
+
52 specifications (387 requirements), 1 failures, 0 errors
|
data/Rakefile
CHANGED
@@ -19,14 +19,15 @@ end
|
|
19
19
|
|
20
20
|
# Helper to retrieve the "revision number" of the git tree.
|
21
21
|
def git_tree_version
|
22
|
-
if File.directory?(".git")
|
22
|
+
#if File.directory?(".git")
|
23
|
+
if false
|
23
24
|
@tree_version ||= `git describe`.strip.sub('-', '.')
|
24
25
|
@tree_version << ".0" unless @tree_version.count('.') == 2
|
25
26
|
else
|
26
27
|
#$: << "lib"
|
27
28
|
#require 'mac_bacon'
|
28
29
|
#@tree_version = Bacon::VERSION
|
29
|
-
@tree_version = "1.
|
30
|
+
@tree_version = "1.2"
|
30
31
|
end
|
31
32
|
@tree_version
|
32
33
|
end
|
@@ -70,7 +71,10 @@ end
|
|
70
71
|
|
71
72
|
desc "Generate RDox"
|
72
73
|
task "RDOX" do
|
73
|
-
|
74
|
+
begin
|
75
|
+
sh "macruby -Ilib bin/macbacon --automatic --specdox >RDOX"
|
76
|
+
rescue Exception
|
77
|
+
end
|
74
78
|
end
|
75
79
|
|
76
80
|
desc "Run all the tests"
|
data/lib/mac_bacon.rb
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
# See COPYING or http://www.opensource.org/licenses/mit-license.php.
|
9
9
|
|
10
10
|
framework "Cocoa"
|
11
|
+
require "mac_bacon/helpers"
|
11
12
|
|
12
13
|
module Bacon
|
13
14
|
VERSION = "1.1"
|
@@ -242,7 +243,7 @@ module Bacon
|
|
242
243
|
else
|
243
244
|
# DONE
|
244
245
|
handle_summary
|
245
|
-
|
246
|
+
exit(Counter.values_at(:failed, :errors).inject(:+))
|
246
247
|
end
|
247
248
|
end
|
248
249
|
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'tmpdir'
|
2
|
+
|
3
|
+
module Bacon
|
4
|
+
module Helpers
|
5
|
+
def self.converted_xibs
|
6
|
+
@converted_xibs ||= {}
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.ensure_nib(path)
|
10
|
+
if File.extname(path) == '.xib'
|
11
|
+
if cached = Helpers.converted_xibs[path]
|
12
|
+
cached
|
13
|
+
else
|
14
|
+
xib_path, nib_path = path, File.join(Dir.tmpdir, "#{Time.now.to_i}.nib")
|
15
|
+
unless system("/usr/bin/ibtool '#{xib_path}' --compile '#{nib_path}'")
|
16
|
+
raise "Unable to convert XIB (to temporary NIB) at path `#{xib_path}'"
|
17
|
+
end
|
18
|
+
Helpers.converted_xibs[xib_path] = nib_path
|
19
|
+
nib_path
|
20
|
+
end
|
21
|
+
else
|
22
|
+
path
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def load_nib(nib_path, files_owner)
|
27
|
+
nib_path = Helpers.ensure_nib(nib_path)
|
28
|
+
url = NSURL.fileURLWithPath(nib_path)
|
29
|
+
nib = NSNib.alloc.initWithContentsOfURL(url)
|
30
|
+
top_level_objects = []
|
31
|
+
nameTable = {
|
32
|
+
NSNibOwner => files_owner,
|
33
|
+
NSNibTopLevelObjects => top_level_objects
|
34
|
+
}
|
35
|
+
nib.instantiateNibWithExternalNameTable(nameTable)
|
36
|
+
top_level_objects
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
class Context
|
41
|
+
include Helpers
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,641 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
|
3
|
+
<data>
|
4
|
+
<int key="IBDocument.SystemTarget">1060</int>
|
5
|
+
<string key="IBDocument.SystemVersion">10H574</string>
|
6
|
+
<string key="IBDocument.InterfaceBuilderVersion">823</string>
|
7
|
+
<string key="IBDocument.AppKitVersion">1038.35</string>
|
8
|
+
<string key="IBDocument.HIToolboxVersion">461.00</string>
|
9
|
+
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
10
|
+
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
11
|
+
<string key="NS.object.0">823</string>
|
12
|
+
</object>
|
13
|
+
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
|
14
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
15
|
+
<integer value="6"/>
|
16
|
+
</object>
|
17
|
+
<object class="NSArray" key="IBDocument.PluginDependencies">
|
18
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
19
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
20
|
+
</object>
|
21
|
+
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
22
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
23
|
+
<object class="NSArray" key="dict.sortedKeys" id="0">
|
24
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
25
|
+
</object>
|
26
|
+
<object class="NSMutableArray" key="dict.values">
|
27
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
28
|
+
</object>
|
29
|
+
</object>
|
30
|
+
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
31
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
32
|
+
<object class="NSCustomObject" id="1001">
|
33
|
+
<string key="NSClassName">WindowController</string>
|
34
|
+
</object>
|
35
|
+
<object class="NSCustomObject" id="1003">
|
36
|
+
<string key="NSClassName">FirstResponder</string>
|
37
|
+
</object>
|
38
|
+
<object class="NSCustomObject" id="1004">
|
39
|
+
<string key="NSClassName">NSApplication</string>
|
40
|
+
</object>
|
41
|
+
<object class="NSWindowTemplate" id="1005">
|
42
|
+
<int key="NSWindowStyleMask">15</int>
|
43
|
+
<int key="NSWindowBacking">2</int>
|
44
|
+
<string key="NSWindowRect">{{196, 240}, {480, 270}}</string>
|
45
|
+
<int key="NSWTFlags">544735232</int>
|
46
|
+
<string key="NSWindowTitle">Window</string>
|
47
|
+
<string key="NSWindowClass">NSWindow</string>
|
48
|
+
<nil key="NSViewClass"/>
|
49
|
+
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
|
50
|
+
<object class="NSView" key="NSWindowView" id="1006">
|
51
|
+
<reference key="NSNextResponder"/>
|
52
|
+
<int key="NSvFlags">256</int>
|
53
|
+
<object class="NSMutableArray" key="NSSubviews">
|
54
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
55
|
+
<object class="NSScrollView" id="855530341">
|
56
|
+
<reference key="NSNextResponder" ref="1006"/>
|
57
|
+
<int key="NSvFlags">274</int>
|
58
|
+
<object class="NSMutableArray" key="NSSubviews">
|
59
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
60
|
+
<object class="NSClipView" id="619833993">
|
61
|
+
<reference key="NSNextResponder" ref="855530341"/>
|
62
|
+
<int key="NSvFlags">2304</int>
|
63
|
+
<object class="NSMutableArray" key="NSSubviews">
|
64
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
65
|
+
<object class="NSTableView" id="1044782370">
|
66
|
+
<reference key="NSNextResponder" ref="619833993"/>
|
67
|
+
<int key="NSvFlags">256</int>
|
68
|
+
<string key="NSFrameSize">{479, 223}</string>
|
69
|
+
<reference key="NSSuperview" ref="619833993"/>
|
70
|
+
<bool key="NSEnabled">YES</bool>
|
71
|
+
<object class="NSTableHeaderView" key="NSHeaderView" id="844333819">
|
72
|
+
<reference key="NSNextResponder" ref="270440459"/>
|
73
|
+
<int key="NSvFlags">256</int>
|
74
|
+
<string key="NSFrameSize">{479, 17}</string>
|
75
|
+
<reference key="NSSuperview" ref="270440459"/>
|
76
|
+
<reference key="NSTableView" ref="1044782370"/>
|
77
|
+
</object>
|
78
|
+
<object class="_NSCornerView" key="NSCornerView" id="424702673">
|
79
|
+
<reference key="NSNextResponder" ref="855530341"/>
|
80
|
+
<int key="NSvFlags">-2147483392</int>
|
81
|
+
<string key="NSFrame">{{461.93, 0}, {16, 17}}</string>
|
82
|
+
<reference key="NSSuperview" ref="855530341"/>
|
83
|
+
</object>
|
84
|
+
<object class="NSMutableArray" key="NSTableColumns">
|
85
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
86
|
+
<object class="NSTableColumn" id="644067200">
|
87
|
+
<double key="NSWidth">101</double>
|
88
|
+
<double key="NSMinWidth">40</double>
|
89
|
+
<double key="NSMaxWidth">1000</double>
|
90
|
+
<object class="NSTableHeaderCell" key="NSHeaderCell">
|
91
|
+
<int key="NSCellFlags">75628096</int>
|
92
|
+
<int key="NSCellFlags2">2048</int>
|
93
|
+
<string key="NSContents"/>
|
94
|
+
<object class="NSFont" key="NSSupport" id="26">
|
95
|
+
<string key="NSName">LucidaGrande</string>
|
96
|
+
<double key="NSSize">11</double>
|
97
|
+
<int key="NSfFlags">3100</int>
|
98
|
+
</object>
|
99
|
+
<object class="NSColor" key="NSBackgroundColor" id="564501687">
|
100
|
+
<int key="NSColorSpace">3</int>
|
101
|
+
<bytes key="NSWhite">MC4zMzMzMzI5ODU2AA</bytes>
|
102
|
+
</object>
|
103
|
+
<object class="NSColor" key="NSTextColor" id="33000679">
|
104
|
+
<int key="NSColorSpace">6</int>
|
105
|
+
<string key="NSCatalogName">System</string>
|
106
|
+
<string key="NSColorName">headerTextColor</string>
|
107
|
+
<object class="NSColor" key="NSColor" id="252823053">
|
108
|
+
<int key="NSColorSpace">3</int>
|
109
|
+
<bytes key="NSWhite">MAA</bytes>
|
110
|
+
</object>
|
111
|
+
</object>
|
112
|
+
</object>
|
113
|
+
<object class="NSTextFieldCell" key="NSDataCell" id="109727909">
|
114
|
+
<int key="NSCellFlags">337772096</int>
|
115
|
+
<int key="NSCellFlags2">2048</int>
|
116
|
+
<string key="NSContents">Text Cell</string>
|
117
|
+
<object class="NSFont" key="NSSupport" id="81270435">
|
118
|
+
<string key="NSName">LucidaGrande</string>
|
119
|
+
<double key="NSSize">13</double>
|
120
|
+
<int key="NSfFlags">1044</int>
|
121
|
+
</object>
|
122
|
+
<reference key="NSControlView" ref="1044782370"/>
|
123
|
+
<object class="NSColor" key="NSBackgroundColor" id="333763268">
|
124
|
+
<int key="NSColorSpace">6</int>
|
125
|
+
<string key="NSCatalogName">System</string>
|
126
|
+
<string key="NSColorName">controlBackgroundColor</string>
|
127
|
+
<object class="NSColor" key="NSColor">
|
128
|
+
<int key="NSColorSpace">3</int>
|
129
|
+
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
130
|
+
</object>
|
131
|
+
</object>
|
132
|
+
<object class="NSColor" key="NSTextColor" id="350570469">
|
133
|
+
<int key="NSColorSpace">6</int>
|
134
|
+
<string key="NSCatalogName">System</string>
|
135
|
+
<string key="NSColorName">controlTextColor</string>
|
136
|
+
<reference key="NSColor" ref="252823053"/>
|
137
|
+
</object>
|
138
|
+
</object>
|
139
|
+
<int key="NSResizingMask">3</int>
|
140
|
+
<bool key="NSIsResizeable">YES</bool>
|
141
|
+
<bool key="NSIsEditable">YES</bool>
|
142
|
+
<reference key="NSTableView" ref="1044782370"/>
|
143
|
+
</object>
|
144
|
+
<object class="NSTableColumn" id="858818429">
|
145
|
+
<double key="NSWidth">372</double>
|
146
|
+
<double key="NSMinWidth">40</double>
|
147
|
+
<double key="NSMaxWidth">1000</double>
|
148
|
+
<object class="NSTableHeaderCell" key="NSHeaderCell">
|
149
|
+
<int key="NSCellFlags">75628096</int>
|
150
|
+
<int key="NSCellFlags2">2048</int>
|
151
|
+
<string key="NSContents"/>
|
152
|
+
<reference key="NSSupport" ref="26"/>
|
153
|
+
<reference key="NSBackgroundColor" ref="564501687"/>
|
154
|
+
<reference key="NSTextColor" ref="33000679"/>
|
155
|
+
</object>
|
156
|
+
<object class="NSTextFieldCell" key="NSDataCell" id="609302720">
|
157
|
+
<int key="NSCellFlags">337772096</int>
|
158
|
+
<int key="NSCellFlags2">2048</int>
|
159
|
+
<string key="NSContents">Text Cell</string>
|
160
|
+
<reference key="NSSupport" ref="81270435"/>
|
161
|
+
<reference key="NSControlView" ref="1044782370"/>
|
162
|
+
<reference key="NSBackgroundColor" ref="333763268"/>
|
163
|
+
<reference key="NSTextColor" ref="350570469"/>
|
164
|
+
</object>
|
165
|
+
<int key="NSResizingMask">3</int>
|
166
|
+
<bool key="NSIsResizeable">YES</bool>
|
167
|
+
<bool key="NSIsEditable">YES</bool>
|
168
|
+
<reference key="NSTableView" ref="1044782370"/>
|
169
|
+
</object>
|
170
|
+
</object>
|
171
|
+
<double key="NSIntercellSpacingWidth">3</double>
|
172
|
+
<double key="NSIntercellSpacingHeight">2</double>
|
173
|
+
<object class="NSColor" key="NSBackgroundColor" id="336724878">
|
174
|
+
<int key="NSColorSpace">3</int>
|
175
|
+
<bytes key="NSWhite">MQA</bytes>
|
176
|
+
</object>
|
177
|
+
<object class="NSColor" key="NSGridColor">
|
178
|
+
<int key="NSColorSpace">6</int>
|
179
|
+
<string key="NSCatalogName">System</string>
|
180
|
+
<string key="NSColorName">gridColor</string>
|
181
|
+
<object class="NSColor" key="NSColor">
|
182
|
+
<int key="NSColorSpace">3</int>
|
183
|
+
<bytes key="NSWhite">MC41AA</bytes>
|
184
|
+
</object>
|
185
|
+
</object>
|
186
|
+
<double key="NSRowHeight">17</double>
|
187
|
+
<int key="NSTvFlags">-700448768</int>
|
188
|
+
<reference key="NSDelegate"/>
|
189
|
+
<reference key="NSDataSource"/>
|
190
|
+
<int key="NSColumnAutoresizingStyle">4</int>
|
191
|
+
<int key="NSDraggingSourceMaskForLocal">15</int>
|
192
|
+
<int key="NSDraggingSourceMaskForNonLocal">0</int>
|
193
|
+
<bool key="NSAllowsTypeSelect">YES</bool>
|
194
|
+
<int key="NSTableViewDraggingDestinationStyle">0</int>
|
195
|
+
</object>
|
196
|
+
</object>
|
197
|
+
<string key="NSFrame">{{1, 17}, {479, 223}}</string>
|
198
|
+
<reference key="NSSuperview" ref="855530341"/>
|
199
|
+
<reference key="NSNextKeyView" ref="1044782370"/>
|
200
|
+
<reference key="NSDocView" ref="1044782370"/>
|
201
|
+
<reference key="NSBGColor" ref="333763268"/>
|
202
|
+
<int key="NScvFlags">4</int>
|
203
|
+
</object>
|
204
|
+
<object class="NSScroller" id="261104223">
|
205
|
+
<reference key="NSNextResponder" ref="855530341"/>
|
206
|
+
<int key="NSvFlags">-2147483392</int>
|
207
|
+
<string key="NSFrame">{{461.93, 17}, {15, 210.902}}</string>
|
208
|
+
<reference key="NSSuperview" ref="855530341"/>
|
209
|
+
<reference key="NSTarget" ref="855530341"/>
|
210
|
+
<string key="NSAction">_doScroller:</string>
|
211
|
+
<double key="NSCurValue">37</double>
|
212
|
+
<double key="NSPercent">0.1947367936372757</double>
|
213
|
+
</object>
|
214
|
+
<object class="NSScroller" id="736297166">
|
215
|
+
<reference key="NSNextResponder" ref="855530341"/>
|
216
|
+
<int key="NSvFlags">-2147483392</int>
|
217
|
+
<string key="NSFrame">{{1, 227.23}, {475.93, 15}}</string>
|
218
|
+
<reference key="NSSuperview" ref="855530341"/>
|
219
|
+
<int key="NSsFlags">1</int>
|
220
|
+
<reference key="NSTarget" ref="855530341"/>
|
221
|
+
<string key="NSAction">_doScroller:</string>
|
222
|
+
<double key="NSPercent">0.57142859697341919</double>
|
223
|
+
</object>
|
224
|
+
<object class="NSClipView" id="270440459">
|
225
|
+
<reference key="NSNextResponder" ref="855530341"/>
|
226
|
+
<int key="NSvFlags">2304</int>
|
227
|
+
<object class="NSMutableArray" key="NSSubviews">
|
228
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
229
|
+
<reference ref="844333819"/>
|
230
|
+
</object>
|
231
|
+
<string key="NSFrame">{{1, 0}, {479, 17}}</string>
|
232
|
+
<reference key="NSSuperview" ref="855530341"/>
|
233
|
+
<reference key="NSNextKeyView" ref="844333819"/>
|
234
|
+
<reference key="NSDocView" ref="844333819"/>
|
235
|
+
<reference key="NSBGColor" ref="333763268"/>
|
236
|
+
<int key="NScvFlags">4</int>
|
237
|
+
</object>
|
238
|
+
<reference ref="424702673"/>
|
239
|
+
</object>
|
240
|
+
<string key="NSFrame">{{-1, 30}, {481, 241}}</string>
|
241
|
+
<reference key="NSSuperview" ref="1006"/>
|
242
|
+
<reference key="NSNextKeyView" ref="619833993"/>
|
243
|
+
<int key="NSsFlags">562</int>
|
244
|
+
<reference key="NSVScroller" ref="261104223"/>
|
245
|
+
<reference key="NSHScroller" ref="736297166"/>
|
246
|
+
<reference key="NSContentView" ref="619833993"/>
|
247
|
+
<reference key="NSHeaderClipView" ref="270440459"/>
|
248
|
+
<reference key="NSCornerView" ref="424702673"/>
|
249
|
+
<bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes>
|
250
|
+
</object>
|
251
|
+
<object class="NSTextField" id="659289688">
|
252
|
+
<reference key="NSNextResponder" ref="1006"/>
|
253
|
+
<int key="NSvFlags">290</int>
|
254
|
+
<string key="NSFrameSize">{481, 22}</string>
|
255
|
+
<reference key="NSSuperview" ref="1006"/>
|
256
|
+
<bool key="NSEnabled">YES</bool>
|
257
|
+
<object class="NSTextFieldCell" key="NSCell" id="1005165507">
|
258
|
+
<int key="NSCellFlags">-1804468671</int>
|
259
|
+
<int key="NSCellFlags2">272630784</int>
|
260
|
+
<string key="NSContents"/>
|
261
|
+
<reference key="NSSupport" ref="81270435"/>
|
262
|
+
<reference key="NSControlView" ref="659289688"/>
|
263
|
+
<bool key="NSDrawsBackground">YES</bool>
|
264
|
+
<object class="NSColor" key="NSBackgroundColor">
|
265
|
+
<int key="NSColorSpace">6</int>
|
266
|
+
<string key="NSCatalogName">System</string>
|
267
|
+
<string key="NSColorName">textBackgroundColor</string>
|
268
|
+
<reference key="NSColor" ref="336724878"/>
|
269
|
+
</object>
|
270
|
+
<object class="NSColor" key="NSTextColor">
|
271
|
+
<int key="NSColorSpace">6</int>
|
272
|
+
<string key="NSCatalogName">System</string>
|
273
|
+
<string key="NSColorName">textColor</string>
|
274
|
+
<reference key="NSColor" ref="252823053"/>
|
275
|
+
</object>
|
276
|
+
</object>
|
277
|
+
</object>
|
278
|
+
</object>
|
279
|
+
<string key="NSFrameSize">{480, 270}</string>
|
280
|
+
<reference key="NSSuperview"/>
|
281
|
+
</object>
|
282
|
+
<string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
|
283
|
+
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
|
284
|
+
</object>
|
285
|
+
<object class="NSArrayController" id="297294471">
|
286
|
+
<object class="NSMutableArray" key="NSDeclaredKeys">
|
287
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
288
|
+
<string>columnOne</string>
|
289
|
+
<string>columnTwo</string>
|
290
|
+
</object>
|
291
|
+
<bool key="NSEditable">YES</bool>
|
292
|
+
<object class="_NSManagedProxy" key="_NSManagedProxy"/>
|
293
|
+
<bool key="NSAvoidsEmptySelection">YES</bool>
|
294
|
+
<bool key="NSPreservesSelection">YES</bool>
|
295
|
+
<bool key="NSSelectsInsertedObjects">YES</bool>
|
296
|
+
<bool key="NSFilterRestrictsInsertion">YES</bool>
|
297
|
+
<bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
|
298
|
+
</object>
|
299
|
+
</object>
|
300
|
+
<object class="IBObjectContainer" key="IBDocument.Objects">
|
301
|
+
<object class="NSMutableArray" key="connectionRecords">
|
302
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
303
|
+
<object class="IBConnectionRecord">
|
304
|
+
<object class="IBBindingConnection" key="connection">
|
305
|
+
<string key="label">value: arrangedObjects.columnOne</string>
|
306
|
+
<reference key="source" ref="644067200"/>
|
307
|
+
<reference key="destination" ref="297294471"/>
|
308
|
+
<object class="NSNibBindingConnector" key="connector">
|
309
|
+
<reference key="NSSource" ref="644067200"/>
|
310
|
+
<reference key="NSDestination" ref="297294471"/>
|
311
|
+
<string key="NSLabel">value: arrangedObjects.columnOne</string>
|
312
|
+
<string key="NSBinding">value</string>
|
313
|
+
<string key="NSKeyPath">arrangedObjects.columnOne</string>
|
314
|
+
<int key="NSNibBindingConnectorVersion">2</int>
|
315
|
+
</object>
|
316
|
+
</object>
|
317
|
+
<int key="connectionID">16</int>
|
318
|
+
</object>
|
319
|
+
<object class="IBConnectionRecord">
|
320
|
+
<object class="IBBindingConnection" key="connection">
|
321
|
+
<string key="label">value: arrangedObjects.columnTwo</string>
|
322
|
+
<reference key="source" ref="858818429"/>
|
323
|
+
<reference key="destination" ref="297294471"/>
|
324
|
+
<object class="NSNibBindingConnector" key="connector">
|
325
|
+
<reference key="NSSource" ref="858818429"/>
|
326
|
+
<reference key="NSDestination" ref="297294471"/>
|
327
|
+
<string key="NSLabel">value: arrangedObjects.columnTwo</string>
|
328
|
+
<string key="NSBinding">value</string>
|
329
|
+
<string key="NSKeyPath">arrangedObjects.columnTwo</string>
|
330
|
+
<int key="NSNibBindingConnectorVersion">2</int>
|
331
|
+
</object>
|
332
|
+
</object>
|
333
|
+
<int key="connectionID">18</int>
|
334
|
+
</object>
|
335
|
+
<object class="IBConnectionRecord">
|
336
|
+
<object class="IBOutletConnection" key="connection">
|
337
|
+
<string key="label">window</string>
|
338
|
+
<reference key="source" ref="1001"/>
|
339
|
+
<reference key="destination" ref="1005"/>
|
340
|
+
</object>
|
341
|
+
<int key="connectionID">19</int>
|
342
|
+
</object>
|
343
|
+
<object class="IBConnectionRecord">
|
344
|
+
<object class="IBOutletConnection" key="connection">
|
345
|
+
<string key="label">tableView</string>
|
346
|
+
<reference key="source" ref="1001"/>
|
347
|
+
<reference key="destination" ref="1044782370"/>
|
348
|
+
</object>
|
349
|
+
<int key="connectionID">20</int>
|
350
|
+
</object>
|
351
|
+
<object class="IBConnectionRecord">
|
352
|
+
<object class="IBOutletConnection" key="connection">
|
353
|
+
<string key="label">textField</string>
|
354
|
+
<reference key="source" ref="1001"/>
|
355
|
+
<reference key="destination" ref="659289688"/>
|
356
|
+
</object>
|
357
|
+
<int key="connectionID">21</int>
|
358
|
+
</object>
|
359
|
+
<object class="IBConnectionRecord">
|
360
|
+
<object class="IBOutletConnection" key="connection">
|
361
|
+
<string key="label">arrayController</string>
|
362
|
+
<reference key="source" ref="1001"/>
|
363
|
+
<reference key="destination" ref="297294471"/>
|
364
|
+
</object>
|
365
|
+
<int key="connectionID">22</int>
|
366
|
+
</object>
|
367
|
+
</object>
|
368
|
+
<object class="IBMutableOrderedSet" key="objectRecords">
|
369
|
+
<object class="NSArray" key="orderedObjects">
|
370
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
371
|
+
<object class="IBObjectRecord">
|
372
|
+
<int key="objectID">0</int>
|
373
|
+
<reference key="object" ref="0"/>
|
374
|
+
<reference key="children" ref="1000"/>
|
375
|
+
<nil key="parent"/>
|
376
|
+
</object>
|
377
|
+
<object class="IBObjectRecord">
|
378
|
+
<int key="objectID">-2</int>
|
379
|
+
<reference key="object" ref="1001"/>
|
380
|
+
<reference key="parent" ref="0"/>
|
381
|
+
<string key="objectName">File's Owner</string>
|
382
|
+
</object>
|
383
|
+
<object class="IBObjectRecord">
|
384
|
+
<int key="objectID">-1</int>
|
385
|
+
<reference key="object" ref="1003"/>
|
386
|
+
<reference key="parent" ref="0"/>
|
387
|
+
<string key="objectName">First Responder</string>
|
388
|
+
</object>
|
389
|
+
<object class="IBObjectRecord">
|
390
|
+
<int key="objectID">-3</int>
|
391
|
+
<reference key="object" ref="1004"/>
|
392
|
+
<reference key="parent" ref="0"/>
|
393
|
+
<string key="objectName">Application</string>
|
394
|
+
</object>
|
395
|
+
<object class="IBObjectRecord">
|
396
|
+
<int key="objectID">1</int>
|
397
|
+
<reference key="object" ref="1005"/>
|
398
|
+
<object class="NSMutableArray" key="children">
|
399
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
400
|
+
<reference ref="1006"/>
|
401
|
+
</object>
|
402
|
+
<reference key="parent" ref="0"/>
|
403
|
+
</object>
|
404
|
+
<object class="IBObjectRecord">
|
405
|
+
<int key="objectID">2</int>
|
406
|
+
<reference key="object" ref="1006"/>
|
407
|
+
<object class="NSMutableArray" key="children">
|
408
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
409
|
+
<reference ref="855530341"/>
|
410
|
+
<reference ref="659289688"/>
|
411
|
+
</object>
|
412
|
+
<reference key="parent" ref="1005"/>
|
413
|
+
</object>
|
414
|
+
<object class="IBObjectRecord">
|
415
|
+
<int key="objectID">3</int>
|
416
|
+
<reference key="object" ref="855530341"/>
|
417
|
+
<object class="NSMutableArray" key="children">
|
418
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
419
|
+
<reference ref="261104223"/>
|
420
|
+
<reference ref="736297166"/>
|
421
|
+
<reference ref="1044782370"/>
|
422
|
+
<reference ref="844333819"/>
|
423
|
+
</object>
|
424
|
+
<reference key="parent" ref="1006"/>
|
425
|
+
</object>
|
426
|
+
<object class="IBObjectRecord">
|
427
|
+
<int key="objectID">4</int>
|
428
|
+
<reference key="object" ref="261104223"/>
|
429
|
+
<reference key="parent" ref="855530341"/>
|
430
|
+
</object>
|
431
|
+
<object class="IBObjectRecord">
|
432
|
+
<int key="objectID">5</int>
|
433
|
+
<reference key="object" ref="736297166"/>
|
434
|
+
<reference key="parent" ref="855530341"/>
|
435
|
+
</object>
|
436
|
+
<object class="IBObjectRecord">
|
437
|
+
<int key="objectID">6</int>
|
438
|
+
<reference key="object" ref="1044782370"/>
|
439
|
+
<object class="NSMutableArray" key="children">
|
440
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
441
|
+
<reference ref="644067200"/>
|
442
|
+
<reference ref="858818429"/>
|
443
|
+
</object>
|
444
|
+
<reference key="parent" ref="855530341"/>
|
445
|
+
</object>
|
446
|
+
<object class="IBObjectRecord">
|
447
|
+
<int key="objectID">7</int>
|
448
|
+
<reference key="object" ref="844333819"/>
|
449
|
+
<reference key="parent" ref="855530341"/>
|
450
|
+
</object>
|
451
|
+
<object class="IBObjectRecord">
|
452
|
+
<int key="objectID">8</int>
|
453
|
+
<reference key="object" ref="644067200"/>
|
454
|
+
<object class="NSMutableArray" key="children">
|
455
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
456
|
+
<reference ref="109727909"/>
|
457
|
+
</object>
|
458
|
+
<reference key="parent" ref="1044782370"/>
|
459
|
+
</object>
|
460
|
+
<object class="IBObjectRecord">
|
461
|
+
<int key="objectID">9</int>
|
462
|
+
<reference key="object" ref="858818429"/>
|
463
|
+
<object class="NSMutableArray" key="children">
|
464
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
465
|
+
<reference ref="609302720"/>
|
466
|
+
</object>
|
467
|
+
<reference key="parent" ref="1044782370"/>
|
468
|
+
</object>
|
469
|
+
<object class="IBObjectRecord">
|
470
|
+
<int key="objectID">10</int>
|
471
|
+
<reference key="object" ref="609302720"/>
|
472
|
+
<reference key="parent" ref="858818429"/>
|
473
|
+
</object>
|
474
|
+
<object class="IBObjectRecord">
|
475
|
+
<int key="objectID">11</int>
|
476
|
+
<reference key="object" ref="109727909"/>
|
477
|
+
<reference key="parent" ref="644067200"/>
|
478
|
+
</object>
|
479
|
+
<object class="IBObjectRecord">
|
480
|
+
<int key="objectID">12</int>
|
481
|
+
<reference key="object" ref="659289688"/>
|
482
|
+
<object class="NSMutableArray" key="children">
|
483
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
484
|
+
<reference ref="1005165507"/>
|
485
|
+
</object>
|
486
|
+
<reference key="parent" ref="1006"/>
|
487
|
+
</object>
|
488
|
+
<object class="IBObjectRecord">
|
489
|
+
<int key="objectID">13</int>
|
490
|
+
<reference key="object" ref="1005165507"/>
|
491
|
+
<reference key="parent" ref="659289688"/>
|
492
|
+
</object>
|
493
|
+
<object class="IBObjectRecord">
|
494
|
+
<int key="objectID">14</int>
|
495
|
+
<reference key="object" ref="297294471"/>
|
496
|
+
<reference key="parent" ref="0"/>
|
497
|
+
</object>
|
498
|
+
</object>
|
499
|
+
</object>
|
500
|
+
<object class="NSMutableDictionary" key="flattenedProperties">
|
501
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
502
|
+
<object class="NSArray" key="dict.sortedKeys">
|
503
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
504
|
+
<string>-1.IBPluginDependency</string>
|
505
|
+
<string>-2.IBPluginDependency</string>
|
506
|
+
<string>-3.IBPluginDependency</string>
|
507
|
+
<string>1.IBEditorWindowLastContentRect</string>
|
508
|
+
<string>1.IBPluginDependency</string>
|
509
|
+
<string>1.IBWindowTemplateEditedContentRect</string>
|
510
|
+
<string>1.NSWindowTemplate.visibleAtLaunch</string>
|
511
|
+
<string>1.WindowOrigin</string>
|
512
|
+
<string>1.editorWindowContentRectSynchronizationRect</string>
|
513
|
+
<string>10.IBPluginDependency</string>
|
514
|
+
<string>11.IBPluginDependency</string>
|
515
|
+
<string>12.IBPluginDependency</string>
|
516
|
+
<string>12.IBViewBoundsToFrameTransform</string>
|
517
|
+
<string>13.IBPluginDependency</string>
|
518
|
+
<string>14.IBPluginDependency</string>
|
519
|
+
<string>2.IBPluginDependency</string>
|
520
|
+
<string>3.IBPluginDependency</string>
|
521
|
+
<string>3.IBViewBoundsToFrameTransform</string>
|
522
|
+
<string>4.IBPluginDependency</string>
|
523
|
+
<string>5.IBPluginDependency</string>
|
524
|
+
<string>6.IBPluginDependency</string>
|
525
|
+
<string>7.IBPluginDependency</string>
|
526
|
+
<string>8.IBPluginDependency</string>
|
527
|
+
<string>9.IBPluginDependency</string>
|
528
|
+
</object>
|
529
|
+
<object class="NSMutableArray" key="dict.values">
|
530
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
531
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
532
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
533
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
534
|
+
<string>{{465, 882}, {480, 270}}</string>
|
535
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
536
|
+
<string>{{465, 882}, {480, 270}}</string>
|
537
|
+
<integer value="1"/>
|
538
|
+
<string>{196, 240}</string>
|
539
|
+
<string>{{357, 418}, {480, 270}}</string>
|
540
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
541
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
542
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
543
|
+
<object class="NSAffineTransform">
|
544
|
+
<bytes key="NSTransformStruct">P4AAAL+AAAC/gAAAwaAAAA</bytes>
|
545
|
+
</object>
|
546
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
547
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
548
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
549
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
550
|
+
<object class="NSAffineTransform">
|
551
|
+
<bytes key="NSTransformStruct">P4AAAL+AAAC/gAAAw4aAAA</bytes>
|
552
|
+
</object>
|
553
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
554
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
555
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
556
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
557
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
558
|
+
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
559
|
+
</object>
|
560
|
+
</object>
|
561
|
+
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
562
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
563
|
+
<reference key="dict.sortedKeys" ref="0"/>
|
564
|
+
<object class="NSMutableArray" key="dict.values">
|
565
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
566
|
+
</object>
|
567
|
+
</object>
|
568
|
+
<nil key="activeLocalization"/>
|
569
|
+
<object class="NSMutableDictionary" key="localizations">
|
570
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
571
|
+
<reference key="dict.sortedKeys" ref="0"/>
|
572
|
+
<object class="NSMutableArray" key="dict.values">
|
573
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
574
|
+
</object>
|
575
|
+
</object>
|
576
|
+
<nil key="sourceID"/>
|
577
|
+
<int key="maxID">22</int>
|
578
|
+
</object>
|
579
|
+
<object class="IBClassDescriber" key="IBDocument.Classes">
|
580
|
+
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
581
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
582
|
+
<object class="IBPartialClassDescription">
|
583
|
+
<string key="className">WindowController</string>
|
584
|
+
<string key="superclassName">NSWindowController</string>
|
585
|
+
<object class="NSMutableDictionary" key="outlets">
|
586
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
587
|
+
<object class="NSArray" key="dict.sortedKeys">
|
588
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
589
|
+
<string>arrayController</string>
|
590
|
+
<string>tableView</string>
|
591
|
+
<string>textField</string>
|
592
|
+
</object>
|
593
|
+
<object class="NSMutableArray" key="dict.values">
|
594
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
595
|
+
<string>id</string>
|
596
|
+
<string>id</string>
|
597
|
+
<string>id</string>
|
598
|
+
</object>
|
599
|
+
</object>
|
600
|
+
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
|
601
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
602
|
+
<object class="NSArray" key="dict.sortedKeys">
|
603
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
604
|
+
<string>arrayController</string>
|
605
|
+
<string>tableView</string>
|
606
|
+
<string>textField</string>
|
607
|
+
</object>
|
608
|
+
<object class="NSMutableArray" key="dict.values">
|
609
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
610
|
+
<object class="IBToOneOutletInfo">
|
611
|
+
<string key="name">arrayController</string>
|
612
|
+
<string key="candidateClassName">id</string>
|
613
|
+
</object>
|
614
|
+
<object class="IBToOneOutletInfo">
|
615
|
+
<string key="name">tableView</string>
|
616
|
+
<string key="candidateClassName">id</string>
|
617
|
+
</object>
|
618
|
+
<object class="IBToOneOutletInfo">
|
619
|
+
<string key="name">textField</string>
|
620
|
+
<string key="candidateClassName">id</string>
|
621
|
+
</object>
|
622
|
+
</object>
|
623
|
+
</object>
|
624
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
625
|
+
<string key="majorKey">IBUserSource</string>
|
626
|
+
<string key="minorKey"/>
|
627
|
+
</object>
|
628
|
+
</object>
|
629
|
+
</object>
|
630
|
+
</object>
|
631
|
+
<int key="IBDocument.localizationMode">0</int>
|
632
|
+
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
|
633
|
+
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
634
|
+
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
|
635
|
+
<integer value="3000" key="NS.object.0"/>
|
636
|
+
</object>
|
637
|
+
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
638
|
+
<nil key="IBDocument.LastKnownRelativeProjectPath"/>
|
639
|
+
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
640
|
+
</data>
|
641
|
+
</archive>
|