Index: trunk/tools/WikiSnaps/SettingsViewController.xib |
— | — | @@ -2,17 +2,18 @@ |
3 | 3 | <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> |
4 | 4 | <data> |
5 | 5 | <int key="IBDocument.SystemTarget">1056</int> |
6 | | - <string key="IBDocument.SystemVersion">10H574</string> |
| 6 | + <string key="IBDocument.SystemVersion">10J567</string> |
7 | 7 | <string key="IBDocument.InterfaceBuilderVersion">823</string> |
8 | 8 | <string key="IBDocument.AppKitVersion">1038.35</string> |
9 | | - <string key="IBDocument.HIToolboxVersion">461.00</string> |
| 9 | + <string key="IBDocument.HIToolboxVersion">462.00</string> |
10 | 10 | <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> |
11 | 11 | <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
12 | 12 | <string key="NS.object.0">132</string> |
13 | 13 | </object> |
14 | 14 | <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> |
15 | 15 | <bool key="EncodedWithXMLCoder">YES</bool> |
16 | | - <integer value="1"/> |
| 16 | + <integer value="23"/> |
| 17 | + <integer value="31"/> |
17 | 18 | </object> |
18 | 19 | <object class="NSArray" key="IBDocument.PluginDependencies"> |
19 | 20 | <bool key="EncodedWithXMLCoder">YES</bool> |
— | — | @@ -44,8 +45,8 @@ |
45 | 46 | <bool key="EncodedWithXMLCoder">YES</bool> |
46 | 47 | <object class="IBUITextField" id="1021023533"> |
47 | 48 | <reference key="NSNextResponder" ref="191373211"/> |
48 | | - <int key="NSvFlags">292</int> |
49 | | - <string key="NSFrame">{{20, 20}, {280, 31}}</string> |
| 49 | + <int key="NSvFlags">288</int> |
| 50 | + <string key="NSFrame">{{19, 46}, {280, 31}}</string> |
50 | 51 | <reference key="NSSuperview" ref="191373211"/> |
51 | 52 | <bool key="IBUIOpaque">NO</bool> |
52 | 53 | <bool key="IBUIClipsSubviews">YES</bool> |
— | — | @@ -72,8 +73,8 @@ |
73 | 74 | </object> |
74 | 75 | <object class="IBUITextField" id="307778079"> |
75 | 76 | <reference key="NSNextResponder" ref="191373211"/> |
76 | | - <int key="NSvFlags">292</int> |
77 | | - <string key="NSFrame">{{20, 59}, {280, 31}}</string> |
| 77 | + <int key="NSvFlags">288</int> |
| 78 | + <string key="NSFrame">{{19, 111}, {280, 31}}</string> |
78 | 79 | <reference key="NSSuperview" ref="191373211"/> |
79 | 80 | <bool key="IBUIOpaque">NO</bool> |
80 | 81 | <bool key="IBUIClipsSubviews">YES</bool> |
— | — | @@ -98,7 +99,7 @@ |
99 | 100 | </object> |
100 | 101 | <object class="IBUIButton" id="449457945"> |
101 | 102 | <reference key="NSNextResponder" ref="191373211"/> |
102 | | - <int key="NSvFlags">292</int> |
| 103 | + <int key="NSvFlags">288</int> |
103 | 104 | <string key="NSFrame">{{74, 359}, {171, 37}}</string> |
104 | 105 | <reference key="NSSuperview" ref="191373211"/> |
105 | 106 | <bool key="IBUIOpaque">NO</bool> |
— | — | @@ -112,7 +113,7 @@ |
113 | 114 | </object> |
114 | 115 | <int key="IBUIButtonType">1</int> |
115 | 116 | <string key="IBUINormalTitle">Save</string> |
116 | | - <object class="NSColor" key="IBUIHighlightedTitleColor"> |
| 117 | + <object class="NSColor" key="IBUIHighlightedTitleColor" id="317385407"> |
117 | 118 | <int key="NSColorSpace">3</int> |
118 | 119 | <bytes key="NSWhite">MQA</bytes> |
119 | 120 | </object> |
— | — | @@ -125,6 +126,86 @@ |
126 | 127 | <bytes key="NSWhite">MC41AA</bytes> |
127 | 128 | </object> |
128 | 129 | </object> |
| 130 | + <object class="IBUILabel" id="180329537"> |
| 131 | + <reference key="NSNextResponder" ref="191373211"/> |
| 132 | + <int key="NSvFlags">288</int> |
| 133 | + <string key="NSFrame">{{20, 150}, {280, 18}}</string> |
| 134 | + <reference key="NSSuperview" ref="191373211"/> |
| 135 | + <bool key="IBUIOpaque">NO</bool> |
| 136 | + <bool key="IBUIClipsSubviews">YES</bool> |
| 137 | + <int key="IBUIContentMode">7</int> |
| 138 | + <bool key="IBUIUserInteractionEnabled">NO</bool> |
| 139 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 140 | + <string key="IBUIText">License</string> |
| 141 | + <object class="NSFont" key="IBUIFont" id="173062393"> |
| 142 | + <string key="NSName">Helvetica</string> |
| 143 | + <double key="NSSize">14</double> |
| 144 | + <int key="NSfFlags">16</int> |
| 145 | + </object> |
| 146 | + <object class="NSColor" key="IBUITextColor" id="685033555"> |
| 147 | + <int key="NSColorSpace">1</int> |
| 148 | + <bytes key="NSRGB">MCAwIDAAA</bytes> |
| 149 | + </object> |
| 150 | + <reference key="IBUIHighlightedColor" ref="317385407"/> |
| 151 | + <int key="IBUIBaselineAdjustment">1</int> |
| 152 | + <float key="IBUIMinimumFontSize">10</float> |
| 153 | + </object> |
| 154 | + <object class="IBUITextField" id="261756187"> |
| 155 | + <reference key="NSNextResponder" ref="191373211"/> |
| 156 | + <int key="NSvFlags">288</int> |
| 157 | + <string key="NSFrame">{{20, 176}, {280, 31}}</string> |
| 158 | + <reference key="NSSuperview" ref="191373211"/> |
| 159 | + <bool key="IBUIOpaque">NO</bool> |
| 160 | + <bool key="IBUIClipsSubviews">YES</bool> |
| 161 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 162 | + <int key="IBUIContentVerticalAlignment">0</int> |
| 163 | + <string key="IBUIText"/> |
| 164 | + <int key="IBUIBorderStyle">3</int> |
| 165 | + <object class="NSColor" key="IBUITextColor"> |
| 166 | + <int key="NSColorSpace">3</int> |
| 167 | + <bytes key="NSWhite">MAA</bytes> |
| 168 | + <reference key="NSCustomColorSpace" ref="437644164"/> |
| 169 | + </object> |
| 170 | + <bool key="IBUIAdjustsFontSizeToFit">YES</bool> |
| 171 | + <float key="IBUIMinimumFontSize">17</float> |
| 172 | + <object class="IBUITextInputTraits" key="IBUITextInputTraits"> |
| 173 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 174 | + </object> |
| 175 | + </object> |
| 176 | + <object class="IBUILabel" id="257871712"> |
| 177 | + <reference key="NSNextResponder" ref="191373211"/> |
| 178 | + <int key="NSvFlags">288</int> |
| 179 | + <string key="NSFrame">{{20, 20}, {280, 18}}</string> |
| 180 | + <reference key="NSSuperview" ref="191373211"/> |
| 181 | + <bool key="IBUIOpaque">NO</bool> |
| 182 | + <bool key="IBUIClipsSubviews">YES</bool> |
| 183 | + <int key="IBUIContentMode">7</int> |
| 184 | + <bool key="IBUIUserInteractionEnabled">NO</bool> |
| 185 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 186 | + <string key="IBUIText">Username</string> |
| 187 | + <reference key="IBUIFont" ref="173062393"/> |
| 188 | + <reference key="IBUITextColor" ref="685033555"/> |
| 189 | + <reference key="IBUIHighlightedColor" ref="317385407"/> |
| 190 | + <int key="IBUIBaselineAdjustment">1</int> |
| 191 | + <float key="IBUIMinimumFontSize">10</float> |
| 192 | + </object> |
| 193 | + <object class="IBUILabel" id="476251156"> |
| 194 | + <reference key="NSNextResponder" ref="191373211"/> |
| 195 | + <int key="NSvFlags">288</int> |
| 196 | + <string key="NSFrame">{{20, 85}, {280, 18}}</string> |
| 197 | + <reference key="NSSuperview" ref="191373211"/> |
| 198 | + <bool key="IBUIOpaque">NO</bool> |
| 199 | + <bool key="IBUIClipsSubviews">YES</bool> |
| 200 | + <int key="IBUIContentMode">7</int> |
| 201 | + <bool key="IBUIUserInteractionEnabled">NO</bool> |
| 202 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 203 | + <string key="IBUIText">Password</string> |
| 204 | + <reference key="IBUIFont" ref="173062393"/> |
| 205 | + <reference key="IBUITextColor" ref="685033555"/> |
| 206 | + <reference key="IBUIHighlightedColor" ref="317385407"/> |
| 207 | + <int key="IBUIBaselineAdjustment">1</int> |
| 208 | + <float key="IBUIMinimumFontSize">10</float> |
| 209 | + </object> |
129 | 210 | </object> |
130 | 211 | <string key="NSFrameSize">{320, 416}</string> |
131 | 212 | <reference key="NSSuperview"/> |
— | — | @@ -166,6 +247,46 @@ |
167 | 248 | </object> |
168 | 249 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
169 | 250 | </object> |
| 251 | + <object class="IBUIView" id="75492359"> |
| 252 | + <reference key="NSNextResponder"/> |
| 253 | + <int key="NSvFlags">292</int> |
| 254 | + <object class="NSMutableArray" key="NSSubviews"> |
| 255 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 256 | + <object class="IBUINavigationBar" id="697282909"> |
| 257 | + <reference key="NSNextResponder" ref="75492359"/> |
| 258 | + <int key="NSvFlags">288</int> |
| 259 | + <string key="NSFrameSize">{320, 44}</string> |
| 260 | + <reference key="NSSuperview" ref="75492359"/> |
| 261 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 262 | + <object class="NSArray" key="IBUIItems"> |
| 263 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 264 | + <object class="IBUINavigationItem" id="840534712"> |
| 265 | + <reference key="IBUINavigationBar" ref="697282909"/> |
| 266 | + <string key="IBUITitle">Title</string> |
| 267 | + <object class="IBUIBarButtonItem" key="IBUIRightBarButtonItem" id="345818059"> |
| 268 | + <string key="IBUITitle">Item</string> |
| 269 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 270 | + <int key="IBUIStyle">1</int> |
| 271 | + <reference key="IBUINavigationItem" ref="840534712"/> |
| 272 | + </object> |
| 273 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 274 | + </object> |
| 275 | + </object> |
| 276 | + </object> |
| 277 | + <object class="IBUIPickerView" id="871605169"> |
| 278 | + <reference key="NSNextResponder" ref="75492359"/> |
| 279 | + <int key="NSvFlags">288</int> |
| 280 | + <string key="NSFrame">{{0, 44}, {320, 216}}</string> |
| 281 | + <reference key="NSSuperview" ref="75492359"/> |
| 282 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 283 | + <bool key="IBUIShowsSelectionIndicator">YES</bool> |
| 284 | + </object> |
| 285 | + </object> |
| 286 | + <string key="NSFrameSize">{320, 258}</string> |
| 287 | + <reference key="NSSuperview"/> |
| 288 | + <reference key="IBUIBackgroundColor" ref="685033555"/> |
| 289 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 290 | + </object> |
170 | 291 | </object> |
171 | 292 | <object class="IBObjectContainer" key="IBDocument.Objects"> |
172 | 293 | <object class="NSMutableArray" key="connectionRecords"> |
— | — | @@ -245,6 +366,94 @@ |
246 | 367 | </object> |
247 | 368 | <int key="connectionID">21</int> |
248 | 369 | </object> |
| 370 | + <object class="IBConnectionRecord"> |
| 371 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 372 | + <string key="label">usernameLabel</string> |
| 373 | + <reference key="source" ref="372490531"/> |
| 374 | + <reference key="destination" ref="257871712"/> |
| 375 | + </object> |
| 376 | + <int key="connectionID">26</int> |
| 377 | + </object> |
| 378 | + <object class="IBConnectionRecord"> |
| 379 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 380 | + <string key="label">licenseLabel</string> |
| 381 | + <reference key="source" ref="372490531"/> |
| 382 | + <reference key="destination" ref="180329537"/> |
| 383 | + </object> |
| 384 | + <int key="connectionID">27</int> |
| 385 | + </object> |
| 386 | + <object class="IBConnectionRecord"> |
| 387 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 388 | + <string key="label">license</string> |
| 389 | + <reference key="source" ref="372490531"/> |
| 390 | + <reference key="destination" ref="261756187"/> |
| 391 | + </object> |
| 392 | + <int key="connectionID">28</int> |
| 393 | + </object> |
| 394 | + <object class="IBConnectionRecord"> |
| 395 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 396 | + <string key="label">passwordLabel</string> |
| 397 | + <reference key="source" ref="372490531"/> |
| 398 | + <reference key="destination" ref="476251156"/> |
| 399 | + </object> |
| 400 | + <int key="connectionID">29</int> |
| 401 | + </object> |
| 402 | + <object class="IBConnectionRecord"> |
| 403 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 404 | + <string key="label">delegate</string> |
| 405 | + <reference key="source" ref="261756187"/> |
| 406 | + <reference key="destination" ref="372490531"/> |
| 407 | + </object> |
| 408 | + <int key="connectionID">30</int> |
| 409 | + </object> |
| 410 | + <object class="IBConnectionRecord"> |
| 411 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 412 | + <string key="label">delegate</string> |
| 413 | + <reference key="source" ref="871605169"/> |
| 414 | + <reference key="destination" ref="372490531"/> |
| 415 | + </object> |
| 416 | + <int key="connectionID">35</int> |
| 417 | + </object> |
| 418 | + <object class="IBConnectionRecord"> |
| 419 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 420 | + <string key="label">dataSource</string> |
| 421 | + <reference key="source" ref="871605169"/> |
| 422 | + <reference key="destination" ref="372490531"/> |
| 423 | + </object> |
| 424 | + <int key="connectionID">36</int> |
| 425 | + </object> |
| 426 | + <object class="IBConnectionRecord"> |
| 427 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 428 | + <string key="label">navItem</string> |
| 429 | + <reference key="source" ref="372490531"/> |
| 430 | + <reference key="destination" ref="840534712"/> |
| 431 | + </object> |
| 432 | + <int key="connectionID">38</int> |
| 433 | + </object> |
| 434 | + <object class="IBConnectionRecord"> |
| 435 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 436 | + <string key="label">pickerControl</string> |
| 437 | + <reference key="source" ref="372490531"/> |
| 438 | + <reference key="destination" ref="871605169"/> |
| 439 | + </object> |
| 440 | + <int key="connectionID">40</int> |
| 441 | + </object> |
| 442 | + <object class="IBConnectionRecord"> |
| 443 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 444 | + <string key="label">pickerView</string> |
| 445 | + <reference key="source" ref="372490531"/> |
| 446 | + <reference key="destination" ref="75492359"/> |
| 447 | + </object> |
| 448 | + <int key="connectionID">41</int> |
| 449 | + </object> |
| 450 | + <object class="IBConnectionRecord"> |
| 451 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 452 | + <string key="label">dismissButton</string> |
| 453 | + <reference key="source" ref="372490531"/> |
| 454 | + <reference key="destination" ref="345818059"/> |
| 455 | + </object> |
| 456 | + <int key="connectionID">42</int> |
| 457 | + </object> |
249 | 458 | </object> |
250 | 459 | <object class="IBMutableOrderedSet" key="objectRecords"> |
251 | 460 | <object class="NSArray" key="orderedObjects"> |
— | — | @@ -260,9 +469,13 @@ |
261 | 470 | <reference key="object" ref="191373211"/> |
262 | 471 | <object class="NSMutableArray" key="children"> |
263 | 472 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 473 | + <reference ref="449457945"/> |
| 474 | + <reference ref="257871712"/> |
264 | 475 | <reference ref="1021023533"/> |
| 476 | + <reference ref="476251156"/> |
265 | 477 | <reference ref="307778079"/> |
266 | | - <reference ref="449457945"/> |
| 478 | + <reference ref="180329537"/> |
| 479 | + <reference ref="261756187"/> |
267 | 480 | </object> |
268 | 481 | <reference key="parent" ref="0"/> |
269 | 482 | </object> |
— | — | @@ -292,6 +505,65 @@ |
293 | 506 | <reference key="object" ref="449457945"/> |
294 | 507 | <reference key="parent" ref="191373211"/> |
295 | 508 | </object> |
| 509 | + <object class="IBObjectRecord"> |
| 510 | + <int key="objectID">22</int> |
| 511 | + <reference key="object" ref="180329537"/> |
| 512 | + <reference key="parent" ref="191373211"/> |
| 513 | + </object> |
| 514 | + <object class="IBObjectRecord"> |
| 515 | + <int key="objectID">23</int> |
| 516 | + <reference key="object" ref="261756187"/> |
| 517 | + <reference key="parent" ref="191373211"/> |
| 518 | + </object> |
| 519 | + <object class="IBObjectRecord"> |
| 520 | + <int key="objectID">24</int> |
| 521 | + <reference key="object" ref="257871712"/> |
| 522 | + <reference key="parent" ref="191373211"/> |
| 523 | + </object> |
| 524 | + <object class="IBObjectRecord"> |
| 525 | + <int key="objectID">25</int> |
| 526 | + <reference key="object" ref="476251156"/> |
| 527 | + <reference key="parent" ref="191373211"/> |
| 528 | + </object> |
| 529 | + <object class="IBObjectRecord"> |
| 530 | + <int key="objectID">31</int> |
| 531 | + <reference key="object" ref="75492359"/> |
| 532 | + <object class="NSMutableArray" key="children"> |
| 533 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 534 | + <reference ref="697282909"/> |
| 535 | + <reference ref="871605169"/> |
| 536 | + </object> |
| 537 | + <reference key="parent" ref="0"/> |
| 538 | + <string key="objectName">pickerview</string> |
| 539 | + </object> |
| 540 | + <object class="IBObjectRecord"> |
| 541 | + <int key="objectID">32</int> |
| 542 | + <reference key="object" ref="697282909"/> |
| 543 | + <object class="NSMutableArray" key="children"> |
| 544 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 545 | + <reference ref="840534712"/> |
| 546 | + </object> |
| 547 | + <reference key="parent" ref="75492359"/> |
| 548 | + </object> |
| 549 | + <object class="IBObjectRecord"> |
| 550 | + <int key="objectID">33</int> |
| 551 | + <reference key="object" ref="840534712"/> |
| 552 | + <object class="NSMutableArray" key="children"> |
| 553 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 554 | + <reference ref="345818059"/> |
| 555 | + </object> |
| 556 | + <reference key="parent" ref="697282909"/> |
| 557 | + </object> |
| 558 | + <object class="IBObjectRecord"> |
| 559 | + <int key="objectID">34</int> |
| 560 | + <reference key="object" ref="871605169"/> |
| 561 | + <reference key="parent" ref="75492359"/> |
| 562 | + </object> |
| 563 | + <object class="IBObjectRecord"> |
| 564 | + <int key="objectID">37</int> |
| 565 | + <reference key="object" ref="345818059"/> |
| 566 | + <reference key="parent" ref="840534712"/> |
| 567 | + </object> |
296 | 568 | </object> |
297 | 569 | </object> |
298 | 570 | <object class="NSMutableDictionary" key="flattenedProperties"> |
— | — | @@ -302,9 +574,25 @@ |
303 | 575 | <string>-2.CustomClassName</string> |
304 | 576 | <string>1.IBEditorWindowLastContentRect</string> |
305 | 577 | <string>1.IBPluginDependency</string> |
| 578 | + <string>22.IBPluginDependency</string> |
| 579 | + <string>22.IBViewBoundsToFrameTransform</string> |
| 580 | + <string>23.IBPluginDependency</string> |
| 581 | + <string>23.IBViewBoundsToFrameTransform</string> |
| 582 | + <string>24.IBPluginDependency</string> |
| 583 | + <string>24.IBViewBoundsToFrameTransform</string> |
| 584 | + <string>25.IBPluginDependency</string> |
| 585 | + <string>25.IBViewBoundsToFrameTransform</string> |
| 586 | + <string>31.IBEditorWindowLastContentRect</string> |
| 587 | + <string>31.IBPluginDependency</string> |
| 588 | + <string>32.IBPluginDependency</string> |
| 589 | + <string>32.IBViewBoundsToFrameTransform</string> |
| 590 | + <string>33.IBPluginDependency</string> |
| 591 | + <string>34.IBPluginDependency</string> |
| 592 | + <string>37.IBPluginDependency</string> |
306 | 593 | <string>5.IBPluginDependency</string> |
307 | 594 | <string>5.IBViewBoundsToFrameTransform</string> |
308 | 595 | <string>6.IBPluginDependency</string> |
| 596 | + <string>6.IBViewBoundsToFrameTransform</string> |
309 | 597 | <string>7.IBPluginDependency</string> |
310 | 598 | <string>7.IBViewBoundsToFrameTransform</string> |
311 | 599 | </object> |
— | — | @@ -316,11 +604,39 @@ |
317 | 605 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
318 | 606 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
319 | 607 | <object class="NSAffineTransform"> |
320 | | - <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAwwMAAA</bytes> |
| 608 | + <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAwy0AAA</bytes> |
321 | 609 | </object> |
322 | 610 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 611 | + <object class="NSAffineTransform"> |
| 612 | + <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAw1QAAA</bytes> |
| 613 | + </object> |
323 | 614 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
324 | 615 | <object class="NSAffineTransform"> |
| 616 | + <bytes key="NSTransformStruct">AUGgAABDHQAAA</bytes> |
| 617 | + </object> |
| 618 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 619 | + <object class="NSAffineTransform"> |
| 620 | + <bytes key="NSTransformStruct">AUGgAABDHQAAA</bytes> |
| 621 | + </object> |
| 622 | + <string>{{190, 299}, {320, 258}}</string> |
| 623 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 624 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 625 | + <object class="NSAffineTransform"> |
| 626 | + <bytes key="NSTransformStruct">P4AAAL+AAAAAAAAAwigAAA</bytes> |
| 627 | + </object> |
| 628 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 629 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 630 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 631 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 632 | + <object class="NSAffineTransform"> |
| 633 | + <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAwtIAAA</bytes> |
| 634 | + </object> |
| 635 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 636 | + <object class="NSAffineTransform"> |
| 637 | + <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAwxAAAA</bytes> |
| 638 | + </object> |
| 639 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 640 | + <object class="NSAffineTransform"> |
325 | 641 | <bytes key="NSTransformStruct">P4AAAL+AAABClAAAw9sAAA</bytes> |
326 | 642 | </object> |
327 | 643 | </object> |
— | — | @@ -341,7 +657,7 @@ |
342 | 658 | </object> |
343 | 659 | </object> |
344 | 660 | <nil key="sourceID"/> |
345 | | - <int key="maxID">21</int> |
| 661 | + <int key="maxID">46</int> |
346 | 662 | </object> |
347 | 663 | <object class="IBClassDescriber" key="IBDocument.Classes"> |
348 | 664 | <object class="NSMutableArray" key="referencedPartialClassDescriptions"> |
— | — | @@ -353,6 +669,8 @@ |
354 | 670 | <bool key="EncodedWithXMLCoder">YES</bool> |
355 | 671 | <object class="NSArray" key="dict.sortedKeys"> |
356 | 672 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 673 | + <string>dismissLicensePicker:</string> |
| 674 | + <string>pickLicensePicker:</string> |
357 | 675 | <string>saveAction:</string> |
358 | 676 | <string>textFieldDidEnd:</string> |
359 | 677 | </object> |
— | — | @@ -360,18 +678,30 @@ |
361 | 679 | <bool key="EncodedWithXMLCoder">YES</bool> |
362 | 680 | <string>id</string> |
363 | 681 | <string>id</string> |
| 682 | + <string>id</string> |
| 683 | + <string>id</string> |
364 | 684 | </object> |
365 | 685 | </object> |
366 | 686 | <object class="NSMutableDictionary" key="actionInfosByName"> |
367 | 687 | <bool key="EncodedWithXMLCoder">YES</bool> |
368 | 688 | <object class="NSArray" key="dict.sortedKeys"> |
369 | 689 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 690 | + <string>dismissLicensePicker:</string> |
| 691 | + <string>pickLicensePicker:</string> |
370 | 692 | <string>saveAction:</string> |
371 | 693 | <string>textFieldDidEnd:</string> |
372 | 694 | </object> |
373 | 695 | <object class="NSMutableArray" key="dict.values"> |
374 | 696 | <bool key="EncodedWithXMLCoder">YES</bool> |
375 | 697 | <object class="IBActionInfo"> |
| 698 | + <string key="name">dismissLicensePicker:</string> |
| 699 | + <string key="candidateClassName">id</string> |
| 700 | + </object> |
| 701 | + <object class="IBActionInfo"> |
| 702 | + <string key="name">pickLicensePicker:</string> |
| 703 | + <string key="candidateClassName">id</string> |
| 704 | + </object> |
| 705 | + <object class="IBActionInfo"> |
376 | 706 | <string key="name">saveAction:</string> |
377 | 707 | <string key="candidateClassName">id</string> |
378 | 708 | </object> |
— | — | @@ -385,32 +715,84 @@ |
386 | 716 | <bool key="EncodedWithXMLCoder">YES</bool> |
387 | 717 | <object class="NSArray" key="dict.sortedKeys"> |
388 | 718 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 719 | + <string>dismissButton</string> |
| 720 | + <string>license</string> |
| 721 | + <string>licenseLabel</string> |
| 722 | + <string>navItem</string> |
389 | 723 | <string>password</string> |
| 724 | + <string>passwordLabel</string> |
| 725 | + <string>pickerControl</string> |
| 726 | + <string>pickerView</string> |
390 | 727 | <string>save</string> |
391 | 728 | <string>username</string> |
| 729 | + <string>usernameLabel</string> |
392 | 730 | </object> |
393 | 731 | <object class="NSMutableArray" key="dict.values"> |
394 | 732 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 733 | + <string>UIBarButtonItem</string> |
395 | 734 | <string>UITextField</string> |
| 735 | + <string>UILabel</string> |
| 736 | + <string>UINavigationItem</string> |
| 737 | + <string>UITextField</string> |
| 738 | + <string>UILabel</string> |
| 739 | + <string>UIPickerView</string> |
| 740 | + <string>UIView</string> |
396 | 741 | <string>UIButton</string> |
397 | 742 | <string>UITextField</string> |
| 743 | + <string>UILabel</string> |
398 | 744 | </object> |
399 | 745 | </object> |
400 | 746 | <object class="NSMutableDictionary" key="toOneOutletInfosByName"> |
401 | 747 | <bool key="EncodedWithXMLCoder">YES</bool> |
402 | 748 | <object class="NSArray" key="dict.sortedKeys"> |
403 | 749 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 750 | + <string>dismissButton</string> |
| 751 | + <string>license</string> |
| 752 | + <string>licenseLabel</string> |
| 753 | + <string>navItem</string> |
404 | 754 | <string>password</string> |
| 755 | + <string>passwordLabel</string> |
| 756 | + <string>pickerControl</string> |
| 757 | + <string>pickerView</string> |
405 | 758 | <string>save</string> |
406 | 759 | <string>username</string> |
| 760 | + <string>usernameLabel</string> |
407 | 761 | </object> |
408 | 762 | <object class="NSMutableArray" key="dict.values"> |
409 | 763 | <bool key="EncodedWithXMLCoder">YES</bool> |
410 | 764 | <object class="IBToOneOutletInfo"> |
| 765 | + <string key="name">dismissButton</string> |
| 766 | + <string key="candidateClassName">UIBarButtonItem</string> |
| 767 | + </object> |
| 768 | + <object class="IBToOneOutletInfo"> |
| 769 | + <string key="name">license</string> |
| 770 | + <string key="candidateClassName">UITextField</string> |
| 771 | + </object> |
| 772 | + <object class="IBToOneOutletInfo"> |
| 773 | + <string key="name">licenseLabel</string> |
| 774 | + <string key="candidateClassName">UILabel</string> |
| 775 | + </object> |
| 776 | + <object class="IBToOneOutletInfo"> |
| 777 | + <string key="name">navItem</string> |
| 778 | + <string key="candidateClassName">UINavigationItem</string> |
| 779 | + </object> |
| 780 | + <object class="IBToOneOutletInfo"> |
411 | 781 | <string key="name">password</string> |
412 | 782 | <string key="candidateClassName">UITextField</string> |
413 | 783 | </object> |
414 | 784 | <object class="IBToOneOutletInfo"> |
| 785 | + <string key="name">passwordLabel</string> |
| 786 | + <string key="candidateClassName">UILabel</string> |
| 787 | + </object> |
| 788 | + <object class="IBToOneOutletInfo"> |
| 789 | + <string key="name">pickerControl</string> |
| 790 | + <string key="candidateClassName">UIPickerView</string> |
| 791 | + </object> |
| 792 | + <object class="IBToOneOutletInfo"> |
| 793 | + <string key="name">pickerView</string> |
| 794 | + <string key="candidateClassName">UIView</string> |
| 795 | + </object> |
| 796 | + <object class="IBToOneOutletInfo"> |
415 | 797 | <string key="name">save</string> |
416 | 798 | <string key="candidateClassName">UIButton</string> |
417 | 799 | </object> |
— | — | @@ -418,11 +800,15 @@ |
419 | 801 | <string key="name">username</string> |
420 | 802 | <string key="candidateClassName">UITextField</string> |
421 | 803 | </object> |
| 804 | + <object class="IBToOneOutletInfo"> |
| 805 | + <string key="name">usernameLabel</string> |
| 806 | + <string key="candidateClassName">UILabel</string> |
| 807 | + </object> |
422 | 808 | </object> |
423 | 809 | </object> |
424 | 810 | <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
425 | 811 | <string key="majorKey">IBProjectSource</string> |
426 | | - <string key="minorKey">SettingsViewController.h</string> |
| 812 | + <string key="minorKey">Classes/SettingsViewController.h</string> |
427 | 813 | </object> |
428 | 814 | </object> |
429 | 815 | </object> |
— | — | @@ -520,6 +906,22 @@ |
521 | 907 | </object> |
522 | 908 | </object> |
523 | 909 | <object class="IBPartialClassDescription"> |
| 910 | + <string key="className">UIBarButtonItem</string> |
| 911 | + <string key="superclassName">UIBarItem</string> |
| 912 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 913 | + <string key="majorKey">IBFrameworkSource</string> |
| 914 | + <string key="minorKey">UIKit.framework/Headers/UIBarButtonItem.h</string> |
| 915 | + </object> |
| 916 | + </object> |
| 917 | + <object class="IBPartialClassDescription"> |
| 918 | + <string key="className">UIBarItem</string> |
| 919 | + <string key="superclassName">NSObject</string> |
| 920 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 921 | + <string key="majorKey">IBFrameworkSource</string> |
| 922 | + <string key="minorKey">UIKit.framework/Headers/UIBarItem.h</string> |
| 923 | + </object> |
| 924 | + </object> |
| 925 | + <object class="IBPartialClassDescription"> |
524 | 926 | <string key="className">UIButton</string> |
525 | 927 | <string key="superclassName">UIControl</string> |
526 | 928 | <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
— | — | @@ -536,6 +938,35 @@ |
537 | 939 | </object> |
538 | 940 | </object> |
539 | 941 | <object class="IBPartialClassDescription"> |
| 942 | + <string key="className">UILabel</string> |
| 943 | + <string key="superclassName">UIView</string> |
| 944 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 945 | + <string key="majorKey">IBFrameworkSource</string> |
| 946 | + <string key="minorKey">UIKit.framework/Headers/UILabel.h</string> |
| 947 | + </object> |
| 948 | + </object> |
| 949 | + <object class="IBPartialClassDescription"> |
| 950 | + <string key="className">UINavigationBar</string> |
| 951 | + <string key="superclassName">UIView</string> |
| 952 | + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="525548119"> |
| 953 | + <string key="majorKey">IBFrameworkSource</string> |
| 954 | + <string key="minorKey">UIKit.framework/Headers/UINavigationBar.h</string> |
| 955 | + </object> |
| 956 | + </object> |
| 957 | + <object class="IBPartialClassDescription"> |
| 958 | + <string key="className">UINavigationItem</string> |
| 959 | + <string key="superclassName">NSObject</string> |
| 960 | + <reference key="sourceIdentifier" ref="525548119"/> |
| 961 | + </object> |
| 962 | + <object class="IBPartialClassDescription"> |
| 963 | + <string key="className">UIPickerView</string> |
| 964 | + <string key="superclassName">UIView</string> |
| 965 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 966 | + <string key="majorKey">IBFrameworkSource</string> |
| 967 | + <string key="minorKey">UIKit.framework/Headers/UIPickerView.h</string> |
| 968 | + </object> |
| 969 | + </object> |
| 970 | + <object class="IBPartialClassDescription"> |
540 | 971 | <string key="className">UIResponder</string> |
541 | 972 | <string key="superclassName">NSObject</string> |
542 | 973 | <reference key="sourceIdentifier" ref="577610225"/> |
— | — | @@ -632,7 +1063,7 @@ |
633 | 1064 | <integer value="3000" key="NS.object.0"/> |
634 | 1065 | </object> |
635 | 1066 | <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> |
636 | | - <string key="IBDocument.LastKnownRelativeProjectPath">photopicker.xcodeproj</string> |
| 1067 | + <string key="IBDocument.LastKnownRelativeProjectPath">WikiSnaps.xcodeproj</string> |
637 | 1068 | <int key="IBDocument.defaultPropertyAccessControl">3</int> |
638 | 1069 | <string key="IBCocoaTouchPluginVersion">132</string> |
639 | 1070 | </data> |
Index: trunk/tools/WikiSnaps/Classes/SettingsViewController.h |
— | — | @@ -13,16 +13,38 @@ |
14 | 14 | @interface SettingsViewController : UIViewController <UINavigationControllerDelegate, |
15 | 15 | UITextFieldDelegate>{ |
16 | 16 | |
| 17 | + IBOutlet UILabel *usernameLabel; |
| 18 | + IBOutlet UILabel *passwordLabel; |
| 19 | + IBOutlet UILabel *licenseLabel; |
| 20 | + |
17 | 21 | IBOutlet UITextField *username; |
18 | 22 | IBOutlet UITextField *password; |
| 23 | + IBOutlet UITextField *license; |
19 | 24 | IBOutlet UIButton *save; |
| 25 | + |
| 26 | + IBOutlet UIView *pickerView; |
| 27 | + IBOutlet UIBarButtonItem *dismissButton; |
| 28 | + IBOutlet UINavigationItem *navItem; |
| 29 | + IBOutlet UIPickerView *pickerControl; |
| 30 | + |
20 | 31 | } |
21 | 32 | |
| 33 | +@property (retain, nonatomic) UILabel *usernameLabel; |
| 34 | +@property (retain, nonatomic) UILabel *passwordLabel; |
| 35 | +@property (retain, nonatomic) UILabel *licenseLabel; |
| 36 | + |
22 | 37 | @property (retain, nonatomic) UITextField *username; |
23 | 38 | @property (retain, nonatomic) UITextField *password; |
| 39 | +@property (retain, nonatomic) UITextField *license; |
24 | 40 | @property (retain, nonatomic) UIButton *save; |
25 | 41 | |
26 | 42 | -(IBAction)textFieldDidEnd:(id)sender; |
| 43 | +-(IBAction)pickLicensePicker:(id)sender; |
| 44 | +-(IBAction)dismissLicensePicker:(id)sender; |
27 | 45 | |
28 | 46 | -(IBAction)saveAction:(id)sender; |
| 47 | + |
| 48 | +- (void)popupView: (UIView*) popupView; |
| 49 | +- (void)popdownView: (UIView*) popupView; |
| 50 | + |
29 | 51 | @end |
Index: trunk/tools/WikiSnaps/Classes/SettingsViewController.m |
— | — | @@ -13,7 +13,9 @@ |
14 | 14 | |
15 | 15 | @implementation SettingsViewController |
16 | 16 | |
17 | | -@synthesize username,password,save; |
| 17 | +@synthesize usernameLabel, passwordLabel, licenseLabel; |
| 18 | +@synthesize username,password,license; |
| 19 | +@synthesize save; |
18 | 20 | |
19 | 21 | // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. |
20 | 22 | /* |
— | — | @@ -30,9 +32,14 @@ |
31 | 33 | // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. |
32 | 34 | - (void)viewDidLoad { |
33 | 35 | [super viewDidLoad]; |
34 | | - self.title = NSLocalizedString( @"Settings", @"Title of the settings view" ); |
| 36 | + self.title = NSLocalizedString( @"Settings", @"Title of the settings view" ); |
| 37 | + usernameLabel.text = NSLocalizedString( @"Username", @"Label of the username textfield" ); |
| 38 | + usernameLabel.text = NSLocalizedString( @"Password", @"Label of the password textfield" ); |
| 39 | + usernameLabel.text = NSLocalizedString( @"License", @"Label of the license textfield" ); |
| 40 | + |
35 | 41 | username.text = [[NSUserDefaults standardUserDefaults] valueForKey: COMMONS_USERNAME_KEY]; |
36 | 42 | password.text = [[NSUserDefaults standardUserDefaults] valueForKey: COMMONS_PASSWORD_KEY]; |
| 43 | + license.text = [[NSUserDefaults standardUserDefaults] valueForKey: COMMONS_LICENSE_KEY]; |
37 | 44 | |
38 | 45 | } |
39 | 46 | |
— | — | @@ -90,18 +97,124 @@ |
91 | 98 | [super dealloc]; |
92 | 99 | } |
93 | 100 | |
| 101 | +- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField { |
| 102 | + // Show UIPickerView |
| 103 | + if( textField == license ) { |
| 104 | + [self pickLicensePicker:textField]; |
| 105 | + return NO; |
| 106 | + } |
| 107 | + return YES; |
| 108 | +} |
94 | 109 | |
95 | | --(IBAction)textFieldDidEnd:(id)sender { |
| 110 | +- (IBAction)textFieldDidEnd:(id)sender { |
96 | 111 | if(sender == username ) { |
97 | 112 | [password becomeFirstResponder]; |
98 | 113 | return; |
| 114 | + } else if (sender == license) { |
| 115 | + [self dismissLicensePicker:sender]; |
99 | 116 | } |
100 | 117 | [sender resignFirstResponder]; |
101 | 118 | } |
102 | 119 | |
103 | | --(IBAction)saveAction:(id)sender { |
| 120 | +- (IBAction)saveAction:(id)sender { |
104 | 121 | /* Return to Primary view */ |
105 | 122 | [self.navigationController popViewControllerAnimated:YES]; |
106 | 123 | } |
107 | 124 | |
| 125 | +- (IBAction) pickLicensePicker:(id)sender{ |
| 126 | + navItem.title = NSLocalizedString( @"License", @"Title for the license picker" ); |
| 127 | + dismissButton.title = NSLocalizedString( @"Select", "Title for the select button in license picker" ); |
| 128 | + dismissButton.target = self; |
| 129 | + dismissButton.action = @selector( dismissLicensePicker: ); |
| 130 | + |
| 131 | + /* Select the row that is selected by default atm */ |
| 132 | + //[pickerControl selectRow: 0 inComponent: 0 animated: NO]; |
| 133 | + |
| 134 | + // Slide picker view in |
| 135 | + [self popupView: pickerView]; |
| 136 | + |
| 137 | +} |
| 138 | + |
| 139 | + |
| 140 | +- (IBAction) dismissLicensePicker: (id) sender |
| 141 | +{ |
| 142 | + // Get the data we need |
| 143 | + [self popdownView: pickerView]; |
| 144 | +} |
| 145 | + |
| 146 | + |
| 147 | +#pragma mark Helper functions to pop up a view |
| 148 | +- (void)popupView: (UIView *)popupView |
| 149 | +{ |
| 150 | + CGRect settingsFrame = self.view.frame; |
| 151 | + |
| 152 | + // Move view under the screen |
| 153 | + popupView.frame = CGRectMake(popupView.frame.origin.x, |
| 154 | + settingsFrame.size.height, |
| 155 | + popupView.frame.size.width, |
| 156 | + popupView.frame.size.height); |
| 157 | + // Add view as subview |
| 158 | + [self.view addSubview: popupView]; |
| 159 | + |
| 160 | + // Animate view slide (as keyboard shows) |
| 161 | + |
| 162 | + [UIView beginAnimations: @"addPopupView" context: popupView]; |
| 163 | + |
| 164 | + [UIView setAnimationDuration: 0.3]; |
| 165 | + [UIView setAnimationDelegate: self]; |
| 166 | + [UIView setAnimationDidStopSelector: @selector(animationDidStop: finished: context:)]; |
| 167 | + |
| 168 | + popupView.frame = CGRectMake(popupView.frame.origin.x, |
| 169 | + settingsFrame.size.height - popupView.frame.size.height, |
| 170 | + popupView.frame.size.width, |
| 171 | + popupView.frame.size.height); |
| 172 | + |
| 173 | + [UIView commitAnimations]; |
| 174 | +} |
| 175 | + |
| 176 | + |
| 177 | +- (void)popdownView: (UIView *)popupView |
| 178 | +{ |
| 179 | + [UIView beginAnimations: @"removePopupView" context: popupView]; |
| 180 | + |
| 181 | + [UIView setAnimationDuration: 0.3]; |
| 182 | + [UIView setAnimationDelegate: self]; |
| 183 | + [UIView setAnimationDidStopSelector: @selector(animationDidStop: finished: context:)]; |
| 184 | + |
| 185 | + popupView.frame = CGRectMake(popupView.frame.origin.x, |
| 186 | + popupView.frame.origin.y + popupView.frame.size.height, |
| 187 | + popupView.frame.size.width, |
| 188 | + popupView.frame.size.height); |
| 189 | + |
| 190 | + [UIView commitAnimations]; |
| 191 | +} |
| 192 | + |
| 193 | + |
| 194 | +#pragma mark UIPickerViewDelegate |
| 195 | + |
| 196 | +- (NSString*)pickerView: (UIPickerView *)pickerView |
| 197 | + titleForRow: (NSInteger)row |
| 198 | + forComponent: (NSInteger)component |
| 199 | +{ |
| 200 | + return [NSString stringWithFormat: @"TEST %d" ]; |
| 201 | + return @""; |
| 202 | +} |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | +#pragma mark UIPickerViewDataSource |
| 207 | + |
| 208 | +- (NSInteger)numberOfComponentsInPickerView: (UIPickerView *)pickerView |
| 209 | +{ |
| 210 | + return 1; |
| 211 | +} |
| 212 | + |
| 213 | + |
| 214 | +- (NSInteger)pickerView: (UIPickerView *)pickerView numberOfRowsInComponent: (NSInteger)component |
| 215 | +{ |
| 216 | + NSInteger numberOfRows = 1; |
| 217 | + |
| 218 | + return numberOfRows; |
| 219 | +} |
| 220 | + |
108 | 221 | @end |
Index: trunk/tools/WikiSnaps/Classes/Configuration.h |
— | — | @@ -11,6 +11,7 @@ |
12 | 12 | |
13 | 13 | // Keys for preferences |
14 | 14 | #define COMMONS_USERNAME_KEY @"CommonsUsernameKey" |
| 15 | +#define COMMONS_LICENSE_KEY @"CommonsLicenseKey" |
15 | 16 | // FIXME insecure |
16 | 17 | #define COMMONS_PASSWORD_KEY @"CommonsPasswordKey" |
17 | 18 | |
Index: trunk/tools/WikiSnaps/MainWindow.xib |
— | — | @@ -40,15 +40,6 @@ |
41 | 41 | <object class="IBUICustomObject" id="664661524"> |
42 | 42 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
43 | 43 | </object> |
44 | | - <object class="IBUIViewController" id="943309135"> |
45 | | - <string key="IBUINibName">PhotoPickerViewController</string> |
46 | | - <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> |
47 | | - <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics"> |
48 | | - <int key="interfaceOrientation">1</int> |
49 | | - </object> |
50 | | - <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
51 | | - <bool key="IBUIHorizontal">NO</bool> |
52 | | - </object> |
53 | 44 | <object class="IBUIWindow" id="117978783"> |
54 | 45 | <nil key="NSNextResponder"/> |
55 | 46 | <int key="NSvFlags">292</int> |
— | — | @@ -110,14 +101,6 @@ |
111 | 102 | </object> |
112 | 103 | <object class="IBConnectionRecord"> |
113 | 104 | <object class="IBCocoaTouchOutletConnection" key="connection"> |
114 | | - <string key="label">viewController</string> |
115 | | - <reference key="source" ref="664661524"/> |
116 | | - <reference key="destination" ref="943309135"/> |
117 | | - </object> |
118 | | - <int key="connectionID">11</int> |
119 | | - </object> |
120 | | - <object class="IBConnectionRecord"> |
121 | | - <object class="IBCocoaTouchOutletConnection" key="connection"> |
122 | 105 | <string key="label">window</string> |
123 | 106 | <reference key="source" ref="664661524"/> |
124 | 107 | <reference key="destination" ref="117978783"/> |
— | — | @@ -168,11 +151,6 @@ |
169 | 152 | <reference key="parent" ref="0"/> |
170 | 153 | </object> |
171 | 154 | <object class="IBObjectRecord"> |
172 | | - <int key="objectID">10</int> |
173 | | - <reference key="object" ref="943309135"/> |
174 | | - <reference key="parent" ref="0"/> |
175 | | - </object> |
176 | | - <object class="IBObjectRecord"> |
177 | 155 | <int key="objectID">12</int> |
178 | 156 | <reference key="object" ref="117978783"/> |
179 | 157 | <reference key="parent" ref="0"/> |
— | — | @@ -217,9 +195,6 @@ |
218 | 196 | <bool key="EncodedWithXMLCoder">YES</bool> |
219 | 197 | <string>-1.CustomClassName</string> |
220 | 198 | <string>-2.CustomClassName</string> |
221 | | - <string>10.CustomClassName</string> |
222 | | - <string>10.IBEditorWindowLastContentRect</string> |
223 | | - <string>10.IBPluginDependency</string> |
224 | 199 | <string>12.IBEditorWindowLastContentRect</string> |
225 | 200 | <string>12.IBPluginDependency</string> |
226 | 201 | <string>15.IBEditorWindowLastContentRect</string> |
— | — | @@ -235,9 +210,6 @@ |
236 | 211 | <bool key="EncodedWithXMLCoder">YES</bool> |
237 | 212 | <string>UIApplication</string> |
238 | 213 | <string>UIResponder</string> |
239 | | - <string>PhotoPickerViewController</string> |
240 | | - <string>{{512, 351}, {320, 480}}</string> |
241 | | - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
242 | 214 | <string>{{525, 346}, {320, 480}}</string> |
243 | 215 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
244 | 216 | <string>{{577, 526}, {320, 480}}</string> |
— | — | @@ -327,16 +299,16 @@ |
328 | 300 | </object> |
329 | 301 | </object> |
330 | 302 | <object class="IBPartialClassDescription"> |
331 | | - <string key="className">PhotoPickerViewController</string> |
332 | | - <string key="superclassName">UIViewController</string> |
| 303 | + <string key="className">SourcePickerViewController</string> |
| 304 | + <string key="superclassName">UITableViewController</string> |
333 | 305 | <object class="NSMutableDictionary" key="actions"> |
334 | 306 | <bool key="EncodedWithXMLCoder">YES</bool> |
335 | 307 | <object class="NSArray" key="dict.sortedKeys"> |
336 | 308 | <bool key="EncodedWithXMLCoder">YES</bool> |
337 | | - <string>onCameraClicked</string> |
338 | | - <string>onCancelUploadClicked</string> |
339 | | - <string>onPhotoLibraryClicked</string> |
340 | | - <string>onSettingsClicked</string> |
| 309 | + <string>infoPressed:</string> |
| 310 | + <string>onCameraClicked:</string> |
| 311 | + <string>onPhotoLibraryClicked:</string> |
| 312 | + <string>settingsPressed:</string> |
341 | 313 | </object> |
342 | 314 | <object class="NSMutableArray" key="dict.values"> |
343 | 315 | <bool key="EncodedWithXMLCoder">YES</bool> |
— | — | @@ -350,119 +322,26 @@ |
351 | 323 | <bool key="EncodedWithXMLCoder">YES</bool> |
352 | 324 | <object class="NSArray" key="dict.sortedKeys"> |
353 | 325 | <bool key="EncodedWithXMLCoder">YES</bool> |
354 | | - <string>onCameraClicked</string> |
355 | | - <string>onCancelUploadClicked</string> |
356 | | - <string>onPhotoLibraryClicked</string> |
357 | | - <string>onSettingsClicked</string> |
| 326 | + <string>infoPressed:</string> |
| 327 | + <string>onCameraClicked:</string> |
| 328 | + <string>onPhotoLibraryClicked:</string> |
| 329 | + <string>settingsPressed:</string> |
358 | 330 | </object> |
359 | 331 | <object class="NSMutableArray" key="dict.values"> |
360 | 332 | <bool key="EncodedWithXMLCoder">YES</bool> |
361 | 333 | <object class="IBActionInfo"> |
362 | | - <string key="name">onCameraClicked</string> |
| 334 | + <string key="name">infoPressed:</string> |
363 | 335 | <string key="candidateClassName">id</string> |
364 | 336 | </object> |
365 | 337 | <object class="IBActionInfo"> |
366 | | - <string key="name">onCancelUploadClicked</string> |
| 338 | + <string key="name">onCameraClicked:</string> |
367 | 339 | <string key="candidateClassName">id</string> |
368 | 340 | </object> |
369 | 341 | <object class="IBActionInfo"> |
370 | | - <string key="name">onPhotoLibraryClicked</string> |
| 342 | + <string key="name">onPhotoLibraryClicked:</string> |
371 | 343 | <string key="candidateClassName">id</string> |
372 | 344 | </object> |
373 | 345 | <object class="IBActionInfo"> |
374 | | - <string key="name">onSettingsClicked</string> |
375 | | - <string key="candidateClassName">id</string> |
376 | | - </object> |
377 | | - </object> |
378 | | - </object> |
379 | | - <object class="NSMutableDictionary" key="outlets"> |
380 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
381 | | - <object class="NSArray" key="dict.sortedKeys"> |
382 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
383 | | - <string>takePhotoButton</string> |
384 | | - <string>uploadOverlayImage</string> |
385 | | - <string>uploadPhotoOverlay</string> |
386 | | - <string>uploadProgress</string> |
387 | | - <string>uploadProgressMessage</string> |
388 | | - </object> |
389 | | - <object class="NSMutableArray" key="dict.values"> |
390 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
391 | | - <string>UIButton</string> |
392 | | - <string>UIImageView</string> |
393 | | - <string>UIView</string> |
394 | | - <string>UIProgressView</string> |
395 | | - <string>UILabel</string> |
396 | | - </object> |
397 | | - </object> |
398 | | - <object class="NSMutableDictionary" key="toOneOutletInfosByName"> |
399 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
400 | | - <object class="NSArray" key="dict.sortedKeys"> |
401 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
402 | | - <string>takePhotoButton</string> |
403 | | - <string>uploadOverlayImage</string> |
404 | | - <string>uploadPhotoOverlay</string> |
405 | | - <string>uploadProgress</string> |
406 | | - <string>uploadProgressMessage</string> |
407 | | - </object> |
408 | | - <object class="NSMutableArray" key="dict.values"> |
409 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
410 | | - <object class="IBToOneOutletInfo"> |
411 | | - <string key="name">takePhotoButton</string> |
412 | | - <string key="candidateClassName">UIButton</string> |
413 | | - </object> |
414 | | - <object class="IBToOneOutletInfo"> |
415 | | - <string key="name">uploadOverlayImage</string> |
416 | | - <string key="candidateClassName">UIImageView</string> |
417 | | - </object> |
418 | | - <object class="IBToOneOutletInfo"> |
419 | | - <string key="name">uploadPhotoOverlay</string> |
420 | | - <string key="candidateClassName">UIView</string> |
421 | | - </object> |
422 | | - <object class="IBToOneOutletInfo"> |
423 | | - <string key="name">uploadProgress</string> |
424 | | - <string key="candidateClassName">UIProgressView</string> |
425 | | - </object> |
426 | | - <object class="IBToOneOutletInfo"> |
427 | | - <string key="name">uploadProgressMessage</string> |
428 | | - <string key="candidateClassName">UILabel</string> |
429 | | - </object> |
430 | | - </object> |
431 | | - </object> |
432 | | - <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
433 | | - <string key="majorKey">IBProjectSource</string> |
434 | | - <string key="minorKey">Classes/PhotoPickerViewController.h</string> |
435 | | - </object> |
436 | | - </object> |
437 | | - <object class="IBPartialClassDescription"> |
438 | | - <string key="className">SourcePickerViewController</string> |
439 | | - <string key="superclassName">UITableViewController</string> |
440 | | - <object class="NSMutableDictionary" key="actions"> |
441 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
442 | | - <object class="NSArray" key="dict.sortedKeys"> |
443 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
444 | | - <string>infoPressed:</string> |
445 | | - <string>settingsPressed:</string> |
446 | | - </object> |
447 | | - <object class="NSMutableArray" key="dict.values"> |
448 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
449 | | - <string>id</string> |
450 | | - <string>id</string> |
451 | | - </object> |
452 | | - </object> |
453 | | - <object class="NSMutableDictionary" key="actionInfosByName"> |
454 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
455 | | - <object class="NSArray" key="dict.sortedKeys"> |
456 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
457 | | - <string>infoPressed:</string> |
458 | | - <string>settingsPressed:</string> |
459 | | - </object> |
460 | | - <object class="NSMutableArray" key="dict.values"> |
461 | | - <bool key="EncodedWithXMLCoder">YES</bool> |
462 | | - <object class="IBActionInfo"> |
463 | | - <string key="name">infoPressed:</string> |
464 | | - <string key="candidateClassName">id</string> |
465 | | - </object> |
466 | | - <object class="IBActionInfo"> |
467 | 346 | <string key="name">settingsPressed:</string> |
468 | 347 | <string key="candidateClassName">id</string> |
469 | 348 | </object> |
— | — | @@ -592,38 +471,6 @@ |
593 | 472 | </object> |
594 | 473 | </object> |
595 | 474 | <object class="IBPartialClassDescription"> |
596 | | - <string key="className">UIButton</string> |
597 | | - <string key="superclassName">UIControl</string> |
598 | | - <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
599 | | - <string key="majorKey">IBFrameworkSource</string> |
600 | | - <string key="minorKey">UIKit.framework/Headers/UIButton.h</string> |
601 | | - </object> |
602 | | - </object> |
603 | | - <object class="IBPartialClassDescription"> |
604 | | - <string key="className">UIControl</string> |
605 | | - <string key="superclassName">UIView</string> |
606 | | - <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
607 | | - <string key="majorKey">IBFrameworkSource</string> |
608 | | - <string key="minorKey">UIKit.framework/Headers/UIControl.h</string> |
609 | | - </object> |
610 | | - </object> |
611 | | - <object class="IBPartialClassDescription"> |
612 | | - <string key="className">UIImageView</string> |
613 | | - <string key="superclassName">UIView</string> |
614 | | - <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
615 | | - <string key="majorKey">IBFrameworkSource</string> |
616 | | - <string key="minorKey">UIKit.framework/Headers/UIImageView.h</string> |
617 | | - </object> |
618 | | - </object> |
619 | | - <object class="IBPartialClassDescription"> |
620 | | - <string key="className">UILabel</string> |
621 | | - <string key="superclassName">UIView</string> |
622 | | - <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
623 | | - <string key="majorKey">IBFrameworkSource</string> |
624 | | - <string key="minorKey">UIKit.framework/Headers/UILabel.h</string> |
625 | | - </object> |
626 | | - </object> |
627 | | - <object class="IBPartialClassDescription"> |
628 | 475 | <string key="className">UINavigationBar</string> |
629 | 476 | <string key="superclassName">UIView</string> |
630 | 477 | <object class="IBClassDescriptionSource" key="sourceIdentifier" id="531943622"> |
— | — | @@ -645,14 +492,6 @@ |
646 | 493 | <reference key="sourceIdentifier" ref="531943622"/> |
647 | 494 | </object> |
648 | 495 | <object class="IBPartialClassDescription"> |
649 | | - <string key="className">UIProgressView</string> |
650 | | - <string key="superclassName">UIView</string> |
651 | | - <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
652 | | - <string key="majorKey">IBFrameworkSource</string> |
653 | | - <string key="minorKey">UIKit.framework/Headers/UIProgressView.h</string> |
654 | | - </object> |
655 | | - </object> |
656 | | - <object class="IBPartialClassDescription"> |
657 | 496 | <string key="className">UIResponder</string> |
658 | 497 | <string key="superclassName">NSObject</string> |
659 | 498 | <reference key="sourceIdentifier" ref="883757416"/> |
Index: trunk/tools/WikiSnaps/ImageUploadViewController.xib |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | </object> |
64 | 64 | <object class="IBUIImageView" id="182060304"> |
65 | 65 | <reference key="NSNextResponder" ref="1015022196"/> |
66 | | - <int key="NSvFlags">292</int> |
| 66 | + <int key="NSvFlags">288</int> |
67 | 67 | <string key="NSFrame">{{20, 64}, {279, 310}}</string> |
68 | 68 | <reference key="NSSuperview" ref="1015022196"/> |
69 | 69 | <bool key="IBUIOpaque">NO</bool> |
— | — | @@ -73,7 +73,7 @@ |
74 | 74 | </object> |
75 | 75 | <object class="IBUIButton" id="860458292"> |
76 | 76 | <reference key="NSNextResponder" ref="1015022196"/> |
77 | | - <int key="NSvFlags">292</int> |
| 77 | + <int key="NSvFlags">288</int> |
78 | 78 | <string key="NSFrame">{{21, 394}, {278, 46}}</string> |
79 | 79 | <reference key="NSSuperview" ref="1015022196"/> |
80 | 80 | <bool key="IBUIOpaque">NO</bool> |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | </object> |
111 | 111 | <object class="IBUIProgressView" id="413664359"> |
112 | 112 | <reference key="NSNextResponder" ref="1015022196"/> |
113 | | - <int key="NSvFlags">292</int> |
| 113 | + <int key="NSvFlags">288</int> |
114 | 114 | <string key="NSFrame">{{78, 26}, {164, 11}}</string> |
115 | 115 | <reference key="NSSuperview" ref="1015022196"/> |
116 | 116 | <bool key="IBUIOpaque">NO</bool> |
— | — | @@ -121,7 +121,7 @@ |
122 | 122 | </object> |
123 | 123 | <object class="IBUILabel" id="329379503"> |
124 | 124 | <reference key="NSNextResponder" ref="1015022196"/> |
125 | | - <int key="NSvFlags">292</int> |
| 125 | + <int key="NSvFlags">288</int> |
126 | 126 | <string key="NSFrameSize">{320, 23}</string> |
127 | 127 | <reference key="NSSuperview" ref="1015022196"/> |
128 | 128 | <bool key="IBUIOpaque">NO</bool> |
— | — | @@ -648,7 +648,7 @@ |
649 | 649 | <integer value="3000" key="NS.object.0"/> |
650 | 650 | </object> |
651 | 651 | <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> |
652 | | - <string key="IBDocument.LastKnownRelativeProjectPath">../WikiSnaps.xcodeproj</string> |
| 652 | + <string key="IBDocument.LastKnownRelativeProjectPath">WikiSnaps.xcodeproj</string> |
653 | 653 | <int key="IBDocument.defaultPropertyAccessControl">3</int> |
654 | 654 | <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes"> |
655 | 655 | <bool key="EncodedWithXMLCoder">YES</bool> |
Index: trunk/tools/WikiSnaps/ImageDetailsViewController.xib |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | <bool key="EncodedWithXMLCoder">YES</bool> |
46 | 46 | <object class="IBUITextField" id="717110592"> |
47 | 47 | <reference key="NSNextResponder" ref="191373211"/> |
48 | | - <int key="NSvFlags">292</int> |
| 48 | + <int key="NSvFlags">288</int> |
49 | 49 | <string key="NSFrame">{{20, 20}, {280, 31}}</string> |
50 | 50 | <reference key="NSSuperview" ref="191373211"/> |
51 | 51 | <bool key="IBUIOpaque">NO</bool> |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | </object> |
71 | 71 | <object class="IBUITextView" id="786444300"> |
72 | 72 | <reference key="NSNextResponder" ref="191373211"/> |
73 | | - <int key="NSvFlags">292</int> |
| 73 | + <int key="NSvFlags">288</int> |
74 | 74 | <string key="NSFrame">{{20, 84}, {280, 142}}</string> |
75 | 75 | <reference key="NSSuperview" ref="191373211"/> |
76 | 76 | <object class="NSColor" key="IBUIBackgroundColor"> |
— | — | @@ -88,8 +88,8 @@ |
89 | 89 | </object> |
90 | 90 | <object class="IBUILabel" id="995657542"> |
91 | 91 | <reference key="NSNextResponder" ref="191373211"/> |
92 | | - <int key="NSvFlags">292</int> |
93 | | - <string key="NSFrame">{{20, 59}, {86, 21}}</string> |
| 92 | + <int key="NSvFlags">288</int> |
| 93 | + <string key="NSFrame">{{20, 59}, {280, 21}}</string> |
94 | 94 | <reference key="NSSuperview" ref="191373211"/> |
95 | 95 | <bool key="IBUIOpaque">NO</bool> |
96 | 96 | <bool key="IBUIClipsSubviews">YES</bool> |
— | — | @@ -193,6 +193,15 @@ |
194 | 194 | </object> |
195 | 195 | <int key="connectionID">13</int> |
196 | 196 | </object> |
| 197 | + <object class="IBConnectionRecord"> |
| 198 | + <object class="IBCocoaTouchEventConnection" key="connection"> |
| 199 | + <string key="label">textFieldDidEnd:</string> |
| 200 | + <reference key="source" ref="717110592"/> |
| 201 | + <reference key="destination" ref="372490531"/> |
| 202 | + <int key="IBEventType">20</int> |
| 203 | + </object> |
| 204 | + <int key="connectionID">17</int> |
| 205 | + </object> |
197 | 206 | </object> |
198 | 207 | <object class="IBMutableOrderedSet" key="objectRecords"> |
199 | 208 | <object class="NSArray" key="orderedObjects"> |
— | — | @@ -289,7 +298,7 @@ |
290 | 299 | </object> |
291 | 300 | </object> |
292 | 301 | <nil key="sourceID"/> |
293 | | - <int key="maxID">15</int> |
| 302 | + <int key="maxID">17</int> |
294 | 303 | </object> |
295 | 304 | <object class="IBClassDescriber" key="IBDocument.Classes"> |
296 | 305 | <object class="NSMutableArray" key="referencedPartialClassDescriptions"> |
— | — | @@ -589,7 +598,7 @@ |
590 | 599 | <integer value="3000" key="NS.object.0"/> |
591 | 600 | </object> |
592 | 601 | <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> |
593 | | - <string key="IBDocument.LastKnownRelativeProjectPath">../photopicker.xcodeproj</string> |
| 602 | + <string key="IBDocument.LastKnownRelativeProjectPath">WikiSnaps.xcodeproj</string> |
594 | 603 | <int key="IBDocument.defaultPropertyAccessControl">3</int> |
595 | 604 | <string key="IBCocoaTouchPluginVersion">132</string> |
596 | 605 | </data> |