Merge lp:~jose-exposito89/ubuntuone-ios-files/i18n into lp:ubuntuone-ios-files

Proposed by José Expósito
Status: Rejected
Rejected by: Natalia Bidart
Proposed branch: lp:~jose-exposito89/ubuntuone-ios-files/i18n
Merge into: lp:ubuntuone-ios-files
Diff against target: 2662 lines (+728/-481)
28 files modified
Dependencies/PullToRefresh/Classes/PullRefreshTableViewController.m (+3/-3)
Files.xcodeproj/project.pbxproj (+22/-0)
Files/U1FileDetailsViewController.h (+5/-0)
Files/U1FileDetailsViewController.m (+18/-1)
Files/U1FileDetailsViewController.xib (+48/-145)
Files/U1FilePreviewViewController.h (+2/-0)
Files/U1FilePreviewViewController.m (+5/-0)
Files/U1FilePreviewViewController.xib (+24/-63)
Files/U1FolderViewController.m (+3/-3)
Files/U1LoginController.m (+1/-1)
Files/U1SSOCredentialsViewController.h (+5/-0)
Files/U1SSOCredentialsViewController.m (+10/-0)
Files/U1SSOCredentialsViewController.xib (+128/-14)
Files/U1SSOEmailVerificationViewController.m (+29/-1)
Files/U1SSOEmailVerificationViewController.xib (+32/-29)
Files/U1SSOLandingPageViewController.h (+3/-0)
Files/U1SSOLandingPageViewController.m (+19/-1)
Files/U1SSOLandingPageViewController.xib (+44/-10)
Files/U1SSOSignUpViewController.m (+48/-0)
Files/U1SSOSignUpViewController.xib (+139/-31)
Files/U1SettingsViewController.h (+3/-0)
Files/U1SettingsViewController.m (+23/-5)
Files/U1SettingsViewController.xib (+44/-150)
Files/U1UploadsPoolViewController.h (+2/-0)
Files/U1UploadsPoolViewController.m (+9/-0)
Files/U1UploadsPoolViewController.xib (+34/-13)
Files/en.lproj/Localizable.strings (+14/-0)
Files/iPhone/en.lproj/MainWindow_iPhone.xib (+11/-11)
To merge this branch: bzr merge lp:~jose-exposito89/ubuntuone-ios-files/i18n
Reviewer Review Type Date Requested Status
Zachery Bir Approve
Review via email: mp+121397@code.launchpad.net

Description of the change

Added full support for translations and Spanish translation

To post a comment you must log in.
63. By José Expósito

Added mising translations in U1FilePreviewViewController and U1UploadsPoolViewController

Revision history for this message
Zachery Bir (urbanape) wrote :

Looks good! Thanks for contributing!

review: Approve
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Setting MP as Rejected to reduce numbers of landing candidates in @reviewlist.
Change status again if this MP is still current.

Unmerged revisions

63. By José Expósito

Added mising translations in U1FilePreviewViewController and U1UploadsPoolViewController

62. By José Expósito

Added missing files

61. By José Expósito

Added full support for translations and added spanish translation

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Dependencies/PullToRefresh/Classes/PullRefreshTableViewController.m'
--- Dependencies/PullToRefresh/Classes/PullRefreshTableViewController.m 2011-08-31 14:56:30 +0000
+++ Dependencies/PullToRefresh/Classes/PullRefreshTableViewController.m 2012-08-27 11:27:21 +0000
@@ -67,9 +67,9 @@
67}67}
6868
69- (void)setupStrings{69- (void)setupStrings{
70 textPull = [[NSString alloc] initWithString:@"Pull down to refresh..."];70 textPull = [[NSString alloc] initWithString:NSLocalizedString(@"Pull down to refresh...", nil)];
71 textRelease = [[NSString alloc] initWithString:@"Release to refresh..."];71 textRelease = [[NSString alloc] initWithString:NSLocalizedString(@"Release to refresh...", nil)];
72 textLoading = [[NSString alloc] initWithString:@"Loading..."];72 textLoading = [[NSString alloc] initWithString:NSLocalizedString(@"Loading...", nil)];
73}73}
7474
75- (void)addPullToRefreshHeader {75- (void)addPullToRefreshHeader {
7676
=== modified file 'Files.xcodeproj/project.pbxproj'
--- Files.xcodeproj/project.pbxproj 2012-08-10 03:19:46 +0000
+++ Files.xcodeproj/project.pbxproj 2012-08-27 11:27:21 +0000
@@ -7,6 +7,7 @@
7 objects = {7 objects = {
88
9/* Begin PBXBuildFile section */9/* Begin PBXBuildFile section */
10 8291508C15EA62A700052570 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8291508E15EA62A700052570 /* Localizable.strings */; };
10 910393E81475B118004DE69D /* U1AutoUploadOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 910393E71475B118004DE69D /* U1AutoUploadOperation.m */; };11 910393E81475B118004DE69D /* U1AutoUploadOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 910393E71475B118004DE69D /* U1AutoUploadOperation.m */; };
11 913A54AF1451EFE70081FD67 /* progress_view_background.png in Resources */ = {isa = PBXBuildFile; fileRef = 913A54AD1451EFE70081FD67 /* progress_view_background.png */; };12 913A54AF1451EFE70081FD67 /* progress_view_background.png in Resources */ = {isa = PBXBuildFile; fileRef = 913A54AD1451EFE70081FD67 /* progress_view_background.png */; };
12 913A54B01451EFE70081FD67 /* progress_view_background@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 913A54AE1451EFE70081FD67 /* progress_view_background@2x.png */; };13 913A54B01451EFE70081FD67 /* progress_view_background@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 913A54AE1451EFE70081FD67 /* progress_view_background@2x.png */; };
@@ -232,6 +233,8 @@
232/* End PBXContainerItemProxy section */233/* End PBXContainerItemProxy section */
233234
234/* Begin PBXFileReference section */235/* Begin PBXFileReference section */
236 821195B515EA64E200C6F3BC /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = "<group>"; };
237 8291508D15EA62A700052570 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
235 910393E61475B118004DE69D /* U1AutoUploadOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1AutoUploadOperation.h; sourceTree = "<group>"; };238 910393E61475B118004DE69D /* U1AutoUploadOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1AutoUploadOperation.h; sourceTree = "<group>"; };
236 910393E71475B118004DE69D /* U1AutoUploadOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = U1AutoUploadOperation.m; sourceTree = "<group>"; };239 910393E71475B118004DE69D /* U1AutoUploadOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = U1AutoUploadOperation.m; sourceTree = "<group>"; };
237 913A54AD1451EFE70081FD67 /* progress_view_background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = progress_view_background.png; path = Assets/progress_view_background.png; sourceTree = "<group>"; };240 913A54AD1451EFE70081FD67 /* progress_view_background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = progress_view_background.png; path = Assets/progress_view_background.png; sourceTree = "<group>"; };
@@ -591,6 +594,14 @@
591/* End PBXFrameworksBuildPhase section */594/* End PBXFrameworksBuildPhase section */
592595
593/* Begin PBXGroup section */596/* Begin PBXGroup section */
597 8291508815EA628000052570 /* Translations */ = {
598 isa = PBXGroup;
599 children = (
600 8291508E15EA62A700052570 /* Localizable.strings */,
601 );
602 name = Translations;
603 sourceTree = "<group>";
604 };
594 960D45F91409E09F00B73177 /* PullToRefresh */ = {605 960D45F91409E09F00B73177 /* PullToRefresh */ = {
595 isa = PBXGroup;606 isa = PBXGroup;
596 children = (607 children = (
@@ -859,6 +870,7 @@
859 96E860BB13F7251D0026783D /* Files */ = {870 96E860BB13F7251D0026783D /* Files */ = {
860 isa = PBXGroup;871 isa = PBXGroup;
861 children = (872 children = (
873 8291508815EA628000052570 /* Translations */,
862 96783E6513F8ABC70092C6A1 /* Assets */,874 96783E6513F8ABC70092C6A1 /* Assets */,
863 96E860BC13F7251D0026783D /* Supporting Files */,875 96E860BC13F7251D0026783D /* Supporting Files */,
864 96733AEC140DFABB0074D545 /* SSO */,876 96733AEC140DFABB0074D545 /* SSO */,
@@ -1253,6 +1265,7 @@
1253 96C2C17D14C633A7006E1D57 /* U1SSOSignUpViewController.xib in Resources */,1265 96C2C17D14C633A7006E1D57 /* U1SSOSignUpViewController.xib in Resources */,
1254 9656A78914C692450033A4D7 /* U1SSOEmailVerificationViewController.xib in Resources */,1266 9656A78914C692450033A4D7 /* U1SSOEmailVerificationViewController.xib in Resources */,
1255 96DF409514D7A86A00896B6E /* SVProgressHUD.bundle in Resources */,1267 96DF409514D7A86A00896B6E /* SVProgressHUD.bundle in Resources */,
1268 8291508C15EA62A700052570 /* Localizable.strings in Resources */,
1256 );1269 );
1257 runOnlyForDeploymentPostprocessing = 0;1270 runOnlyForDeploymentPostprocessing = 0;
1258 };1271 };
@@ -1413,6 +1426,15 @@
1413/* End PBXTargetDependency section */1426/* End PBXTargetDependency section */
14141427
1415/* Begin PBXVariantGroup section */1428/* Begin PBXVariantGroup section */
1429 8291508E15EA62A700052570 /* Localizable.strings */ = {
1430 isa = PBXVariantGroup;
1431 children = (
1432 8291508D15EA62A700052570 /* en */,
1433 821195B515EA64E200C6F3BC /* es */,
1434 );
1435 name = Localizable.strings;
1436 sourceTree = "<group>";
1437 };
1416 96E860BE13F7251D0026783D /* InfoPlist.strings */ = {1438 96E860BE13F7251D0026783D /* InfoPlist.strings */ = {
1417 isa = PBXVariantGroup;1439 isa = PBXVariantGroup;
1418 children = (1440 children = (
14191441
=== modified file 'Files/U1FileDetailsViewController.h'
--- Files/U1FileDetailsViewController.h 2011-12-08 19:23:49 +0000
+++ Files/U1FileDetailsViewController.h 2012-08-27 11:27:21 +0000
@@ -42,4 +42,9 @@
4242
43- (id)initWithNode:(U1FileNode*)node;43- (id)initWithNode:(U1FileNode*)node;
4444
45@property (retain, nonatomic) IBOutlet UILabel *sizeLabelDescription;
46@property (retain, nonatomic) IBOutlet UILabel *modifiedLabelDescription;
47@property (retain, nonatomic) IBOutlet UILabel *viewCellLabel;
48@property (retain, nonatomic) IBOutlet UILabel *publishCellLabel;
49
45@end50@end
4651
=== modified file 'Files/U1FileDetailsViewController.m'
--- Files/U1FileDetailsViewController.m 2012-04-27 02:27:26 +0000
+++ Files/U1FileDetailsViewController.m 2012-08-27 11:27:21 +0000
@@ -52,6 +52,10 @@
5252
5353
54@implementation U1FileDetailsViewController54@implementation U1FileDetailsViewController
55@synthesize sizeLabelDescription;
56@synthesize modifiedLabelDescription;
57@synthesize viewCellLabel;
58@synthesize publishCellLabel;
5559
56@synthesize loadingContainerView, fileAncillaryDetailsView, iconImageView, nameLabel, loadingActivityView, sizeLabel, createdLabel, modifiedLabel, toolbar, publicURLLabel, renameTextField, sectionOneCells, sectionTwoCells, actionsTableView, publishSwitch, publishStatusLabel;60@synthesize loadingContainerView, fileAncillaryDetailsView, iconImageView, nameLabel, loadingActivityView, sizeLabel, createdLabel, modifiedLabel, toolbar, publicURLLabel, renameTextField, sectionOneCells, sectionTwoCells, actionsTableView, publishSwitch, publishStatusLabel;
57@synthesize node, docController, filesClient, contentURL, fileInfo;61@synthesize node, docController, filesClient, contentURL, fileInfo;
@@ -127,6 +131,10 @@
127 [actionsTableView release];131 [actionsTableView release];
128 [publishSwitch release];132 [publishSwitch release];
129 [publishStatusLabel release];133 [publishStatusLabel release];
134 [sizeLabelDescription release];
135 [modifiedLabelDescription release];
136 [viewCellLabel release];
137 [publishCellLabel release];
130 [super dealloc];138 [super dealloc];
131}139}
132140
@@ -144,6 +152,11 @@
144{152{
145 [super viewDidLoad];153 [super viewDidLoad];
146 154
155 self.sizeLabelDescription.text = NSLocalizedString(@"Size:", nil);
156 self.modifiedLabelDescription.text = NSLocalizedString(@"Modified:", nil);
157 self.viewCellLabel.text = NSLocalizedString(@"View", nil);
158 self.publishCellLabel.text = NSLocalizedString(@"Published", nil);
159
147 [self.nameLabel setText:self.title];160 [self.nameLabel setText:self.title];
148 NSString *sizeString = [sizeTransformer() transformedValue:[self.node size]];161 NSString *sizeString = [sizeTransformer() transformedValue:[self.node size]];
149 [self.sizeLabel setText:sizeString];162 [self.sizeLabel setText:sizeString];
@@ -188,6 +201,10 @@
188 [actionsTableView release], actionsTableView = nil;201 [actionsTableView release], actionsTableView = nil;
189 [publishSwitch release], publishSwitch = nil;202 [publishSwitch release], publishSwitch = nil;
190 [publishStatusLabel release], publishStatusLabel = nil;203 [publishStatusLabel release], publishStatusLabel = nil;
204 [self setSizeLabelDescription:nil];
205 [self setModifiedLabelDescription:nil];
206 [self setViewCellLabel:nil];
207 [self setPublishCellLabel:nil];
191 [super viewDidUnload];208 [super viewDidUnload];
192}209}
193210
@@ -262,7 +279,7 @@
262279
263- (IBAction)deleteItem:(UIBarButtonItem*)sender;280- (IBAction)deleteItem:(UIBarButtonItem*)sender;
264{281{
265 UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"Are you sure you want to delete this file?\nIt will be deleted everywhere in the Ubuntu One service.", @"")282 UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"Are you sure you want to delete this file?\nIt will be deleted everywhere in the Ubuntu One service", @"")
266 delegate:self283 delegate:self
267 cancelButtonTitle:NSLocalizedString(@"Cancel", @"")284 cancelButtonTitle:NSLocalizedString(@"Cancel", @"")
268 destructiveButtonTitle:NSLocalizedString(@"Delete", @"")285 destructiveButtonTitle:NSLocalizedString(@"Delete", @"")
269286
=== modified file 'Files/U1FileDetailsViewController.xib'
--- Files/U1FileDetailsViewController.xib 2012-04-27 02:27:26 +0000
+++ Files/U1FileDetailsViewController.xib 2012-08-27 11:27:21 +0000
@@ -2,24 +2,24 @@
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1296</int>4 <int key="IBDocument.SystemTarget">1296</int>
5 <string key="IBDocument.SystemVersion">11D50</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">2182</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1138.32</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">568.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">1181</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <array key="IBDocument.IntegratedClassDependencies">13 <array key="IBDocument.IntegratedClassDependencies">
14 <string>IBProxyObject</string>14 <string>IBProxyObject</string>
15 <string>IBUIBarButtonItem</string>
15 <string>IBUIImageView</string>16 <string>IBUIImageView</string>
16 <string>IBUILabel</string>17 <string>IBUILabel</string>
17 <string>IBUIToolbar</string>
18 <string>IBUISwitch</string>18 <string>IBUISwitch</string>
19 <string>IBUITextField</string>
20 <string>IBUIBarButtonItem</string>
21 <string>IBUITableView</string>19 <string>IBUITableView</string>
22 <string>IBUITableViewCell</string>20 <string>IBUITableViewCell</string>
21 <string>IBUITextField</string>
22 <string>IBUIToolbar</string>
23 <string>IBUIView</string>23 <string>IBUIView</string>
24 </array>24 </array>
25 <array key="IBDocument.PluginDependencies">25 <array key="IBDocument.PluginDependencies">
@@ -47,7 +47,6 @@
47 <int key="NSvFlags">-2147483356</int>47 <int key="NSvFlags">-2147483356</int>
48 <string key="NSFrameSize">{320, 416}</string>48 <string key="NSFrameSize">{320, 416}</string>
49 <reference key="NSSuperview" ref="191373211"/>49 <reference key="NSSuperview" ref="191373211"/>
50 <reference key="NSWindow"/>
51 <reference key="NSNextKeyView" ref="959604046"/>50 <reference key="NSNextKeyView" ref="959604046"/>
52 <object class="NSColor" key="IBUIBackgroundColor">51 <object class="NSColor" key="IBUIBackgroundColor">
53 <int key="NSColorSpace">3</int>52 <int key="NSColorSpace">3</int>
@@ -75,7 +74,6 @@
75 <int key="NSvFlags">292</int>74 <int key="NSvFlags">292</int>
76 <string key="NSFrame">{{20, 20}, {64, 64}}</string>75 <string key="NSFrame">{{20, 20}, {64, 64}}</string>
77 <reference key="NSSuperview" ref="346642923"/>76 <reference key="NSSuperview" ref="346642923"/>
78 <reference key="NSWindow"/>
79 <reference key="NSNextKeyView" ref="675538218"/>77 <reference key="NSNextKeyView" ref="675538218"/>
80 <int key="IBUIContentMode">1</int>78 <int key="IBUIContentMode">1</int>
81 <bool key="IBUIUserInteractionEnabled">NO</bool>79 <bool key="IBUIUserInteractionEnabled">NO</bool>
@@ -86,7 +84,6 @@
86 <int key="NSvFlags">292</int>84 <int key="NSvFlags">292</int>
87 <string key="NSFrame">{{105, 20}, {195, 48}}</string>85 <string key="NSFrame">{{105, 20}, {195, 48}}</string>
88 <reference key="NSSuperview" ref="346642923"/>86 <reference key="NSSuperview" ref="346642923"/>
89 <reference key="NSWindow"/>
90 <reference key="NSNextKeyView" ref="1038751454"/>87 <reference key="NSNextKeyView" ref="1038751454"/>
91 <bool key="IBUIOpaque">NO</bool>88 <bool key="IBUIOpaque">NO</bool>
92 <bool key="IBUIClipsSubviews">YES</bool>89 <bool key="IBUIClipsSubviews">YES</bool>
@@ -119,7 +116,6 @@
119 <int key="NSvFlags">-2147483356</int>116 <int key="NSvFlags">-2147483356</int>
120 <string key="NSFrame">{{105, 20}, {195, 31}}</string>117 <string key="NSFrame">{{105, 20}, {195, 31}}</string>
121 <reference key="NSSuperview" ref="346642923"/>118 <reference key="NSSuperview" ref="346642923"/>
122 <reference key="NSWindow"/>
123 <reference key="NSNextKeyView" ref="12890828"/>119 <reference key="NSNextKeyView" ref="12890828"/>
124 <bool key="IBUIOpaque">NO</bool>120 <bool key="IBUIOpaque">NO</bool>
125 <bool key="IBUIClipsSubviews">YES</bool>121 <bool key="IBUIClipsSubviews">YES</bool>
@@ -146,9 +142,8 @@
146 <object class="IBUILabel" id="723802363">142 <object class="IBUILabel" id="723802363">
147 <reference key="NSNextResponder" ref="12890828"/>143 <reference key="NSNextResponder" ref="12890828"/>
148 <int key="NSvFlags">292</int>144 <int key="NSvFlags">292</int>
149 <string key="NSFrame">{{40, 0}, {155, 20}}</string>145 <string key="NSFrame">{{83, 0}, {112, 20}}</string>
150 <reference key="NSSuperview" ref="12890828"/>146 <reference key="NSSuperview" ref="12890828"/>
151 <reference key="NSWindow"/>
152 <reference key="NSNextKeyView" ref="215006113"/>147 <reference key="NSNextKeyView" ref="215006113"/>
153 <bool key="IBUIOpaque">NO</bool>148 <bool key="IBUIOpaque">NO</bool>
154 <bool key="IBUIClipsSubviews">YES</bool>149 <bool key="IBUIClipsSubviews">YES</bool>
@@ -175,9 +170,8 @@
175 <object class="IBUILabel" id="568016573">170 <object class="IBUILabel" id="568016573">
176 <reference key="NSNextResponder" ref="12890828"/>171 <reference key="NSNextResponder" ref="12890828"/>
177 <int key="NSvFlags">292</int>172 <int key="NSvFlags">292</int>
178 <string key="NSFrame">{{0, 1}, {32, 18}}</string>173 <string key="NSFrame">{{0, 1}, {75, 18}}</string>
179 <reference key="NSSuperview" ref="12890828"/>174 <reference key="NSSuperview" ref="12890828"/>
180 <reference key="NSWindow"/>
181 <reference key="NSNextKeyView" ref="723802363"/>175 <reference key="NSNextKeyView" ref="723802363"/>
182 <bool key="IBUIOpaque">NO</bool>176 <bool key="IBUIOpaque">NO</bool>
183 <bool key="IBUIClipsSubviews">YES</bool>177 <bool key="IBUIClipsSubviews">YES</bool>
@@ -204,9 +198,8 @@
204 <object class="IBUILabel" id="215006113">198 <object class="IBUILabel" id="215006113">
205 <reference key="NSNextResponder" ref="12890828"/>199 <reference key="NSNextResponder" ref="12890828"/>
206 <int key="NSvFlags">292</int>200 <int key="NSvFlags">292</int>
207 <string key="NSFrame">{{0, 21}, {63, 18}}</string>201 <string key="NSFrame">{{0, 21}, {75, 18}}</string>
208 <reference key="NSSuperview" ref="12890828"/>202 <reference key="NSSuperview" ref="12890828"/>
209 <reference key="NSWindow"/>
210 <reference key="NSNextKeyView" ref="759648964"/>203 <reference key="NSNextKeyView" ref="759648964"/>
211 <bool key="IBUIOpaque">NO</bool>204 <bool key="IBUIOpaque">NO</bool>
212 <bool key="IBUIClipsSubviews">YES</bool>205 <bool key="IBUIClipsSubviews">YES</bool>
@@ -224,9 +217,8 @@
224 <object class="IBUILabel" id="759648964">217 <object class="IBUILabel" id="759648964">
225 <reference key="NSNextResponder" ref="12890828"/>218 <reference key="NSNextResponder" ref="12890828"/>
226 <int key="NSvFlags">292</int>219 <int key="NSvFlags">292</int>
227 <string key="NSFrame">{{71, 21}, {124, 19}}</string>220 <string key="NSFrame">{{83, 21}, {112, 19}}</string>
228 <reference key="NSSuperview" ref="12890828"/>221 <reference key="NSSuperview" ref="12890828"/>
229 <reference key="NSWindow"/>
230 <reference key="NSNextKeyView" ref="591885325"/>222 <reference key="NSNextKeyView" ref="591885325"/>
231 <bool key="IBUIOpaque">NO</bool>223 <bool key="IBUIOpaque">NO</bool>
232 <bool key="IBUIClipsSubviews">YES</bool>224 <bool key="IBUIClipsSubviews">YES</bool>
@@ -244,7 +236,6 @@
244 </array>236 </array>
245 <string key="NSFrame">{{105, 76}, {195, 59}}</string>237 <string key="NSFrame">{{105, 76}, {195, 59}}</string>
246 <reference key="NSSuperview" ref="346642923"/>238 <reference key="NSSuperview" ref="346642923"/>
247 <reference key="NSWindow"/>
248 <reference key="NSNextKeyView" ref="568016573"/>239 <reference key="NSNextKeyView" ref="568016573"/>
249 <object class="NSColor" key="IBUIBackgroundColor" id="436719790">240 <object class="NSColor" key="IBUIBackgroundColor" id="436719790">
250 <int key="NSColorSpace">3</int>241 <int key="NSColorSpace">3</int>
@@ -256,7 +247,6 @@
256 </array>247 </array>
257 <string key="NSFrameSize">{320, 104}</string>248 <string key="NSFrameSize">{320, 104}</string>
258 <reference key="NSSuperview" ref="149170707"/>249 <reference key="NSSuperview" ref="149170707"/>
259 <reference key="NSWindow"/>
260 <reference key="NSNextKeyView" ref="749932571"/>250 <reference key="NSNextKeyView" ref="749932571"/>
261 <reference key="IBUIBackgroundColor" ref="436719790"/>251 <reference key="IBUIBackgroundColor" ref="436719790"/>
262 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>252 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -264,7 +254,6 @@
264 </array>254 </array>
265 <string key="NSFrameSize">{320, 372}</string>255 <string key="NSFrameSize">{320, 372}</string>
266 <reference key="NSSuperview" ref="959604046"/>256 <reference key="NSSuperview" ref="959604046"/>
267 <reference key="NSWindow"/>
268 <reference key="NSNextKeyView" ref="346642923"/>257 <reference key="NSNextKeyView" ref="346642923"/>
269 <object class="NSColor" key="IBUIBackgroundColor">258 <object class="NSColor" key="IBUIBackgroundColor">
270 <int key="NSColorSpace">10</int>259 <int key="NSColorSpace">10</int>
@@ -340,7 +329,6 @@
340 </array>329 </array>
341 <string key="NSFrameSize">{320, 372}</string>330 <string key="NSFrameSize">{320, 372}</string>
342 <reference key="NSSuperview" ref="191373211"/>331 <reference key="NSSuperview" ref="191373211"/>
343 <reference key="NSWindow"/>
344 <reference key="NSNextKeyView" ref="149170707"/>332 <reference key="NSNextKeyView" ref="149170707"/>
345 <object class="NSColor" key="IBUIBackgroundColor">333 <object class="NSColor" key="IBUIBackgroundColor">
346 <int key="NSColorSpace">3</int>334 <int key="NSColorSpace">3</int>
@@ -354,7 +342,6 @@
354 <int key="NSvFlags">266</int>342 <int key="NSvFlags">266</int>
355 <string key="NSFrame">{{0, 372}, {320, 44}}</string>343 <string key="NSFrame">{{0, 372}, {320, 44}}</string>
356 <reference key="NSSuperview" ref="191373211"/>344 <reference key="NSSuperview" ref="191373211"/>
357 <reference key="NSWindow"/>
358 <bool key="IBUIOpaque">NO</bool>345 <bool key="IBUIOpaque">NO</bool>
359 <bool key="IBUIClearsContextBeforeDrawing">NO</bool>346 <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
360 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>347 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -385,7 +372,6 @@
385 </array>372 </array>
386 <string key="NSFrame">{{0, 64}, {320, 416}}</string>373 <string key="NSFrame">{{0, 64}, {320, 416}}</string>
387 <reference key="NSSuperview"/>374 <reference key="NSSuperview"/>
388 <reference key="NSWindow"/>
389 <reference key="NSNextKeyView" ref="822782837"/>375 <reference key="NSNextKeyView" ref="822782837"/>
390 <object class="NSColor" key="IBUIBackgroundColor">376 <object class="NSColor" key="IBUIBackgroundColor">
391 <int key="NSColorSpace">3</int>377 <int key="NSColorSpace">3</int>
@@ -411,7 +397,6 @@
411 <int key="NSvFlags">256</int>397 <int key="NSvFlags">256</int>
412 <string key="NSFrame">{{10, 0}, {280, 43}}</string>398 <string key="NSFrame">{{10, 0}, {280, 43}}</string>
413 <reference key="NSSuperview" ref="277406904"/>399 <reference key="NSSuperview" ref="277406904"/>
414 <reference key="NSWindow"/>
415 <bool key="IBUIOpaque">NO</bool>400 <bool key="IBUIOpaque">NO</bool>
416 <bool key="IBUIClipsSubviews">YES</bool>401 <bool key="IBUIClipsSubviews">YES</bool>
417 <int key="IBUIContentMode">4</int>402 <int key="IBUIContentMode">4</int>
@@ -440,7 +425,6 @@
440 </array>425 </array>
441 <string key="NSFrameSize">{300, 43}</string>426 <string key="NSFrameSize">{300, 43}</string>
442 <reference key="NSSuperview" ref="215257660"/>427 <reference key="NSSuperview" ref="215257660"/>
443 <reference key="NSWindow"/>
444 <reference key="NSNextKeyView" ref="1062861027"/>428 <reference key="NSNextKeyView" ref="1062861027"/>
445 <reference key="IBUIBackgroundColor" ref="436719790"/>429 <reference key="IBUIBackgroundColor" ref="436719790"/>
446 <bool key="IBUIOpaque">NO</bool>430 <bool key="IBUIOpaque">NO</bool>
@@ -452,7 +436,6 @@
452 </array>436 </array>
453 <string key="NSFrameSize">{320, 44}</string>437 <string key="NSFrameSize">{320, 44}</string>
454 <reference key="NSSuperview"/>438 <reference key="NSSuperview"/>
455 <reference key="NSWindow"/>
456 <reference key="NSNextKeyView" ref="277406904"/>439 <reference key="NSNextKeyView" ref="277406904"/>
457 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>440 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
458 <int key="IBUISelectionStyle">2</int>441 <int key="IBUISelectionStyle">2</int>
@@ -474,7 +457,6 @@
474 <int key="NSvFlags">256</int>457 <int key="NSvFlags">256</int>
475 <string key="NSFrame">{{10, 0}, {280, 43}}</string>458 <string key="NSFrame">{{10, 0}, {280, 43}}</string>
476 <reference key="NSSuperview" ref="488107434"/>459 <reference key="NSSuperview" ref="488107434"/>
477 <reference key="NSWindow"/>
478 <reference key="NSNextKeyView" ref="118953615"/>460 <reference key="NSNextKeyView" ref="118953615"/>
479 <bool key="IBUIOpaque">NO</bool>461 <bool key="IBUIOpaque">NO</bool>
480 <bool key="IBUIClipsSubviews">YES</bool>462 <bool key="IBUIClipsSubviews">YES</bool>
@@ -493,7 +475,6 @@
493 <int key="NSvFlags">289</int>475 <int key="NSvFlags">289</int>
494 <string key="NSFrame">{{206, 8}, {94, 27}}</string>476 <string key="NSFrame">{{206, 8}, {94, 27}}</string>
495 <reference key="NSSuperview" ref="488107434"/>477 <reference key="NSSuperview" ref="488107434"/>
496 <reference key="NSWindow"/>
497 <reference key="IBUIBackgroundColor" ref="436719790"/>478 <reference key="IBUIBackgroundColor" ref="436719790"/>
498 <bool key="IBUIOpaque">NO</bool>479 <bool key="IBUIOpaque">NO</bool>
499 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>480 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -507,7 +488,6 @@
507 </array>488 </array>
508 <string key="NSFrameSize">{320, 43}</string>489 <string key="NSFrameSize">{320, 43}</string>
509 <reference key="NSSuperview" ref="504068980"/>490 <reference key="NSSuperview" ref="504068980"/>
510 <reference key="NSWindow"/>
511 <reference key="NSNextKeyView" ref="16747584"/>491 <reference key="NSNextKeyView" ref="16747584"/>
512 <reference key="IBUIBackgroundColor" ref="436719790"/>492 <reference key="IBUIBackgroundColor" ref="436719790"/>
513 <bool key="IBUIOpaque">NO</bool>493 <bool key="IBUIOpaque">NO</bool>
@@ -519,7 +499,6 @@
519 </array>499 </array>
520 <string key="NSFrameSize">{320, 44}</string>500 <string key="NSFrameSize">{320, 44}</string>
521 <reference key="NSSuperview"/>501 <reference key="NSSuperview"/>
522 <reference key="NSWindow"/>
523 <reference key="NSNextKeyView" ref="488107434"/>502 <reference key="NSNextKeyView" ref="488107434"/>
524 <int key="IBUITag">1</int>503 <int key="IBUITag">1</int>
525 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>504 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -539,7 +518,6 @@
539 <int key="NSvFlags">256</int>518 <int key="NSvFlags">256</int>
540 <string key="NSFrame">{{10, 0}, {300, 43}}</string>519 <string key="NSFrame">{{10, 0}, {300, 43}}</string>
541 <reference key="NSSuperview" ref="1037596391"/>520 <reference key="NSSuperview" ref="1037596391"/>
542 <reference key="NSWindow"/>
543 <bool key="IBUIOpaque">NO</bool>521 <bool key="IBUIOpaque">NO</bool>
544 <bool key="IBUIClipsSubviews">YES</bool>522 <bool key="IBUIClipsSubviews">YES</bool>
545 <int key="IBUIContentMode">4</int>523 <int key="IBUIContentMode">4</int>
@@ -565,7 +543,6 @@
565 </array>543 </array>
566 <string key="NSFrameSize">{320, 43}</string>544 <string key="NSFrameSize">{320, 43}</string>
567 <reference key="NSSuperview" ref="502759082"/>545 <reference key="NSSuperview" ref="502759082"/>
568 <reference key="NSWindow"/>
569 <reference key="NSNextKeyView" ref="827181736"/>546 <reference key="NSNextKeyView" ref="827181736"/>
570 <reference key="IBUIBackgroundColor" ref="436719790"/>547 <reference key="IBUIBackgroundColor" ref="436719790"/>
571 <bool key="IBUIOpaque">NO</bool>548 <bool key="IBUIOpaque">NO</bool>
@@ -577,7 +554,6 @@
577 </array>554 </array>
578 <string key="NSFrameSize">{320, 44}</string>555 <string key="NSFrameSize">{320, 44}</string>
579 <reference key="NSSuperview"/>556 <reference key="NSSuperview"/>
580 <reference key="NSWindow"/>
581 <reference key="NSNextKeyView" ref="1037596391"/>557 <reference key="NSNextKeyView" ref="1037596391"/>
582 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>558 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
583 <int key="IBUISelectionStyle">2</int>559 <int key="IBUISelectionStyle">2</int>
@@ -716,6 +692,38 @@
716 </object>692 </object>
717 <object class="IBConnectionRecord">693 <object class="IBConnectionRecord">
718 <object class="IBCocoaTouchOutletConnection" key="connection">694 <object class="IBCocoaTouchOutletConnection" key="connection">
695 <string key="label">modifiedLabelDescription</string>
696 <reference key="source" ref="372490531"/>
697 <reference key="destination" ref="215006113"/>
698 </object>
699 <int key="connectionID">111</int>
700 </object>
701 <object class="IBConnectionRecord">
702 <object class="IBCocoaTouchOutletConnection" key="connection">
703 <string key="label">sizeLabelDescription</string>
704 <reference key="source" ref="372490531"/>
705 <reference key="destination" ref="568016573"/>
706 </object>
707 <int key="connectionID">112</int>
708 </object>
709 <object class="IBConnectionRecord">
710 <object class="IBCocoaTouchOutletConnection" key="connection">
711 <string key="label">viewCellLabel</string>
712 <reference key="source" ref="372490531"/>
713 <reference key="destination" ref="1062861027"/>
714 </object>
715 <int key="connectionID">113</int>
716 </object>
717 <object class="IBConnectionRecord">
718 <object class="IBCocoaTouchOutletConnection" key="connection">
719 <string key="label">publishCellLabel</string>
720 <reference key="source" ref="372490531"/>
721 <reference key="destination" ref="16747584"/>
722 </object>
723 <int key="connectionID">114</int>
724 </object>
725 <object class="IBConnectionRecord">
726 <object class="IBCocoaTouchOutletConnection" key="connection">
719 <string key="label">delegate</string>727 <string key="label">delegate</string>
720 <reference key="source" ref="1038751454"/>728 <reference key="source" ref="1038751454"/>
721 <reference key="destination" ref="372490531"/>729 <reference key="destination" ref="372490531"/>
@@ -985,114 +993,9 @@
985 <nil key="activeLocalization"/>993 <nil key="activeLocalization"/>
986 <dictionary class="NSMutableDictionary" key="localizations"/>994 <dictionary class="NSMutableDictionary" key="localizations"/>
987 <nil key="sourceID"/>995 <nil key="sourceID"/>
988 <int key="maxID">108</int>996 <int key="maxID">114</int>
989 </object>997 </object>
990 <object class="IBClassDescriber" key="IBDocument.Classes">998 <object class="IBClassDescriber" key="IBDocument.Classes"/>
991 <array class="NSMutableArray" key="referencedPartialClassDescriptions">
992 <object class="IBPartialClassDescription">
993 <string key="className">U1FileDetailsViewController</string>
994 <string key="superclassName">UIViewController</string>
995 <dictionary class="NSMutableDictionary" key="outlets">
996 <string key="actionsTableView">UITableView</string>
997 <string key="createdLabel">UILabel</string>
998 <string key="fileAncillaryDetailsView">UIView</string>
999 <string key="iconImageView">UIImageView</string>
1000 <string key="loadingActivityView">UIActivityIndicatorView</string>
1001 <string key="loadingContainerView">UIView</string>
1002 <string key="modifiedLabel">UILabel</string>
1003 <string key="nameLabel">UILabel</string>
1004 <string key="publicURLLabel">UITextView</string>
1005 <string key="publishStatusLabel">UILabel</string>
1006 <string key="publishSwitch">UISwitch</string>
1007 <string key="renameTextField">UITextField</string>
1008 <string key="sizeLabel">UILabel</string>
1009 <string key="toolbar">UIToolbar</string>
1010 </dictionary>
1011 <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
1012 <object class="IBToOneOutletInfo" key="actionsTableView">
1013 <string key="name">actionsTableView</string>
1014 <string key="candidateClassName">UITableView</string>
1015 </object>
1016 <object class="IBToOneOutletInfo" key="createdLabel">
1017 <string key="name">createdLabel</string>
1018 <string key="candidateClassName">UILabel</string>
1019 </object>
1020 <object class="IBToOneOutletInfo" key="fileAncillaryDetailsView">
1021 <string key="name">fileAncillaryDetailsView</string>
1022 <string key="candidateClassName">UIView</string>
1023 </object>
1024 <object class="IBToOneOutletInfo" key="iconImageView">
1025 <string key="name">iconImageView</string>
1026 <string key="candidateClassName">UIImageView</string>
1027 </object>
1028 <object class="IBToOneOutletInfo" key="loadingActivityView">
1029 <string key="name">loadingActivityView</string>
1030 <string key="candidateClassName">UIActivityIndicatorView</string>
1031 </object>
1032 <object class="IBToOneOutletInfo" key="loadingContainerView">
1033 <string key="name">loadingContainerView</string>
1034 <string key="candidateClassName">UIView</string>
1035 </object>
1036 <object class="IBToOneOutletInfo" key="modifiedLabel">
1037 <string key="name">modifiedLabel</string>
1038 <string key="candidateClassName">UILabel</string>
1039 </object>
1040 <object class="IBToOneOutletInfo" key="nameLabel">
1041 <string key="name">nameLabel</string>
1042 <string key="candidateClassName">UILabel</string>
1043 </object>
1044 <object class="IBToOneOutletInfo" key="publicURLLabel">
1045 <string key="name">publicURLLabel</string>
1046 <string key="candidateClassName">UITextView</string>
1047 </object>
1048 <object class="IBToOneOutletInfo" key="publishStatusLabel">
1049 <string key="name">publishStatusLabel</string>
1050 <string key="candidateClassName">UILabel</string>
1051 </object>
1052 <object class="IBToOneOutletInfo" key="publishSwitch">
1053 <string key="name">publishSwitch</string>
1054 <string key="candidateClassName">UISwitch</string>
1055 </object>
1056 <object class="IBToOneOutletInfo" key="renameTextField">
1057 <string key="name">renameTextField</string>
1058 <string key="candidateClassName">UITextField</string>
1059 </object>
1060 <object class="IBToOneOutletInfo" key="sizeLabel">
1061 <string key="name">sizeLabel</string>
1062 <string key="candidateClassName">UILabel</string>
1063 </object>
1064 <object class="IBToOneOutletInfo" key="toolbar">
1065 <string key="name">toolbar</string>
1066 <string key="candidateClassName">UIToolbar</string>
1067 </object>
1068 </dictionary>
1069 <dictionary class="NSMutableDictionary" key="toManyOutletInfosByName">
1070 <object class="IBToManyOutletInfo" key="sectionOneCells">
1071 <string key="name">sectionOneCells</string>
1072 <string key="candidateClassName">UITableViewCell</string>
1073 <string key="collectionClassName">NSArray</string>
1074 </object>
1075 <object class="IBToManyOutletInfo" key="sectionTwoCells">
1076 <string key="name">sectionTwoCells</string>
1077 <string key="candidateClassName">UITableViewCell</string>
1078 <string key="collectionClassName">NSArray</string>
1079 </object>
1080 </dictionary>
1081 <object class="IBClassDescriptionSource" key="sourceIdentifier">
1082 <string key="majorKey">IBProjectSource</string>
1083 <string key="minorKey">./Classes/U1FileDetailsViewController.h</string>
1084 </object>
1085 </object>
1086 <object class="IBPartialClassDescription">
1087 <string key="className">U1TopPinningLabel</string>
1088 <string key="superclassName">UILabel</string>
1089 <object class="IBClassDescriptionSource" key="sourceIdentifier">
1090 <string key="majorKey">IBProjectSource</string>
1091 <string key="minorKey">./Classes/U1TopPinningLabel.h</string>
1092 </object>
1093 </object>
1094 </array>
1095 </object>
1096 <int key="IBDocument.localizationMode">0</int>999 <int key="IBDocument.localizationMode">0</int>
1097 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>1000 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
1098 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">1001 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
@@ -1105,6 +1008,6 @@
1105 </object>1008 </object>
1106 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>1009 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
1107 <int key="IBDocument.defaultPropertyAccessControl">3</int>1010 <int key="IBDocument.defaultPropertyAccessControl">3</int>
1108 <string key="IBCocoaTouchPluginVersion">1181</string>1011 <string key="IBCocoaTouchPluginVersion">1498</string>
1109 </data>1012 </data>
1110</archive>1013</archive>
11111014
=== modified file 'Files/U1FilePreviewViewController.h'
--- Files/U1FilePreviewViewController.h 2011-12-15 18:56:28 +0000
+++ Files/U1FilePreviewViewController.h 2012-08-27 11:27:21 +0000
@@ -28,6 +28,8 @@
28@property (nonatomic, retain) IBOutlet UIView *previewContainerView;28@property (nonatomic, retain) IBOutlet UIView *previewContainerView;
2929
30@property (nonatomic, retain) IBOutlet UIToolbar *toolBar;30@property (nonatomic, retain) IBOutlet UIToolbar *toolBar;
31@property (retain, nonatomic) IBOutlet UILabel *downloadingFileLabel;
32
31- (id)initWithNode:(U1FileNode*)node;33- (id)initWithNode:(U1FileNode*)node;
3234
33@end35@end
3436
=== modified file 'Files/U1FilePreviewViewController.m'
--- Files/U1FilePreviewViewController.m 2012-04-27 02:27:26 +0000
+++ Files/U1FilePreviewViewController.m 2012-08-27 11:27:21 +0000
@@ -32,6 +32,7 @@
3232
3333
34@implementation U1FilePreviewViewController34@implementation U1FilePreviewViewController
35@synthesize downloadingFileLabel;
3536
36@synthesize containerView, downloadContainerView, downloadProgressView, previewContainerView;37@synthesize containerView, downloadContainerView, downloadProgressView, previewContainerView;
37@synthesize node, filesClient, fileInfo, previewController, toolBar, docController;38@synthesize node, filesClient, fileInfo, previewController, toolBar, docController;
@@ -58,6 +59,7 @@
58 [docController release];59 [docController release];
59 [previewController release];60 [previewController release];
60 [toolBar release];61 [toolBar release];
62 [downloadingFileLabel release];
61 [super dealloc];63 [super dealloc];
62}64}
6365
@@ -69,6 +71,8 @@
69 71
70 }];72 }];
71 self.docController = [UIDocumentInteractionController interactionControllerWithURL:fileInfo.fileURL];73 self.docController = [UIDocumentInteractionController interactionControllerWithURL:fileInfo.fileURL];
74
75 self.downloadingFileLabel.text = NSLocalizedString(@"Downloading File...", nil);
72}76}
7377
74- (void)viewDidUnload;78- (void)viewDidUnload;
@@ -79,6 +83,7 @@
79 [downloadContainerView release], downloadContainerView = nil;83 [downloadContainerView release], downloadContainerView = nil;
80 [downloadProgressView release], downloadProgressView = nil;84 [downloadProgressView release], downloadProgressView = nil;
81 [previewContainerView release], previewContainerView = nil;85 [previewContainerView release], previewContainerView = nil;
86 [self setDownloadingFileLabel:nil];
82 [super viewDidUnload];87 [super viewDidUnload];
83}88}
8489
8590
=== modified file 'Files/U1FilePreviewViewController.xib'
--- Files/U1FilePreviewViewController.xib 2012-04-27 02:27:26 +0000
+++ Files/U1FilePreviewViewController.xib 2012-08-27 11:27:21 +0000
@@ -2,21 +2,21 @@
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1296</int>4 <int key="IBDocument.SystemTarget">1296</int>
5 <string key="IBDocument.SystemVersion">11D50</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">2182</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1138.32</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">568.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">1181</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <array key="IBDocument.IntegratedClassDependencies">13 <array key="IBDocument.IntegratedClassDependencies">
14 <string>IBProxyObject</string>
15 <string>IBUIBarButtonItem</string>
16 <string>IBUILabel</string>
14 <string>IBUIProgressView</string>17 <string>IBUIProgressView</string>
15 <string>IBUIBarButtonItem</string>
16 <string>IBUIToolbar</string>18 <string>IBUIToolbar</string>
17 <string>IBUIView</string>19 <string>IBUIView</string>
18 <string>IBUILabel</string>
19 <string>IBProxyObject</string>
20 </array>20 </array>
21 <array key="IBDocument.PluginDependencies">21 <array key="IBDocument.PluginDependencies">
22 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>22 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -43,7 +43,6 @@
43 <int key="NSvFlags">266</int>43 <int key="NSvFlags">266</int>
44 <string key="NSFrame">{{0, 372}, {320, 44}}</string>44 <string key="NSFrame">{{0, 372}, {320, 44}}</string>
45 <reference key="NSSuperview" ref="191373211"/>45 <reference key="NSSuperview" ref="191373211"/>
46 <reference key="NSWindow"/>
47 <bool key="IBUIOpaque">NO</bool>46 <bool key="IBUIOpaque">NO</bool>
48 <bool key="IBUIClearsContextBeforeDrawing">NO</bool>47 <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
49 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>48 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -84,7 +83,6 @@
84 <int key="NSvFlags">292</int>83 <int key="NSvFlags">292</int>
85 <string key="NSFrame">{{125, 175}, {70, 21}}</string>84 <string key="NSFrame">{{125, 175}, {70, 21}}</string>
86 <reference key="NSSuperview" ref="77920402"/>85 <reference key="NSSuperview" ref="77920402"/>
87 <reference key="NSWindow"/>
88 <reference key="NSNextKeyView" ref="192602212"/>86 <reference key="NSNextKeyView" ref="192602212"/>
89 <bool key="IBUIOpaque">NO</bool>87 <bool key="IBUIOpaque">NO</bool>
90 <bool key="IBUIClipsSubviews">YES</bool>88 <bool key="IBUIClipsSubviews">YES</bool>
@@ -112,7 +110,6 @@
112 </array>110 </array>
113 <string key="NSFrameSize">{320, 372}</string>111 <string key="NSFrameSize">{320, 372}</string>
114 <reference key="NSSuperview" ref="747227964"/>112 <reference key="NSSuperview" ref="747227964"/>
115 <reference key="NSWindow"/>
116 <reference key="NSNextKeyView" ref="748563573"/>113 <reference key="NSNextKeyView" ref="748563573"/>
117 <object class="NSColor" key="IBUIBackgroundColor">114 <object class="NSColor" key="IBUIBackgroundColor">
118 <int key="NSColorSpace">3</int>115 <int key="NSColorSpace">3</int>
@@ -129,10 +126,9 @@
129 <array class="NSMutableArray" key="NSSubviews">126 <array class="NSMutableArray" key="NSSubviews">
130 <object class="IBUIProgressView" id="804375426">127 <object class="IBUIProgressView" id="804375426">
131 <reference key="NSNextResponder" ref="192602212"/>128 <reference key="NSNextResponder" ref="192602212"/>
132 <int key="NSvFlags">292</int>129 <int key="NSvFlags">258</int>
133 <string key="NSFrame">{{85, 181}, {150, 9}}</string>130 <string key="NSFrame">{{85, 181}, {150, 9}}</string>
134 <reference key="NSSuperview" ref="192602212"/>131 <reference key="NSSuperview" ref="192602212"/>
135 <reference key="NSWindow"/>
136 <reference key="NSNextKeyView" ref="921128121"/>132 <reference key="NSNextKeyView" ref="921128121"/>
137 <bool key="IBUIOpaque">NO</bool>133 <bool key="IBUIOpaque">NO</bool>
138 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>134 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -143,10 +139,9 @@
143 </object>139 </object>
144 <object class="IBUILabel" id="149709600">140 <object class="IBUILabel" id="149709600">
145 <reference key="NSNextResponder" ref="192602212"/>141 <reference key="NSNextResponder" ref="192602212"/>
146 <int key="NSvFlags">292</int>142 <int key="NSvFlags">290</int>
147 <string key="NSFrame">{{96, 154}, {129, 19}}</string>143 <string key="NSFrame">{{20, 154}, {280, 19}}</string>
148 <reference key="NSSuperview" ref="192602212"/>144 <reference key="NSSuperview" ref="192602212"/>
149 <reference key="NSWindow"/>
150 <reference key="NSNextKeyView" ref="804375426"/>145 <reference key="NSNextKeyView" ref="804375426"/>
151 <bool key="IBUIOpaque">NO</bool>146 <bool key="IBUIOpaque">NO</bool>
152 <bool key="IBUIClipsSubviews">YES</bool>147 <bool key="IBUIClipsSubviews">YES</bool>
@@ -158,6 +153,7 @@
158 <nil key="IBUIHighlightedColor"/>153 <nil key="IBUIHighlightedColor"/>
159 <int key="IBUIBaselineAdjustment">1</int>154 <int key="IBUIBaselineAdjustment">1</int>
160 <float key="IBUIMinimumFontSize">10</float>155 <float key="IBUIMinimumFontSize">10</float>
156 <int key="IBUITextAlignment">1</int>
161 <object class="IBUIFontDescription" key="IBUIFontDescription">157 <object class="IBUIFontDescription" key="IBUIFontDescription">
162 <int key="type">1</int>158 <int key="type">1</int>
163 <double key="pointSize">15</double>159 <double key="pointSize">15</double>
@@ -171,7 +167,6 @@
171 </array>167 </array>
172 <string key="NSFrameSize">{320, 372}</string>168 <string key="NSFrameSize">{320, 372}</string>
173 <reference key="NSSuperview" ref="747227964"/>169 <reference key="NSSuperview" ref="747227964"/>
174 <reference key="NSWindow"/>
175 <reference key="NSNextKeyView" ref="149709600"/>170 <reference key="NSNextKeyView" ref="149709600"/>
176 <object class="NSColor" key="IBUIBackgroundColor">171 <object class="NSColor" key="IBUIBackgroundColor">
177 <int key="NSColorSpace">3</int>172 <int key="NSColorSpace">3</int>
@@ -183,7 +178,6 @@
183 </array>178 </array>
184 <string key="NSFrameSize">{320, 372}</string>179 <string key="NSFrameSize">{320, 372}</string>
185 <reference key="NSSuperview" ref="191373211"/>180 <reference key="NSSuperview" ref="191373211"/>
186 <reference key="NSWindow"/>
187 <reference key="NSNextKeyView" ref="77920402"/>181 <reference key="NSNextKeyView" ref="77920402"/>
188 <object class="NSColor" key="IBUIBackgroundColor">182 <object class="NSColor" key="IBUIBackgroundColor">
189 <int key="NSColorSpace">3</int>183 <int key="NSColorSpace">3</int>
@@ -195,7 +189,6 @@
195 </array>189 </array>
196 <string key="NSFrame">{{0, 64}, {320, 416}}</string>190 <string key="NSFrame">{{0, 64}, {320, 416}}</string>
197 <reference key="NSSuperview"/>191 <reference key="NSSuperview"/>
198 <reference key="NSWindow"/>
199 <reference key="NSNextKeyView" ref="747227964"/>192 <reference key="NSNextKeyView" ref="747227964"/>
200 <object class="NSColor" key="IBUIBackgroundColor">193 <object class="NSColor" key="IBUIBackgroundColor">
201 <int key="NSColorSpace">3</int>194 <int key="NSColorSpace">3</int>
@@ -279,6 +272,14 @@
279 <int key="connectionID">25</int>272 <int key="connectionID">25</int>
280 </object>273 </object>
281 <object class="IBConnectionRecord">274 <object class="IBConnectionRecord">
275 <object class="IBCocoaTouchOutletConnection" key="connection">
276 <string key="label">downloadingFileLabel</string>
277 <reference key="source" ref="372490531"/>
278 <reference key="destination" ref="149709600"/>
279 </object>
280 <int key="connectionID">26</int>
281 </object>
282 <object class="IBConnectionRecord">
282 <object class="IBCocoaTouchEventConnection" key="connection">283 <object class="IBCocoaTouchEventConnection" key="connection">
283 <string key="label">deleteItem:</string>284 <string key="label">deleteItem:</string>
284 <reference key="source" ref="134023548"/>285 <reference key="source" ref="134023548"/>
@@ -415,49 +416,9 @@
415 <nil key="activeLocalization"/>416 <nil key="activeLocalization"/>
416 <dictionary class="NSMutableDictionary" key="localizations"/>417 <dictionary class="NSMutableDictionary" key="localizations"/>
417 <nil key="sourceID"/>418 <nil key="sourceID"/>
418 <int key="maxID">25</int>419 <int key="maxID">26</int>
419 </object>420 </object>
420 <object class="IBClassDescriber" key="IBDocument.Classes">421 <object class="IBClassDescriber" key="IBDocument.Classes"/>
421 <array class="NSMutableArray" key="referencedPartialClassDescriptions">
422 <object class="IBPartialClassDescription">
423 <string key="className">U1FilePreviewViewController</string>
424 <string key="superclassName">UIViewController</string>
425 <dictionary class="NSMutableDictionary" key="outlets">
426 <string key="containerView">UIView</string>
427 <string key="downloadContainerView">UIView</string>
428 <string key="downloadProgressView">UIProgressView</string>
429 <string key="previewContainerView">UIView</string>
430 <string key="toolBar">UIToolbar</string>
431 </dictionary>
432 <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
433 <object class="IBToOneOutletInfo" key="containerView">
434 <string key="name">containerView</string>
435 <string key="candidateClassName">UIView</string>
436 </object>
437 <object class="IBToOneOutletInfo" key="downloadContainerView">
438 <string key="name">downloadContainerView</string>
439 <string key="candidateClassName">UIView</string>
440 </object>
441 <object class="IBToOneOutletInfo" key="downloadProgressView">
442 <string key="name">downloadProgressView</string>
443 <string key="candidateClassName">UIProgressView</string>
444 </object>
445 <object class="IBToOneOutletInfo" key="previewContainerView">
446 <string key="name">previewContainerView</string>
447 <string key="candidateClassName">UIView</string>
448 </object>
449 <object class="IBToOneOutletInfo" key="toolBar">
450 <string key="name">toolBar</string>
451 <string key="candidateClassName">UIToolbar</string>
452 </object>
453 </dictionary>
454 <object class="IBClassDescriptionSource" key="sourceIdentifier">
455 <string key="majorKey">IBProjectSource</string>
456 <string key="minorKey">./Classes/U1FilePreviewViewController.h</string>
457 </object>
458 </object>
459 </array>
460 </object>
461 <int key="IBDocument.localizationMode">0</int>422 <int key="IBDocument.localizationMode">0</int>
462 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>423 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
463 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">424 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
@@ -466,6 +427,6 @@
466 </object>427 </object>
467 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>428 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
468 <int key="IBDocument.defaultPropertyAccessControl">3</int>429 <int key="IBDocument.defaultPropertyAccessControl">3</int>
469 <string key="IBCocoaTouchPluginVersion">1181</string>430 <string key="IBCocoaTouchPluginVersion">1498</string>
470 </data>431 </data>
471</archive>432</archive>
472433
=== modified file 'Files/U1FolderViewController.m'
--- Files/U1FolderViewController.m 2012-08-10 03:19:46 +0000
+++ Files/U1FolderViewController.m 2012-08-27 11:27:21 +0000
@@ -257,7 +257,7 @@
257 {257 {
258 [cell.imageView setImage:[UIImage imageNamed:@"ic_folder"]];258 [cell.imageView setImage:[UIImage imageNamed:@"ic_folder"]];
259 NSString *fuzzyDate = [self.fuzzyDateTransformer transformedValue:aNode.modificationDate];259 NSString *fuzzyDate = [self.fuzzyDateTransformer transformedValue:aNode.modificationDate];
260 [cell.detailLabel setText:[NSString stringWithFormat:@"modified %@", fuzzyDate]];260 [cell.detailLabel setText:[NSString stringWithFormat:NSLocalizedString(@"Modified %@", @"Folder modification time"), fuzzyDate]];
261 }261 }
262 else262 else
263 {263 {
@@ -274,7 +274,7 @@
274 NSString *detailString = sizeString;274 NSString *detailString = sizeString;
275 NSString *fuzzyDate = [self.fuzzyDateTransformer transformedValue:aNode.modificationDate];275 NSString *fuzzyDate = [self.fuzzyDateTransformer transformedValue:aNode.modificationDate];
276 if (aNode.modificationDate)276 if (aNode.modificationDate)
277 detailString = [sizeString stringByAppendingFormat:@", modified %@", fuzzyDate];277 detailString = [sizeString stringByAppendingFormat:NSLocalizedString(@", modified %@", @"File modification time"), fuzzyDate];
278 [cell.detailLabel setText:detailString];278 [cell.detailLabel setText:detailString];
279 }279 }
280}280}
@@ -439,7 +439,7 @@
439 int numItems = [[[self.resultsController sections] objectAtIndex:0] numberOfObjects];439 int numItems = [[[self.resultsController sections] objectAtIndex:0] numberOfObjects];
440 NSNumber *folderRawSize = [[self.resultsController fetchedObjects] valueForKeyPath:@"@sum.size"];440 NSNumber *folderRawSize = [[self.resultsController fetchedObjects] valueForKeyPath:@"@sum.size"];
441 NSString *folderSize = [self.byteSizeTransformer transformedValue:folderRawSize];441 NSString *folderSize = [self.byteSizeTransformer transformedValue:folderRawSize];
442 [self.footerLabel setText:[NSString stringWithFormat:@"%d items, %@", numItems, folderSize]];442 [self.footerLabel setText:[NSString stringWithFormat:NSLocalizedString(@"%d items, %@", @"N items, S.S MB"), numItems, folderSize]];
443}443}
444444
445@end445@end
446446
=== modified file 'Files/U1LoginController.m'
--- Files/U1LoginController.m 2012-05-18 18:40:15 +0000
+++ Files/U1LoginController.m 2012-08-27 11:27:21 +0000
@@ -326,7 +326,7 @@
326 else if (errorMessage == nil)326 else if (errorMessage == nil)
327 errorMessage = NSLocalizedString(@"An error occured trying to sign in, please try again.", @"Login Error Message");327 errorMessage = NSLocalizedString(@"An error occured trying to sign in, please try again.", @"Login Error Message");
328328
329 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Ubuntu One", nil) message:errorMessage delegate:self cancelButtonTitle:@"Dismiss" otherButtonTitles:nil];329 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Ubuntu One" message:errorMessage delegate:self cancelButtonTitle:NSLocalizedString(@"Ok", nil) otherButtonTitles:nil];
330 [alert show];330 [alert show];
331 [alert release];331 [alert release];
332 [self.loginViewController.view setUserInteractionEnabled:YES];332 [self.loginViewController.view setUserInteractionEnabled:YES];
333333
=== modified file 'Files/U1SSOCredentialsViewController.h'
--- Files/U1SSOCredentialsViewController.h 2012-01-19 15:52:37 +0000
+++ Files/U1SSOCredentialsViewController.h 2012-08-27 11:27:21 +0000
@@ -32,7 +32,12 @@
32@property (nonatomic, retain) IBOutlet UIButton *loginButton;32@property (nonatomic, retain) IBOutlet UIButton *loginButton;
33@property (nonatomic, copy) void (^loginAction)(NSString *username, NSString *password);33@property (nonatomic, copy) void (^loginAction)(NSString *username, NSString *password);
3434
35@property (retain, nonatomic) IBOutlet UILabel *emailLabel;
36@property (retain, nonatomic) IBOutlet UILabel *passwordLabel;
37
35- (IBAction)logIn:(id)sender;38- (IBAction)logIn:(id)sender;
36- (void)reset;39- (void)reset;
3740
41
42
38@end43@end
3944
=== modified file 'Files/U1SSOCredentialsViewController.m'
--- Files/U1SSOCredentialsViewController.m 2012-01-19 15:52:37 +0000
+++ Files/U1SSOCredentialsViewController.m 2012-08-27 11:27:21 +0000
@@ -17,6 +17,8 @@
1717
1818
19@implementation U1SSOCredentialsViewController19@implementation U1SSOCredentialsViewController
20@synthesize emailLabel;
21@synthesize passwordLabel;
2022
21@synthesize emailField;23@synthesize emailField;
22@synthesize passwordField;24@synthesize passwordField;
@@ -33,6 +35,8 @@
33 [patternView release];35 [patternView release];
34 [loginButton release];36 [loginButton release];
35 [spinner release];37 [spinner release];
38 [emailLabel release];
39 [passwordLabel release];
36 [super dealloc];40 [super dealloc];
37}41}
3842
@@ -43,6 +47,8 @@
43 [self setPatternView:nil];47 [self setPatternView:nil];
44 [self setLoginButton:nil];48 [self setLoginButton:nil];
45 [self setSpinner:nil];49 [self setSpinner:nil];
50 [self setEmailLabel:nil];
51 [self setPasswordLabel:nil];
46 [super viewDidUnload];52 [super viewDidUnload];
47}53}
4854
@@ -57,6 +63,10 @@
57 // The following should not be necessary but without it the pattern color is opaque...63 // The following should not be necessary but without it the pattern color is opaque...
58 // http://stackoverflow.com/questions/3899398/uicolor-colorwithpatternimage-alpha-blending-problem-solution-ios-sdk-4-1/5348396#534839664 // http://stackoverflow.com/questions/3899398/uicolor-colorwithpatternimage-alpha-blending-problem-solution-ios-sdk-4-1/5348396#5348396
59// [self.patternView.layer setOpaque:NO];65// [self.patternView.layer setOpaque:NO];
66
67 self.emailLabel.text = NSLocalizedString(@"Email", nil);
68 self.passwordLabel.text = NSLocalizedString(@"Password", nil);
69 [self.loginButton setTitle:NSLocalizedString(@"Sign in", nil) forState:UIControlStateNormal];
60}70}
6171
62- (IBAction)logIn:(id)sender;72- (IBAction)logIn:(id)sender;
6373
=== modified file 'Files/U1SSOCredentialsViewController.xib'
--- Files/U1SSOCredentialsViewController.xib 2012-01-19 15:52:37 +0000
+++ Files/U1SSOCredentialsViewController.xib 2012-08-27 11:27:21 +0000
@@ -1,23 +1,23 @@
1<?xml version="1.0" encoding="UTF-8"?>1<?xml version="1.0" encoding="UTF-8"?>
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1280</int>4 <int key="IBDocument.SystemTarget">1296</int>
5 <string key="IBDocument.SystemVersion">10K549</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">1938</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1038.36</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">461.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">933</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <object class="NSArray" key="IBDocument.IntegratedClassDependencies">13 <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
14 <bool key="EncodedWithXMLCoder">YES</bool>14 <bool key="EncodedWithXMLCoder">YES</bool>
15 <string>IBProxyObject</string>
16 <string>IBUIActivityIndicatorView</string>
17 <string>IBUIButton</string>
15 <string>IBUILabel</string>18 <string>IBUILabel</string>
16 <string>IBUIButton</string>19 <string>IBUITextField</string>
17 <string>IBUIActivityIndicatorView</string>
18 <string>IBUIView</string>20 <string>IBUIView</string>
19 <string>IBUITextField</string>
20 <string>IBProxyObject</string>
21 </object>21 </object>
22 <object class="NSArray" key="IBDocument.PluginDependencies">22 <object class="NSArray" key="IBDocument.PluginDependencies">
23 <bool key="EncodedWithXMLCoder">YES</bool>23 <bool key="EncodedWithXMLCoder">YES</bool>
@@ -38,7 +38,7 @@
38 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>38 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
39 </object>39 </object>
40 <object class="IBUIView" id="191373211">40 <object class="IBUIView" id="191373211">
41 <nil key="NSNextResponder"/>41 <reference key="NSNextResponder"/>
42 <int key="NSvFlags">274</int>42 <int key="NSvFlags">274</int>
43 <object class="NSMutableArray" key="NSSubviews">43 <object class="NSMutableArray" key="NSSubviews">
44 <bool key="EncodedWithXMLCoder">YES</bool>44 <bool key="EncodedWithXMLCoder">YES</bool>
@@ -47,6 +47,7 @@
47 <int key="NSvFlags">292</int>47 <int key="NSvFlags">292</int>
48 <string key="NSFrame">{{21, 33}, {279, 31}}</string>48 <string key="NSFrame">{{21, 33}, {279, 31}}</string>
49 <reference key="NSSuperview" ref="191373211"/>49 <reference key="NSSuperview" ref="191373211"/>
50 <reference key="NSWindow"/>
50 <reference key="NSNextKeyView" ref="1028176743"/>51 <reference key="NSNextKeyView" ref="1028176743"/>
51 <bool key="IBUIOpaque">NO</bool>52 <bool key="IBUIOpaque">NO</bool>
52 <bool key="IBUIClipsSubviews">YES</bool>53 <bool key="IBUIClipsSubviews">YES</bool>
@@ -82,6 +83,7 @@
82 <int key="NSvFlags">292</int>83 <int key="NSvFlags">292</int>
83 <string key="NSFrame">{{20, 100}, {280, 31}}</string>84 <string key="NSFrame">{{20, 100}, {280, 31}}</string>
84 <reference key="NSSuperview" ref="191373211"/>85 <reference key="NSSuperview" ref="191373211"/>
86 <reference key="NSWindow"/>
85 <reference key="NSNextKeyView" ref="1065737352"/>87 <reference key="NSNextKeyView" ref="1065737352"/>
86 <bool key="IBUIOpaque">NO</bool>88 <bool key="IBUIOpaque">NO</bool>
87 <bool key="IBUIClipsSubviews">YES</bool>89 <bool key="IBUIClipsSubviews">YES</bool>
@@ -107,6 +109,7 @@
107 <int key="NSvFlags">292</int>109 <int key="NSvFlags">292</int>
108 <string key="NSFrame">{{20, 11}, {40, 20}}</string>110 <string key="NSFrame">{{20, 11}, {40, 20}}</string>
109 <reference key="NSSuperview" ref="191373211"/>111 <reference key="NSSuperview" ref="191373211"/>
112 <reference key="NSWindow"/>
110 <reference key="NSNextKeyView" ref="391813410"/>113 <reference key="NSNextKeyView" ref="391813410"/>
111 <bool key="IBUIOpaque">NO</bool>114 <bool key="IBUIOpaque">NO</bool>
112 <bool key="IBUIClipsSubviews">YES</bool>115 <bool key="IBUIClipsSubviews">YES</bool>
@@ -138,6 +141,7 @@
138 <int key="NSvFlags">292</int>141 <int key="NSvFlags">292</int>
139 <string key="NSFrame">{{20, 79}, {72, 20}}</string>142 <string key="NSFrame">{{20, 79}, {72, 20}}</string>
140 <reference key="NSSuperview" ref="191373211"/>143 <reference key="NSSuperview" ref="191373211"/>
144 <reference key="NSWindow"/>
141 <reference key="NSNextKeyView" ref="965235407"/>145 <reference key="NSNextKeyView" ref="965235407"/>
142 <bool key="IBUIOpaque">NO</bool>146 <bool key="IBUIOpaque">NO</bool>
143 <bool key="IBUIClipsSubviews">YES</bool>147 <bool key="IBUIClipsSubviews">YES</bool>
@@ -157,6 +161,7 @@
157 <int key="NSvFlags">292</int>161 <int key="NSvFlags">292</int>
158 <string key="NSFrame">{{21, 143}, {275, 45}}</string>162 <string key="NSFrame">{{21, 143}, {275, 45}}</string>
159 <reference key="NSSuperview" ref="191373211"/>163 <reference key="NSSuperview" ref="191373211"/>
164 <reference key="NSWindow"/>
160 <bool key="IBUIOpaque">NO</bool>165 <bool key="IBUIOpaque">NO</bool>
161 <string key="IBUIContentStretch">{{0.5, 0}, {0.5, 1}}</string>166 <string key="IBUIContentStretch">{{0.5, 0}, {0.5, 1}}</string>
162 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>167 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -192,6 +197,7 @@
192 <int key="NSvFlags">-2147483356</int>197 <int key="NSvFlags">-2147483356</int>
193 <string key="NSFrame">{{278, 11}, {20, 20}}</string>198 <string key="NSFrame">{{278, 11}, {20, 20}}</string>
194 <reference key="NSSuperview" ref="191373211"/>199 <reference key="NSSuperview" ref="191373211"/>
200 <reference key="NSWindow"/>
195 <reference key="NSNextKeyView" ref="327454090"/>201 <reference key="NSNextKeyView" ref="327454090"/>
196 <bool key="IBUIOpaque">NO</bool>202 <bool key="IBUIOpaque">NO</bool>
197 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>203 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -199,6 +205,8 @@
199 </object>205 </object>
200 </object>206 </object>
201 <string key="NSFrame">{{0, 64}, {320, 416}}</string>207 <string key="NSFrame">{{0, 64}, {320, 416}}</string>
208 <reference key="NSSuperview"/>
209 <reference key="NSWindow"/>
202 <object class="NSColor" key="IBUIBackgroundColor">210 <object class="NSColor" key="IBUIBackgroundColor">
203 <int key="NSColorSpace">3</int>211 <int key="NSColorSpace">3</int>
204 <bytes key="NSWhite">MQA</bytes>212 <bytes key="NSWhite">MQA</bytes>
@@ -255,6 +263,22 @@
255 <int key="connectionID">23</int>263 <int key="connectionID">23</int>
256 </object>264 </object>
257 <object class="IBConnectionRecord">265 <object class="IBConnectionRecord">
266 <object class="IBCocoaTouchOutletConnection" key="connection">
267 <string key="label">emailLabel</string>
268 <reference key="source" ref="372490531"/>
269 <reference key="destination" ref="522019067"/>
270 </object>
271 <int key="connectionID">31</int>
272 </object>
273 <object class="IBConnectionRecord">
274 <object class="IBCocoaTouchOutletConnection" key="connection">
275 <string key="label">passwordLabel</string>
276 <reference key="source" ref="372490531"/>
277 <reference key="destination" ref="1028176743"/>
278 </object>
279 <int key="connectionID">32</int>
280 </object>
281 <object class="IBConnectionRecord">
258 <object class="IBCocoaTouchEventConnection" key="connection">282 <object class="IBCocoaTouchEventConnection" key="connection">
259 <string key="label">logIn:</string>283 <string key="label">logIn:</string>
260 <reference key="source" ref="1065737352"/>284 <reference key="source" ref="1065737352"/>
@@ -349,7 +373,7 @@
349 <string>6.IBPluginDependency</string>373 <string>6.IBPluginDependency</string>
350 <string>7.IBPluginDependency</string>374 <string>7.IBPluginDependency</string>
351 </object>375 </object>
352 <object class="NSMutableArray" key="dict.values">376 <object class="NSArray" key="dict.values">
353 <bool key="EncodedWithXMLCoder">YES</bool>377 <bool key="EncodedWithXMLCoder">YES</bool>
354 <string>U1SSOCredentialsViewController</string>378 <string>U1SSOCredentialsViewController</string>
355 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>379 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -377,7 +401,7 @@
377 <reference key="dict.values" ref="0"/>401 <reference key="dict.values" ref="0"/>
378 </object>402 </object>
379 <nil key="sourceID"/>403 <nil key="sourceID"/>
380 <int key="maxID">30</int>404 <int key="maxID">32</int>
381 </object>405 </object>
382 <object class="IBClassDescriber" key="IBDocument.Classes">406 <object class="IBClassDescriber" key="IBDocument.Classes">
383 <object class="NSMutableArray" key="referencedPartialClassDescriptions">407 <object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -390,16 +414,106 @@
390 <string key="minorKey">./Classes/U1OrangeButton.h</string>414 <string key="minorKey">./Classes/U1OrangeButton.h</string>
391 </object>415 </object>
392 </object>416 </object>
417 <object class="IBPartialClassDescription">
418 <string key="className">U1SSOCredentialsViewController</string>
419 <string key="superclassName">UIViewController</string>
420 <object class="NSMutableDictionary" key="actions">
421 <string key="NS.key.0">logIn:</string>
422 <string key="NS.object.0">id</string>
423 </object>
424 <object class="NSMutableDictionary" key="actionInfosByName">
425 <string key="NS.key.0">logIn:</string>
426 <object class="IBActionInfo" key="NS.object.0">
427 <string key="name">logIn:</string>
428 <string key="candidateClassName">id</string>
429 </object>
430 </object>
431 <object class="NSMutableDictionary" key="outlets">
432 <bool key="EncodedWithXMLCoder">YES</bool>
433 <object class="NSArray" key="dict.sortedKeys">
434 <bool key="EncodedWithXMLCoder">YES</bool>
435 <string>emailField</string>
436 <string>emailLabel</string>
437 <string>loginButton</string>
438 <string>passwordField</string>
439 <string>passwordLabel</string>
440 <string>patternView</string>
441 <string>spinner</string>
442 </object>
443 <object class="NSArray" key="dict.values">
444 <bool key="EncodedWithXMLCoder">YES</bool>
445 <string>UITextField</string>
446 <string>UILabel</string>
447 <string>UIButton</string>
448 <string>UITextField</string>
449 <string>UILabel</string>
450 <string>UIView</string>
451 <string>UIActivityIndicatorView</string>
452 </object>
453 </object>
454 <object class="NSMutableDictionary" key="toOneOutletInfosByName">
455 <bool key="EncodedWithXMLCoder">YES</bool>
456 <object class="NSArray" key="dict.sortedKeys">
457 <bool key="EncodedWithXMLCoder">YES</bool>
458 <string>emailField</string>
459 <string>emailLabel</string>
460 <string>loginButton</string>
461 <string>passwordField</string>
462 <string>passwordLabel</string>
463 <string>patternView</string>
464 <string>spinner</string>
465 </object>
466 <object class="NSArray" key="dict.values">
467 <bool key="EncodedWithXMLCoder">YES</bool>
468 <object class="IBToOneOutletInfo">
469 <string key="name">emailField</string>
470 <string key="candidateClassName">UITextField</string>
471 </object>
472 <object class="IBToOneOutletInfo">
473 <string key="name">emailLabel</string>
474 <string key="candidateClassName">UILabel</string>
475 </object>
476 <object class="IBToOneOutletInfo">
477 <string key="name">loginButton</string>
478 <string key="candidateClassName">UIButton</string>
479 </object>
480 <object class="IBToOneOutletInfo">
481 <string key="name">passwordField</string>
482 <string key="candidateClassName">UITextField</string>
483 </object>
484 <object class="IBToOneOutletInfo">
485 <string key="name">passwordLabel</string>
486 <string key="candidateClassName">UILabel</string>
487 </object>
488 <object class="IBToOneOutletInfo">
489 <string key="name">patternView</string>
490 <string key="candidateClassName">UIView</string>
491 </object>
492 <object class="IBToOneOutletInfo">
493 <string key="name">spinner</string>
494 <string key="candidateClassName">UIActivityIndicatorView</string>
495 </object>
496 </object>
497 </object>
498 <object class="IBClassDescriptionSource" key="sourceIdentifier">
499 <string key="majorKey">IBProjectSource</string>
500 <string key="minorKey">./Classes/U1SSOCredentialsViewController.h</string>
501 </object>
502 </object>
393 </object>503 </object>
394 </object>504 </object>
395 <int key="IBDocument.localizationMode">0</int>505 <int key="IBDocument.localizationMode">0</int>
396 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>506 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
507 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
508 <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
509 <real value="1296" key="NS.object.0"/>
510 </object>
397 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">511 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
398 <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>512 <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
399 <integer value="3000" key="NS.object.0"/>513 <integer value="3000" key="NS.object.0"/>
400 </object>514 </object>
401 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>515 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
402 <int key="IBDocument.defaultPropertyAccessControl">3</int>516 <int key="IBDocument.defaultPropertyAccessControl">3</int>
403 <string key="IBCocoaTouchPluginVersion">933</string>517 <string key="IBCocoaTouchPluginVersion">1498</string>
404 </data>518 </data>
405</archive>519</archive>
406520
=== modified file 'Files/U1SSOEmailVerificationViewController.m'
--- Files/U1SSOEmailVerificationViewController.m 2012-01-19 15:52:37 +0000
+++ Files/U1SSOEmailVerificationViewController.m 2012-08-27 11:27:21 +0000
@@ -16,6 +16,34 @@
16#import "U1SSOEmailVerificationViewController.h"16#import "U1SSOEmailVerificationViewController.h"
1717
1818
19@interface U1SSOEmailVerificationViewController ()
20
21 @property (retain, nonatomic) IBOutlet UILabel *title;
22 @property (retain, nonatomic) IBOutlet UILabel *description;
23
24@end
25
19@implementation U1SSOEmailVerificationViewController26@implementation U1SSOEmailVerificationViewController
2027@synthesize title;
28@synthesize description;
29
30- (void)viewDidLoad
31{
32 self.title.text = NSLocalizedString(@"Congratulations", nil);
33 self.description.text = NSLocalizedString(@"A confirmation email has been sent to the address you provided.\n\nSimply follow the link in the email to activate your Ubuntu One account.", nil);
34}
35
36- (void)dealloc
37{
38 [title release];
39 [description release];
40 [super dealloc];
41}
42
43- (void)viewDidUnload
44{
45 [self setTitle:nil];
46 [self setDescription:nil];
47 [super viewDidUnload];
48}
21@end49@end
2250
=== modified file 'Files/U1SSOEmailVerificationViewController.xib'
--- Files/U1SSOEmailVerificationViewController.xib 2012-01-19 15:52:37 +0000
+++ Files/U1SSOEmailVerificationViewController.xib 2012-08-27 11:27:21 +0000
@@ -1,20 +1,20 @@
1<?xml version="1.0" encoding="UTF-8"?>1<?xml version="1.0" encoding="UTF-8"?>
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1280</int>4 <int key="IBDocument.SystemTarget">1296</int>
5 <string key="IBDocument.SystemVersion">10K549</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">1938</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1038.36</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">461.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">933</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <array key="IBDocument.IntegratedClassDependencies">13 <array key="IBDocument.IntegratedClassDependencies">
14 <string>IBProxyObject</string>
14 <string>IBUIImageView</string>15 <string>IBUIImageView</string>
16 <string>IBUILabel</string>
15 <string>IBUIView</string>17 <string>IBUIView</string>
16 <string>IBUILabel</string>
17 <string>IBProxyObject</string>
18 </array>18 </array>
19 <array key="IBDocument.PluginDependencies">19 <array key="IBDocument.PluginDependencies">
20 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>20 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -41,7 +41,6 @@
41 <int key="NSvFlags">274</int>41 <int key="NSvFlags">274</int>
42 <string key="NSFrame">{{0, -44}, {320, 416}}</string>42 <string key="NSFrame">{{0, -44}, {320, 416}}</string>
43 <reference key="NSSuperview" ref="191373211"/>43 <reference key="NSSuperview" ref="191373211"/>
44 <reference key="NSWindow"/>
45 <reference key="NSNextKeyView" ref="362114594"/>44 <reference key="NSNextKeyView" ref="362114594"/>
46 <bool key="IBUIUserInteractionEnabled">NO</bool>45 <bool key="IBUIUserInteractionEnabled">NO</bool>
47 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>46 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -55,7 +54,6 @@
55 <int key="NSvFlags">292</int>54 <int key="NSvFlags">292</int>
56 <string key="NSFrame">{{35, 28}, {250, 172}}</string>55 <string key="NSFrame">{{35, 28}, {250, 172}}</string>
57 <reference key="NSSuperview" ref="191373211"/>56 <reference key="NSSuperview" ref="191373211"/>
58 <reference key="NSWindow"/>
59 <reference key="NSNextKeyView" ref="427494806"/>57 <reference key="NSNextKeyView" ref="427494806"/>
60 <bool key="IBUIClipsSubviews">YES</bool>58 <bool key="IBUIClipsSubviews">YES</bool>
61 <int key="IBUIContentMode">5</int>59 <int key="IBUIContentMode">5</int>
@@ -71,7 +69,6 @@
71 <int key="NSvFlags">292</int>69 <int key="NSvFlags">292</int>
72 <string key="NSFrame">{{76, 216}, {169, 27}}</string>70 <string key="NSFrame">{{76, 216}, {169, 27}}</string>
73 <reference key="NSSuperview" ref="191373211"/>71 <reference key="NSSuperview" ref="191373211"/>
74 <reference key="NSWindow"/>
75 <reference key="NSNextKeyView" ref="828632858"/>72 <reference key="NSNextKeyView" ref="828632858"/>
76 <bool key="IBUIOpaque">NO</bool>73 <bool key="IBUIOpaque">NO</bool>
77 <bool key="IBUIClipsSubviews">YES</bool>74 <bool key="IBUIClipsSubviews">YES</bool>
@@ -101,8 +98,6 @@
101 <int key="NSvFlags">292</int>98 <int key="NSvFlags">292</int>
102 <string key="NSFrame">{{35, 251}, {250, 97}}</string>99 <string key="NSFrame">{{35, 251}, {250, 97}}</string>
103 <reference key="NSSuperview" ref="191373211"/>100 <reference key="NSSuperview" ref="191373211"/>
104 <reference key="NSWindow"/>
105 <reference key="NSNextKeyView"/>
106 <bool key="IBUIOpaque">NO</bool>101 <bool key="IBUIOpaque">NO</bool>
107 <bool key="IBUIClipsSubviews">YES</bool>102 <bool key="IBUIClipsSubviews">YES</bool>
108 <int key="IBUIContentMode">7</int>103 <int key="IBUIContentMode">7</int>
@@ -129,7 +124,6 @@
129 </array>124 </array>
130 <string key="NSFrame">{{0, 64}, {320, 416}}</string>125 <string key="NSFrame">{{0, 64}, {320, 416}}</string>
131 <reference key="NSSuperview"/>126 <reference key="NSSuperview"/>
132 <reference key="NSWindow"/>
133 <reference key="NSNextKeyView" ref="897675393"/>127 <reference key="NSNextKeyView" ref="897675393"/>
134 <object class="NSColor" key="IBUIBackgroundColor">128 <object class="NSColor" key="IBUIBackgroundColor">
135 <int key="NSColorSpace">3</int>129 <int key="NSColorSpace">3</int>
@@ -155,6 +149,22 @@
155 </object>149 </object>
156 <int key="connectionID">3</int>150 <int key="connectionID">3</int>
157 </object>151 </object>
152 <object class="IBConnectionRecord">
153 <object class="IBCocoaTouchOutletConnection" key="connection">
154 <string key="label">title</string>
155 <reference key="source" ref="372490531"/>
156 <reference key="destination" ref="427494806"/>
157 </object>
158 <int key="connectionID">9</int>
159 </object>
160 <object class="IBConnectionRecord">
161 <object class="IBCocoaTouchOutletConnection" key="connection">
162 <string key="label">description</string>
163 <reference key="source" ref="372490531"/>
164 <reference key="destination" ref="828632858"/>
165 </object>
166 <int key="connectionID">10</int>
167 </object>
158 </array>168 </array>
159 <object class="IBMutableOrderedSet" key="objectRecords">169 <object class="IBMutableOrderedSet" key="objectRecords">
160 <array key="orderedObjects">170 <array key="orderedObjects">
@@ -223,28 +233,21 @@
223 <nil key="activeLocalization"/>233 <nil key="activeLocalization"/>
224 <dictionary class="NSMutableDictionary" key="localizations"/>234 <dictionary class="NSMutableDictionary" key="localizations"/>
225 <nil key="sourceID"/>235 <nil key="sourceID"/>
226 <int key="maxID">8</int>236 <int key="maxID">10</int>
227 </object>237 </object>
228 <object class="IBClassDescriber" key="IBDocument.Classes">238 <object class="IBClassDescriber" key="IBDocument.Classes"/>
229 <array class="NSMutableArray" key="referencedPartialClassDescriptions">
230 <object class="IBPartialClassDescription">
231 <string key="className">U1SSOEmailVerificationViewController</string>
232 <string key="superclassName">UIViewController</string>
233 <object class="IBClassDescriptionSource" key="sourceIdentifier">
234 <string key="majorKey">IBProjectSource</string>
235 <string key="minorKey">./Classes/U1SSOEmailVerificationViewController.h</string>
236 </object>
237 </object>
238 </array>
239 </object>
240 <int key="IBDocument.localizationMode">0</int>239 <int key="IBDocument.localizationMode">0</int>
241 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>240 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
241 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
242 <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
243 <real value="1296" key="NS.object.0"/>
244 </object>
242 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>245 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
243 <int key="IBDocument.defaultPropertyAccessControl">3</int>246 <int key="IBDocument.defaultPropertyAccessControl">3</int>
244 <dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">247 <dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
245 <string key="ios_files_bg.png">{320, 460}</string>248 <string key="ios_files_bg.png">{320, 460}</string>
246 <string key="slide0.png">{250, 200}</string>249 <string key="slide0.png">{250, 200}</string>
247 </dictionary>250 </dictionary>
248 <string key="IBCocoaTouchPluginVersion">933</string>251 <string key="IBCocoaTouchPluginVersion">1498</string>
249 </data>252 </data>
250</archive>253</archive>
251254
=== modified file 'Files/U1SSOLandingPageViewController.h'
--- Files/U1SSOLandingPageViewController.h 2012-01-19 15:52:37 +0000
+++ Files/U1SSOLandingPageViewController.h 2012-08-27 11:27:21 +0000
@@ -27,4 +27,7 @@
27- (IBAction)signIn:(id)sender;27- (IBAction)signIn:(id)sender;
28- (IBAction)signUp:(id)sender;28- (IBAction)signUp:(id)sender;
2929
30@property (retain, nonatomic) IBOutlet UIButton *signInButton;
31@property (retain, nonatomic) IBOutlet UIButton *signUpButton;
32
30@end33@end
3134
=== modified file 'Files/U1SSOLandingPageViewController.m'
--- Files/U1SSOLandingPageViewController.m 2012-01-19 15:52:37 +0000
+++ Files/U1SSOLandingPageViewController.m 2012-08-27 11:27:21 +0000
@@ -19,13 +19,16 @@
1919
2020
21@implementation U1SSOLandingPageViewController21@implementation U1SSOLandingPageViewController
2222@synthesize signInButton;
23@synthesize signUpButton;
23@synthesize signInAction, signUpAction;24@synthesize signInAction, signUpAction;
2425
25- (void)dealloc;26- (void)dealloc;
26{27{
27 [signInAction release];28 [signInAction release];
28 [signUpAction release];29 [signUpAction release];
30 [signInButton release];
31 [signUpButton release];
29 [super dealloc];32 [super dealloc];
30}33}
3134
@@ -41,4 +44,19 @@
41 signUpAction(sender);44 signUpAction(sender);
42}45}
4346
47- (void)viewDidLoad
48{
49 [self.signInButton setTitle:NSLocalizedString(@"Sign in", nil) forState:UIControlStateNormal];
50 [self.signUpButton setTitle:NSLocalizedString(@"I don't have an account", nil) forState:UIControlStateNormal];
51}
52
53- (void)viewDidUnload
54{
55 [self setSignInButton:nil];
56 [self setSignUpButton:nil];
57 [self setSignInButton:nil];
58 [self setSignUpButton:nil];
59 [self setSignUpButton:nil];
60 [super viewDidUnload];
61}
44@end62@end
4563
=== modified file 'Files/U1SSOLandingPageViewController.xib'
--- Files/U1SSOLandingPageViewController.xib 2012-01-19 15:52:37 +0000
+++ Files/U1SSOLandingPageViewController.xib 2012-08-27 11:27:21 +0000
@@ -1,20 +1,20 @@
1<?xml version="1.0" encoding="UTF-8"?>1<?xml version="1.0" encoding="UTF-8"?>
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1280</int>4 <int key="IBDocument.SystemTarget">1296</int>
5 <string key="IBDocument.SystemVersion">10K549</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">1938</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1038.36</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">461.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">933</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <array key="IBDocument.IntegratedClassDependencies">13 <array key="IBDocument.IntegratedClassDependencies">
14 <string>IBProxyObject</string>
14 <string>IBUIButton</string>15 <string>IBUIButton</string>
15 <string>IBUIImageView</string>16 <string>IBUIImageView</string>
16 <string>IBUIView</string>17 <string>IBUIView</string>
17 <string>IBProxyObject</string>
18 </array>18 </array>
19 <array key="IBDocument.PluginDependencies">19 <array key="IBDocument.PluginDependencies">
20 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>20 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -155,7 +155,7 @@
155 <integer value="1"/>155 <integer value="1"/>
156 <integer value="3"/>156 <integer value="3"/>
157 </array>157 </array>
158 <array class="NSMutableArray" key="dict.values">158 <array key="dict.values">
159 <string>{320, 480}</string>159 <string>{320, 480}</string>
160 <string>{480, 320}</string>160 <string>{480, 320}</string>
161 </array>161 </array>
@@ -177,6 +177,22 @@
177 <int key="connectionID">3</int>177 <int key="connectionID">3</int>
178 </object>178 </object>
179 <object class="IBConnectionRecord">179 <object class="IBConnectionRecord">
180 <object class="IBCocoaTouchOutletConnection" key="connection">
181 <string key="label">signInButton</string>
182 <reference key="source" ref="372490531"/>
183 <reference key="destination" ref="167575446"/>
184 </object>
185 <int key="connectionID">17</int>
186 </object>
187 <object class="IBConnectionRecord">
188 <object class="IBCocoaTouchOutletConnection" key="connection">
189 <string key="label">signUpButton</string>
190 <reference key="source" ref="372490531"/>
191 <reference key="destination" ref="325598511"/>
192 </object>
193 <int key="connectionID">19</int>
194 </object>
195 <object class="IBConnectionRecord">
180 <object class="IBCocoaTouchEventConnection" key="connection">196 <object class="IBCocoaTouchEventConnection" key="connection">
181 <string key="label">signIn:</string>197 <string key="label">signIn:</string>
182 <reference key="source" ref="167575446"/>198 <reference key="source" ref="167575446"/>
@@ -271,7 +287,7 @@
271 <nil key="activeLocalization"/>287 <nil key="activeLocalization"/>
272 <dictionary class="NSMutableDictionary" key="localizations"/>288 <dictionary class="NSMutableDictionary" key="localizations"/>
273 <nil key="sourceID"/>289 <nil key="sourceID"/>
274 <int key="maxID">14</int>290 <int key="maxID">19</int>
275 </object>291 </object>
276 <object class="IBClassDescriber" key="IBDocument.Classes">292 <object class="IBClassDescriber" key="IBDocument.Classes">
277 <array class="NSMutableArray" key="referencedPartialClassDescriptions">293 <array class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -300,6 +316,20 @@
300 <string key="candidateClassName">id</string>316 <string key="candidateClassName">id</string>
301 </object>317 </object>
302 </dictionary>318 </dictionary>
319 <dictionary class="NSMutableDictionary" key="outlets">
320 <string key="signInButton">UIButton</string>
321 <string key="signUpButton">UIButton</string>
322 </dictionary>
323 <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
324 <object class="IBToOneOutletInfo" key="signInButton">
325 <string key="name">signInButton</string>
326 <string key="candidateClassName">UIButton</string>
327 </object>
328 <object class="IBToOneOutletInfo" key="signUpButton">
329 <string key="name">signUpButton</string>
330 <string key="candidateClassName">UIButton</string>
331 </object>
332 </dictionary>
303 <object class="IBClassDescriptionSource" key="sourceIdentifier">333 <object class="IBClassDescriptionSource" key="sourceIdentifier">
304 <string key="majorKey">IBProjectSource</string>334 <string key="majorKey">IBProjectSource</string>
305 <string key="minorKey">./Classes/U1SSOLandingPageViewController.h</string>335 <string key="minorKey">./Classes/U1SSOLandingPageViewController.h</string>
@@ -309,6 +339,10 @@
309 </object>339 </object>
310 <int key="IBDocument.localizationMode">0</int>340 <int key="IBDocument.localizationMode">0</int>
311 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>341 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
342 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
343 <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
344 <real value="1296" key="NS.object.0"/>
345 </object>
312 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>346 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
313 <int key="IBDocument.defaultPropertyAccessControl">3</int>347 <int key="IBDocument.defaultPropertyAccessControl">3</int>
314 <dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">348 <dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
@@ -316,6 +350,6 @@
316 <string key="slide0.png">{250, 200}</string>350 <string key="slide0.png">{250, 200}</string>
317 <string key="slide0_logo.png">{88, 36}</string>351 <string key="slide0_logo.png">{88, 36}</string>
318 </dictionary>352 </dictionary>
319 <string key="IBCocoaTouchPluginVersion">933</string>353 <string key="IBCocoaTouchPluginVersion">1498</string>
320 </data>354 </data>
321</archive>355</archive>
322356
=== modified file 'Files/U1SSOSignUpViewController.m'
--- Files/U1SSOSignUpViewController.m 2012-05-18 18:41:43 +0000
+++ Files/U1SSOSignUpViewController.m 2012-08-27 11:27:21 +0000
@@ -59,10 +59,28 @@
59- (BOOL)validateFields;59- (BOOL)validateFields;
60- (void)keyboardWasShown:(NSNotification *)notification;60- (void)keyboardWasShown:(NSNotification *)notification;
61- (void) keyboardWillHide:(NSNotification *)notification;61- (void) keyboardWillHide:(NSNotification *)notification;
62
63@property (retain, nonatomic) IBOutlet UILabel *signUpTitleLabel;
64@property (retain, nonatomic) IBOutlet UILabel *signUpTitleDescriptionLabel;
65@property (retain, nonatomic) IBOutlet UILabel *passwordDescriptionLabel;
66@property (retain, nonatomic) IBOutlet UILabel *captchaHelpLabel;
67@property (retain, nonatomic) IBOutlet UILabel *captchaInstructionsLabel;
68@property (retain, nonatomic) IBOutlet UILabel *termsOfserviceLabel;
69@property (retain, nonatomic) IBOutlet UILabel *termsOfServiceLinkLabel;
70@property (retain, nonatomic) IBOutlet UIButton *signInButton;
71
62@end72@end
6373
6474
65@implementation U1SSOSignUpViewController75@implementation U1SSOSignUpViewController
76@synthesize signUpTitleLabel;
77@synthesize signUpTitleDescriptionLabel;
78@synthesize passwordDescriptionLabel;
79@synthesize captchaHelpLabel;
80@synthesize captchaInstructionsLabel;
81@synthesize termsOfserviceLabel;
82@synthesize termsOfServiceLinkLabel;
83@synthesize signInButton;
6684
67@synthesize ssoProvider, signUpAction;85@synthesize ssoProvider, signUpAction;
68@synthesize scrollView;86@synthesize scrollView;
@@ -97,12 +115,28 @@
97 [captchaLoadingIndicator release];115 [captchaLoadingIndicator release];
98 [captchaErrorLabel release];116 [captchaErrorLabel release];
99 [captchaId release];117 [captchaId release];
118 [signUpTitleLabel release];
119 [signUpTitleDescriptionLabel release];
120 [passwordDescriptionLabel release];
121 [captchaHelpLabel release];
122 [captchaInstructionsLabel release];
123 [termsOfserviceLabel release];
124 [termsOfServiceLinkLabel release];
125 [signInButton release];
100 [super dealloc];126 [super dealloc];
101 [[NSNotificationCenter defaultCenter] removeObserver:self];127 [[NSNotificationCenter defaultCenter] removeObserver:self];
102}128}
103129
104- (void)viewDidUnload;130- (void)viewDidUnload;
105{131{
132 [self setSignInButton:nil];
133 [self setTermsOfServiceLinkLabel:nil];
134 [self setTermsOfserviceLabel:nil];
135 [self setCaptchaInstructionsLabel:nil];
136 [self setCaptchaHelpLabel:nil];
137 [self setPasswordDescriptionLabel:nil];
138 [self setSignUpTitleDescriptionLabel:nil];
139 [self setSignUpTitleLabel:nil];
106 [[NSNotificationCenter defaultCenter] removeObserver:self];140 [[NSNotificationCenter defaultCenter] removeObserver:self];
107}141}
108142
@@ -123,6 +157,20 @@
123 selector:@selector(keyboardWillHide:)157 selector:@selector(keyboardWillHide:)
124 name:UIKeyboardWillHideNotification158 name:UIKeyboardWillHideNotification
125 object:nil];159 object:nil];
160
161 // i18n
162 self.signUpTitleLabel.text = NSLocalizedString(@"Sign up", nil);
163 self.signUpTitleDescriptionLabel.text = NSLocalizedString(@"Please provide a few details below to register for your Ubuntu One account", nil);
164 self.fullNameLabel.text = NSLocalizedString(@"Full name", nil);
165 self.emailLabel.text = NSLocalizedString(@"Email", nil);
166 self.passwordLabel.text = NSLocalizedString(@"Password", nil);
167 self.passwordDescriptionLabel.text = NSLocalizedString(@"Must be at least 8 characters long and must contain at least one number and one upper case letter", nil);
168 self.captchaLabel.text = NSLocalizedString(@"Security", nil);
169 self.captchaHelpLabel.text = NSLocalizedString(@"(Can't read? Tap the image)", nil);
170 self.captchaInstructionsLabel.text = NSLocalizedString(@"Type the two words:", nil);
171 self.termsOfserviceLabel.text = NSLocalizedString(@"By creating an account you agree to the Ubuntu Account", nil);
172 self.termsOfServiceLinkLabel.text = NSLocalizedString(@"Terms of Service", nil);
173 [self.signInButton setTitle:NSLocalizedString(@"Sign up", nil) forState:UIControlStateNormal];
126}174}
127175
128- (void)keyboardWasShown:(NSNotification *)notification;176- (void)keyboardWasShown:(NSNotification *)notification;
129177
=== modified file 'Files/U1SSOSignUpViewController.xib'
--- Files/U1SSOSignUpViewController.xib 2012-02-06 18:05:36 +0000
+++ Files/U1SSOSignUpViewController.xib 2012-08-27 11:27:21 +0000
@@ -1,24 +1,24 @@
1<?xml version="1.0" encoding="UTF-8"?>1<?xml version="1.0" encoding="UTF-8"?>
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1280</int>4 <int key="IBDocument.SystemTarget">1296</int>
5 <string key="IBDocument.SystemVersion">10K549</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">1938</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1038.36</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">461.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">933</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <array key="IBDocument.IntegratedClassDependencies">13 <array key="IBDocument.IntegratedClassDependencies">
14 <string>IBUIView</string>
15 <string>IBProxyObject</string>14 <string>IBProxyObject</string>
15 <string>IBUIActivityIndicatorView</string>
16 <string>IBUIButton</string>
17 <string>IBUIImageView</string>
16 <string>IBUILabel</string>18 <string>IBUILabel</string>
17 <string>IBUIImageView</string>19 <string>IBUIScrollView</string>
18 <string>IBUIActivityIndicatorView</string>
19 <string>IBUITextField</string>20 <string>IBUITextField</string>
20 <string>IBUIScrollView</string>21 <string>IBUIView</string>
21 <string>IBUIButton</string>
22 </array>22 </array>
23 <array key="IBDocument.PluginDependencies">23 <array key="IBDocument.PluginDependencies">
24 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>24 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -46,7 +46,6 @@
46 <string key="NSFrameSize">{320, 460}</string>46 <string key="NSFrameSize">{320, 460}</string>
47 <reference key="NSSuperview" ref="191373211"/>47 <reference key="NSSuperview" ref="191373211"/>
48 <reference key="NSWindow"/>48 <reference key="NSWindow"/>
49 <reference key="NSNextKeyView"/>
50 <bool key="IBUIClipsSubviews">YES</bool>49 <bool key="IBUIClipsSubviews">YES</bool>
51 <bool key="IBUIMultipleTouchEnabled">YES</bool>50 <bool key="IBUIMultipleTouchEnabled">YES</bool>
52 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>51 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -75,8 +74,8 @@
75 <array class="NSMutableArray" key="NSSubviews">74 <array class="NSMutableArray" key="NSSubviews">
76 <object class="IBUILabel" id="849601266">75 <object class="IBUILabel" id="849601266">
77 <reference key="NSNextResponder" ref="629509686"/>76 <reference key="NSNextResponder" ref="629509686"/>
78 <int key="NSvFlags">292</int>77 <int key="NSvFlags">290</int>
79 <string key="NSFrame">{{10, 12}, {55, 19}}</string>78 <string key="NSFrame">{{10, 12}, {300, 19}}</string>
80 <reference key="NSSuperview" ref="629509686"/>79 <reference key="NSSuperview" ref="629509686"/>
81 <reference key="NSWindow"/>80 <reference key="NSWindow"/>
82 <reference key="NSNextKeyView" ref="46520390"/>81 <reference key="NSNextKeyView" ref="46520390"/>
@@ -105,8 +104,8 @@
105 </object>104 </object>
106 <object class="IBUILabel" id="46520390">105 <object class="IBUILabel" id="46520390">
107 <reference key="NSNextResponder" ref="629509686"/>106 <reference key="NSNextResponder" ref="629509686"/>
108 <int key="NSvFlags">292</int>107 <int key="NSvFlags">290</int>
109 <string key="NSFrame">{{10, 28}, {290, 40}}</string>108 <string key="NSFrame">{{10, 28}, {300, 40}}</string>
110 <reference key="NSSuperview" ref="629509686"/>109 <reference key="NSSuperview" ref="629509686"/>
111 <reference key="NSWindow"/>110 <reference key="NSWindow"/>
112 <reference key="NSNextKeyView" ref="720438318"/>111 <reference key="NSNextKeyView" ref="720438318"/>
@@ -193,7 +192,7 @@
193 </object>192 </object>
194 <object class="IBUILabel" id="49460719">193 <object class="IBUILabel" id="49460719">
195 <reference key="NSNextResponder" ref="629509686"/>194 <reference key="NSNextResponder" ref="629509686"/>
196 <int key="NSvFlags">292</int>195 <int key="NSvFlags">294</int>
197 <string key="NSFrame">{{10, 434}, {71, 19}}</string>196 <string key="NSFrame">{{10, 434}, {71, 19}}</string>
198 <reference key="NSSuperview" ref="629509686"/>197 <reference key="NSSuperview" ref="629509686"/>
199 <reference key="NSWindow"/>198 <reference key="NSWindow"/>
@@ -254,8 +253,8 @@
254 </object>253 </object>
255 <object class="IBUILabel" id="809258214">254 <object class="IBUILabel" id="809258214">
256 <reference key="NSNextResponder" ref="629509686"/>255 <reference key="NSNextResponder" ref="629509686"/>
257 <int key="NSvFlags">292</int>256 <int key="NSvFlags">291</int>
258 <string key="NSFrame">{{77, 434}, {213, 19}}</string>257 <string key="NSFrame">{{90, 434}, {213, 19}}</string>
259 <reference key="NSSuperview" ref="629509686"/>258 <reference key="NSSuperview" ref="629509686"/>
260 <reference key="NSWindow"/>259 <reference key="NSWindow"/>
261 <reference key="NSNextKeyView" ref="1022502844"/>260 <reference key="NSNextKeyView" ref="1022502844"/>
@@ -274,7 +273,7 @@
274 </object>273 </object>
275 <object class="IBUILabel" id="586059788">274 <object class="IBUILabel" id="586059788">
276 <reference key="NSNextResponder" ref="629509686"/>275 <reference key="NSNextResponder" ref="629509686"/>
277 <int key="NSvFlags">292</int>276 <int key="NSvFlags">290</int>
278 <string key="NSFrame">{{10, 636}, {290, 40}}</string>277 <string key="NSFrame">{{10, 636}, {290, 40}}</string>
279 <reference key="NSSuperview" ref="629509686"/>278 <reference key="NSSuperview" ref="629509686"/>
280 <reference key="NSWindow"/>279 <reference key="NSWindow"/>
@@ -290,13 +289,14 @@
290 <int key="IBUIBaselineAdjustment">1</int>289 <int key="IBUIBaselineAdjustment">1</int>
291 <float key="IBUIMinimumFontSize">10</float>290 <float key="IBUIMinimumFontSize">10</float>
292 <int key="IBUINumberOfLines">2</int>291 <int key="IBUINumberOfLines">2</int>
292 <int key="IBUITextAlignment">1</int>
293 <reference key="IBUIFontDescription" ref="887972801"/>293 <reference key="IBUIFontDescription" ref="887972801"/>
294 <reference key="IBUIFont" ref="837930100"/>294 <reference key="IBUIFont" ref="837930100"/>
295 </object>295 </object>
296 <object class="IBUILabel" id="318468596">296 <object class="IBUILabel" id="318468596">
297 <reference key="NSNextResponder" ref="629509686"/>297 <reference key="NSNextResponder" ref="629509686"/>
298 <int key="NSvFlags">292</int>298 <int key="NSvFlags">295</int>
299 <string key="NSFrame">{{127, 656}, {114, 19}}</string>299 <string key="NSFrame">{{10, 684}, {293, 19}}</string>
300 <reference key="NSSuperview" ref="629509686"/>300 <reference key="NSSuperview" ref="629509686"/>
301 <reference key="NSWindow"/>301 <reference key="NSWindow"/>
302 <reference key="NSNextKeyView" ref="237826680"/>302 <reference key="NSNextKeyView" ref="237826680"/>
@@ -313,6 +313,7 @@
313 <nil key="IBUIHighlightedColor"/>313 <nil key="IBUIHighlightedColor"/>
314 <int key="IBUIBaselineAdjustment">1</int>314 <int key="IBUIBaselineAdjustment">1</int>
315 <float key="IBUIMinimumFontSize">10</float>315 <float key="IBUIMinimumFontSize">10</float>
316 <int key="IBUITextAlignment">1</int>
316 <object class="IBUIFontDescription" key="IBUIFontDescription">317 <object class="IBUIFontDescription" key="IBUIFontDescription">
317 <string key="name">Helvetica</string>318 <string key="name">Helvetica</string>
318 <string key="family">Helvetica</string>319 <string key="family">Helvetica</string>
@@ -323,11 +324,10 @@
323 </object>324 </object>
324 <object class="IBUIButton" id="237826680">325 <object class="IBUIButton" id="237826680">
325 <reference key="NSNextResponder" ref="629509686"/>326 <reference key="NSNextResponder" ref="629509686"/>
326 <int key="NSvFlags">292</int>327 <int key="NSvFlags">269</int>
327 <string key="NSFrame">{{23, 687}, {275, 45}}</string>328 <string key="NSFrame">{{20, 719}, {275, 45}}</string>
328 <reference key="NSSuperview" ref="629509686"/>329 <reference key="NSSuperview" ref="629509686"/>
329 <reference key="NSWindow"/>330 <reference key="NSWindow"/>
330 <reference key="NSNextKeyView"/>
331 <bool key="IBUIOpaque">NO</bool>331 <bool key="IBUIOpaque">NO</bool>
332 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>332 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
333 <int key="IBUIContentHorizontalAlignment">0</int>333 <int key="IBUIContentHorizontalAlignment">0</int>
@@ -704,7 +704,7 @@
704 <reference key="IBUIFont" ref="837930100"/>704 <reference key="IBUIFont" ref="837930100"/>
705 </object>705 </object>
706 </array>706 </array>
707 <string key="NSFrameSize">{320, 762}</string>707 <string key="NSFrameSize">{320, 784}</string>
708 <reference key="NSSuperview"/>708 <reference key="NSSuperview"/>
709 <reference key="NSWindow"/>709 <reference key="NSWindow"/>
710 <reference key="NSNextKeyView" ref="849601266"/>710 <reference key="NSNextKeyView" ref="849601266"/>
@@ -880,6 +880,70 @@
880 </object>880 </object>
881 <object class="IBConnectionRecord">881 <object class="IBConnectionRecord">
882 <object class="IBCocoaTouchOutletConnection" key="connection">882 <object class="IBCocoaTouchOutletConnection" key="connection">
883 <string key="label">signUpTitleLabel</string>
884 <reference key="source" ref="372490531"/>
885 <reference key="destination" ref="849601266"/>
886 </object>
887 <int key="connectionID">71</int>
888 </object>
889 <object class="IBConnectionRecord">
890 <object class="IBCocoaTouchOutletConnection" key="connection">
891 <string key="label">signUpTitleDescriptionLabel</string>
892 <reference key="source" ref="372490531"/>
893 <reference key="destination" ref="46520390"/>
894 </object>
895 <int key="connectionID">72</int>
896 </object>
897 <object class="IBConnectionRecord">
898 <object class="IBCocoaTouchOutletConnection" key="connection">
899 <string key="label">passwordDescriptionLabel</string>
900 <reference key="source" ref="372490531"/>
901 <reference key="destination" ref="203826180"/>
902 </object>
903 <int key="connectionID">73</int>
904 </object>
905 <object class="IBConnectionRecord">
906 <object class="IBCocoaTouchOutletConnection" key="connection">
907 <string key="label">captchaHelpLabel</string>
908 <reference key="source" ref="372490531"/>
909 <reference key="destination" ref="809258214"/>
910 </object>
911 <int key="connectionID">74</int>
912 </object>
913 <object class="IBConnectionRecord">
914 <object class="IBCocoaTouchOutletConnection" key="connection">
915 <string key="label">captchaInstructionsLabel</string>
916 <reference key="source" ref="372490531"/>
917 <reference key="destination" ref="803081875"/>
918 </object>
919 <int key="connectionID">75</int>
920 </object>
921 <object class="IBConnectionRecord">
922 <object class="IBCocoaTouchOutletConnection" key="connection">
923 <string key="label">termsOfserviceLabel</string>
924 <reference key="source" ref="372490531"/>
925 <reference key="destination" ref="586059788"/>
926 </object>
927 <int key="connectionID">76</int>
928 </object>
929 <object class="IBConnectionRecord">
930 <object class="IBCocoaTouchOutletConnection" key="connection">
931 <string key="label">termsOfServiceLinkLabel</string>
932 <reference key="source" ref="372490531"/>
933 <reference key="destination" ref="318468596"/>
934 </object>
935 <int key="connectionID">77</int>
936 </object>
937 <object class="IBConnectionRecord">
938 <object class="IBCocoaTouchOutletConnection" key="connection">
939 <string key="label">signInButton</string>
940 <reference key="source" ref="372490531"/>
941 <reference key="destination" ref="237826680"/>
942 </object>
943 <int key="connectionID">79</int>
944 </object>
945 <object class="IBConnectionRecord">
946 <object class="IBCocoaTouchOutletConnection" key="connection">
883 <string key="label">contentView</string>947 <string key="label">contentView</string>
884 <reference key="source" ref="980218375"/>948 <reference key="source" ref="980218375"/>
885 <reference key="destination" ref="629509686"/>949 <reference key="destination" ref="629509686"/>
@@ -972,10 +1036,7 @@
972 <reference ref="49460719"/>1036 <reference ref="49460719"/>
973 <reference ref="803081875"/>1037 <reference ref="803081875"/>
974 <reference ref="203826180"/>1038 <reference ref="203826180"/>
975 <reference ref="809258214"/>
976 <reference ref="586059788"/>1039 <reference ref="586059788"/>
977 <reference ref="318468596"/>
978 <reference ref="237826680"/>
979 <reference ref="874486633"/>1040 <reference ref="874486633"/>
980 <reference ref="185575436"/>1041 <reference ref="185575436"/>
981 <reference ref="812140112"/>1042 <reference ref="812140112"/>
@@ -995,6 +1056,9 @@
995 <reference ref="453675168"/>1056 <reference ref="453675168"/>
996 <reference ref="253305833"/>1057 <reference ref="253305833"/>
997 <reference ref="525956263"/>1058 <reference ref="525956263"/>
1059 <reference ref="809258214"/>
1060 <reference ref="318468596"/>
1061 <reference ref="237826680"/>
998 </array>1062 </array>
999 <reference key="parent" ref="0"/>1063 <reference key="parent" ref="0"/>
1000 </object>1064 </object>
@@ -1210,7 +1274,7 @@
1210 <nil key="activeLocalization"/>1274 <nil key="activeLocalization"/>
1211 <dictionary class="NSMutableDictionary" key="localizations"/>1275 <dictionary class="NSMutableDictionary" key="localizations"/>
1212 <nil key="sourceID"/>1276 <nil key="sourceID"/>
1213 <int key="maxID">70</int>1277 <int key="maxID">79</int>
1214 </object>1278 </object>
1215 <object class="IBClassDescriber" key="IBDocument.Classes">1279 <object class="IBClassDescriber" key="IBDocument.Classes">
1216 <array class="NSMutableArray" key="referencedPartialClassDescriptions">1280 <array class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1242,7 +1306,9 @@
1242 <dictionary class="NSMutableDictionary" key="outlets">1306 <dictionary class="NSMutableDictionary" key="outlets">
1243 <string key="captchaErrorIndicator">UIImageView</string>1307 <string key="captchaErrorIndicator">UIImageView</string>
1244 <string key="captchaErrorLabel">UILabel</string>1308 <string key="captchaErrorLabel">UILabel</string>
1309 <string key="captchaHelpLabel">UILabel</string>
1245 <string key="captchaImageView">UIImageView</string>1310 <string key="captchaImageView">UIImageView</string>
1311 <string key="captchaInstructionsLabel">UILabel</string>
1246 <string key="captchaLabel">UILabel</string>1312 <string key="captchaLabel">UILabel</string>
1247 <string key="captchaLoadingIndicator">UIActivityIndicatorView</string>1313 <string key="captchaLoadingIndicator">UIActivityIndicatorView</string>
1248 <string key="captchaTextField">UITextField</string>1314 <string key="captchaTextField">UITextField</string>
@@ -1254,11 +1320,17 @@
1254 <string key="fullNameErrorLabel">UILabel</string>1320 <string key="fullNameErrorLabel">UILabel</string>
1255 <string key="fullNameLabel">UILabel</string>1321 <string key="fullNameLabel">UILabel</string>
1256 <string key="fullNameTextField">UITextField</string>1322 <string key="fullNameTextField">UITextField</string>
1323 <string key="passwordDescriptionLabel">UILabel</string>
1257 <string key="passwordErrorIndicator">UIImageView</string>1324 <string key="passwordErrorIndicator">UIImageView</string>
1258 <string key="passwordErrorLabel">UILabel</string>1325 <string key="passwordErrorLabel">UILabel</string>
1259 <string key="passwordLabel">UILabel</string>1326 <string key="passwordLabel">UILabel</string>
1260 <string key="passwordTextField">UITextField</string>1327 <string key="passwordTextField">UITextField</string>
1261 <string key="scrollView">UIScrollView</string>1328 <string key="scrollView">UIScrollView</string>
1329 <string key="signInButton">UIButton</string>
1330 <string key="signUpTitleDescriptionLabel">UILabel</string>
1331 <string key="signUpTitleLabel">UILabel</string>
1332 <string key="termsOfServiceLinkLabel">UILabel</string>
1333 <string key="termsOfserviceLabel">UILabel</string>
1262 </dictionary>1334 </dictionary>
1263 <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">1335 <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
1264 <object class="IBToOneOutletInfo" key="captchaErrorIndicator">1336 <object class="IBToOneOutletInfo" key="captchaErrorIndicator">
@@ -1269,10 +1341,18 @@
1269 <string key="name">captchaErrorLabel</string>1341 <string key="name">captchaErrorLabel</string>
1270 <string key="candidateClassName">UILabel</string>1342 <string key="candidateClassName">UILabel</string>
1271 </object>1343 </object>
1344 <object class="IBToOneOutletInfo" key="captchaHelpLabel">
1345 <string key="name">captchaHelpLabel</string>
1346 <string key="candidateClassName">UILabel</string>
1347 </object>
1272 <object class="IBToOneOutletInfo" key="captchaImageView">1348 <object class="IBToOneOutletInfo" key="captchaImageView">
1273 <string key="name">captchaImageView</string>1349 <string key="name">captchaImageView</string>
1274 <string key="candidateClassName">UIImageView</string>1350 <string key="candidateClassName">UIImageView</string>
1275 </object>1351 </object>
1352 <object class="IBToOneOutletInfo" key="captchaInstructionsLabel">
1353 <string key="name">captchaInstructionsLabel</string>
1354 <string key="candidateClassName">UILabel</string>
1355 </object>
1276 <object class="IBToOneOutletInfo" key="captchaLabel">1356 <object class="IBToOneOutletInfo" key="captchaLabel">
1277 <string key="name">captchaLabel</string>1357 <string key="name">captchaLabel</string>
1278 <string key="candidateClassName">UILabel</string>1358 <string key="candidateClassName">UILabel</string>
@@ -1317,6 +1397,10 @@
1317 <string key="name">fullNameTextField</string>1397 <string key="name">fullNameTextField</string>
1318 <string key="candidateClassName">UITextField</string>1398 <string key="candidateClassName">UITextField</string>
1319 </object>1399 </object>
1400 <object class="IBToOneOutletInfo" key="passwordDescriptionLabel">
1401 <string key="name">passwordDescriptionLabel</string>
1402 <string key="candidateClassName">UILabel</string>
1403 </object>
1320 <object class="IBToOneOutletInfo" key="passwordErrorIndicator">1404 <object class="IBToOneOutletInfo" key="passwordErrorIndicator">
1321 <string key="name">passwordErrorIndicator</string>1405 <string key="name">passwordErrorIndicator</string>
1322 <string key="candidateClassName">UIImageView</string>1406 <string key="candidateClassName">UIImageView</string>
@@ -1337,6 +1421,26 @@
1337 <string key="name">scrollView</string>1421 <string key="name">scrollView</string>
1338 <string key="candidateClassName">UIScrollView</string>1422 <string key="candidateClassName">UIScrollView</string>
1339 </object>1423 </object>
1424 <object class="IBToOneOutletInfo" key="signInButton">
1425 <string key="name">signInButton</string>
1426 <string key="candidateClassName">UIButton</string>
1427 </object>
1428 <object class="IBToOneOutletInfo" key="signUpTitleDescriptionLabel">
1429 <string key="name">signUpTitleDescriptionLabel</string>
1430 <string key="candidateClassName">UILabel</string>
1431 </object>
1432 <object class="IBToOneOutletInfo" key="signUpTitleLabel">
1433 <string key="name">signUpTitleLabel</string>
1434 <string key="candidateClassName">UILabel</string>
1435 </object>
1436 <object class="IBToOneOutletInfo" key="termsOfServiceLinkLabel">
1437 <string key="name">termsOfServiceLinkLabel</string>
1438 <string key="candidateClassName">UILabel</string>
1439 </object>
1440 <object class="IBToOneOutletInfo" key="termsOfserviceLabel">
1441 <string key="name">termsOfserviceLabel</string>
1442 <string key="candidateClassName">UILabel</string>
1443 </object>
1340 </dictionary>1444 </dictionary>
1341 <object class="IBClassDescriptionSource" key="sourceIdentifier">1445 <object class="IBClassDescriptionSource" key="sourceIdentifier">
1342 <string key="majorKey">IBProjectSource</string>1446 <string key="majorKey">IBProjectSource</string>
@@ -1366,12 +1470,16 @@
1366 </object>1470 </object>
1367 <int key="IBDocument.localizationMode">0</int>1471 <int key="IBDocument.localizationMode">0</int>
1368 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>1472 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
1473 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
1474 <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
1475 <real value="1296" key="NS.object.0"/>
1476 </object>
1369 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>1477 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
1370 <int key="IBDocument.defaultPropertyAccessControl">3</int>1478 <int key="IBDocument.defaultPropertyAccessControl">3</int>
1371 <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">1479 <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
1372 <string key="NS.key.0">indicator_input_error.png</string>1480 <string key="NS.key.0">indicator_input_error.png</string>
1373 <string key="NS.object.0">{15, 15}</string>1481 <string key="NS.object.0">{15, 15}</string>
1374 </object>1482 </object>
1375 <string key="IBCocoaTouchPluginVersion">933</string>1483 <string key="IBCocoaTouchPluginVersion">1498</string>
1376 </data>1484 </data>
1377</archive>1485</archive>
13781486
=== modified file 'Files/U1SettingsViewController.h'
--- Files/U1SettingsViewController.h 2011-12-13 20:15:22 +0000
+++ Files/U1SettingsViewController.h 2012-08-27 11:27:21 +0000
@@ -23,6 +23,7 @@
23@property (retain) IBOutlet U1NavigationBar *navBar;23@property (retain) IBOutlet U1NavigationBar *navBar;
24@property (retain) IBOutlet UITableViewCell *autoUploadToggleCell;24@property (retain) IBOutlet UITableViewCell *autoUploadToggleCell;
25@property (retain) IBOutlet UISwitch *autoUploadToggle;25@property (retain) IBOutlet UISwitch *autoUploadToggle;
26@property (retain, nonatomic) IBOutlet UILabel *autoUploadTogleCellLabel;
26@property (retain) IBOutlet UITableViewCell *wifiOnlyToggleCell;27@property (retain) IBOutlet UITableViewCell *wifiOnlyToggleCell;
27@property (retain) IBOutlet UILabel *wifiOnlyToggleLabel;28@property (retain) IBOutlet UILabel *wifiOnlyToggleLabel;
28@property (retain) IBOutlet UISwitch *wifiOnlyToggle;29@property (retain) IBOutlet UISwitch *wifiOnlyToggle;
@@ -31,9 +32,11 @@
31@property (retain) IBOutlet UISwitch *includeVideoToggle;32@property (retain) IBOutlet UISwitch *includeVideoToggle;
32@property (retain) IBOutlet UITableViewCell *disableSleepToggleCell;33@property (retain) IBOutlet UITableViewCell *disableSleepToggleCell;
33@property (retain) IBOutlet UILabel *disableSleepToggleLabel;34@property (retain) IBOutlet UILabel *disableSleepToggleLabel;
35@property (retain, nonatomic) IBOutlet UILabel *disableSleepToggleDescription;
34@property (retain) IBOutlet UISwitch *disableSleepToggle;36@property (retain) IBOutlet UISwitch *disableSleepToggle;
35@property (retain) IBOutlet UITableView *tableView;37@property (retain) IBOutlet UITableView *tableView;
3638
39
37- (IBAction)toggleAutoUpload:(id)sender;40- (IBAction)toggleAutoUpload:(id)sender;
38- (IBAction)toggleWifiOnly:(id)sender;41- (IBAction)toggleWifiOnly:(id)sender;
39- (IBAction)toggleIncludeVideo:(id)sender;42- (IBAction)toggleIncludeVideo:(id)sender;
4043
=== modified file 'Files/U1SettingsViewController.m'
--- Files/U1SettingsViewController.m 2012-08-10 03:19:46 +0000
+++ Files/U1SettingsViewController.m 2012-08-27 11:27:21 +0000
@@ -42,7 +42,8 @@
4242
4343
44@implementation U1SettingsViewController44@implementation U1SettingsViewController
4545@synthesize disableSleepToggleDescription;
46@synthesize autoUploadTogleCellLabel;
46@synthesize navBar, tableView;47@synthesize navBar, tableView;
47@synthesize autoUploadToggleCell, autoUploadToggle;48@synthesize autoUploadToggleCell, autoUploadToggle;
48@synthesize wifiOnlyToggleCell, wifiOnlyToggleLabel, wifiOnlyToggle;49@synthesize wifiOnlyToggleCell, wifiOnlyToggleLabel, wifiOnlyToggle;
@@ -77,6 +78,8 @@
77 [disableSleepToggle release];78 [disableSleepToggle release];
78 [filesClient release];79 [filesClient release];
79 [accountInfo release];80 [accountInfo release];
81 [autoUploadTogleCellLabel release];
82 [disableSleepToggleDescription release];
80 [super dealloc];83 [super dealloc];
81}84}
8285
@@ -90,6 +93,15 @@
90 return accountLoadingCell;93 return accountLoadingCell;
91}94}
9295
96- (void)viewDidLoad
97{
98 self.autoUploadTogleCellLabel.text = NSLocalizedString(@"Enabled", nil);
99 self.includeVideoToggleLabel.text = NSLocalizedString(@"Include Videos", nil);
100 self.wifiOnlyToggleLabel.text = NSLocalizedString(@"Wifi-Only", nil);
101 self.disableSleepToggleLabel.text = NSLocalizedString(@"Nightstand Mode", nil);
102 self.disableSleepToggleDescription.text = NSLocalizedString(@"Disables sleep while uploading if the device is charging", nil);
103}
104
93- (void)viewWillAppear:(BOOL)animated;105- (void)viewWillAppear:(BOOL)animated;
94{106{
95 [super viewWillAppear:animated];107 [super viewWillAppear:animated];
@@ -103,7 +115,7 @@
103- (IBAction)signOut:(id)sender;115- (IBAction)signOut:(id)sender;
104{116{
105 // TODO: get actual copy for this from design team117 // TODO: get actual copy for this from design team
106 UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Signing out on this device will not affect other devices connected to Ubuntu One." delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Sign Out" otherButtonTitles:nil];118 UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"Signing out on this device will not affect other devices connected to Ubuntu One", nil) delegate:self cancelButtonTitle:NSLocalizedString(@"Cancel", nil) destructiveButtonTitle:NSLocalizedString(@"Sign Out", nil) otherButtonTitles:nil];
107 [actionSheet showFromTabBar:self.tabBarController.tabBar];119 [actionSheet showFromTabBar:self.tabBarController.tabBar];
108 [actionSheet release];120 [actionSheet release];
109}121}
@@ -235,7 +247,7 @@
235 {247 {
236 case 0:248 case 0:
237 [cell.textLabel setText:NSLocalizedString(@"Name", nil)];249 [cell.textLabel setText:NSLocalizedString(@"Name", nil)];
238 [cell.detailTextLabel setText:@"Loading..."];250 [cell.detailTextLabel setText:NSLocalizedString(@"Loading...", nil)];
239 if (self.accountInfo)251 if (self.accountInfo)
240 [cell.detailTextLabel setText:[self.accountInfo objectForKey:@"visible_name"]];252 [cell.detailTextLabel setText:[self.accountInfo objectForKey:@"visible_name"]];
241 break;253 break;
@@ -246,7 +258,7 @@
246 NSString *storageFormat = NSLocalizedString(@"%@ of %@ used", nil);258 NSString *storageFormat = NSLocalizedString(@"%@ of %@ used", nil);
247 NSString *usedString = [byteSizeTransformer transformedValue:[self.accountInfo objectForKey:@"used_bytes"]];259 NSString *usedString = [byteSizeTransformer transformedValue:[self.accountInfo objectForKey:@"used_bytes"]];
248 NSString *totalString = [byteSizeTransformer transformedValue:[self.accountInfo objectForKey:@"max_bytes"]];260 NSString *totalString = [byteSizeTransformer transformedValue:[self.accountInfo objectForKey:@"max_bytes"]];
249 [cell.detailTextLabel setText:@"Loading..."];261 [cell.detailTextLabel setText:NSLocalizedString(@"Loading...", nil)];
250 if (self.accountInfo)262 if (self.accountInfo)
251 [cell.detailTextLabel setText:[NSString stringWithFormat:storageFormat, usedString, totalString]];263 [cell.detailTextLabel setText:[NSString stringWithFormat:storageFormat, usedString, totalString]];
252 [byteSizeTransformer release];264 [byteSizeTransformer release];
@@ -295,7 +307,7 @@
295 [footerView addSubview:signOutButton];307 [footerView addSubview:signOutButton];
296 UIImage *buttonImage = [[UIImage imageNamed:@"ios_files_buttonBG"] stretchableImageWithLeftCapWidth:0 topCapHeight:0];308 UIImage *buttonImage = [[UIImage imageNamed:@"ios_files_buttonBG"] stretchableImageWithLeftCapWidth:0 topCapHeight:0];
297 [signOutButton setBackgroundImage:buttonImage forState:UIControlStateNormal];309 [signOutButton setBackgroundImage:buttonImage forState:UIControlStateNormal];
298 [signOutButton setTitle:@"Sign Out of Ubuntu One" forState:UIControlStateNormal];310 [signOutButton setTitle:NSLocalizedString(@"Sign Out of Ubuntu One", nil) forState:UIControlStateNormal];
299 [signOutButton.titleLabel setFont:[UIFont boldSystemFontOfSize:14.f]];311 [signOutButton.titleLabel setFont:[UIFont boldSystemFontOfSize:14.f]];
300 [signOutButton.layer setCornerRadius:8.f];312 [signOutButton.layer setCornerRadius:8.f];
301 [signOutButton setClipsToBounds:YES];313 [signOutButton setClipsToBounds:YES];
@@ -377,4 +389,10 @@
377 return self.disableSleepToggleCell;389 return self.disableSleepToggleCell;
378}390}
379391
392- (void)viewDidUnload {
393 [self setAutoUploadTogleCellLabel:nil];
394 [self setDisableSleepToggleDescription:nil];
395 [super viewDidUnload];
396}
397
380@end398@end
381399
=== modified file 'Files/U1SettingsViewController.xib'
--- Files/U1SettingsViewController.xib 2011-12-15 18:56:43 +0000
+++ Files/U1SettingsViewController.xib 2012-08-27 11:27:21 +0000
@@ -1,22 +1,22 @@
1<?xml version="1.0" encoding="UTF-8"?>1<?xml version="1.0" encoding="UTF-8"?>
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1280</int>4 <int key="IBDocument.SystemTarget">1296</int>
5 <string key="IBDocument.SystemVersion">10K549</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">1938</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1038.36</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">461.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">933</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <array key="IBDocument.IntegratedClassDependencies">13 <array key="IBDocument.IntegratedClassDependencies">
14 <string>IBProxyObject</string>
15 <string>IBUILabel</string>
14 <string>IBUISwitch</string>16 <string>IBUISwitch</string>
15 <string>IBUITableView</string>17 <string>IBUITableView</string>
16 <string>IBUITableViewCell</string>18 <string>IBUITableViewCell</string>
17 <string>IBUIView</string>19 <string>IBUIView</string>
18 <string>IBUILabel</string>
19 <string>IBProxyObject</string>
20 </array>20 </array>
21 <array key="IBDocument.PluginDependencies">21 <array key="IBDocument.PluginDependencies">
22 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>22 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -43,7 +43,7 @@
43 <int key="NSvFlags">274</int>43 <int key="NSvFlags">274</int>
44 <string key="NSFrameSize">{320, 460}</string>44 <string key="NSFrameSize">{320, 460}</string>
45 <reference key="NSSuperview" ref="191373211"/>45 <reference key="NSSuperview" ref="191373211"/>
46 <reference key="NSWindow"/>46 <reference key="NSNextKeyView"/>
47 <object class="NSColor" key="IBUIBackgroundColor">47 <object class="NSColor" key="IBUIBackgroundColor">
48 <int key="NSColorSpace">10</int>48 <int key="NSColorSpace">10</int>
49 <object class="NSImage" key="NSImage">49 <object class="NSImage" key="NSImage">
@@ -116,7 +116,6 @@
116 </array>116 </array>
117 <string key="NSFrame">{{0, 20}, {320, 460}}</string>117 <string key="NSFrame">{{0, 20}, {320, 460}}</string>
118 <reference key="NSSuperview"/>118 <reference key="NSSuperview"/>
119 <reference key="NSWindow"/>
120 <reference key="NSNextKeyView" ref="703168831"/>119 <reference key="NSNextKeyView" ref="703168831"/>
121 <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>120 <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
122 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>121 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -134,7 +133,7 @@
134 <int key="NSvFlags">289</int>133 <int key="NSvFlags">289</int>
135 <string key="NSFrame">{{217, 8}, {94, 27}}</string>134 <string key="NSFrame">{{217, 8}, {94, 27}}</string>
136 <reference key="NSSuperview" ref="289125020"/>135 <reference key="NSSuperview" ref="289125020"/>
137 <reference key="NSWindow"/>136 <reference key="NSNextKeyView"/>
138 <bool key="IBUIOpaque">NO</bool>137 <bool key="IBUIOpaque">NO</bool>
139 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>138 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
140 <int key="IBUIContentHorizontalAlignment">0</int>139 <int key="IBUIContentHorizontalAlignment">0</int>
@@ -142,10 +141,9 @@
142 </object>141 </object>
143 <object class="IBUILabel" id="866302443">142 <object class="IBUILabel" id="866302443">
144 <reference key="NSNextResponder" ref="289125020"/>143 <reference key="NSNextResponder" ref="289125020"/>
145 <int key="NSvFlags">292</int>144 <int key="NSvFlags">278</int>
146 <string key="NSFrame">{{10, 11}, {193, 21}}</string>145 <string key="NSFrame">{{10, 11}, {193, 21}}</string>
147 <reference key="NSSuperview" ref="289125020"/>146 <reference key="NSSuperview" ref="289125020"/>
148 <reference key="NSWindow"/>
149 <reference key="NSNextKeyView" ref="513262918"/>147 <reference key="NSNextKeyView" ref="513262918"/>
150 <bool key="IBUIOpaque">NO</bool>148 <bool key="IBUIOpaque">NO</bool>
151 <bool key="IBUIClipsSubviews">YES</bool>149 <bool key="IBUIClipsSubviews">YES</bool>
@@ -173,7 +171,6 @@
173 </array>171 </array>
174 <string key="NSFrameSize">{320, 43}</string>172 <string key="NSFrameSize">{320, 43}</string>
175 <reference key="NSSuperview" ref="126074602"/>173 <reference key="NSSuperview" ref="126074602"/>
176 <reference key="NSWindow"/>
177 <reference key="NSNextKeyView" ref="866302443"/>174 <reference key="NSNextKeyView" ref="866302443"/>
178 <reference key="IBUIBackgroundColor" ref="509795101"/>175 <reference key="IBUIBackgroundColor" ref="509795101"/>
179 <bool key="IBUIOpaque">NO</bool>176 <bool key="IBUIOpaque">NO</bool>
@@ -185,7 +182,6 @@
185 </array>182 </array>
186 <string key="NSFrameSize">{320, 44}</string>183 <string key="NSFrameSize">{320, 44}</string>
187 <reference key="NSSuperview"/>184 <reference key="NSSuperview"/>
188 <reference key="NSWindow"/>
189 <reference key="NSNextKeyView" ref="289125020"/>185 <reference key="NSNextKeyView" ref="289125020"/>
190 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>186 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
191 <reference key="IBUIContentView" ref="289125020"/>187 <reference key="IBUIContentView" ref="289125020"/>
@@ -200,10 +196,9 @@
200 <array class="NSMutableArray" key="NSSubviews">196 <array class="NSMutableArray" key="NSSubviews">
201 <object class="IBUILabel" id="160999426">197 <object class="IBUILabel" id="160999426">
202 <reference key="NSNextResponder" ref="609546111"/>198 <reference key="NSNextResponder" ref="609546111"/>
203 <int key="NSvFlags">292</int>199 <int key="NSvFlags">278</int>
204 <string key="NSFrame">{{10, 11}, {193, 21}}</string>200 <string key="NSFrame">{{10, 11}, {193, 21}}</string>
205 <reference key="NSSuperview" ref="609546111"/>201 <reference key="NSSuperview" ref="609546111"/>
206 <reference key="NSWindow"/>
207 <reference key="NSNextKeyView" ref="520891560"/>202 <reference key="NSNextKeyView" ref="520891560"/>
208 <bool key="IBUIOpaque">NO</bool>203 <bool key="IBUIOpaque">NO</bool>
209 <bool key="IBUIClipsSubviews">YES</bool>204 <bool key="IBUIClipsSubviews">YES</bool>
@@ -220,10 +215,10 @@
220 </object>215 </object>
221 <object class="IBUISwitch" id="520891560">216 <object class="IBUISwitch" id="520891560">
222 <reference key="NSNextResponder" ref="609546111"/>217 <reference key="NSNextResponder" ref="609546111"/>
223 <int key="NSvFlags">289</int>218 <int key="NSvFlags">297</int>
224 <string key="NSFrame">{{217, 8}, {94, 27}}</string>219 <string key="NSFrame">{{217, 8}, {94, 27}}</string>
225 <reference key="NSSuperview" ref="609546111"/>220 <reference key="NSSuperview" ref="609546111"/>
226 <reference key="NSWindow"/>221 <reference key="NSNextKeyView"/>
227 <bool key="IBUIOpaque">NO</bool>222 <bool key="IBUIOpaque">NO</bool>
228 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>223 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
229 <int key="IBUIContentHorizontalAlignment">0</int>224 <int key="IBUIContentHorizontalAlignment">0</int>
@@ -233,7 +228,6 @@
233 </array>228 </array>
234 <string key="NSFrameSize">{320, 43}</string>229 <string key="NSFrameSize">{320, 43}</string>
235 <reference key="NSSuperview" ref="2020695"/>230 <reference key="NSSuperview" ref="2020695"/>
236 <reference key="NSWindow"/>
237 <reference key="NSNextKeyView" ref="160999426"/>231 <reference key="NSNextKeyView" ref="160999426"/>
238 <reference key="IBUIBackgroundColor" ref="509795101"/>232 <reference key="IBUIBackgroundColor" ref="509795101"/>
239 <bool key="IBUIOpaque">NO</bool>233 <bool key="IBUIOpaque">NO</bool>
@@ -245,7 +239,6 @@
245 </array>239 </array>
246 <string key="NSFrameSize">{320, 44}</string>240 <string key="NSFrameSize">{320, 44}</string>
247 <reference key="NSSuperview"/>241 <reference key="NSSuperview"/>
248 <reference key="NSWindow"/>
249 <reference key="NSNextKeyView" ref="609546111"/>242 <reference key="NSNextKeyView" ref="609546111"/>
250 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>243 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
251 <reference key="IBUIContentView" ref="609546111"/>244 <reference key="IBUIContentView" ref="609546111"/>
@@ -260,10 +253,9 @@
260 <array class="NSMutableArray" key="NSSubviews">253 <array class="NSMutableArray" key="NSSubviews">
261 <object class="IBUILabel" id="91193340">254 <object class="IBUILabel" id="91193340">
262 <reference key="NSNextResponder" ref="849901570"/>255 <reference key="NSNextResponder" ref="849901570"/>
263 <int key="NSvFlags">292</int>256 <int key="NSvFlags">278</int>
264 <string key="NSFrame">{{10, 11}, {193, 21}}</string>257 <string key="NSFrame">{{10, 11}, {193, 21}}</string>
265 <reference key="NSSuperview" ref="849901570"/>258 <reference key="NSSuperview" ref="849901570"/>
266 <reference key="NSWindow"/>
267 <reference key="NSNextKeyView" ref="59829218"/>259 <reference key="NSNextKeyView" ref="59829218"/>
268 <bool key="IBUIOpaque">NO</bool>260 <bool key="IBUIOpaque">NO</bool>
269 <bool key="IBUIClipsSubviews">YES</bool>261 <bool key="IBUIClipsSubviews">YES</bool>
@@ -280,10 +272,10 @@
280 </object>272 </object>
281 <object class="IBUISwitch" id="59829218">273 <object class="IBUISwitch" id="59829218">
282 <reference key="NSNextResponder" ref="849901570"/>274 <reference key="NSNextResponder" ref="849901570"/>
283 <int key="NSvFlags">289</int>275 <int key="NSvFlags">297</int>
284 <string key="NSFrame">{{217, 8}, {94, 27}}</string>276 <string key="NSFrame">{{217, 8}, {94, 27}}</string>
285 <reference key="NSSuperview" ref="849901570"/>277 <reference key="NSSuperview" ref="849901570"/>
286 <reference key="NSWindow"/>278 <reference key="NSNextKeyView"/>
287 <bool key="IBUIOpaque">NO</bool>279 <bool key="IBUIOpaque">NO</bool>
288 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>280 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
289 <int key="IBUIContentHorizontalAlignment">0</int>281 <int key="IBUIContentHorizontalAlignment">0</int>
@@ -293,7 +285,6 @@
293 </array>285 </array>
294 <string key="NSFrameSize">{320, 43}</string>286 <string key="NSFrameSize">{320, 43}</string>
295 <reference key="NSSuperview" ref="703802727"/>287 <reference key="NSSuperview" ref="703802727"/>
296 <reference key="NSWindow"/>
297 <reference key="NSNextKeyView" ref="91193340"/>288 <reference key="NSNextKeyView" ref="91193340"/>
298 <reference key="IBUIBackgroundColor" ref="509795101"/>289 <reference key="IBUIBackgroundColor" ref="509795101"/>
299 <bool key="IBUIOpaque">NO</bool>290 <bool key="IBUIOpaque">NO</bool>
@@ -305,7 +296,6 @@
305 </array>296 </array>
306 <string key="NSFrameSize">{320, 44}</string>297 <string key="NSFrameSize">{320, 44}</string>
307 <reference key="NSSuperview"/>298 <reference key="NSSuperview"/>
308 <reference key="NSWindow"/>
309 <reference key="NSNextKeyView" ref="849901570"/>299 <reference key="NSNextKeyView" ref="849901570"/>
310 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>300 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
311 <reference key="IBUIContentView" ref="849901570"/>301 <reference key="IBUIContentView" ref="849901570"/>
@@ -320,10 +310,9 @@
320 <array class="NSMutableArray" key="NSSubviews">310 <array class="NSMutableArray" key="NSSubviews">
321 <object class="IBUILabel" id="1025321652">311 <object class="IBUILabel" id="1025321652">
322 <reference key="NSNextResponder" ref="61456725"/>312 <reference key="NSNextResponder" ref="61456725"/>
323 <int key="NSvFlags">292</int>313 <int key="NSvFlags">294</int>
324 <string key="NSFrame">{{10, 12}, {193, 20}}</string>314 <string key="NSFrame">{{10, 12}, {193, 20}}</string>
325 <reference key="NSSuperview" ref="61456725"/>315 <reference key="NSSuperview" ref="61456725"/>
326 <reference key="NSWindow"/>
327 <reference key="NSNextKeyView" ref="764022094"/>316 <reference key="NSNextKeyView" ref="764022094"/>
328 <bool key="IBUIOpaque">NO</bool>317 <bool key="IBUIOpaque">NO</bool>
329 <bool key="IBUIClipsSubviews">YES</bool>318 <bool key="IBUIClipsSubviews">YES</bool>
@@ -343,7 +332,6 @@
343 <int key="NSvFlags">289</int>332 <int key="NSvFlags">289</int>
344 <string key="NSFrame">{{217, 8}, {94, 27}}</string>333 <string key="NSFrame">{{217, 8}, {94, 27}}</string>
345 <reference key="NSSuperview" ref="61456725"/>334 <reference key="NSSuperview" ref="61456725"/>
346 <reference key="NSWindow"/>
347 <reference key="NSNextKeyView" ref="792393428"/>335 <reference key="NSNextKeyView" ref="792393428"/>
348 <bool key="IBUIOpaque">NO</bool>336 <bool key="IBUIOpaque">NO</bool>
349 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>337 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@@ -352,10 +340,10 @@
352 </object>340 </object>
353 <object class="IBUILabel" id="792393428">341 <object class="IBUILabel" id="792393428">
354 <reference key="NSNextResponder" ref="61456725"/>342 <reference key="NSNextResponder" ref="61456725"/>
355 <int key="NSvFlags">292</int>343 <int key="NSvFlags">302</int>
356 <string key="NSFrame">{{10, 40}, {280, 21}}</string>344 <string key="NSFrame">{{10, 40}, {280, 21}}</string>
357 <reference key="NSSuperview" ref="61456725"/>345 <reference key="NSSuperview" ref="61456725"/>
358 <reference key="NSWindow"/>346 <reference key="NSNextKeyView"/>
359 <bool key="IBUIOpaque">NO</bool>347 <bool key="IBUIOpaque">NO</bool>
360 <bool key="IBUIClipsSubviews">YES</bool>348 <bool key="IBUIClipsSubviews">YES</bool>
361 <int key="IBUIContentMode">7</int>349 <int key="IBUIContentMode">7</int>
@@ -382,7 +370,6 @@
382 </array>370 </array>
383 <string key="NSFrameSize">{320, 69}</string>371 <string key="NSFrameSize">{320, 69}</string>
384 <reference key="NSSuperview" ref="328240698"/>372 <reference key="NSSuperview" ref="328240698"/>
385 <reference key="NSWindow"/>
386 <reference key="NSNextKeyView" ref="1025321652"/>373 <reference key="NSNextKeyView" ref="1025321652"/>
387 <reference key="IBUIBackgroundColor" ref="509795101"/>374 <reference key="IBUIBackgroundColor" ref="509795101"/>
388 <bool key="IBUIOpaque">NO</bool>375 <bool key="IBUIOpaque">NO</bool>
@@ -394,7 +381,6 @@
394 </array>381 </array>
395 <string key="NSFrameSize">{320, 70}</string>382 <string key="NSFrameSize">{320, 70}</string>
396 <reference key="NSSuperview"/>383 <reference key="NSSuperview"/>
397 <reference key="NSWindow"/>
398 <reference key="NSNextKeyView" ref="61456725"/>384 <reference key="NSNextKeyView" ref="61456725"/>
399 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>385 <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
400 <reference key="IBUIContentView" ref="61456725"/>386 <reference key="IBUIContentView" ref="61456725"/>
@@ -509,6 +495,22 @@
509 </object>495 </object>
510 <object class="IBConnectionRecord">496 <object class="IBConnectionRecord">
511 <object class="IBCocoaTouchOutletConnection" key="connection">497 <object class="IBCocoaTouchOutletConnection" key="connection">
498 <string key="label">autoUploadTogleCellLabel</string>
499 <reference key="source" ref="372490531"/>
500 <reference key="destination" ref="91193340"/>
501 </object>
502 <int key="connectionID">62</int>
503 </object>
504 <object class="IBConnectionRecord">
505 <object class="IBCocoaTouchOutletConnection" key="connection">
506 <string key="label">disableSleepToggleDescription</string>
507 <reference key="source" ref="372490531"/>
508 <reference key="destination" ref="792393428"/>
509 </object>
510 <int key="connectionID">64</int>
511 </object>
512 <object class="IBConnectionRecord">
513 <object class="IBCocoaTouchOutletConnection" key="connection">
512 <string key="label">dataSource</string>514 <string key="label">dataSource</string>
513 <reference key="source" ref="703168831"/>515 <reference key="source" ref="703168831"/>
514 <reference key="destination" ref="372490531"/>516 <reference key="destination" ref="372490531"/>
@@ -701,125 +703,17 @@
701 <nil key="activeLocalization"/>703 <nil key="activeLocalization"/>
702 <dictionary class="NSMutableDictionary" key="localizations"/>704 <dictionary class="NSMutableDictionary" key="localizations"/>
703 <nil key="sourceID"/>705 <nil key="sourceID"/>
704 <int key="maxID">61</int>706 <int key="maxID">64</int>
705 </object>707 </object>
706 <object class="IBClassDescriber" key="IBDocument.Classes">708 <object class="IBClassDescriber" key="IBDocument.Classes"/>
707 <array class="NSMutableArray" key="referencedPartialClassDescriptions">
708 <object class="IBPartialClassDescription">
709 <string key="className">U1NavigationBar</string>
710 <string key="superclassName">UINavigationBar</string>
711 <object class="IBClassDescriptionSource" key="sourceIdentifier">
712 <string key="majorKey">IBProjectSource</string>
713 <string key="minorKey">./Classes/U1NavigationBar.h</string>
714 </object>
715 </object>
716 <object class="IBPartialClassDescription">
717 <string key="className">U1SettingsViewController</string>
718 <string key="superclassName">UIViewController</string>
719 <dictionary class="NSMutableDictionary" key="actions">
720 <string key="toggleAutoUpload:">id</string>
721 <string key="toggleDisableSleep:">id</string>
722 <string key="toggleIncludeVideo:">id</string>
723 <string key="toggleWifiOnly:">id</string>
724 </dictionary>
725 <dictionary class="NSMutableDictionary" key="actionInfosByName">
726 <object class="IBActionInfo" key="toggleAutoUpload:">
727 <string key="name">toggleAutoUpload:</string>
728 <string key="candidateClassName">id</string>
729 </object>
730 <object class="IBActionInfo" key="toggleDisableSleep:">
731 <string key="name">toggleDisableSleep:</string>
732 <string key="candidateClassName">id</string>
733 </object>
734 <object class="IBActionInfo" key="toggleIncludeVideo:">
735 <string key="name">toggleIncludeVideo:</string>
736 <string key="candidateClassName">id</string>
737 </object>
738 <object class="IBActionInfo" key="toggleWifiOnly:">
739 <string key="name">toggleWifiOnly:</string>
740 <string key="candidateClassName">id</string>
741 </object>
742 </dictionary>
743 <dictionary class="NSMutableDictionary" key="outlets">
744 <string key="autoUploadToggle">UISwitch</string>
745 <string key="autoUploadToggleCell">UITableViewCell</string>
746 <string key="disableSleepToggle">UISwitch</string>
747 <string key="disableSleepToggleCell">UITableViewCell</string>
748 <string key="disableSleepToggleLabel">UILabel</string>
749 <string key="includeVideoToggle">UISwitch</string>
750 <string key="includeVideoToggleCell">UITableViewCell</string>
751 <string key="includeVideoToggleLabel">UILabel</string>
752 <string key="navBar">U1NavigationBar</string>
753 <string key="tableView">UITableView</string>
754 <string key="wifiOnlyToggle">UISwitch</string>
755 <string key="wifiOnlyToggleCell">UITableViewCell</string>
756 <string key="wifiOnlyToggleLabel">UILabel</string>
757 </dictionary>
758 <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
759 <object class="IBToOneOutletInfo" key="autoUploadToggle">
760 <string key="name">autoUploadToggle</string>
761 <string key="candidateClassName">UISwitch</string>
762 </object>
763 <object class="IBToOneOutletInfo" key="autoUploadToggleCell">
764 <string key="name">autoUploadToggleCell</string>
765 <string key="candidateClassName">UITableViewCell</string>
766 </object>
767 <object class="IBToOneOutletInfo" key="disableSleepToggle">
768 <string key="name">disableSleepToggle</string>
769 <string key="candidateClassName">UISwitch</string>
770 </object>
771 <object class="IBToOneOutletInfo" key="disableSleepToggleCell">
772 <string key="name">disableSleepToggleCell</string>
773 <string key="candidateClassName">UITableViewCell</string>
774 </object>
775 <object class="IBToOneOutletInfo" key="disableSleepToggleLabel">
776 <string key="name">disableSleepToggleLabel</string>
777 <string key="candidateClassName">UILabel</string>
778 </object>
779 <object class="IBToOneOutletInfo" key="includeVideoToggle">
780 <string key="name">includeVideoToggle</string>
781 <string key="candidateClassName">UISwitch</string>
782 </object>
783 <object class="IBToOneOutletInfo" key="includeVideoToggleCell">
784 <string key="name">includeVideoToggleCell</string>
785 <string key="candidateClassName">UITableViewCell</string>
786 </object>
787 <object class="IBToOneOutletInfo" key="includeVideoToggleLabel">
788 <string key="name">includeVideoToggleLabel</string>
789 <string key="candidateClassName">UILabel</string>
790 </object>
791 <object class="IBToOneOutletInfo" key="navBar">
792 <string key="name">navBar</string>
793 <string key="candidateClassName">U1NavigationBar</string>
794 </object>
795 <object class="IBToOneOutletInfo" key="tableView">
796 <string key="name">tableView</string>
797 <string key="candidateClassName">UITableView</string>
798 </object>
799 <object class="IBToOneOutletInfo" key="wifiOnlyToggle">
800 <string key="name">wifiOnlyToggle</string>
801 <string key="candidateClassName">UISwitch</string>
802 </object>
803 <object class="IBToOneOutletInfo" key="wifiOnlyToggleCell">
804 <string key="name">wifiOnlyToggleCell</string>
805 <string key="candidateClassName">UITableViewCell</string>
806 </object>
807 <object class="IBToOneOutletInfo" key="wifiOnlyToggleLabel">
808 <string key="name">wifiOnlyToggleLabel</string>
809 <string key="candidateClassName">UILabel</string>
810 </object>
811 </dictionary>
812 <object class="IBClassDescriptionSource" key="sourceIdentifier">
813 <string key="majorKey">IBProjectSource</string>
814 <string key="minorKey">./Classes/U1SettingsViewController.h</string>
815 </object>
816 </object>
817 </array>
818 </object>
819 <int key="IBDocument.localizationMode">0</int>709 <int key="IBDocument.localizationMode">0</int>
820 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>710 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
711 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
712 <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
713 <real value="1296" key="NS.object.0"/>
714 </object>
821 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>715 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
822 <int key="IBDocument.defaultPropertyAccessControl">3</int>716 <int key="IBDocument.defaultPropertyAccessControl">3</int>
823 <string key="IBCocoaTouchPluginVersion">933</string>717 <string key="IBCocoaTouchPluginVersion">1498</string>
824 </data>718 </data>
825</archive>719</archive>
826720
=== modified file 'Files/U1UploadsPoolViewController.h'
--- Files/U1UploadsPoolViewController.h 2011-12-06 03:49:37 +0000
+++ Files/U1UploadsPoolViewController.h 2012-08-27 11:27:21 +0000
@@ -23,6 +23,8 @@
23@property (nonatomic, retain) IBOutlet UIView *autoUploadToggleView;23@property (nonatomic, retain) IBOutlet UIView *autoUploadToggleView;
24@property (nonatomic, retain) IBOutlet UISwitch *autoUploadToggle;24@property (nonatomic, retain) IBOutlet UISwitch *autoUploadToggle;
25@property (retain) U1FilesClient *filesClient;25@property (retain) U1FilesClient *filesClient;
26@property (retain, nonatomic) IBOutlet UILabel *loadingCellLabel;
27@property (retain, nonatomic) IBOutlet UILabel *autoUploadCellLabel;
2628
27- (IBAction)enableAutoUpload:(id)sender;29- (IBAction)enableAutoUpload:(id)sender;
2830
2931
=== modified file 'Files/U1UploadsPoolViewController.m'
--- Files/U1UploadsPoolViewController.m 2011-12-14 19:43:35 +0000
+++ Files/U1UploadsPoolViewController.m 2012-08-27 11:27:21 +0000
@@ -43,6 +43,8 @@
43@synthesize loadingCell;43@synthesize loadingCell;
44@synthesize autoUploadToggleView, autoUploadToggle;44@synthesize autoUploadToggleView, autoUploadToggle;
45@synthesize filesClient;45@synthesize filesClient;
46@synthesize loadingCellLabel;
47@synthesize autoUploadCellLabel;
46@synthesize resultsController;48@synthesize resultsController;
4749
48- (id)init;50- (id)init;
@@ -69,6 +71,8 @@
69 [resultsController release];71 [resultsController release];
70 [autoUploadToggleView release];72 [autoUploadToggleView release];
71 [autoUploadToggle release];73 [autoUploadToggle release];
74 [loadingCellLabel release];
75 [autoUploadCellLabel release];
72 [super dealloc];76 [super dealloc];
73}77}
7478
@@ -77,12 +81,17 @@
77 [super viewDidLoad];81 [super viewDidLoad];
78 [self updateFeedback:nil];82 [self updateFeedback:nil];
79 [self loadCurrentUploads];83 [self loadCurrentUploads];
84
85 self.loadingCellLabel.text = NSLocalizedString(@"Loading...", nil);
86 self.autoUploadCellLabel.text = NSLocalizedString(@"Auto-Upload Camera Roll", nil);
80}87}
8188
82- (void)viewDidUnload;89- (void)viewDidUnload;
83{90{
84 [loadingCell release], loadingCell = nil;91 [loadingCell release], loadingCell = nil;
85 [[NSNotificationCenter defaultCenter] removeObserver:self];92 [[NSNotificationCenter defaultCenter] removeObserver:self];
93 [self setLoadingCellLabel:nil];
94 [self setAutoUploadCellLabel:nil];
86 [super viewDidUnload];95 [super viewDidUnload];
87}96}
8897
8998
=== modified file 'Files/U1UploadsPoolViewController.xib'
--- Files/U1UploadsPoolViewController.xib 2011-11-08 19:57:59 +0000
+++ Files/U1UploadsPoolViewController.xib 2012-08-27 11:27:21 +0000
@@ -1,21 +1,21 @@
1<?xml version="1.0" encoding="UTF-8"?>1<?xml version="1.0" encoding="UTF-8"?>
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1280</int>4 <int key="IBDocument.SystemTarget">1296</int>
5 <string key="IBDocument.SystemVersion">10K549</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">1938</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1038.36</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">461.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">933</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <array key="IBDocument.IntegratedClassDependencies">13 <array key="IBDocument.IntegratedClassDependencies">
14 <string>IBProxyObject</string>14 <string>IBProxyObject</string>
15 <string>IBUIActivityIndicatorView</string>
15 <string>IBUIImageView</string>16 <string>IBUIImageView</string>
16 <string>IBUILabel</string>17 <string>IBUILabel</string>
17 <string>IBUISwitch</string>18 <string>IBUISwitch</string>
18 <string>IBUIActivityIndicatorView</string>
19 <string>IBUITableView</string>19 <string>IBUITableView</string>
20 <string>IBUITableViewCell</string>20 <string>IBUITableViewCell</string>
21 <string>IBUIView</string>21 <string>IBUIView</string>
@@ -66,8 +66,8 @@
66 <array class="NSMutableArray" key="NSSubviews">66 <array class="NSMutableArray" key="NSSubviews">
67 <object class="IBUILabel" id="131881887">67 <object class="IBUILabel" id="131881887">
68 <reference key="NSNextResponder" ref="783165177"/>68 <reference key="NSNextResponder" ref="783165177"/>
69 <int key="NSvFlags">292</int>69 <int key="NSvFlags">274</int>
70 <string key="NSFrame">{{136, 17}, {75, 21}}</string>70 <string key="NSFrame">{{20, 17}, {280, 21}}</string>
71 <reference key="NSSuperview" ref="783165177"/>71 <reference key="NSSuperview" ref="783165177"/>
72 <reference key="NSNextKeyView"/>72 <reference key="NSNextKeyView"/>
73 <bool key="IBUIOpaque">NO</bool>73 <bool key="IBUIOpaque">NO</bool>
@@ -83,6 +83,7 @@
83 <nil key="IBUIHighlightedColor"/>83 <nil key="IBUIHighlightedColor"/>
84 <int key="IBUIBaselineAdjustment">1</int>84 <int key="IBUIBaselineAdjustment">1</int>
85 <float key="IBUIMinimumFontSize">10</float>85 <float key="IBUIMinimumFontSize">10</float>
86 <int key="IBUITextAlignment">1</int>
86 <object class="IBUIFontDescription" key="IBUIFontDescription">87 <object class="IBUIFontDescription" key="IBUIFontDescription">
87 <string key="name">Helvetica</string>88 <string key="name">Helvetica</string>
88 <string key="family">Helvetica</string>89 <string key="family">Helvetica</string>
@@ -151,7 +152,7 @@
151 </object>152 </object>
152 <object class="IBUISwitch" id="830315920">153 <object class="IBUISwitch" id="830315920">
153 <reference key="NSNextResponder" ref="534137793"/>154 <reference key="NSNextResponder" ref="534137793"/>
154 <int key="NSvFlags">292</int>155 <int key="NSvFlags">297</int>
155 <string key="NSFrame">{{209, 13}, {94, 27}}</string>156 <string key="NSFrame">{{209, 13}, {94, 27}}</string>
156 <reference key="NSSuperview" ref="534137793"/>157 <reference key="NSSuperview" ref="534137793"/>
157 <reference key="NSNextKeyView"/>158 <reference key="NSNextKeyView"/>
@@ -162,7 +163,7 @@
162 </object>163 </object>
163 <object class="IBUILabel" id="592945301">164 <object class="IBUILabel" id="592945301">
164 <reference key="NSNextResponder" ref="534137793"/>165 <reference key="NSNextResponder" ref="534137793"/>
165 <int key="NSvFlags">292</int>166 <int key="NSvFlags">278</int>
166 <string key="NSFrame">{{20, 16}, {196, 21}}</string>167 <string key="NSFrame">{{20, 16}, {196, 21}}</string>
167 <reference key="NSSuperview" ref="534137793"/>168 <reference key="NSSuperview" ref="534137793"/>
168 <reference key="NSNextKeyView" ref="830315920"/>169 <reference key="NSNextKeyView" ref="830315920"/>
@@ -231,6 +232,22 @@
231 <int key="connectionID">24</int>232 <int key="connectionID">24</int>
232 </object>233 </object>
233 <object class="IBConnectionRecord">234 <object class="IBConnectionRecord">
235 <object class="IBCocoaTouchOutletConnection" key="connection">
236 <string key="label">loadingCellLabel</string>
237 <reference key="source" ref="372490531"/>
238 <reference key="destination" ref="131881887"/>
239 </object>
240 <int key="connectionID">28</int>
241 </object>
242 <object class="IBConnectionRecord">
243 <object class="IBCocoaTouchOutletConnection" key="connection">
244 <string key="label">autoUploadCellLabel</string>
245 <reference key="source" ref="372490531"/>
246 <reference key="destination" ref="592945301"/>
247 </object>
248 <int key="connectionID">29</int>
249 </object>
250 <object class="IBConnectionRecord">
234 <object class="IBCocoaTouchEventConnection" key="connection">251 <object class="IBCocoaTouchEventConnection" key="connection">
235 <string key="label">enableAutoUpload:</string>252 <string key="label">enableAutoUpload:</string>
236 <reference key="source" ref="830315920"/>253 <reference key="source" ref="830315920"/>
@@ -329,17 +346,21 @@
329 <nil key="activeLocalization"/>346 <nil key="activeLocalization"/>
330 <dictionary class="NSMutableDictionary" key="localizations"/>347 <dictionary class="NSMutableDictionary" key="localizations"/>
331 <nil key="sourceID"/>348 <nil key="sourceID"/>
332 <int key="maxID">27</int>349 <int key="maxID">29</int>
333 </object>350 </object>
334 <object class="IBClassDescriber" key="IBDocument.Classes"/>351 <object class="IBClassDescriber" key="IBDocument.Classes"/>
335 <int key="IBDocument.localizationMode">0</int>352 <int key="IBDocument.localizationMode">0</int>
336 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>353 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
354 <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
355 <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
356 <real value="1296" key="NS.object.0"/>
357 </object>
337 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>358 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
338 <int key="IBDocument.defaultPropertyAccessControl">3</int>359 <int key="IBDocument.defaultPropertyAccessControl">3</int>
339 <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">360 <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
340 <string key="NS.key.0">progress_view_background.png</string>361 <string key="NS.key.0">progress_view_background.png</string>
341 <string key="NS.object.0">{320, 66}</string>362 <string key="NS.object.0">{320, 66}</string>
342 </object>363 </object>
343 <string key="IBCocoaTouchPluginVersion">933</string>364 <string key="IBCocoaTouchPluginVersion">1498</string>
344 </data>365 </data>
345</archive>366</archive>
346367
=== added file 'Files/en.lproj/Localizable.strings'
--- Files/en.lproj/Localizable.strings 1970-01-01 00:00:00 +0000
+++ Files/en.lproj/Localizable.strings 2012-08-27 11:27:21 +0000
@@ -0,0 +1,14 @@
1//
2// Copyright 2011 Canonical Ltd.
3//
4// This program is free software: you can redistribute it and/or modify it
5// under the terms of the GNU Affero General Public License version 3,
6// as published by the Free Software Foundation.
7//
8// This program is distributed in the hope that it will be useful, but
9// WITHOUT ANY WARRANTY; without even the implied warranties of
10// MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11// PURPOSE. See the GNU Affero General Public License for more details.
12//
13// You should have received a copy of the GNU Affero General Public License
14// along with this program. If not, see <http://www.gnu.org/licenses/>.
015
=== added directory 'Files/es.lproj'
=== added file 'Files/es.lproj/Localizable.strings'
1Binary files Files/es.lproj/Localizable.strings 1970-01-01 00:00:00 +0000 and Files/es.lproj/Localizable.strings 2012-08-27 11:27:21 +0000 differ16Binary files Files/es.lproj/Localizable.strings 1970-01-01 00:00:00 +0000 and Files/es.lproj/Localizable.strings 2012-08-27 11:27:21 +0000 differ
=== modified file 'Files/iPhone/en.lproj/MainWindow_iPhone.xib'
--- Files/iPhone/en.lproj/MainWindow_iPhone.xib 2012-06-29 17:51:54 +0000
+++ Files/iPhone/en.lproj/MainWindow_iPhone.xib 2012-08-27 11:27:21 +0000
@@ -2,26 +2,26 @@
2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">2<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
3 <data>3 <data>
4 <int key="IBDocument.SystemTarget">1024</int>4 <int key="IBDocument.SystemTarget">1024</int>
5 <string key="IBDocument.SystemVersion">11E2620</string>5 <string key="IBDocument.SystemVersion">12B19</string>
6 <string key="IBDocument.InterfaceBuilderVersion">2182</string>6 <string key="IBDocument.InterfaceBuilderVersion">2549</string>
7 <string key="IBDocument.AppKitVersion">1138.47</string>7 <string key="IBDocument.AppKitVersion">1187</string>
8 <string key="IBDocument.HIToolboxVersion">569.00</string>8 <string key="IBDocument.HIToolboxVersion">624.00</string>
9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">9 <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>10 <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11 <string key="NS.object.0">1181</string>11 <string key="NS.object.0">1498</string>
12 </object>12 </object>
13 <object class="NSArray" key="IBDocument.IntegratedClassDependencies">13 <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
14 <bool key="EncodedWithXMLCoder">YES</bool>14 <bool key="EncodedWithXMLCoder">YES</bool>
15 <string>IBProxyObject</string>15 <string>IBProxyObject</string>
16 <string>IBUINavigationController</string>
17 <string>IBUIViewController</string>
18 <string>IBUICustomObject</string>16 <string>IBUICustomObject</string>
19 <string>IBUITabBarController</string>
20 <string>IBUIWindow</string>
21 <string>IBUITabBar</string>
22 <string>IBUINavigationBar</string>17 <string>IBUINavigationBar</string>
18 <string>IBUINavigationController</string>
23 <string>IBUINavigationItem</string>19 <string>IBUINavigationItem</string>
20 <string>IBUITabBar</string>
21 <string>IBUITabBarController</string>
24 <string>IBUITabBarItem</string>22 <string>IBUITabBarItem</string>
23 <string>IBUIViewController</string>
24 <string>IBUIWindow</string>
25 </object>25 </object>
26 <object class="NSArray" key="IBDocument.PluginDependencies">26 <object class="NSArray" key="IBDocument.PluginDependencies">
27 <bool key="EncodedWithXMLCoder">YES</bool>27 <bool key="EncodedWithXMLCoder">YES</bool>
@@ -562,6 +562,6 @@
562 <string>{30, 30}</string>562 <string>{30, 30}</string>
563 </object>563 </object>
564 </object>564 </object>
565 <string key="IBCocoaTouchPluginVersion">1181</string>565 <string key="IBCocoaTouchPluginVersion">1498</string>
566 </data>566 </data>
567</archive>567</archive>

Subscribers

People subscribed via source and target branches