Index: trunk/tools/Snap-to-Commons/SettingsViewController.xib |
— | — | @@ -0,0 +1,612 @@ |
| 2 | +<?xml version="1.0" encoding="UTF-8"?> |
| 3 | +<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> |
| 4 | + <data> |
| 5 | + <int key="IBDocument.SystemTarget">1056</int> |
| 6 | + <string key="IBDocument.SystemVersion">10H574</string> |
| 7 | + <string key="IBDocument.InterfaceBuilderVersion">823</string> |
| 8 | + <string key="IBDocument.AppKitVersion">1038.35</string> |
| 9 | + <string key="IBDocument.HIToolboxVersion">461.00</string> |
| 10 | + <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> |
| 11 | + <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 12 | + <string key="NS.object.0">132</string> |
| 13 | + </object> |
| 14 | + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> |
| 15 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 16 | + <integer value="1"/> |
| 17 | + </object> |
| 18 | + <object class="NSArray" key="IBDocument.PluginDependencies"> |
| 19 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 20 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 21 | + </object> |
| 22 | + <object class="NSMutableDictionary" key="IBDocument.Metadata"> |
| 23 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 24 | + <object class="NSArray" key="dict.sortedKeys" id="0"> |
| 25 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 26 | + </object> |
| 27 | + <object class="NSMutableArray" key="dict.values"> |
| 28 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 29 | + </object> |
| 30 | + </object> |
| 31 | + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> |
| 32 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 33 | + <object class="IBProxyObject" id="372490531"> |
| 34 | + <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> |
| 35 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 36 | + </object> |
| 37 | + <object class="IBProxyObject" id="975951072"> |
| 38 | + <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> |
| 39 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 40 | + </object> |
| 41 | + <object class="IBUIView" id="191373211"> |
| 42 | + <reference key="NSNextResponder"/> |
| 43 | + <int key="NSvFlags">274</int> |
| 44 | + <object class="NSMutableArray" key="NSSubviews"> |
| 45 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 46 | + <object class="IBUITextField" id="1021023533"> |
| 47 | + <reference key="NSNextResponder" ref="191373211"/> |
| 48 | + <int key="NSvFlags">292</int> |
| 49 | + <string key="NSFrame">{{20, 20}, {280, 31}}</string> |
| 50 | + <reference key="NSSuperview" ref="191373211"/> |
| 51 | + <bool key="IBUIOpaque">NO</bool> |
| 52 | + <bool key="IBUIClipsSubviews">YES</bool> |
| 53 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 54 | + <int key="IBUIContentVerticalAlignment">0</int> |
| 55 | + <string key="IBUIText"/> |
| 56 | + <int key="IBUIBorderStyle">3</int> |
| 57 | + <string key="IBUIPlaceholder">Username</string> |
| 58 | + <object class="NSColor" key="IBUITextColor"> |
| 59 | + <int key="NSColorSpace">3</int> |
| 60 | + <bytes key="NSWhite">MAA</bytes> |
| 61 | + <object class="NSColorSpace" key="NSCustomColorSpace" id="437644164"> |
| 62 | + <int key="NSID">2</int> |
| 63 | + </object> |
| 64 | + </object> |
| 65 | + <bool key="IBUIAdjustsFontSizeToFit">YES</bool> |
| 66 | + <float key="IBUIMinimumFontSize">17</float> |
| 67 | + <object class="IBUITextInputTraits" key="IBUITextInputTraits"> |
| 68 | + <int key="IBUIAutocapitalizationType">1</int> |
| 69 | + <int key="IBUIAutocorrectionType">1</int> |
| 70 | + <int key="IBUIReturnKeyType">4</int> |
| 71 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 72 | + </object> |
| 73 | + </object> |
| 74 | + <object class="IBUITextField" id="307778079"> |
| 75 | + <reference key="NSNextResponder" ref="191373211"/> |
| 76 | + <int key="NSvFlags">292</int> |
| 77 | + <string key="NSFrame">{{20, 59}, {280, 31}}</string> |
| 78 | + <reference key="NSSuperview" ref="191373211"/> |
| 79 | + <bool key="IBUIOpaque">NO</bool> |
| 80 | + <bool key="IBUIClipsSubviews">YES</bool> |
| 81 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 82 | + <int key="IBUIContentVerticalAlignment">0</int> |
| 83 | + <string key="IBUIText"/> |
| 84 | + <int key="IBUIBorderStyle">3</int> |
| 85 | + <string key="IBUIPlaceholder">Password</string> |
| 86 | + <object class="NSColor" key="IBUITextColor"> |
| 87 | + <int key="NSColorSpace">3</int> |
| 88 | + <bytes key="NSWhite">MAA</bytes> |
| 89 | + <reference key="NSCustomColorSpace" ref="437644164"/> |
| 90 | + </object> |
| 91 | + <bool key="IBUIAdjustsFontSizeToFit">YES</bool> |
| 92 | + <float key="IBUIMinimumFontSize">17</float> |
| 93 | + <object class="IBUITextInputTraits" key="IBUITextInputTraits"> |
| 94 | + <int key="IBUIAutocorrectionType">1</int> |
| 95 | + <int key="IBUIReturnKeyType">9</int> |
| 96 | + <bool key="IBUISecureTextEntry">YES</bool> |
| 97 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 98 | + </object> |
| 99 | + </object> |
| 100 | + <object class="IBUIButton" id="449457945"> |
| 101 | + <reference key="NSNextResponder" ref="191373211"/> |
| 102 | + <int key="NSvFlags">292</int> |
| 103 | + <string key="NSFrame">{{74, 359}, {171, 37}}</string> |
| 104 | + <reference key="NSSuperview" ref="191373211"/> |
| 105 | + <bool key="IBUIOpaque">NO</bool> |
| 106 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 107 | + <int key="IBUIContentHorizontalAlignment">0</int> |
| 108 | + <int key="IBUIContentVerticalAlignment">0</int> |
| 109 | + <object class="NSFont" key="IBUIFont"> |
| 110 | + <string key="NSName">Helvetica-Bold</string> |
| 111 | + <double key="NSSize">15</double> |
| 112 | + <int key="NSfFlags">16</int> |
| 113 | + </object> |
| 114 | + <int key="IBUIButtonType">1</int> |
| 115 | + <string key="IBUINormalTitle">Save</string> |
| 116 | + <object class="NSColor" key="IBUIHighlightedTitleColor"> |
| 117 | + <int key="NSColorSpace">3</int> |
| 118 | + <bytes key="NSWhite">MQA</bytes> |
| 119 | + </object> |
| 120 | + <object class="NSColor" key="IBUINormalTitleColor"> |
| 121 | + <int key="NSColorSpace">1</int> |
| 122 | + <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes> |
| 123 | + </object> |
| 124 | + <object class="NSColor" key="IBUINormalTitleShadowColor"> |
| 125 | + <int key="NSColorSpace">3</int> |
| 126 | + <bytes key="NSWhite">MC41AA</bytes> |
| 127 | + </object> |
| 128 | + </object> |
| 129 | + </object> |
| 130 | + <string key="NSFrameSize">{320, 416}</string> |
| 131 | + <reference key="NSSuperview"/> |
| 132 | + <object class="NSColor" key="IBUIBackgroundColor"> |
| 133 | + <int key="NSColorSpace">3</int> |
| 134 | + <bytes key="NSWhite">MQA</bytes> |
| 135 | + <reference key="NSCustomColorSpace" ref="437644164"/> |
| 136 | + </object> |
| 137 | + <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> |
| 138 | + <object class="IBUISimulatedNavigationBarMetrics" key="IBUISimulatedTopBarMetrics"> |
| 139 | + <bool key="IBUIPrompted">NO</bool> |
| 140 | + </object> |
| 141 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 142 | + </object> |
| 143 | + </object> |
| 144 | + <object class="IBObjectContainer" key="IBDocument.Objects"> |
| 145 | + <object class="NSMutableArray" key="connectionRecords"> |
| 146 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 147 | + <object class="IBConnectionRecord"> |
| 148 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 149 | + <string key="label">delegate</string> |
| 150 | + <reference key="source" ref="307778079"/> |
| 151 | + <reference key="destination" ref="372490531"/> |
| 152 | + </object> |
| 153 | + <int key="connectionID">9</int> |
| 154 | + </object> |
| 155 | + <object class="IBConnectionRecord"> |
| 156 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 157 | + <string key="label">username</string> |
| 158 | + <reference key="source" ref="372490531"/> |
| 159 | + <reference key="destination" ref="1021023533"/> |
| 160 | + </object> |
| 161 | + <int key="connectionID">11</int> |
| 162 | + </object> |
| 163 | + <object class="IBConnectionRecord"> |
| 164 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 165 | + <string key="label">password</string> |
| 166 | + <reference key="source" ref="372490531"/> |
| 167 | + <reference key="destination" ref="307778079"/> |
| 168 | + </object> |
| 169 | + <int key="connectionID">12</int> |
| 170 | + </object> |
| 171 | + <object class="IBConnectionRecord"> |
| 172 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 173 | + <string key="label">save</string> |
| 174 | + <reference key="source" ref="372490531"/> |
| 175 | + <reference key="destination" ref="449457945"/> |
| 176 | + </object> |
| 177 | + <int key="connectionID">14</int> |
| 178 | + </object> |
| 179 | + <object class="IBConnectionRecord"> |
| 180 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 181 | + <string key="label">view</string> |
| 182 | + <reference key="source" ref="372490531"/> |
| 183 | + <reference key="destination" ref="191373211"/> |
| 184 | + </object> |
| 185 | + <int key="connectionID">15</int> |
| 186 | + </object> |
| 187 | + <object class="IBConnectionRecord"> |
| 188 | + <object class="IBCocoaTouchEventConnection" key="connection"> |
| 189 | + <string key="label">saveAction:</string> |
| 190 | + <reference key="source" ref="449457945"/> |
| 191 | + <reference key="destination" ref="372490531"/> |
| 192 | + <int key="IBEventType">7</int> |
| 193 | + </object> |
| 194 | + <int key="connectionID">16</int> |
| 195 | + </object> |
| 196 | + <object class="IBConnectionRecord"> |
| 197 | + <object class="IBCocoaTouchEventConnection" key="connection"> |
| 198 | + <string key="label">textFieldDidEnd:</string> |
| 199 | + <reference key="source" ref="1021023533"/> |
| 200 | + <reference key="destination" ref="372490531"/> |
| 201 | + <int key="IBEventType">20</int> |
| 202 | + </object> |
| 203 | + <int key="connectionID">19</int> |
| 204 | + </object> |
| 205 | + <object class="IBConnectionRecord"> |
| 206 | + <object class="IBCocoaTouchEventConnection" key="connection"> |
| 207 | + <string key="label">textFieldDidEnd:</string> |
| 208 | + <reference key="source" ref="307778079"/> |
| 209 | + <reference key="destination" ref="372490531"/> |
| 210 | + <int key="IBEventType">20</int> |
| 211 | + </object> |
| 212 | + <int key="connectionID">20</int> |
| 213 | + </object> |
| 214 | + <object class="IBConnectionRecord"> |
| 215 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 216 | + <string key="label">delegate</string> |
| 217 | + <reference key="source" ref="1021023533"/> |
| 218 | + <reference key="destination" ref="372490531"/> |
| 219 | + </object> |
| 220 | + <int key="connectionID">21</int> |
| 221 | + </object> |
| 222 | + </object> |
| 223 | + <object class="IBMutableOrderedSet" key="objectRecords"> |
| 224 | + <object class="NSArray" key="orderedObjects"> |
| 225 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 226 | + <object class="IBObjectRecord"> |
| 227 | + <int key="objectID">0</int> |
| 228 | + <reference key="object" ref="0"/> |
| 229 | + <reference key="children" ref="1000"/> |
| 230 | + <nil key="parent"/> |
| 231 | + </object> |
| 232 | + <object class="IBObjectRecord"> |
| 233 | + <int key="objectID">1</int> |
| 234 | + <reference key="object" ref="191373211"/> |
| 235 | + <object class="NSMutableArray" key="children"> |
| 236 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 237 | + <reference ref="1021023533"/> |
| 238 | + <reference ref="307778079"/> |
| 239 | + <reference ref="449457945"/> |
| 240 | + </object> |
| 241 | + <reference key="parent" ref="0"/> |
| 242 | + </object> |
| 243 | + <object class="IBObjectRecord"> |
| 244 | + <int key="objectID">-1</int> |
| 245 | + <reference key="object" ref="372490531"/> |
| 246 | + <reference key="parent" ref="0"/> |
| 247 | + <string key="objectName">File's Owner</string> |
| 248 | + </object> |
| 249 | + <object class="IBObjectRecord"> |
| 250 | + <int key="objectID">-2</int> |
| 251 | + <reference key="object" ref="975951072"/> |
| 252 | + <reference key="parent" ref="0"/> |
| 253 | + </object> |
| 254 | + <object class="IBObjectRecord"> |
| 255 | + <int key="objectID">5</int> |
| 256 | + <reference key="object" ref="1021023533"/> |
| 257 | + <reference key="parent" ref="191373211"/> |
| 258 | + </object> |
| 259 | + <object class="IBObjectRecord"> |
| 260 | + <int key="objectID">6</int> |
| 261 | + <reference key="object" ref="307778079"/> |
| 262 | + <reference key="parent" ref="191373211"/> |
| 263 | + </object> |
| 264 | + <object class="IBObjectRecord"> |
| 265 | + <int key="objectID">7</int> |
| 266 | + <reference key="object" ref="449457945"/> |
| 267 | + <reference key="parent" ref="191373211"/> |
| 268 | + </object> |
| 269 | + </object> |
| 270 | + </object> |
| 271 | + <object class="NSMutableDictionary" key="flattenedProperties"> |
| 272 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 273 | + <object class="NSArray" key="dict.sortedKeys"> |
| 274 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 275 | + <string>-1.CustomClassName</string> |
| 276 | + <string>-2.CustomClassName</string> |
| 277 | + <string>1.IBEditorWindowLastContentRect</string> |
| 278 | + <string>1.IBPluginDependency</string> |
| 279 | + <string>5.IBPluginDependency</string> |
| 280 | + <string>5.IBViewBoundsToFrameTransform</string> |
| 281 | + <string>6.IBPluginDependency</string> |
| 282 | + <string>7.IBPluginDependency</string> |
| 283 | + <string>7.IBViewBoundsToFrameTransform</string> |
| 284 | + </object> |
| 285 | + <object class="NSMutableArray" key="dict.values"> |
| 286 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 287 | + <string>SettingsViewController</string> |
| 288 | + <string>UIResponder</string> |
| 289 | + <string>{{590, 204}, {320, 480}}</string> |
| 290 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 291 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 292 | + <object class="NSAffineTransform"> |
| 293 | + <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAwwMAAA</bytes> |
| 294 | + </object> |
| 295 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 296 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 297 | + <object class="NSAffineTransform"> |
| 298 | + <bytes key="NSTransformStruct">P4AAAL+AAABClAAAw9sAAA</bytes> |
| 299 | + </object> |
| 300 | + </object> |
| 301 | + </object> |
| 302 | + <object class="NSMutableDictionary" key="unlocalizedProperties"> |
| 303 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 304 | + <reference key="dict.sortedKeys" ref="0"/> |
| 305 | + <object class="NSMutableArray" key="dict.values"> |
| 306 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 307 | + </object> |
| 308 | + </object> |
| 309 | + <nil key="activeLocalization"/> |
| 310 | + <object class="NSMutableDictionary" key="localizations"> |
| 311 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 312 | + <reference key="dict.sortedKeys" ref="0"/> |
| 313 | + <object class="NSMutableArray" key="dict.values"> |
| 314 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 315 | + </object> |
| 316 | + </object> |
| 317 | + <nil key="sourceID"/> |
| 318 | + <int key="maxID">21</int> |
| 319 | + </object> |
| 320 | + <object class="IBClassDescriber" key="IBDocument.Classes"> |
| 321 | + <object class="NSMutableArray" key="referencedPartialClassDescriptions"> |
| 322 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 323 | + <object class="IBPartialClassDescription"> |
| 324 | + <string key="className">SettingsViewController</string> |
| 325 | + <string key="superclassName">UIViewController</string> |
| 326 | + <object class="NSMutableDictionary" key="actions"> |
| 327 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 328 | + <object class="NSArray" key="dict.sortedKeys"> |
| 329 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 330 | + <string>saveAction:</string> |
| 331 | + <string>textFieldDidEnd:</string> |
| 332 | + </object> |
| 333 | + <object class="NSMutableArray" key="dict.values"> |
| 334 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 335 | + <string>id</string> |
| 336 | + <string>id</string> |
| 337 | + </object> |
| 338 | + </object> |
| 339 | + <object class="NSMutableDictionary" key="actionInfosByName"> |
| 340 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 341 | + <object class="NSArray" key="dict.sortedKeys"> |
| 342 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 343 | + <string>saveAction:</string> |
| 344 | + <string>textFieldDidEnd:</string> |
| 345 | + </object> |
| 346 | + <object class="NSMutableArray" key="dict.values"> |
| 347 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 348 | + <object class="IBActionInfo"> |
| 349 | + <string key="name">saveAction:</string> |
| 350 | + <string key="candidateClassName">id</string> |
| 351 | + </object> |
| 352 | + <object class="IBActionInfo"> |
| 353 | + <string key="name">textFieldDidEnd:</string> |
| 354 | + <string key="candidateClassName">id</string> |
| 355 | + </object> |
| 356 | + </object> |
| 357 | + </object> |
| 358 | + <object class="NSMutableDictionary" key="outlets"> |
| 359 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 360 | + <object class="NSArray" key="dict.sortedKeys"> |
| 361 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 362 | + <string>password</string> |
| 363 | + <string>save</string> |
| 364 | + <string>username</string> |
| 365 | + </object> |
| 366 | + <object class="NSMutableArray" key="dict.values"> |
| 367 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 368 | + <string>UITextField</string> |
| 369 | + <string>UIButton</string> |
| 370 | + <string>UITextField</string> |
| 371 | + </object> |
| 372 | + </object> |
| 373 | + <object class="NSMutableDictionary" key="toOneOutletInfosByName"> |
| 374 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 375 | + <object class="NSArray" key="dict.sortedKeys"> |
| 376 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 377 | + <string>password</string> |
| 378 | + <string>save</string> |
| 379 | + <string>username</string> |
| 380 | + </object> |
| 381 | + <object class="NSMutableArray" key="dict.values"> |
| 382 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 383 | + <object class="IBToOneOutletInfo"> |
| 384 | + <string key="name">password</string> |
| 385 | + <string key="candidateClassName">UITextField</string> |
| 386 | + </object> |
| 387 | + <object class="IBToOneOutletInfo"> |
| 388 | + <string key="name">save</string> |
| 389 | + <string key="candidateClassName">UIButton</string> |
| 390 | + </object> |
| 391 | + <object class="IBToOneOutletInfo"> |
| 392 | + <string key="name">username</string> |
| 393 | + <string key="candidateClassName">UITextField</string> |
| 394 | + </object> |
| 395 | + </object> |
| 396 | + </object> |
| 397 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 398 | + <string key="majorKey">IBProjectSource</string> |
| 399 | + <string key="minorKey">SettingsViewController.h</string> |
| 400 | + </object> |
| 401 | + </object> |
| 402 | + </object> |
| 403 | + <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+"> |
| 404 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 405 | + <object class="IBPartialClassDescription"> |
| 406 | + <string key="className">NSObject</string> |
| 407 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 408 | + <string key="majorKey">IBFrameworkSource</string> |
| 409 | + <string key="minorKey">Foundation.framework/Headers/NSError.h</string> |
| 410 | + </object> |
| 411 | + </object> |
| 412 | + <object class="IBPartialClassDescription"> |
| 413 | + <string key="className">NSObject</string> |
| 414 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 415 | + <string key="majorKey">IBFrameworkSource</string> |
| 416 | + <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string> |
| 417 | + </object> |
| 418 | + </object> |
| 419 | + <object class="IBPartialClassDescription"> |
| 420 | + <string key="className">NSObject</string> |
| 421 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 422 | + <string key="majorKey">IBFrameworkSource</string> |
| 423 | + <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string> |
| 424 | + </object> |
| 425 | + </object> |
| 426 | + <object class="IBPartialClassDescription"> |
| 427 | + <string key="className">NSObject</string> |
| 428 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 429 | + <string key="majorKey">IBFrameworkSource</string> |
| 430 | + <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string> |
| 431 | + </object> |
| 432 | + </object> |
| 433 | + <object class="IBPartialClassDescription"> |
| 434 | + <string key="className">NSObject</string> |
| 435 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 436 | + <string key="majorKey">IBFrameworkSource</string> |
| 437 | + <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string> |
| 438 | + </object> |
| 439 | + </object> |
| 440 | + <object class="IBPartialClassDescription"> |
| 441 | + <string key="className">NSObject</string> |
| 442 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 443 | + <string key="majorKey">IBFrameworkSource</string> |
| 444 | + <string key="minorKey">Foundation.framework/Headers/NSObject.h</string> |
| 445 | + </object> |
| 446 | + </object> |
| 447 | + <object class="IBPartialClassDescription"> |
| 448 | + <string key="className">NSObject</string> |
| 449 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 450 | + <string key="majorKey">IBFrameworkSource</string> |
| 451 | + <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string> |
| 452 | + </object> |
| 453 | + </object> |
| 454 | + <object class="IBPartialClassDescription"> |
| 455 | + <string key="className">NSObject</string> |
| 456 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 457 | + <string key="majorKey">IBFrameworkSource</string> |
| 458 | + <string key="minorKey">Foundation.framework/Headers/NSThread.h</string> |
| 459 | + </object> |
| 460 | + </object> |
| 461 | + <object class="IBPartialClassDescription"> |
| 462 | + <string key="className">NSObject</string> |
| 463 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 464 | + <string key="majorKey">IBFrameworkSource</string> |
| 465 | + <string key="minorKey">Foundation.framework/Headers/NSURL.h</string> |
| 466 | + </object> |
| 467 | + </object> |
| 468 | + <object class="IBPartialClassDescription"> |
| 469 | + <string key="className">NSObject</string> |
| 470 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 471 | + <string key="majorKey">IBFrameworkSource</string> |
| 472 | + <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string> |
| 473 | + </object> |
| 474 | + </object> |
| 475 | + <object class="IBPartialClassDescription"> |
| 476 | + <string key="className">NSObject</string> |
| 477 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 478 | + <string key="majorKey">IBFrameworkSource</string> |
| 479 | + <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string> |
| 480 | + </object> |
| 481 | + </object> |
| 482 | + <object class="IBPartialClassDescription"> |
| 483 | + <string key="className">NSObject</string> |
| 484 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 485 | + <string key="majorKey">IBFrameworkSource</string> |
| 486 | + <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string> |
| 487 | + </object> |
| 488 | + </object> |
| 489 | + <object class="IBPartialClassDescription"> |
| 490 | + <string key="className">NSObject</string> |
| 491 | + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="577610225"> |
| 492 | + <string key="majorKey">IBFrameworkSource</string> |
| 493 | + <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string> |
| 494 | + </object> |
| 495 | + </object> |
| 496 | + <object class="IBPartialClassDescription"> |
| 497 | + <string key="className">UIButton</string> |
| 498 | + <string key="superclassName">UIControl</string> |
| 499 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 500 | + <string key="majorKey">IBFrameworkSource</string> |
| 501 | + <string key="minorKey">UIKit.framework/Headers/UIButton.h</string> |
| 502 | + </object> |
| 503 | + </object> |
| 504 | + <object class="IBPartialClassDescription"> |
| 505 | + <string key="className">UIControl</string> |
| 506 | + <string key="superclassName">UIView</string> |
| 507 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 508 | + <string key="majorKey">IBFrameworkSource</string> |
| 509 | + <string key="minorKey">UIKit.framework/Headers/UIControl.h</string> |
| 510 | + </object> |
| 511 | + </object> |
| 512 | + <object class="IBPartialClassDescription"> |
| 513 | + <string key="className">UIResponder</string> |
| 514 | + <string key="superclassName">NSObject</string> |
| 515 | + <reference key="sourceIdentifier" ref="577610225"/> |
| 516 | + </object> |
| 517 | + <object class="IBPartialClassDescription"> |
| 518 | + <string key="className">UISearchBar</string> |
| 519 | + <string key="superclassName">UIView</string> |
| 520 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 521 | + <string key="majorKey">IBFrameworkSource</string> |
| 522 | + <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string> |
| 523 | + </object> |
| 524 | + </object> |
| 525 | + <object class="IBPartialClassDescription"> |
| 526 | + <string key="className">UISearchDisplayController</string> |
| 527 | + <string key="superclassName">NSObject</string> |
| 528 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 529 | + <string key="majorKey">IBFrameworkSource</string> |
| 530 | + <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string> |
| 531 | + </object> |
| 532 | + </object> |
| 533 | + <object class="IBPartialClassDescription"> |
| 534 | + <string key="className">UITextField</string> |
| 535 | + <string key="superclassName">UIControl</string> |
| 536 | + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="879815814"> |
| 537 | + <string key="majorKey">IBFrameworkSource</string> |
| 538 | + <string key="minorKey">UIKit.framework/Headers/UITextField.h</string> |
| 539 | + </object> |
| 540 | + </object> |
| 541 | + <object class="IBPartialClassDescription"> |
| 542 | + <string key="className">UIView</string> |
| 543 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 544 | + <string key="majorKey">IBFrameworkSource</string> |
| 545 | + <string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string> |
| 546 | + </object> |
| 547 | + </object> |
| 548 | + <object class="IBPartialClassDescription"> |
| 549 | + <string key="className">UIView</string> |
| 550 | + <reference key="sourceIdentifier" ref="879815814"/> |
| 551 | + </object> |
| 552 | + <object class="IBPartialClassDescription"> |
| 553 | + <string key="className">UIView</string> |
| 554 | + <string key="superclassName">UIResponder</string> |
| 555 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 556 | + <string key="majorKey">IBFrameworkSource</string> |
| 557 | + <string key="minorKey">UIKit.framework/Headers/UIView.h</string> |
| 558 | + </object> |
| 559 | + </object> |
| 560 | + <object class="IBPartialClassDescription"> |
| 561 | + <string key="className">UIViewController</string> |
| 562 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 563 | + <string key="majorKey">IBFrameworkSource</string> |
| 564 | + <string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string> |
| 565 | + </object> |
| 566 | + </object> |
| 567 | + <object class="IBPartialClassDescription"> |
| 568 | + <string key="className">UIViewController</string> |
| 569 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 570 | + <string key="majorKey">IBFrameworkSource</string> |
| 571 | + <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string> |
| 572 | + </object> |
| 573 | + </object> |
| 574 | + <object class="IBPartialClassDescription"> |
| 575 | + <string key="className">UIViewController</string> |
| 576 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 577 | + <string key="majorKey">IBFrameworkSource</string> |
| 578 | + <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string> |
| 579 | + </object> |
| 580 | + </object> |
| 581 | + <object class="IBPartialClassDescription"> |
| 582 | + <string key="className">UIViewController</string> |
| 583 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 584 | + <string key="majorKey">IBFrameworkSource</string> |
| 585 | + <string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string> |
| 586 | + </object> |
| 587 | + </object> |
| 588 | + <object class="IBPartialClassDescription"> |
| 589 | + <string key="className">UIViewController</string> |
| 590 | + <string key="superclassName">UIResponder</string> |
| 591 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 592 | + <string key="majorKey">IBFrameworkSource</string> |
| 593 | + <string key="minorKey">UIKit.framework/Headers/UIViewController.h</string> |
| 594 | + </object> |
| 595 | + </object> |
| 596 | + </object> |
| 597 | + </object> |
| 598 | + <int key="IBDocument.localizationMode">0</int> |
| 599 | + <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 600 | + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults"> |
| 601 | + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string> |
| 602 | + <integer value="1056" key="NS.object.0"/> |
| 603 | + </object> |
| 604 | + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> |
| 605 | + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string> |
| 606 | + <integer value="3000" key="NS.object.0"/> |
| 607 | + </object> |
| 608 | + <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> |
| 609 | + <string key="IBDocument.LastKnownRelativeProjectPath">photopicker.xcodeproj</string> |
| 610 | + <int key="IBDocument.defaultPropertyAccessControl">3</int> |
| 611 | + <string key="IBCocoaTouchPluginVersion">132</string> |
| 612 | + </data> |
| 613 | +</archive> |
Index: trunk/tools/Snap-to-Commons/photopicker.xcodeproj/project.pbxproj |
— | — | @@ -16,6 +16,8 @@ |
17 | 17 | 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; }; |
18 | 18 | 28D7ACF80DDB3853001CB0EB /* PhotoPickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* PhotoPickerViewController.m */; }; |
19 | 19 | 3A113EC910CF3C5500C9DDCF /* Entitlements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3A113EC810CF3C5500C9DDCF /* Entitlements.plist */; }; |
| 20 | + A127DA4012E0DF9700149FC9 /* SettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A127DA3E12E0DF9700149FC9 /* SettingsViewController.m */; }; |
| 21 | + A127DA4112E0DF9700149FC9 /* SettingsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A127DA3F12E0DF9700149FC9 /* SettingsViewController.xib */; }; |
20 | 22 | F130561C10CEDA5C00271CD6 /* home-background.png in Resources */ = {isa = PBXBuildFile; fileRef = F130561B10CEDA5C00271CD6 /* home-background.png */; }; |
21 | 23 | F130561F10CEDBAC00271CD6 /* Configuration.m in Sources */ = {isa = PBXBuildFile; fileRef = F130561E10CEDBAC00271CD6 /* Configuration.m */; }; |
22 | 24 | F13056EF10CEEB3100271CD6 /* cancel-button-pressed.png in Resources */ = {isa = PBXBuildFile; fileRef = F13056ED10CEEB3100271CD6 /* cancel-button-pressed.png */; }; |
— | — | @@ -40,6 +42,9 @@ |
41 | 43 | 32CA4F630368D1EE00C91783 /* photopicker_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = photopicker_Prefix.pch; sourceTree = "<group>"; }; |
42 | 44 | 3A113EC810CF3C5500C9DDCF /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Entitlements.plist; sourceTree = "<group>"; }; |
43 | 45 | 8D1107310486CEB800E47090 /* photopicker-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "photopicker-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; }; |
| 46 | + A127DA3D12E0DF9700149FC9 /* SettingsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SettingsViewController.h; path = ../SettingsViewController.h; sourceTree = "<group>"; }; |
| 47 | + A127DA3E12E0DF9700149FC9 /* SettingsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SettingsViewController.m; path = ../SettingsViewController.m; sourceTree = "<group>"; }; |
| 48 | + A127DA3F12E0DF9700149FC9 /* SettingsViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = SettingsViewController.xib; sourceTree = "<group>"; }; |
44 | 49 | F130561B10CEDA5C00271CD6 /* home-background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "home-background.png"; sourceTree = "<group>"; }; |
45 | 50 | F130561D10CEDBAC00271CD6 /* Configuration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Configuration.h; sourceTree = "<group>"; }; |
46 | 51 | F130561E10CEDBAC00271CD6 /* Configuration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Configuration.m; sourceTree = "<group>"; }; |
— | — | @@ -80,6 +85,8 @@ |
81 | 86 | 28D7ACF70DDB3853001CB0EB /* PhotoPickerViewController.m */, |
82 | 87 | F1A269AF10C9EA8A0044762E /* UIImage+PhotoPicker.h */, |
83 | 88 | F1A269B010C9EA8A0044762E /* UIImage+PhotoPicker.m */, |
| 89 | + A127DA3D12E0DF9700149FC9 /* SettingsViewController.h */, |
| 90 | + A127DA3E12E0DF9700149FC9 /* SettingsViewController.m */, |
84 | 91 | ); |
85 | 92 | path = Classes; |
86 | 93 | sourceTree = "<group>"; |
— | — | @@ -123,6 +130,7 @@ |
124 | 131 | F13056EE10CEEB3100271CD6 /* cancel-button.png */, |
125 | 132 | F130561B10CEDA5C00271CD6 /* home-background.png */, |
126 | 133 | 28AD733E0D9D9553002E5188 /* MainWindow.xib */, |
| 134 | + A127DA3F12E0DF9700149FC9 /* SettingsViewController.xib */, |
127 | 135 | 8D1107310486CEB800E47090 /* photopicker-Info.plist */, |
128 | 136 | 2899E5210DE3E06400AC0155 /* PhotoPickerViewController.xib */, |
129 | 137 | ); |
— | — | @@ -198,6 +206,7 @@ |
199 | 207 | F13056EF10CEEB3100271CD6 /* cancel-button-pressed.png in Resources */, |
200 | 208 | F13056F010CEEB3100271CD6 /* cancel-button.png in Resources */, |
201 | 209 | 3A113EC910CF3C5500C9DDCF /* Entitlements.plist in Resources */, |
| 210 | + A127DA4112E0DF9700149FC9 /* SettingsViewController.xib in Resources */, |
202 | 211 | ); |
203 | 212 | runOnlyForDeploymentPostprocessing = 0; |
204 | 213 | }; |
— | — | @@ -214,6 +223,7 @@ |
215 | 224 | F1A2691210C9D8EE0044762E /* NSData+PhotoPicker.m in Sources */, |
216 | 225 | F1A269B110C9EA8A0044762E /* UIImage+PhotoPicker.m in Sources */, |
217 | 226 | F130561F10CEDBAC00271CD6 /* Configuration.m in Sources */, |
| 227 | + A127DA4012E0DF9700149FC9 /* SettingsViewController.m in Sources */, |
218 | 228 | ); |
219 | 229 | runOnlyForDeploymentPostprocessing = 0; |
220 | 230 | }; |
Index: trunk/tools/Snap-to-Commons/SettingsViewController.h |
— | — | @@ -0,0 +1,31 @@ |
| 2 | +// |
| 3 | +// SettingsViewController.h |
| 4 | +// photopicker |
| 5 | +// |
| 6 | +// Created by Derk-Jan Hartman on 14-01-11. |
| 7 | +// Copyright 2011 Wikimedia Commons. All rights reserved. |
| 8 | +// |
| 9 | + |
| 10 | +#import <UIKit/UIKit.h> |
| 11 | + |
| 12 | +#define COMMONS_USERNAME_KEY @"CommonsUsernameKey" |
| 13 | +// FIXME insecure |
| 14 | +#define COMMONS_PASSWORD_KEY @"CommonsPasswordKey" |
| 15 | + |
| 16 | + |
| 17 | +@interface SettingsViewController : UIViewController <UINavigationControllerDelegate, |
| 18 | + UITextFieldDelegate>{ |
| 19 | + |
| 20 | + IBOutlet UITextField *username; |
| 21 | + IBOutlet UITextField *password; |
| 22 | + IBOutlet UIButton *save; |
| 23 | +} |
| 24 | + |
| 25 | +@property (retain, nonatomic) UITextField *username; |
| 26 | +@property (retain, nonatomic) UITextField *password; |
| 27 | +@property (retain, nonatomic) UIButton *save; |
| 28 | + |
| 29 | +-(IBAction)textFieldDidEnd:(id)sender; |
| 30 | + |
| 31 | +-(IBAction)saveAction:(id)sender; |
| 32 | +@end |
Index: trunk/tools/Snap-to-Commons/SettingsViewController.m |
— | — | @@ -0,0 +1,86 @@ |
| 2 | +// |
| 3 | +// SettingsViewController.m |
| 4 | +// photopicker |
| 5 | +// |
| 6 | +// Created by Derk-Jan Hartman on 14-01-11. |
| 7 | +// Copyright 2011 Wikimedia Commons. All rights reserved. |
| 8 | +// |
| 9 | + |
| 10 | +#import "SettingsViewController.h" |
| 11 | +#import "PhotoPickerViewController.h" |
| 12 | + |
| 13 | +@implementation SettingsViewController |
| 14 | + |
| 15 | +@synthesize username,password,save; |
| 16 | + |
| 17 | +// The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. |
| 18 | +/* |
| 19 | +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { |
| 20 | + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; |
| 21 | + if (self) { |
| 22 | + // Custom initialization. |
| 23 | + } |
| 24 | + return self; |
| 25 | +} |
| 26 | +*/ |
| 27 | + |
| 28 | + |
| 29 | +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. |
| 30 | +- (void)viewDidLoad { |
| 31 | + [super viewDidLoad]; |
| 32 | + username.text = [[NSUserDefaults standardUserDefaults] valueForKey: COMMONS_USERNAME_KEY]; |
| 33 | + password.text = [[NSUserDefaults standardUserDefaults] valueForKey: COMMONS_PASSWORD_KEY]; |
| 34 | + |
| 35 | +} |
| 36 | + |
| 37 | +/* |
| 38 | +// Override to allow orientations other than the default portrait orientation. |
| 39 | +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { |
| 40 | + // Return YES for supported orientations. |
| 41 | + return (interfaceOrientation == UIInterfaceOrientationPortrait); |
| 42 | +} |
| 43 | +*/ |
| 44 | + |
| 45 | +- (void)didReceiveMemoryWarning { |
| 46 | + // Releases the view if it doesn't have a superview. |
| 47 | + [super didReceiveMemoryWarning]; |
| 48 | + |
| 49 | + // Release any cached data, images, etc. that aren't in use. |
| 50 | +} |
| 51 | + |
| 52 | +- (void)viewDidUnload { |
| 53 | + [super viewDidUnload]; |
| 54 | + // Release any retained subviews of the main view. |
| 55 | + // e.g. self.myOutlet = nil; |
| 56 | +} |
| 57 | + |
| 58 | + |
| 59 | +- (void)dealloc { |
| 60 | + [super dealloc]; |
| 61 | +} |
| 62 | + |
| 63 | + |
| 64 | +-(IBAction)textFieldDidEnd:(id)sender { |
| 65 | + if(sender == username ) { |
| 66 | + [password becomeFirstResponder]; |
| 67 | + return; |
| 68 | + } |
| 69 | + [sender resignFirstResponder]; |
| 70 | +} |
| 71 | + |
| 72 | +-(IBAction)saveAction:(id)sender { |
| 73 | + |
| 74 | + [[NSUserDefaults standardUserDefaults] setObject:username.text forKey:COMMONS_USERNAME_KEY]; |
| 75 | + // FIXME insecure |
| 76 | + [[NSUserDefaults standardUserDefaults] setObject:password.text forKey:COMMONS_PASSWORD_KEY]; |
| 77 | + |
| 78 | + PhotoPickerViewController *photopickerController = [[PhotoPickerViewController alloc] init]; |
| 79 | + //photopickerController.title = @"hoi"; |
| 80 | + //photopickerController.view.backgroundColor = [UIColor redColor]; |
| 81 | + |
| 82 | + //to push the UIView. |
| 83 | + [self.navigationController pushViewController:photopickerController animated:YES]; |
| 84 | + [photopickerController release]; |
| 85 | +} |
| 86 | + |
| 87 | +@end |
Index: trunk/tools/Snap-to-Commons/Classes/PhotoPickerAppDelegate.h |
— | — | @@ -19,6 +19,7 @@ |
20 | 20 | NSString *postContext; |
21 | 21 | UIWindow *window; |
22 | 22 | PhotoPickerViewController *viewController; |
| 23 | + UINavigationController *navController; |
23 | 24 | } |
24 | 25 | |
25 | 26 | @property (nonatomic, assign) int defaultImageSource; |
— | — | @@ -30,6 +31,7 @@ |
31 | 32 | @property (nonatomic, assign) BOOL launchedAsUrlHandler; |
32 | 33 | @property (nonatomic, retain) NSString *postContext; |
33 | 34 | @property (nonatomic, retain) IBOutlet PhotoPickerViewController *viewController; |
| 35 | +@property (nonatomic, retain) IBOutlet UINavigationController *navController; |
34 | 36 | @property (nonatomic, retain) IBOutlet UIWindow *window; |
35 | 37 | |
36 | 38 | @end |
Index: trunk/tools/Snap-to-Commons/Classes/PhotoPickerAppDelegate.m |
— | — | @@ -22,6 +22,7 @@ |
23 | 23 | @synthesize launchedAsUrlHandler; |
24 | 24 | @synthesize postContext; |
25 | 25 | @synthesize viewController; |
| 26 | +@synthesize navController; |
26 | 27 | @synthesize window; |
27 | 28 | |
28 | 29 | |
— | — | @@ -32,14 +33,14 @@ |
33 | 34 | self.defaultImageSource = -1; |
34 | 35 | self.postContext = @""; |
35 | 36 | |
36 | | - if (launchOptions) { |
| 37 | + /*if (launchOptions) { |
37 | 38 | NSURL *url = [launchOptions valueForKey:@"UIApplicationLaunchOptionsURLKey"]; |
38 | 39 | [self setupForUrl:url]; |
39 | | - } |
| 40 | + }*/ |
40 | 41 | |
41 | 42 | [self checkIfJustInstalled]; |
42 | 43 | |
43 | | - [window addSubview:viewController.view]; |
| 44 | + [window addSubview:navController.view]; |
44 | 45 | [window makeKeyAndVisible]; |
45 | 46 | |
46 | 47 | return YES; |
Index: trunk/tools/Snap-to-Commons/MainWindow.xib |
— | — | @@ -1,18 +1,18 @@ |
2 | 2 | <?xml version="1.0" encoding="UTF-8"?> |
3 | 3 | <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> |
4 | 4 | <data> |
5 | | - <int key="IBDocument.SystemTarget">784</int> |
6 | | - <string key="IBDocument.SystemVersion">10A394</string> |
7 | | - <string key="IBDocument.InterfaceBuilderVersion">732</string> |
8 | | - <string key="IBDocument.AppKitVersion">1027.1</string> |
9 | | - <string key="IBDocument.HIToolboxVersion">430.00</string> |
| 5 | + <int key="IBDocument.SystemTarget">1056</int> |
| 6 | + <string key="IBDocument.SystemVersion">10H574</string> |
| 7 | + <string key="IBDocument.InterfaceBuilderVersion">823</string> |
| 8 | + <string key="IBDocument.AppKitVersion">1038.35</string> |
| 9 | + <string key="IBDocument.HIToolboxVersion">461.00</string> |
10 | 10 | <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> |
11 | 11 | <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
12 | | - <string key="NS.object.0">60</string> |
| 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="10"/> |
| 16 | + <integer value="15"/> |
17 | 17 | </object> |
18 | 18 | <object class="NSArray" key="IBDocument.PluginDependencies"> |
19 | 19 | <bool key="EncodedWithXMLCoder">YES</bool> |
— | — | @@ -31,14 +31,23 @@ |
32 | 32 | <bool key="EncodedWithXMLCoder">YES</bool> |
33 | 33 | <object class="IBProxyObject" id="841351856"> |
34 | 34 | <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> |
| 35 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
35 | 36 | </object> |
36 | 37 | <object class="IBProxyObject" id="427554174"> |
37 | 38 | <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> |
| 39 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
38 | 40 | </object> |
39 | | - <object class="IBUICustomObject" id="664661524"/> |
| 41 | + <object class="IBUICustomObject" id="664661524"> |
| 42 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 43 | + </object> |
40 | 44 | <object class="IBUIViewController" id="943309135"> |
41 | 45 | <string key="IBUINibName">PhotoPickerViewController</string> |
42 | 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> |
43 | 52 | </object> |
44 | 53 | <object class="IBUIWindow" id="117978783"> |
45 | 54 | <nil key="NSNextResponder"/> |
— | — | @@ -51,7 +60,47 @@ |
52 | 61 | <bool key="IBUIOpaque">NO</bool> |
53 | 62 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> |
54 | 63 | <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> |
| 64 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
55 | 65 | </object> |
| 66 | + <object class="IBUINavigationController" id="331448774"> |
| 67 | + <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> |
| 68 | + <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics"> |
| 69 | + <int key="interfaceOrientation">1</int> |
| 70 | + </object> |
| 71 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 72 | + <bool key="IBUIHorizontal">NO</bool> |
| 73 | + <object class="IBUINavigationBar" key="IBUINavigationBar" id="11814781"> |
| 74 | + <nil key="NSNextResponder"/> |
| 75 | + <int key="NSvFlags">256</int> |
| 76 | + <string key="NSFrameSize">{0, 0}</string> |
| 77 | + <bool key="IBUIOpaque">NO</bool> |
| 78 | + <bool key="IBUIClipsSubviews">YES</bool> |
| 79 | + <bool key="IBUIMultipleTouchEnabled">YES</bool> |
| 80 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 81 | + </object> |
| 82 | + <object class="NSArray" key="IBUIViewControllers"> |
| 83 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 84 | + <object class="IBUIViewController" id="383586554"> |
| 85 | + <object class="IBUINavigationItem" key="IBUINavigationItem" id="269835144"> |
| 86 | + <reference key="IBUINavigationBar"/> |
| 87 | + <string key="IBUITitle">Settings</string> |
| 88 | + <object class="IBUIBarButtonItem" key="IBUIBackBarButtonItem" id="932536103"> |
| 89 | + <string key="IBUITitle">Settings</string> |
| 90 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 91 | + <int key="IBUIStyle">1</int> |
| 92 | + </object> |
| 93 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 94 | + </object> |
| 95 | + <reference key="IBUIParentViewController" ref="331448774"/> |
| 96 | + <string key="IBUINibName">SettingsViewController</string> |
| 97 | + <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics"> |
| 98 | + <int key="interfaceOrientation">1</int> |
| 99 | + </object> |
| 100 | + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 101 | + <bool key="IBUIHorizontal">NO</bool> |
| 102 | + </object> |
| 103 | + </object> |
| 104 | + </object> |
56 | 105 | </object> |
57 | 106 | <object class="IBObjectContainer" key="IBDocument.Objects"> |
58 | 107 | <object class="NSMutableArray" key="connectionRecords"> |
— | — | @@ -80,6 +129,22 @@ |
81 | 130 | </object> |
82 | 131 | <int key="connectionID">14</int> |
83 | 132 | </object> |
| 133 | + <object class="IBConnectionRecord"> |
| 134 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 135 | + <string key="label">navController</string> |
| 136 | + <reference key="source" ref="664661524"/> |
| 137 | + <reference key="destination" ref="331448774"/> |
| 138 | + </object> |
| 139 | + <int key="connectionID">19</int> |
| 140 | + </object> |
| 141 | + <object class="IBConnectionRecord"> |
| 142 | + <object class="IBCocoaTouchOutletConnection" key="connection"> |
| 143 | + <string key="label">delegate</string> |
| 144 | + <reference key="source" ref="331448774"/> |
| 145 | + <reference key="destination" ref="664661524"/> |
| 146 | + </object> |
| 147 | + <int key="connectionID">22</int> |
| 148 | + </object> |
84 | 149 | </object> |
85 | 150 | <object class="IBMutableOrderedSet" key="objectRecords"> |
86 | 151 | <object class="NSArray" key="orderedObjects"> |
— | — | @@ -117,6 +182,44 @@ |
118 | 183 | <reference key="object" ref="117978783"/> |
119 | 184 | <reference key="parent" ref="0"/> |
120 | 185 | </object> |
| 186 | + <object class="IBObjectRecord"> |
| 187 | + <int key="objectID">15</int> |
| 188 | + <reference key="object" ref="331448774"/> |
| 189 | + <object class="NSMutableArray" key="children"> |
| 190 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 191 | + <reference ref="383586554"/> |
| 192 | + <reference ref="11814781"/> |
| 193 | + </object> |
| 194 | + <reference key="parent" ref="0"/> |
| 195 | + </object> |
| 196 | + <object class="IBObjectRecord"> |
| 197 | + <int key="objectID">16</int> |
| 198 | + <reference key="object" ref="383586554"/> |
| 199 | + <object class="NSMutableArray" key="children"> |
| 200 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 201 | + <reference ref="269835144"/> |
| 202 | + </object> |
| 203 | + <reference key="parent" ref="331448774"/> |
| 204 | + </object> |
| 205 | + <object class="IBObjectRecord"> |
| 206 | + <int key="objectID">17</int> |
| 207 | + <reference key="object" ref="11814781"/> |
| 208 | + <reference key="parent" ref="331448774"/> |
| 209 | + </object> |
| 210 | + <object class="IBObjectRecord"> |
| 211 | + <int key="objectID">18</int> |
| 212 | + <reference key="object" ref="269835144"/> |
| 213 | + <object class="NSMutableArray" key="children"> |
| 214 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 215 | + <reference ref="932536103"/> |
| 216 | + </object> |
| 217 | + <reference key="parent" ref="383586554"/> |
| 218 | + </object> |
| 219 | + <object class="IBObjectRecord"> |
| 220 | + <int key="objectID">23</int> |
| 221 | + <reference key="object" ref="932536103"/> |
| 222 | + <reference key="parent" ref="269835144"/> |
| 223 | + </object> |
121 | 224 | </object> |
122 | 225 | </object> |
123 | 226 | <object class="NSMutableDictionary" key="flattenedProperties"> |
— | — | @@ -130,6 +233,12 @@ |
131 | 234 | <string>10.IBPluginDependency</string> |
132 | 235 | <string>12.IBEditorWindowLastContentRect</string> |
133 | 236 | <string>12.IBPluginDependency</string> |
| 237 | + <string>15.IBEditorWindowLastContentRect</string> |
| 238 | + <string>15.IBPluginDependency</string> |
| 239 | + <string>16.CustomClassName</string> |
| 240 | + <string>16.IBPluginDependency</string> |
| 241 | + <string>17.IBPluginDependency</string> |
| 242 | + <string>18.IBPluginDependency</string> |
134 | 243 | <string>3.CustomClassName</string> |
135 | 244 | <string>3.IBPluginDependency</string> |
136 | 245 | </object> |
— | — | @@ -142,6 +251,12 @@ |
143 | 252 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
144 | 253 | <string>{{525, 346}, {320, 480}}</string> |
145 | 254 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 255 | + <string>{{1068, 526}, {320, 480}}</string> |
| 256 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 257 | + <string>SettingsViewController</string> |
| 258 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 259 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 260 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
146 | 261 | <string>PhotoPickerAppDelegate</string> |
147 | 262 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
148 | 263 | </object> |
— | — | @@ -162,7 +277,7 @@ |
163 | 278 | </object> |
164 | 279 | </object> |
165 | 280 | <nil key="sourceID"/> |
166 | | - <int key="maxID">14</int> |
| 281 | + <int key="maxID">23</int> |
167 | 282 | </object> |
168 | 283 | <object class="IBClassDescriber" key="IBDocument.Classes"> |
169 | 284 | <object class="NSMutableArray" key="referencedPartialClassDescriptions"> |
— | — | @@ -174,15 +289,41 @@ |
175 | 290 | <bool key="EncodedWithXMLCoder">YES</bool> |
176 | 291 | <object class="NSArray" key="dict.sortedKeys"> |
177 | 292 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 293 | + <string>navController</string> |
178 | 294 | <string>viewController</string> |
179 | 295 | <string>window</string> |
180 | 296 | </object> |
181 | 297 | <object class="NSMutableArray" key="dict.values"> |
182 | 298 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 299 | + <string>UINavigationController</string> |
183 | 300 | <string>PhotoPickerViewController</string> |
184 | 301 | <string>UIWindow</string> |
185 | 302 | </object> |
186 | 303 | </object> |
| 304 | + <object class="NSMutableDictionary" key="toOneOutletInfosByName"> |
| 305 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 306 | + <object class="NSArray" key="dict.sortedKeys"> |
| 307 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 308 | + <string>navController</string> |
| 309 | + <string>viewController</string> |
| 310 | + <string>window</string> |
| 311 | + </object> |
| 312 | + <object class="NSMutableArray" key="dict.values"> |
| 313 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 314 | + <object class="IBToOneOutletInfo"> |
| 315 | + <string key="name">navController</string> |
| 316 | + <string key="candidateClassName">UINavigationController</string> |
| 317 | + </object> |
| 318 | + <object class="IBToOneOutletInfo"> |
| 319 | + <string key="name">viewController</string> |
| 320 | + <string key="candidateClassName">PhotoPickerViewController</string> |
| 321 | + </object> |
| 322 | + <object class="IBToOneOutletInfo"> |
| 323 | + <string key="name">window</string> |
| 324 | + <string key="candidateClassName">UIWindow</string> |
| 325 | + </object> |
| 326 | + </object> |
| 327 | + </object> |
187 | 328 | <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
188 | 329 | <string key="majorKey">IBProjectSource</string> |
189 | 330 | <string key="minorKey">Classes/PhotoPickerAppDelegate.h</string> |
— | — | @@ -199,21 +340,465 @@ |
200 | 341 | <object class="IBPartialClassDescription"> |
201 | 342 | <string key="className">PhotoPickerViewController</string> |
202 | 343 | <string key="superclassName">UIViewController</string> |
| 344 | + <object class="NSMutableDictionary" key="actions"> |
| 345 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 346 | + <object class="NSArray" key="dict.sortedKeys"> |
| 347 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 348 | + <string>onCameraClicked</string> |
| 349 | + <string>onCancelUploadClicked</string> |
| 350 | + <string>onPhotoLibraryClicked</string> |
| 351 | + </object> |
| 352 | + <object class="NSMutableArray" key="dict.values"> |
| 353 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 354 | + <string>id</string> |
| 355 | + <string>id</string> |
| 356 | + <string>id</string> |
| 357 | + </object> |
| 358 | + </object> |
| 359 | + <object class="NSMutableDictionary" key="actionInfosByName"> |
| 360 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 361 | + <object class="NSArray" key="dict.sortedKeys"> |
| 362 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 363 | + <string>onCameraClicked</string> |
| 364 | + <string>onCancelUploadClicked</string> |
| 365 | + <string>onPhotoLibraryClicked</string> |
| 366 | + </object> |
| 367 | + <object class="NSMutableArray" key="dict.values"> |
| 368 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 369 | + <object class="IBActionInfo"> |
| 370 | + <string key="name">onCameraClicked</string> |
| 371 | + <string key="candidateClassName">id</string> |
| 372 | + </object> |
| 373 | + <object class="IBActionInfo"> |
| 374 | + <string key="name">onCancelUploadClicked</string> |
| 375 | + <string key="candidateClassName">id</string> |
| 376 | + </object> |
| 377 | + <object class="IBActionInfo"> |
| 378 | + <string key="name">onPhotoLibraryClicked</string> |
| 379 | + <string key="candidateClassName">id</string> |
| 380 | + </object> |
| 381 | + </object> |
| 382 | + </object> |
| 383 | + <object class="NSMutableDictionary" key="outlets"> |
| 384 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 385 | + <object class="NSArray" key="dict.sortedKeys"> |
| 386 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 387 | + <string>takePhotoButton</string> |
| 388 | + <string>uploadOverlayImage</string> |
| 389 | + <string>uploadPhotoOverlay</string> |
| 390 | + <string>uploadProgress</string> |
| 391 | + <string>uploadProgressMessage</string> |
| 392 | + </object> |
| 393 | + <object class="NSMutableArray" key="dict.values"> |
| 394 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 395 | + <string>UIButton</string> |
| 396 | + <string>UIImageView</string> |
| 397 | + <string>UIView</string> |
| 398 | + <string>UIProgressView</string> |
| 399 | + <string>UILabel</string> |
| 400 | + </object> |
| 401 | + </object> |
| 402 | + <object class="NSMutableDictionary" key="toOneOutletInfosByName"> |
| 403 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 404 | + <object class="NSArray" key="dict.sortedKeys"> |
| 405 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 406 | + <string>takePhotoButton</string> |
| 407 | + <string>uploadOverlayImage</string> |
| 408 | + <string>uploadPhotoOverlay</string> |
| 409 | + <string>uploadProgress</string> |
| 410 | + <string>uploadProgressMessage</string> |
| 411 | + </object> |
| 412 | + <object class="NSMutableArray" key="dict.values"> |
| 413 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 414 | + <object class="IBToOneOutletInfo"> |
| 415 | + <string key="name">takePhotoButton</string> |
| 416 | + <string key="candidateClassName">UIButton</string> |
| 417 | + </object> |
| 418 | + <object class="IBToOneOutletInfo"> |
| 419 | + <string key="name">uploadOverlayImage</string> |
| 420 | + <string key="candidateClassName">UIImageView</string> |
| 421 | + </object> |
| 422 | + <object class="IBToOneOutletInfo"> |
| 423 | + <string key="name">uploadPhotoOverlay</string> |
| 424 | + <string key="candidateClassName">UIView</string> |
| 425 | + </object> |
| 426 | + <object class="IBToOneOutletInfo"> |
| 427 | + <string key="name">uploadProgress</string> |
| 428 | + <string key="candidateClassName">UIProgressView</string> |
| 429 | + </object> |
| 430 | + <object class="IBToOneOutletInfo"> |
| 431 | + <string key="name">uploadProgressMessage</string> |
| 432 | + <string key="candidateClassName">UILabel</string> |
| 433 | + </object> |
| 434 | + </object> |
| 435 | + </object> |
203 | 436 | <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
204 | 437 | <string key="majorKey">IBProjectSource</string> |
205 | 438 | <string key="minorKey">Classes/PhotoPickerViewController.h</string> |
206 | 439 | </object> |
207 | 440 | </object> |
| 441 | + <object class="IBPartialClassDescription"> |
| 442 | + <string key="className">SettingsViewController</string> |
| 443 | + <string key="superclassName">UIViewController</string> |
| 444 | + <object class="NSMutableDictionary" key="actions"> |
| 445 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 446 | + <object class="NSArray" key="dict.sortedKeys"> |
| 447 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 448 | + <string>saveAction:</string> |
| 449 | + <string>textFieldDidEnd:</string> |
| 450 | + </object> |
| 451 | + <object class="NSMutableArray" key="dict.values"> |
| 452 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 453 | + <string>id</string> |
| 454 | + <string>id</string> |
| 455 | + </object> |
| 456 | + </object> |
| 457 | + <object class="NSMutableDictionary" key="actionInfosByName"> |
| 458 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 459 | + <object class="NSArray" key="dict.sortedKeys"> |
| 460 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 461 | + <string>saveAction:</string> |
| 462 | + <string>textFieldDidEnd:</string> |
| 463 | + </object> |
| 464 | + <object class="NSMutableArray" key="dict.values"> |
| 465 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 466 | + <object class="IBActionInfo"> |
| 467 | + <string key="name">saveAction:</string> |
| 468 | + <string key="candidateClassName">id</string> |
| 469 | + </object> |
| 470 | + <object class="IBActionInfo"> |
| 471 | + <string key="name">textFieldDidEnd:</string> |
| 472 | + <string key="candidateClassName">id</string> |
| 473 | + </object> |
| 474 | + </object> |
| 475 | + </object> |
| 476 | + <object class="NSMutableDictionary" key="outlets"> |
| 477 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 478 | + <object class="NSArray" key="dict.sortedKeys"> |
| 479 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 480 | + <string>password</string> |
| 481 | + <string>save</string> |
| 482 | + <string>username</string> |
| 483 | + </object> |
| 484 | + <object class="NSMutableArray" key="dict.values"> |
| 485 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 486 | + <string>UITextField</string> |
| 487 | + <string>UIButton</string> |
| 488 | + <string>UITextField</string> |
| 489 | + </object> |
| 490 | + </object> |
| 491 | + <object class="NSMutableDictionary" key="toOneOutletInfosByName"> |
| 492 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 493 | + <object class="NSArray" key="dict.sortedKeys"> |
| 494 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 495 | + <string>password</string> |
| 496 | + <string>save</string> |
| 497 | + <string>username</string> |
| 498 | + </object> |
| 499 | + <object class="NSMutableArray" key="dict.values"> |
| 500 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 501 | + <object class="IBToOneOutletInfo"> |
| 502 | + <string key="name">password</string> |
| 503 | + <string key="candidateClassName">UITextField</string> |
| 504 | + </object> |
| 505 | + <object class="IBToOneOutletInfo"> |
| 506 | + <string key="name">save</string> |
| 507 | + <string key="candidateClassName">UIButton</string> |
| 508 | + </object> |
| 509 | + <object class="IBToOneOutletInfo"> |
| 510 | + <string key="name">username</string> |
| 511 | + <string key="candidateClassName">UITextField</string> |
| 512 | + </object> |
| 513 | + </object> |
| 514 | + </object> |
| 515 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 516 | + <string key="majorKey">IBProjectSource</string> |
| 517 | + <string key="minorKey">SettingsViewController.h</string> |
| 518 | + </object> |
| 519 | + </object> |
208 | 520 | </object> |
| 521 | + <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+"> |
| 522 | + <bool key="EncodedWithXMLCoder">YES</bool> |
| 523 | + <object class="IBPartialClassDescription"> |
| 524 | + <string key="className">NSObject</string> |
| 525 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 526 | + <string key="majorKey">IBFrameworkSource</string> |
| 527 | + <string key="minorKey">Foundation.framework/Headers/NSError.h</string> |
| 528 | + </object> |
| 529 | + </object> |
| 530 | + <object class="IBPartialClassDescription"> |
| 531 | + <string key="className">NSObject</string> |
| 532 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 533 | + <string key="majorKey">IBFrameworkSource</string> |
| 534 | + <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string> |
| 535 | + </object> |
| 536 | + </object> |
| 537 | + <object class="IBPartialClassDescription"> |
| 538 | + <string key="className">NSObject</string> |
| 539 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 540 | + <string key="majorKey">IBFrameworkSource</string> |
| 541 | + <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string> |
| 542 | + </object> |
| 543 | + </object> |
| 544 | + <object class="IBPartialClassDescription"> |
| 545 | + <string key="className">NSObject</string> |
| 546 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 547 | + <string key="majorKey">IBFrameworkSource</string> |
| 548 | + <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string> |
| 549 | + </object> |
| 550 | + </object> |
| 551 | + <object class="IBPartialClassDescription"> |
| 552 | + <string key="className">NSObject</string> |
| 553 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 554 | + <string key="majorKey">IBFrameworkSource</string> |
| 555 | + <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string> |
| 556 | + </object> |
| 557 | + </object> |
| 558 | + <object class="IBPartialClassDescription"> |
| 559 | + <string key="className">NSObject</string> |
| 560 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 561 | + <string key="majorKey">IBFrameworkSource</string> |
| 562 | + <string key="minorKey">Foundation.framework/Headers/NSObject.h</string> |
| 563 | + </object> |
| 564 | + </object> |
| 565 | + <object class="IBPartialClassDescription"> |
| 566 | + <string key="className">NSObject</string> |
| 567 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 568 | + <string key="majorKey">IBFrameworkSource</string> |
| 569 | + <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string> |
| 570 | + </object> |
| 571 | + </object> |
| 572 | + <object class="IBPartialClassDescription"> |
| 573 | + <string key="className">NSObject</string> |
| 574 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 575 | + <string key="majorKey">IBFrameworkSource</string> |
| 576 | + <string key="minorKey">Foundation.framework/Headers/NSThread.h</string> |
| 577 | + </object> |
| 578 | + </object> |
| 579 | + <object class="IBPartialClassDescription"> |
| 580 | + <string key="className">NSObject</string> |
| 581 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 582 | + <string key="majorKey">IBFrameworkSource</string> |
| 583 | + <string key="minorKey">Foundation.framework/Headers/NSURL.h</string> |
| 584 | + </object> |
| 585 | + </object> |
| 586 | + <object class="IBPartialClassDescription"> |
| 587 | + <string key="className">NSObject</string> |
| 588 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 589 | + <string key="majorKey">IBFrameworkSource</string> |
| 590 | + <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string> |
| 591 | + </object> |
| 592 | + </object> |
| 593 | + <object class="IBPartialClassDescription"> |
| 594 | + <string key="className">NSObject</string> |
| 595 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 596 | + <string key="majorKey">IBFrameworkSource</string> |
| 597 | + <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string> |
| 598 | + </object> |
| 599 | + </object> |
| 600 | + <object class="IBPartialClassDescription"> |
| 601 | + <string key="className">NSObject</string> |
| 602 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 603 | + <string key="majorKey">IBFrameworkSource</string> |
| 604 | + <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string> |
| 605 | + </object> |
| 606 | + </object> |
| 607 | + <object class="IBPartialClassDescription"> |
| 608 | + <string key="className">NSObject</string> |
| 609 | + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="883757416"> |
| 610 | + <string key="majorKey">IBFrameworkSource</string> |
| 611 | + <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string> |
| 612 | + </object> |
| 613 | + </object> |
| 614 | + <object class="IBPartialClassDescription"> |
| 615 | + <string key="className">UIApplication</string> |
| 616 | + <string key="superclassName">UIResponder</string> |
| 617 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 618 | + <string key="majorKey">IBFrameworkSource</string> |
| 619 | + <string key="minorKey">UIKit.framework/Headers/UIApplication.h</string> |
| 620 | + </object> |
| 621 | + </object> |
| 622 | + <object class="IBPartialClassDescription"> |
| 623 | + <string key="className">UIBarButtonItem</string> |
| 624 | + <string key="superclassName">UIBarItem</string> |
| 625 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 626 | + <string key="majorKey">IBFrameworkSource</string> |
| 627 | + <string key="minorKey">UIKit.framework/Headers/UIBarButtonItem.h</string> |
| 628 | + </object> |
| 629 | + </object> |
| 630 | + <object class="IBPartialClassDescription"> |
| 631 | + <string key="className">UIBarItem</string> |
| 632 | + <string key="superclassName">NSObject</string> |
| 633 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 634 | + <string key="majorKey">IBFrameworkSource</string> |
| 635 | + <string key="minorKey">UIKit.framework/Headers/UIBarItem.h</string> |
| 636 | + </object> |
| 637 | + </object> |
| 638 | + <object class="IBPartialClassDescription"> |
| 639 | + <string key="className">UIButton</string> |
| 640 | + <string key="superclassName">UIControl</string> |
| 641 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 642 | + <string key="majorKey">IBFrameworkSource</string> |
| 643 | + <string key="minorKey">UIKit.framework/Headers/UIButton.h</string> |
| 644 | + </object> |
| 645 | + </object> |
| 646 | + <object class="IBPartialClassDescription"> |
| 647 | + <string key="className">UIControl</string> |
| 648 | + <string key="superclassName">UIView</string> |
| 649 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 650 | + <string key="majorKey">IBFrameworkSource</string> |
| 651 | + <string key="minorKey">UIKit.framework/Headers/UIControl.h</string> |
| 652 | + </object> |
| 653 | + </object> |
| 654 | + <object class="IBPartialClassDescription"> |
| 655 | + <string key="className">UIImageView</string> |
| 656 | + <string key="superclassName">UIView</string> |
| 657 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 658 | + <string key="majorKey">IBFrameworkSource</string> |
| 659 | + <string key="minorKey">UIKit.framework/Headers/UIImageView.h</string> |
| 660 | + </object> |
| 661 | + </object> |
| 662 | + <object class="IBPartialClassDescription"> |
| 663 | + <string key="className">UILabel</string> |
| 664 | + <string key="superclassName">UIView</string> |
| 665 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 666 | + <string key="majorKey">IBFrameworkSource</string> |
| 667 | + <string key="minorKey">UIKit.framework/Headers/UILabel.h</string> |
| 668 | + </object> |
| 669 | + </object> |
| 670 | + <object class="IBPartialClassDescription"> |
| 671 | + <string key="className">UINavigationBar</string> |
| 672 | + <string key="superclassName">UIView</string> |
| 673 | + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="531943622"> |
| 674 | + <string key="majorKey">IBFrameworkSource</string> |
| 675 | + <string key="minorKey">UIKit.framework/Headers/UINavigationBar.h</string> |
| 676 | + </object> |
| 677 | + </object> |
| 678 | + <object class="IBPartialClassDescription"> |
| 679 | + <string key="className">UINavigationController</string> |
| 680 | + <string key="superclassName">UIViewController</string> |
| 681 | + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="663989988"> |
| 682 | + <string key="majorKey">IBFrameworkSource</string> |
| 683 | + <string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string> |
| 684 | + </object> |
| 685 | + </object> |
| 686 | + <object class="IBPartialClassDescription"> |
| 687 | + <string key="className">UINavigationItem</string> |
| 688 | + <string key="superclassName">NSObject</string> |
| 689 | + <reference key="sourceIdentifier" ref="531943622"/> |
| 690 | + </object> |
| 691 | + <object class="IBPartialClassDescription"> |
| 692 | + <string key="className">UIProgressView</string> |
| 693 | + <string key="superclassName">UIView</string> |
| 694 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 695 | + <string key="majorKey">IBFrameworkSource</string> |
| 696 | + <string key="minorKey">UIKit.framework/Headers/UIProgressView.h</string> |
| 697 | + </object> |
| 698 | + </object> |
| 699 | + <object class="IBPartialClassDescription"> |
| 700 | + <string key="className">UIResponder</string> |
| 701 | + <string key="superclassName">NSObject</string> |
| 702 | + <reference key="sourceIdentifier" ref="883757416"/> |
| 703 | + </object> |
| 704 | + <object class="IBPartialClassDescription"> |
| 705 | + <string key="className">UISearchBar</string> |
| 706 | + <string key="superclassName">UIView</string> |
| 707 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 708 | + <string key="majorKey">IBFrameworkSource</string> |
| 709 | + <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string> |
| 710 | + </object> |
| 711 | + </object> |
| 712 | + <object class="IBPartialClassDescription"> |
| 713 | + <string key="className">UISearchDisplayController</string> |
| 714 | + <string key="superclassName">NSObject</string> |
| 715 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 716 | + <string key="majorKey">IBFrameworkSource</string> |
| 717 | + <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string> |
| 718 | + </object> |
| 719 | + </object> |
| 720 | + <object class="IBPartialClassDescription"> |
| 721 | + <string key="className">UITextField</string> |
| 722 | + <string key="superclassName">UIControl</string> |
| 723 | + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="280785718"> |
| 724 | + <string key="majorKey">IBFrameworkSource</string> |
| 725 | + <string key="minorKey">UIKit.framework/Headers/UITextField.h</string> |
| 726 | + </object> |
| 727 | + </object> |
| 728 | + <object class="IBPartialClassDescription"> |
| 729 | + <string key="className">UIView</string> |
| 730 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 731 | + <string key="majorKey">IBFrameworkSource</string> |
| 732 | + <string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string> |
| 733 | + </object> |
| 734 | + </object> |
| 735 | + <object class="IBPartialClassDescription"> |
| 736 | + <string key="className">UIView</string> |
| 737 | + <reference key="sourceIdentifier" ref="280785718"/> |
| 738 | + </object> |
| 739 | + <object class="IBPartialClassDescription"> |
| 740 | + <string key="className">UIView</string> |
| 741 | + <string key="superclassName">UIResponder</string> |
| 742 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 743 | + <string key="majorKey">IBFrameworkSource</string> |
| 744 | + <string key="minorKey">UIKit.framework/Headers/UIView.h</string> |
| 745 | + </object> |
| 746 | + </object> |
| 747 | + <object class="IBPartialClassDescription"> |
| 748 | + <string key="className">UIViewController</string> |
| 749 | + <reference key="sourceIdentifier" ref="663989988"/> |
| 750 | + </object> |
| 751 | + <object class="IBPartialClassDescription"> |
| 752 | + <string key="className">UIViewController</string> |
| 753 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 754 | + <string key="majorKey">IBFrameworkSource</string> |
| 755 | + <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string> |
| 756 | + </object> |
| 757 | + </object> |
| 758 | + <object class="IBPartialClassDescription"> |
| 759 | + <string key="className">UIViewController</string> |
| 760 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 761 | + <string key="majorKey">IBFrameworkSource</string> |
| 762 | + <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string> |
| 763 | + </object> |
| 764 | + </object> |
| 765 | + <object class="IBPartialClassDescription"> |
| 766 | + <string key="className">UIViewController</string> |
| 767 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 768 | + <string key="majorKey">IBFrameworkSource</string> |
| 769 | + <string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string> |
| 770 | + </object> |
| 771 | + </object> |
| 772 | + <object class="IBPartialClassDescription"> |
| 773 | + <string key="className">UIViewController</string> |
| 774 | + <string key="superclassName">UIResponder</string> |
| 775 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 776 | + <string key="majorKey">IBFrameworkSource</string> |
| 777 | + <string key="minorKey">UIKit.framework/Headers/UIViewController.h</string> |
| 778 | + </object> |
| 779 | + </object> |
| 780 | + <object class="IBPartialClassDescription"> |
| 781 | + <string key="className">UIWindow</string> |
| 782 | + <string key="superclassName">UIView</string> |
| 783 | + <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
| 784 | + <string key="majorKey">IBFrameworkSource</string> |
| 785 | + <string key="minorKey">UIKit.framework/Headers/UIWindow.h</string> |
| 786 | + </object> |
| 787 | + </object> |
| 788 | + </object> |
209 | 789 | </object> |
210 | 790 | <int key="IBDocument.localizationMode">0</int> |
| 791 | + <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> |
| 792 | + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults"> |
| 793 | + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string> |
| 794 | + <integer value="1056" key="NS.object.0"/> |
| 795 | + </object> |
211 | 796 | <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> |
212 | 797 | <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string> |
213 | 798 | <integer value="3100" key="NS.object.0"/> |
214 | 799 | </object> |
215 | 800 | <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> |
216 | | - <string key="IBDocument.LastKnownRelativeProjectPath">PhotoPicker.xcodeproj</string> |
| 801 | + <string key="IBDocument.LastKnownRelativeProjectPath">photopicker.xcodeproj</string> |
217 | 802 | <int key="IBDocument.defaultPropertyAccessControl">3</int> |
218 | | - <string key="IBCocoaTouchPluginVersion">3.1</string> |
| 803 | + <string key="IBCocoaTouchPluginVersion">132</string> |
219 | 804 | </data> |
220 | 805 | </archive> |