Merge lp:~threeve/ubuntuone-ios-files/polish-and-shine-2 into lp:ubuntuone-ios-files
- polish-and-shine-2
- Merge into trunk
Proposed by
Jason Foreman
Status: | Merged |
---|---|
Merged at revision: | 45 |
Proposed branch: | lp:~threeve/ubuntuone-ios-files/polish-and-shine-2 |
Merge into: | lp:ubuntuone-ios-files |
Diff against target: |
1384 lines (+362/-346) 9 files modified
Files.xcodeproj/project.pbxproj (+6/-6) Files/U1FolderViewController.m (+17/-96) Files/U1FolderViewController.xib (+122/-8) Files/U1FuzzyDateTransformer.h (+1/-1) Files/U1FuzzyDateTransformer.m (+59/-5) Files/U1SettingsViewController.h (+0/-1) Files/U1SettingsViewController.m (+72/-37) Files/U1SettingsViewController.xib (+7/-137) Files/UOSSOCredentialsViewController.xib (+78/-55) |
To merge this branch: | bzr merge lp:~threeve/ubuntuone-ios-files/polish-and-shine-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zachery Bir | Approve | ||
Review via email: mp+85550@code.launchpad.net |
Commit message
Description of the change
Just a few more tweaks to make the app a little bit happier.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Files.xcodeproj/project.pbxproj' | |||
2 | --- Files.xcodeproj/project.pbxproj 2011-12-13 16:43:36 +0000 | |||
3 | +++ Files.xcodeproj/project.pbxproj 2011-12-13 20:52:29 +0000 | |||
4 | @@ -47,7 +47,7 @@ | |||
5 | 47 | 960D46211409ECC500B73177 /* ic_folder.png in Resources */ = {isa = PBXBuildFile; fileRef = 960D461F1409ECC500B73177 /* ic_folder.png */; }; | 47 | 960D46211409ECC500B73177 /* ic_folder.png in Resources */ = {isa = PBXBuildFile; fileRef = 960D461F1409ECC500B73177 /* ic_folder.png */; }; |
6 | 48 | 960D46221409ECC500B73177 /* ic_folder@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 960D46201409ECC500B73177 /* ic_folder@2x.png */; }; | 48 | 960D46221409ECC500B73177 /* ic_folder@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 960D46201409ECC500B73177 /* ic_folder@2x.png */; }; |
7 | 49 | 960D4625140D8AF300B73177 /* U1ByteSizeValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D4624140D8AF200B73177 /* U1ByteSizeValueTransformer.m */; }; | 49 | 960D4625140D8AF300B73177 /* U1ByteSizeValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D4624140D8AF200B73177 /* U1ByteSizeValueTransformer.m */; }; |
9 | 50 | 960D4628140D8B4400B73177 /* U1FriendlyDateValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D4627140D8B4400B73177 /* U1FriendlyDateValueTransformer.m */; }; | 50 | 960D4628140D8B4400B73177 /* U1FuzzyDateTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D4627140D8B4400B73177 /* U1FuzzyDateTransformer.m */; }; |
10 | 51 | 960D462B140D99DD00B73177 /* U1Node.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D462A140D99DC00B73177 /* U1Node.m */; }; | 51 | 960D462B140D99DD00B73177 /* U1Node.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D462A140D99DC00B73177 /* U1Node.m */; }; |
11 | 52 | 960D462E140DD22800B73177 /* U1FileNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D462D140DD22600B73177 /* U1FileNode.m */; }; | 52 | 960D462E140DD22800B73177 /* U1FileNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D462D140DD22600B73177 /* U1FileNode.m */; }; |
12 | 53 | 960D4631140DD23600B73177 /* U1FolderNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D4630140DD23400B73177 /* U1FolderNode.m */; }; | 53 | 960D4631140DD23600B73177 /* U1FolderNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D4630140DD23400B73177 /* U1FolderNode.m */; }; |
13 | @@ -227,8 +227,8 @@ | |||
14 | 227 | 960D46201409ECC500B73177 /* ic_folder@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "ic_folder@2x.png"; path = "Assets/ic_folder@2x.png"; sourceTree = "<group>"; }; | 227 | 960D46201409ECC500B73177 /* ic_folder@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "ic_folder@2x.png"; path = "Assets/ic_folder@2x.png"; sourceTree = "<group>"; }; |
15 | 228 | 960D4623140D8AF200B73177 /* U1ByteSizeValueTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1ByteSizeValueTransformer.h; sourceTree = "<group>"; }; | 228 | 960D4623140D8AF200B73177 /* U1ByteSizeValueTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1ByteSizeValueTransformer.h; sourceTree = "<group>"; }; |
16 | 229 | 960D4624140D8AF200B73177 /* U1ByteSizeValueTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = U1ByteSizeValueTransformer.m; sourceTree = "<group>"; }; | 229 | 960D4624140D8AF200B73177 /* U1ByteSizeValueTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = U1ByteSizeValueTransformer.m; sourceTree = "<group>"; }; |
19 | 230 | 960D4626140D8B4400B73177 /* U1FriendlyDateValueTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1FriendlyDateValueTransformer.h; sourceTree = "<group>"; }; | 230 | 960D4626140D8B4400B73177 /* U1FuzzyDateTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; path = U1FuzzyDateTransformer.h; sourceTree = "<group>"; }; |
20 | 231 | 960D4627140D8B4400B73177 /* U1FriendlyDateValueTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = U1FriendlyDateValueTransformer.m; sourceTree = "<group>"; }; | 231 | 960D4627140D8B4400B73177 /* U1FuzzyDateTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = U1FuzzyDateTransformer.m; sourceTree = "<group>"; }; |
21 | 232 | 960D4629140D99DB00B73177 /* U1Node.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1Node.h; sourceTree = "<group>"; }; | 232 | 960D4629140D99DB00B73177 /* U1Node.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1Node.h; sourceTree = "<group>"; }; |
22 | 233 | 960D462A140D99DC00B73177 /* U1Node.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = U1Node.m; sourceTree = "<group>"; }; | 233 | 960D462A140D99DC00B73177 /* U1Node.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = U1Node.m; sourceTree = "<group>"; }; |
23 | 234 | 960D462C140DD22400B73177 /* U1FileNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1FileNode.h; sourceTree = "<group>"; }; | 234 | 960D462C140DD22400B73177 /* U1FileNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = U1FileNode.h; sourceTree = "<group>"; }; |
24 | @@ -666,8 +666,8 @@ | |||
25 | 666 | 960D461B1409E78E00B73177 /* U1ViewNibLoader.m */, | 666 | 960D461B1409E78E00B73177 /* U1ViewNibLoader.m */, |
26 | 667 | 960D4623140D8AF200B73177 /* U1ByteSizeValueTransformer.h */, | 667 | 960D4623140D8AF200B73177 /* U1ByteSizeValueTransformer.h */, |
27 | 668 | 960D4624140D8AF200B73177 /* U1ByteSizeValueTransformer.m */, | 668 | 960D4624140D8AF200B73177 /* U1ByteSizeValueTransformer.m */, |
30 | 669 | 960D4626140D8B4400B73177 /* U1FriendlyDateValueTransformer.h */, | 669 | 960D4626140D8B4400B73177 /* U1FuzzyDateTransformer.h */, |
31 | 670 | 960D4627140D8B4400B73177 /* U1FriendlyDateValueTransformer.m */, | 670 | 960D4627140D8B4400B73177 /* U1FuzzyDateTransformer.m */, |
32 | 671 | 91A5E2DD142B727500EAAC2B /* U1UploadOperation.h */, | 671 | 91A5E2DD142B727500EAAC2B /* U1UploadOperation.h */, |
33 | 672 | 91A5E2DE142B727500EAAC2B /* U1UploadOperation.m */, | 672 | 91A5E2DE142B727500EAAC2B /* U1UploadOperation.m */, |
34 | 673 | 965D7EB71429690C00E4754F /* U1NavigationBar.h */, | 673 | 965D7EB71429690C00E4754F /* U1NavigationBar.h */, |
35 | @@ -1028,7 +1028,7 @@ | |||
36 | 1028 | 960D46191409E41E00B73177 /* U1FolderItemCell.m in Sources */, | 1028 | 960D46191409E41E00B73177 /* U1FolderItemCell.m in Sources */, |
37 | 1029 | 960D461C1409E78E00B73177 /* U1ViewNibLoader.m in Sources */, | 1029 | 960D461C1409E78E00B73177 /* U1ViewNibLoader.m in Sources */, |
38 | 1030 | 960D4625140D8AF300B73177 /* U1ByteSizeValueTransformer.m in Sources */, | 1030 | 960D4625140D8AF300B73177 /* U1ByteSizeValueTransformer.m in Sources */, |
40 | 1031 | 960D4628140D8B4400B73177 /* U1FriendlyDateValueTransformer.m in Sources */, | 1031 | 960D4628140D8B4400B73177 /* U1FuzzyDateTransformer.m in Sources */, |
41 | 1032 | 960D462B140D99DD00B73177 /* U1Node.m in Sources */, | 1032 | 960D462B140D99DD00B73177 /* U1Node.m in Sources */, |
42 | 1033 | 960D462E140DD22800B73177 /* U1FileNode.m in Sources */, | 1033 | 960D462E140DD22800B73177 /* U1FileNode.m in Sources */, |
43 | 1034 | 960D4631140DD23600B73177 /* U1FolderNode.m in Sources */, | 1034 | 960D4631140DD23600B73177 /* U1FolderNode.m in Sources */, |
44 | 1035 | 1035 | ||
45 | === modified file 'Files/U1FolderViewController.m' | |||
46 | --- Files/U1FolderViewController.m 2011-12-12 15:24:46 +0000 | |||
47 | +++ Files/U1FolderViewController.m 2011-12-13 20:52:29 +0000 | |||
48 | @@ -31,11 +31,14 @@ | |||
49 | 31 | #import "U1AutoUploadsManager.h" | 31 | #import "U1AutoUploadsManager.h" |
50 | 32 | #import "U1Node.h" | 32 | #import "U1Node.h" |
51 | 33 | #import "UIActionSheet+U1Additions.h" | 33 | #import "UIActionSheet+U1Additions.h" |
52 | 34 | #import "U1FuzzyDateTransformer.h" | ||
53 | 34 | 35 | ||
54 | 35 | 36 | ||
55 | 36 | @interface U1FolderViewController () <UINavigationControllerDelegate, UIImagePickerControllerDelegate, NSFetchedResultsControllerDelegate> | 37 | @interface U1FolderViewController () <UINavigationControllerDelegate, UIImagePickerControllerDelegate, NSFetchedResultsControllerDelegate> |
56 | 38 | @property (retain) IBOutlet UILabel *footerLabel; | ||
57 | 37 | @property (copy) NSString *resourcePath; | 39 | @property (copy) NSString *resourcePath; |
58 | 38 | @property (retain) U1ByteSizeValueTransformer *byteSizeTransformer; | 40 | @property (retain) U1ByteSizeValueTransformer *byteSizeTransformer; |
59 | 41 | @property (retain) U1FuzzyDateTransformer *fuzzyDateTransformer; | ||
60 | 39 | @property (retain) NSIndexPath *pendingIndexPath; | 42 | @property (retain) NSIndexPath *pendingIndexPath; |
61 | 40 | @property (retain) U1FolderNode *node; | 43 | @property (retain) U1FolderNode *node; |
62 | 41 | @property (retain) NSMutableArray *nodes; | 44 | @property (retain) NSMutableArray *nodes; |
63 | @@ -50,7 +53,7 @@ | |||
64 | 50 | 53 | ||
65 | 51 | @synthesize loadingCell; | 54 | @synthesize loadingCell; |
66 | 52 | @synthesize delegate, filesClient, node, resourcePath; | 55 | @synthesize delegate, filesClient, node, resourcePath; |
68 | 53 | @synthesize byteSizeTransformer, pendingIndexPath, nodes, resultsController; | 56 | @synthesize footerLabel, byteSizeTransformer, fuzzyDateTransformer, pendingIndexPath, nodes, resultsController; |
69 | 54 | 57 | ||
70 | 55 | - (id)initWithNodeResourcePath:(NSString*)theResourcePath; | 58 | - (id)initWithNodeResourcePath:(NSString*)theResourcePath; |
71 | 56 | { | 59 | { |
72 | @@ -59,7 +62,8 @@ | |||
73 | 59 | return nil; | 62 | return nil; |
74 | 60 | self.title = [theResourcePath lastPathComponent]; | 63 | self.title = [theResourcePath lastPathComponent]; |
75 | 61 | self.resourcePath = theResourcePath; | 64 | self.resourcePath = theResourcePath; |
77 | 62 | self.byteSizeTransformer = [[U1ByteSizeValueTransformer new] autorelease]; | 65 | byteSizeTransformer = [U1ByteSizeValueTransformer new]; |
78 | 66 | fuzzyDateTransformer = [U1FuzzyDateTransformer new]; | ||
79 | 63 | filesClient = [U1FilesClient sharedFilesClient]; | 67 | filesClient = [U1FilesClient sharedFilesClient]; |
80 | 64 | 68 | ||
81 | 65 | UIBarButtonItem *uploadItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(uploadImage:)]; | 69 | UIBarButtonItem *uploadItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(uploadImage:)]; |
82 | @@ -77,9 +81,11 @@ | |||
83 | 77 | [resourcePath release]; | 81 | [resourcePath release]; |
84 | 78 | [node release]; | 82 | [node release]; |
85 | 79 | [byteSizeTransformer release]; | 83 | [byteSizeTransformer release]; |
86 | 84 | [fuzzyDateTransformer release]; | ||
87 | 80 | [pendingIndexPath release]; | 85 | [pendingIndexPath release]; |
88 | 81 | [nodes release]; | 86 | [nodes release]; |
89 | 82 | [resultsController release]; | 87 | [resultsController release]; |
90 | 88 | [footerLabel release]; | ||
91 | 83 | [super dealloc]; | 89 | [super dealloc]; |
92 | 84 | } | 90 | } |
93 | 85 | 91 | ||
94 | @@ -87,11 +93,6 @@ | |||
95 | 87 | { | 93 | { |
96 | 88 | [super viewDidLoad]; | 94 | [super viewDidLoad]; |
97 | 89 | [self refresh]; | 95 | [self refresh]; |
98 | 90 | |||
99 | 91 | UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPress:)]; | ||
100 | 92 | [longPress setMinimumPressDuration:1.f]; | ||
101 | 93 | [self.tableView addGestureRecognizer:longPress]; | ||
102 | 94 | [longPress release]; | ||
103 | 95 | } | 96 | } |
104 | 96 | 97 | ||
105 | 97 | - (void)viewDidUnload; | 98 | - (void)viewDidUnload; |
106 | @@ -130,71 +131,6 @@ | |||
107 | 130 | } | 131 | } |
108 | 131 | } | 132 | } |
109 | 132 | 133 | ||
110 | 133 | - (void)longPress:(UILongPressGestureRecognizer*)longPress; | ||
111 | 134 | { | ||
112 | 135 | if (longPress.state == UIGestureRecognizerStateBegan) | ||
113 | 136 | { | ||
114 | 137 | CGPoint p = [longPress locationInView:self.tableView]; | ||
115 | 138 | NSIndexPath *indexPath = [self.tableView indexPathForRowAtPoint:p]; | ||
116 | 139 | U1Node *childNode = [self.nodes objectAtIndex:indexPath.row]; | ||
117 | 140 | |||
118 | 141 | UIActionSheet *actionSheet = [UIActionSheet new]; | ||
119 | 142 | |||
120 | 143 | [actionSheet setTitle:[[childNode path] lastPathComponent]]; | ||
121 | 144 | [actionSheet setDestructiveButtonIndex:[actionSheet addButtonWithTitle:@"Delete"]]; | ||
122 | 145 | NSInteger renameButtonIndex = [actionSheet addButtonWithTitle:@"Rename"]; | ||
123 | 146 | NSInteger publishButtonIndex = -1; | ||
124 | 147 | NSInteger copyURLButtonIndex = -1; | ||
125 | 148 | if ([childNode isFile]) | ||
126 | 149 | { | ||
127 | 150 | U1FileNode *fileNode = (id)childNode; | ||
128 | 151 | if ([[fileNode isPublic] boolValue]) | ||
129 | 152 | { | ||
130 | 153 | publishButtonIndex = [actionSheet addButtonWithTitle:@"Unpublish"]; | ||
131 | 154 | copyURLButtonIndex = [actionSheet addButtonWithTitle:@"Copy Public URL"]; | ||
132 | 155 | } | ||
133 | 156 | else | ||
134 | 157 | { | ||
135 | 158 | publishButtonIndex = [actionSheet addButtonWithTitle:@"Publish"]; | ||
136 | 159 | } | ||
137 | 160 | } | ||
138 | 161 | [actionSheet setCancelButtonIndex:[actionSheet addButtonWithTitle:@"Cancel"]]; | ||
139 | 162 | |||
140 | 163 | self.pendingIndexPath = indexPath; | ||
141 | 164 | [actionSheet showInView:self.view withCompletionBlock:^(NSInteger buttonIndex) { | ||
142 | 165 | if (buttonIndex == [actionSheet destructiveButtonIndex]) | ||
143 | 166 | { | ||
144 | 167 | [self deleteNodeAtIndexPath:self.pendingIndexPath]; | ||
145 | 168 | } | ||
146 | 169 | else if (buttonIndex == renameButtonIndex) | ||
147 | 170 | { | ||
148 | 171 | NSLog(@"rename!"); // TODO: | ||
149 | 172 | } | ||
150 | 173 | else if (buttonIndex == publishButtonIndex) | ||
151 | 174 | { | ||
152 | 175 | U1FileNode *fileNode = (id)childNode; | ||
153 | 176 | if ([[fileNode isPublic] boolValue]) | ||
154 | 177 | [self.filesClient unpublishNode:fileNode completionBlock:^(U1FileNode *updatedNode, NSError *error) { | ||
155 | 178 | }]; | ||
156 | 179 | else | ||
157 | 180 | [self.filesClient publishNode:fileNode completionBlock:^(U1FileNode *updatedNode, NSError *error) { | ||
158 | 181 | }]; | ||
159 | 182 | } | ||
160 | 183 | else if (buttonIndex == copyURLButtonIndex) | ||
161 | 184 | { | ||
162 | 185 | U1FileNode *fileNode = (id)childNode; | ||
163 | 186 | NSArray *types = UIPasteboardTypeListString; | ||
164 | 187 | [[UIPasteboard generalPasteboard] setValue:[fileNode publicURLString] forPasteboardType:[types lastObject]]; | ||
165 | 188 | } | ||
166 | 189 | else if (buttonIndex == [actionSheet cancelButtonIndex]) | ||
167 | 190 | { | ||
168 | 191 | // NSLog(@"cancel"); | ||
169 | 192 | } | ||
170 | 193 | self.pendingIndexPath = nil; | ||
171 | 194 | }]; | ||
172 | 195 | } | ||
173 | 196 | } | ||
174 | 197 | |||
175 | 198 | - (void)uploadImage:(id)sender; | 134 | - (void)uploadImage:(id)sender; |
176 | 199 | { | 135 | { |
177 | 200 | UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; | 136 | UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; |
178 | @@ -303,7 +239,8 @@ | |||
179 | 303 | if ([aNode isFolder]) | 239 | if ([aNode isFolder]) |
180 | 304 | { | 240 | { |
181 | 305 | [cell.imageView setImage:[UIImage imageNamed:@"ic_folder"]]; | 241 | [cell.imageView setImage:[UIImage imageNamed:@"ic_folder"]]; |
183 | 306 | [cell.detailLabel setText:[aNode.modificationDate description]]; | 242 | NSString *fuzzyDate = [self.fuzzyDateTransformer transformedValue:aNode.modificationDate]; |
184 | 243 | [cell.detailLabel setText:[NSString stringWithFormat:@"modified %@", fuzzyDate]]; | ||
185 | 307 | } | 244 | } |
186 | 308 | else | 245 | else |
187 | 309 | { | 246 | { |
188 | @@ -318,8 +255,9 @@ | |||
189 | 318 | NSNumber *size = [aNode valueForKey:@"size"]; | 255 | NSNumber *size = [aNode valueForKey:@"size"]; |
190 | 319 | NSString *sizeString = [self.byteSizeTransformer transformedValue:size]; | 256 | NSString *sizeString = [self.byteSizeTransformer transformedValue:size]; |
191 | 320 | NSString *detailString = sizeString; | 257 | NSString *detailString = sizeString; |
192 | 258 | NSString *fuzzyDate = [self.fuzzyDateTransformer transformedValue:aNode.modificationDate]; | ||
193 | 321 | if (aNode.modificationDate) | 259 | if (aNode.modificationDate) |
195 | 322 | detailString = [sizeString stringByAppendingFormat:@", modified %@", aNode.modificationDate]; | 260 | detailString = [sizeString stringByAppendingFormat:@", modified %@", fuzzyDate]; |
196 | 323 | [cell.detailLabel setText:detailString]; | 261 | [cell.detailLabel setText:detailString]; |
197 | 324 | } | 262 | } |
198 | 325 | } | 263 | } |
199 | @@ -375,28 +313,6 @@ | |||
200 | 375 | [self loadInfoForNode]; | 313 | [self loadInfoForNode]; |
201 | 376 | } | 314 | } |
202 | 377 | 315 | ||
203 | 378 | - (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section; | ||
204 | 379 | { | ||
205 | 380 | UILabel *footerLabel = [[[UILabel alloc] initWithFrame:CGRectMake(0, 0, 320, 22)] autorelease]; | ||
206 | 381 | footerLabel.backgroundColor = [[UIColor lightGrayColor] colorWithAlphaComponent:0.85f]; | ||
207 | 382 | [footerLabel setFont:[UIFont systemFontOfSize:14.f]]; | ||
208 | 383 | [footerLabel setShadowColor:[UIColor whiteColor]]; | ||
209 | 384 | [footerLabel setShadowOffset:CGSizeMake(0, 1)]; | ||
210 | 385 | [footerLabel setTextAlignment:UITextAlignmentCenter]; | ||
211 | 386 | |||
212 | 387 | int numItems = [[[self.resultsController sections] objectAtIndex:0] numberOfObjects]; | ||
213 | 388 | NSNumber *folderRawSize = [[self.resultsController fetchedObjects] valueForKeyPath:@"@sum.size"]; | ||
214 | 389 | NSString *folderSize = [self.byteSizeTransformer transformedValue:folderRawSize]; | ||
215 | 390 | |||
216 | 391 | [footerLabel setText:[NSString stringWithFormat:@"%d items, %@", numItems, folderSize]]; | ||
217 | 392 | |||
218 | 393 | return footerLabel; | ||
219 | 394 | } | ||
220 | 395 | |||
221 | 396 | - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section; | ||
222 | 397 | { | ||
223 | 398 | return 22.0f; | ||
224 | 399 | } | ||
225 | 400 | 316 | ||
226 | 401 | #pragma mark Private Methods | 317 | #pragma mark Private Methods |
227 | 402 | 318 | ||
228 | @@ -502,6 +418,11 @@ | |||
229 | 502 | - (void)controllerDidChangeContent:(NSFetchedResultsController *)controller; | 418 | - (void)controllerDidChangeContent:(NSFetchedResultsController *)controller; |
230 | 503 | { | 419 | { |
231 | 504 | [self.tableView endUpdates]; | 420 | [self.tableView endUpdates]; |
232 | 421 | |||
233 | 422 | int numItems = [[[self.resultsController sections] objectAtIndex:0] numberOfObjects]; | ||
234 | 423 | NSNumber *folderRawSize = [[self.resultsController fetchedObjects] valueForKeyPath:@"@sum.size"]; | ||
235 | 424 | NSString *folderSize = [self.byteSizeTransformer transformedValue:folderRawSize]; | ||
236 | 425 | [self.footerLabel setText:[NSString stringWithFormat:@"%d items, %@", numItems, folderSize]]; | ||
237 | 505 | } | 426 | } |
238 | 506 | 427 | ||
239 | 507 | @end | 428 | @end |
240 | 508 | 429 | ||
241 | === modified file 'Files/U1FolderViewController.xib' | |||
242 | --- Files/U1FolderViewController.xib 2011-12-07 18:23:32 +0000 | |||
243 | +++ Files/U1FolderViewController.xib 2011-12-13 20:52:29 +0000 | |||
244 | @@ -12,6 +12,7 @@ | |||
245 | 12 | </object> | 12 | </object> |
246 | 13 | <object class="NSArray" key="IBDocument.IntegratedClassDependencies"> | 13 | <object class="NSArray" key="IBDocument.IntegratedClassDependencies"> |
247 | 14 | <bool key="EncodedWithXMLCoder">YES</bool> | 14 | <bool key="EncodedWithXMLCoder">YES</bool> |
248 | 15 | <string>IBUIView</string> | ||
249 | 15 | <string>IBUITableViewCell</string> | 16 | <string>IBUITableViewCell</string> |
250 | 16 | <string>IBUITableView</string> | 17 | <string>IBUITableView</string> |
251 | 17 | <string>IBUIActivityIndicatorView</string> | 18 | <string>IBUIActivityIndicatorView</string> |
252 | @@ -39,9 +40,64 @@ | |||
253 | 39 | <object class="IBUITableView" id="174006671"> | 40 | <object class="IBUITableView" id="174006671"> |
254 | 40 | <reference key="NSNextResponder"/> | 41 | <reference key="NSNextResponder"/> |
255 | 41 | <int key="NSvFlags">274</int> | 42 | <int key="NSvFlags">274</int> |
256 | 43 | <object class="NSMutableArray" key="NSSubviews"> | ||
257 | 44 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
258 | 45 | <object class="IBUIView" id="1014635344"> | ||
259 | 46 | <reference key="NSNextResponder" ref="174006671"/> | ||
260 | 47 | <int key="NSvFlags">292</int> | ||
261 | 48 | <object class="NSMutableArray" key="NSSubviews"> | ||
262 | 49 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
263 | 50 | <object class="IBUILabel" id="1067115130"> | ||
264 | 51 | <reference key="NSNextResponder" ref="1014635344"/> | ||
265 | 52 | <int key="NSvFlags">292</int> | ||
266 | 53 | <string key="NSFrame">{{20, 6}, {280, 18}}</string> | ||
267 | 54 | <reference key="NSSuperview" ref="1014635344"/> | ||
268 | 55 | <reference key="NSWindow"/> | ||
269 | 56 | <reference key="NSNextKeyView"/> | ||
270 | 57 | <bool key="IBUIOpaque">NO</bool> | ||
271 | 58 | <bool key="IBUIClipsSubviews">YES</bool> | ||
272 | 59 | <int key="IBUIContentMode">7</int> | ||
273 | 60 | <bool key="IBUIUserInteractionEnabled">NO</bool> | ||
274 | 61 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
275 | 62 | <string key="IBUIText"/> | ||
276 | 63 | <object class="NSColor" key="IBUITextColor"> | ||
277 | 64 | <int key="NSColorSpace">3</int> | ||
278 | 65 | <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes> | ||
279 | 66 | </object> | ||
280 | 67 | <nil key="IBUIHighlightedColor"/> | ||
281 | 68 | <int key="IBUIBaselineAdjustment">1</int> | ||
282 | 69 | <bool key="IBUIAdjustsFontSizeToFit">NO</bool> | ||
283 | 70 | <float key="IBUIMinimumFontSize">10</float> | ||
284 | 71 | <int key="IBUITextAlignment">1</int> | ||
285 | 72 | <object class="IBUIFontDescription" key="IBUIFontDescription"> | ||
286 | 73 | <int key="type">1</int> | ||
287 | 74 | <double key="pointSize">14</double> | ||
288 | 75 | </object> | ||
289 | 76 | <object class="NSFont" key="IBUIFont"> | ||
290 | 77 | <string key="NSName">Helvetica</string> | ||
291 | 78 | <double key="NSSize">14</double> | ||
292 | 79 | <int key="NSfFlags">16</int> | ||
293 | 80 | </object> | ||
294 | 81 | </object> | ||
295 | 82 | </object> | ||
296 | 83 | <string key="NSFrame">{{0, 430}, {320, 30}}</string> | ||
297 | 84 | <reference key="NSSuperview" ref="174006671"/> | ||
298 | 85 | <reference key="NSWindow"/> | ||
299 | 86 | <reference key="NSNextKeyView" ref="1067115130"/> | ||
300 | 87 | <object class="NSColor" key="IBUIBackgroundColor"> | ||
301 | 88 | <int key="NSColorSpace">3</int> | ||
302 | 89 | <bytes key="NSWhite">MQA</bytes> | ||
303 | 90 | <object class="NSColorSpace" key="NSCustomColorSpace"> | ||
304 | 91 | <int key="NSID">2</int> | ||
305 | 92 | </object> | ||
306 | 93 | </object> | ||
307 | 94 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
308 | 95 | </object> | ||
309 | 96 | </object> | ||
310 | 42 | <string key="NSFrameSize">{320, 460}</string> | 97 | <string key="NSFrameSize">{320, 460}</string> |
311 | 43 | <reference key="NSSuperview"/> | 98 | <reference key="NSSuperview"/> |
312 | 44 | <reference key="NSWindow"/> | 99 | <reference key="NSWindow"/> |
313 | 100 | <reference key="NSNextKeyView" ref="1014635344"/> | ||
314 | 45 | <object class="NSColor" key="IBUIBackgroundColor"> | 101 | <object class="NSColor" key="IBUIBackgroundColor"> |
315 | 46 | <int key="NSColorSpace">3</int> | 102 | <int key="NSColorSpace">3</int> |
316 | 47 | <bytes key="NSWhite">MQA</bytes> | 103 | <bytes key="NSWhite">MQA</bytes> |
317 | @@ -55,9 +111,10 @@ | |||
318 | 55 | <float key="IBUIRowHeight">54</float> | 111 | <float key="IBUIRowHeight">54</float> |
319 | 56 | <float key="IBUISectionHeaderHeight">22</float> | 112 | <float key="IBUISectionHeaderHeight">22</float> |
320 | 57 | <float key="IBUISectionFooterHeight">22</float> | 113 | <float key="IBUISectionFooterHeight">22</float> |
321 | 114 | <reference key="IBUITableFooterView" ref="1014635344"/> | ||
322 | 58 | </object> | 115 | </object> |
323 | 59 | <object class="IBUITableViewCell" id="864788526"> | 116 | <object class="IBUITableViewCell" id="864788526"> |
325 | 60 | <nil key="NSNextResponder"/> | 117 | <reference key="NSNextResponder"/> |
326 | 61 | <int key="NSvFlags">292</int> | 118 | <int key="NSvFlags">292</int> |
327 | 62 | <object class="NSMutableArray" key="NSSubviews"> | 119 | <object class="NSMutableArray" key="NSSubviews"> |
328 | 63 | <bool key="EncodedWithXMLCoder">YES</bool> | 120 | <bool key="EncodedWithXMLCoder">YES</bool> |
329 | @@ -71,6 +128,8 @@ | |||
330 | 71 | <int key="NSvFlags">292</int> | 128 | <int key="NSvFlags">292</int> |
331 | 72 | <string key="NSFrame">{{136, 17}, {75, 21}}</string> | 129 | <string key="NSFrame">{{136, 17}, {75, 21}}</string> |
332 | 73 | <reference key="NSSuperview" ref="834389907"/> | 130 | <reference key="NSSuperview" ref="834389907"/> |
333 | 131 | <reference key="NSWindow"/> | ||
334 | 132 | <reference key="NSNextKeyView"/> | ||
335 | 74 | <bool key="IBUIOpaque">NO</bool> | 133 | <bool key="IBUIOpaque">NO</bool> |
336 | 75 | <bool key="IBUIClipsSubviews">YES</bool> | 134 | <bool key="IBUIClipsSubviews">YES</bool> |
337 | 76 | <int key="IBUIContentMode">7</int> | 135 | <int key="IBUIContentMode">7</int> |
338 | @@ -101,6 +160,7 @@ | |||
339 | 101 | <int key="NSvFlags">292</int> | 160 | <int key="NSvFlags">292</int> |
340 | 102 | <string key="NSFrame">{{108, 18}, {20, 20}}</string> | 161 | <string key="NSFrame">{{108, 18}, {20, 20}}</string> |
341 | 103 | <reference key="NSSuperview" ref="834389907"/> | 162 | <reference key="NSSuperview" ref="834389907"/> |
342 | 163 | <reference key="NSWindow"/> | ||
343 | 104 | <reference key="NSNextKeyView" ref="317026358"/> | 164 | <reference key="NSNextKeyView" ref="317026358"/> |
344 | 105 | <bool key="IBUIOpaque">NO</bool> | 165 | <bool key="IBUIOpaque">NO</bool> |
345 | 106 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 166 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
346 | @@ -111,6 +171,7 @@ | |||
347 | 111 | </object> | 171 | </object> |
348 | 112 | <string key="NSFrameSize">{320, 53}</string> | 172 | <string key="NSFrameSize">{320, 53}</string> |
349 | 113 | <reference key="NSSuperview" ref="864788526"/> | 173 | <reference key="NSSuperview" ref="864788526"/> |
350 | 174 | <reference key="NSWindow"/> | ||
351 | 114 | <reference key="NSNextKeyView" ref="42067442"/> | 175 | <reference key="NSNextKeyView" ref="42067442"/> |
352 | 115 | <object class="NSColor" key="IBUIBackgroundColor"> | 176 | <object class="NSColor" key="IBUIBackgroundColor"> |
353 | 116 | <int key="NSColorSpace">3</int> | 177 | <int key="NSColorSpace">3</int> |
354 | @@ -124,6 +185,8 @@ | |||
355 | 124 | </object> | 185 | </object> |
356 | 125 | </object> | 186 | </object> |
357 | 126 | <string key="NSFrameSize">{320, 54}</string> | 187 | <string key="NSFrameSize">{320, 54}</string> |
358 | 188 | <reference key="NSSuperview"/> | ||
359 | 189 | <reference key="NSWindow"/> | ||
360 | 127 | <reference key="NSNextKeyView" ref="834389907"/> | 190 | <reference key="NSNextKeyView" ref="834389907"/> |
361 | 128 | <object class="NSColor" key="IBUIBackgroundColor"> | 191 | <object class="NSColor" key="IBUIBackgroundColor"> |
362 | 129 | <int key="NSColorSpace">1</int> | 192 | <int key="NSColorSpace">1</int> |
363 | @@ -152,6 +215,14 @@ | |||
364 | 152 | </object> | 215 | </object> |
365 | 153 | <int key="connectionID">13</int> | 216 | <int key="connectionID">13</int> |
366 | 154 | </object> | 217 | </object> |
367 | 218 | <object class="IBConnectionRecord"> | ||
368 | 219 | <object class="IBCocoaTouchOutletConnection" key="connection"> | ||
369 | 220 | <string key="label">footerLabel</string> | ||
370 | 221 | <reference key="source" ref="372490531"/> | ||
371 | 222 | <reference key="destination" ref="1067115130"/> | ||
372 | 223 | </object> | ||
373 | 224 | <int key="connectionID">20</int> | ||
374 | 225 | </object> | ||
375 | 155 | </object> | 226 | </object> |
376 | 156 | <object class="IBMutableOrderedSet" key="objectRecords"> | 227 | <object class="IBMutableOrderedSet" key="objectRecords"> |
377 | 157 | <object class="NSArray" key="orderedObjects"> | 228 | <object class="NSArray" key="orderedObjects"> |
378 | @@ -178,6 +249,10 @@ | |||
379 | 178 | <object class="IBObjectRecord"> | 249 | <object class="IBObjectRecord"> |
380 | 179 | <int key="objectID">8</int> | 250 | <int key="objectID">8</int> |
381 | 180 | <reference key="object" ref="174006671"/> | 251 | <reference key="object" ref="174006671"/> |
382 | 252 | <object class="NSMutableArray" key="children"> | ||
383 | 253 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
384 | 254 | <reference ref="1014635344"/> | ||
385 | 255 | </object> | ||
386 | 181 | <reference key="parent" ref="0"/> | 256 | <reference key="parent" ref="0"/> |
387 | 182 | <string key="objectName">Table View</string> | 257 | <string key="objectName">Table View</string> |
388 | 183 | </object> | 258 | </object> |
389 | @@ -201,6 +276,20 @@ | |||
390 | 201 | <reference key="object" ref="317026358"/> | 276 | <reference key="object" ref="317026358"/> |
391 | 202 | <reference key="parent" ref="864788526"/> | 277 | <reference key="parent" ref="864788526"/> |
392 | 203 | </object> | 278 | </object> |
393 | 279 | <object class="IBObjectRecord"> | ||
394 | 280 | <int key="objectID">18</int> | ||
395 | 281 | <reference key="object" ref="1014635344"/> | ||
396 | 282 | <object class="NSMutableArray" key="children"> | ||
397 | 283 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
398 | 284 | <reference ref="1067115130"/> | ||
399 | 285 | </object> | ||
400 | 286 | <reference key="parent" ref="174006671"/> | ||
401 | 287 | </object> | ||
402 | 288 | <object class="IBObjectRecord"> | ||
403 | 289 | <int key="objectID">19</int> | ||
404 | 290 | <reference key="object" ref="1067115130"/> | ||
405 | 291 | <reference key="parent" ref="1014635344"/> | ||
406 | 292 | </object> | ||
407 | 204 | </object> | 293 | </object> |
408 | 205 | </object> | 294 | </object> |
409 | 206 | <object class="NSMutableDictionary" key="flattenedProperties"> | 295 | <object class="NSMutableDictionary" key="flattenedProperties"> |
410 | @@ -214,6 +303,8 @@ | |||
411 | 214 | <string>10.IBPluginDependency</string> | 303 | <string>10.IBPluginDependency</string> |
412 | 215 | <string>11.IBPluginDependency</string> | 304 | <string>11.IBPluginDependency</string> |
413 | 216 | <string>12.IBPluginDependency</string> | 305 | <string>12.IBPluginDependency</string> |
414 | 306 | <string>18.IBPluginDependency</string> | ||
415 | 307 | <string>19.IBPluginDependency</string> | ||
416 | 217 | <string>8.IBPluginDependency</string> | 308 | <string>8.IBPluginDependency</string> |
417 | 218 | </object> | 309 | </object> |
418 | 219 | <object class="NSMutableArray" key="dict.values"> | 310 | <object class="NSMutableArray" key="dict.values"> |
419 | @@ -226,6 +317,8 @@ | |||
420 | 226 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 317 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
421 | 227 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 318 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
422 | 228 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 319 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
423 | 320 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
424 | 321 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
425 | 229 | </object> | 322 | </object> |
426 | 230 | </object> | 323 | </object> |
427 | 231 | <object class="NSMutableDictionary" key="unlocalizedProperties"> | 324 | <object class="NSMutableDictionary" key="unlocalizedProperties"> |
428 | @@ -240,7 +333,7 @@ | |||
429 | 240 | <reference key="dict.values" ref="0"/> | 333 | <reference key="dict.values" ref="0"/> |
430 | 241 | </object> | 334 | </object> |
431 | 242 | <nil key="sourceID"/> | 335 | <nil key="sourceID"/> |
433 | 243 | <int key="maxID">17</int> | 336 | <int key="maxID">20</int> |
434 | 244 | </object> | 337 | </object> |
435 | 245 | <object class="IBClassDescriber" key="IBDocument.Classes"> | 338 | <object class="IBClassDescriber" key="IBDocument.Classes"> |
436 | 246 | <object class="NSMutableArray" key="referencedPartialClassDescriptions"> | 339 | <object class="NSMutableArray" key="referencedPartialClassDescriptions"> |
437 | @@ -257,14 +350,35 @@ | |||
438 | 257 | <string key="className">U1FolderViewController</string> | 350 | <string key="className">U1FolderViewController</string> |
439 | 258 | <string key="superclassName">PullRefreshTableViewController</string> | 351 | <string key="superclassName">PullRefreshTableViewController</string> |
440 | 259 | <object class="NSMutableDictionary" key="outlets"> | 352 | <object class="NSMutableDictionary" key="outlets"> |
443 | 260 | <string key="NS.key.0">loadingCell</string> | 353 | <bool key="EncodedWithXMLCoder">YES</bool> |
444 | 261 | <string key="NS.object.0">UITableViewCell</string> | 354 | <object class="NSArray" key="dict.sortedKeys"> |
445 | 355 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
446 | 356 | <string>footerLabel</string> | ||
447 | 357 | <string>loadingCell</string> | ||
448 | 358 | </object> | ||
449 | 359 | <object class="NSMutableArray" key="dict.values"> | ||
450 | 360 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
451 | 361 | <string>UILabel</string> | ||
452 | 362 | <string>UITableViewCell</string> | ||
453 | 363 | </object> | ||
454 | 262 | </object> | 364 | </object> |
455 | 263 | <object class="NSMutableDictionary" key="toOneOutletInfosByName"> | 365 | <object class="NSMutableDictionary" key="toOneOutletInfosByName"> |
460 | 264 | <string key="NS.key.0">loadingCell</string> | 366 | <bool key="EncodedWithXMLCoder">YES</bool> |
461 | 265 | <object class="IBToOneOutletInfo" key="NS.object.0"> | 367 | <object class="NSArray" key="dict.sortedKeys"> |
462 | 266 | <string key="name">loadingCell</string> | 368 | <bool key="EncodedWithXMLCoder">YES</bool> |
463 | 267 | <string key="candidateClassName">UITableViewCell</string> | 369 | <string>footerLabel</string> |
464 | 370 | <string>loadingCell</string> | ||
465 | 371 | </object> | ||
466 | 372 | <object class="NSMutableArray" key="dict.values"> | ||
467 | 373 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
468 | 374 | <object class="IBToOneOutletInfo"> | ||
469 | 375 | <string key="name">footerLabel</string> | ||
470 | 376 | <string key="candidateClassName">UILabel</string> | ||
471 | 377 | </object> | ||
472 | 378 | <object class="IBToOneOutletInfo"> | ||
473 | 379 | <string key="name">loadingCell</string> | ||
474 | 380 | <string key="candidateClassName">UITableViewCell</string> | ||
475 | 381 | </object> | ||
476 | 268 | </object> | 382 | </object> |
477 | 269 | </object> | 383 | </object> |
478 | 270 | <object class="IBClassDescriptionSource" key="sourceIdentifier"> | 384 | <object class="IBClassDescriptionSource" key="sourceIdentifier"> |
479 | 271 | 385 | ||
480 | === renamed file 'Files/U1FriendlyDateValueTransformer.h' => 'Files/U1FuzzyDateTransformer.h' | |||
481 | --- Files/U1FriendlyDateValueTransformer.h 2011-08-31 14:56:30 +0000 | |||
482 | +++ Files/U1FuzzyDateTransformer.h 2011-12-13 20:52:29 +0000 | |||
483 | @@ -16,6 +16,6 @@ | |||
484 | 16 | #import <Foundation/Foundation.h> | 16 | #import <Foundation/Foundation.h> |
485 | 17 | 17 | ||
486 | 18 | 18 | ||
488 | 19 | @interface U1FriendlyDateValueTransformer : NSValueTransformer | 19 | @interface U1FuzzyDateTransformer : NSValueTransformer |
489 | 20 | 20 | ||
490 | 21 | @end | 21 | @end |
491 | 22 | 22 | ||
492 | === renamed file 'Files/U1FriendlyDateValueTransformer.m' => 'Files/U1FuzzyDateTransformer.m' | |||
493 | --- Files/U1FriendlyDateValueTransformer.m 2011-08-31 14:56:30 +0000 | |||
494 | +++ Files/U1FuzzyDateTransformer.m 2011-12-13 20:52:29 +0000 | |||
495 | @@ -13,18 +13,72 @@ | |||
496 | 13 | // You should have received a copy of the GNU Affero General Public License | 13 | // You should have received a copy of the GNU Affero General Public License |
497 | 14 | // along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | // along with this program. If not, see <http://www.gnu.org/licenses/>. |
498 | 15 | 15 | ||
503 | 16 | #import "U1FriendlyDateValueTransformer.h" | 16 | #import "U1FuzzyDateTransformer.h" |
504 | 17 | 17 | ||
505 | 18 | 18 | ||
506 | 19 | @implementation U1FriendlyDateValueTransformer | 19 | static const NSUInteger kSECONDS_PER_MINUTE = 60; |
507 | 20 | static const NSUInteger kSECONDS_PER_HOUR = 60 * kSECONDS_PER_MINUTE; | ||
508 | 21 | static const NSUInteger kSECONDS_PER_DAY = 24 * kSECONDS_PER_HOUR; | ||
509 | 22 | static const NSUInteger kSECONDS_PER_WEEK = 7 * kSECONDS_PER_DAY; | ||
510 | 23 | static const NSUInteger kABOUT_A_WEEK = kSECONDS_PER_WEEK + kSECONDS_PER_DAY; | ||
511 | 24 | |||
512 | 25 | |||
513 | 26 | @implementation U1FuzzyDateTransformer | ||
514 | 20 | 27 | ||
515 | 21 | + (Class)transformedValueClass { return [NSString class]; } | 28 | + (Class)transformedValueClass { return [NSString class]; } |
516 | 22 | 29 | ||
517 | 23 | + (BOOL)allowsReverseTransformation { return NO; } | 30 | + (BOOL)allowsReverseTransformation { return NO; } |
518 | 24 | 31 | ||
519 | 32 | + (NSDateFormatter*)dateFormatter; | ||
520 | 33 | { | ||
521 | 34 | static NSDateFormatter *dateFormatter = nil; | ||
522 | 35 | static dispatch_once_t onceToken; | ||
523 | 36 | dispatch_once(&onceToken, ^{ | ||
524 | 37 | dateFormatter = [[NSDateFormatter alloc] init]; | ||
525 | 38 | [dateFormatter setDateStyle:NSDateFormatterShortStyle]; | ||
526 | 39 | }); | ||
527 | 40 | return dateFormatter; | ||
528 | 41 | } | ||
529 | 42 | |||
530 | 25 | - (id)transformedValue:(id)value; | 43 | - (id)transformedValue:(id)value; |
531 | 26 | { | 44 | { |
533 | 27 | return (value == nil) ? nil : NSStringFromClass([value class]); | 45 | NSDate *date = value; |
534 | 46 | NSTimeInterval interval = -[date timeIntervalSinceNow]; | ||
535 | 47 | |||
536 | 48 | |||
537 | 49 | NSString *fuzzyDate = nil; | ||
538 | 50 | if (interval < kSECONDS_PER_MINUTE) | ||
539 | 51 | { | ||
540 | 52 | return NSLocalizedString(@"just now", nil); | ||
541 | 53 | } | ||
542 | 54 | else if (interval < kSECONDS_PER_HOUR) | ||
543 | 55 | { | ||
544 | 56 | NSUInteger minutes = interval / kSECONDS_PER_MINUTE; | ||
545 | 57 | NSString *format = (minutes > 1) ? NSLocalizedString(@"%u minutes ago", nil) : NSLocalizedString(@"%u minute ago", nil); | ||
546 | 58 | fuzzyDate = [NSString stringWithFormat:format, minutes]; | ||
547 | 59 | } | ||
548 | 60 | else if (interval < kSECONDS_PER_DAY) | ||
549 | 61 | { | ||
550 | 62 | NSUInteger hours = interval / kSECONDS_PER_HOUR; | ||
551 | 63 | NSString *format = (hours > 1) ? NSLocalizedString(@"%u hours ago", nil) : NSLocalizedString(@"%u hour ago", nil); | ||
552 | 64 | fuzzyDate = [NSString stringWithFormat:format, hours]; | ||
553 | 65 | } | ||
554 | 66 | else if (interval < kSECONDS_PER_WEEK) | ||
555 | 67 | { | ||
556 | 68 | NSUInteger days = interval / kSECONDS_PER_DAY; | ||
557 | 69 | NSString *format = (days > 1) ? NSLocalizedString(@"%u days ago", nil) : NSLocalizedString(@"%u day ago", nil); | ||
558 | 70 | fuzzyDate = [NSString stringWithFormat:format, days]; | ||
559 | 71 | } | ||
560 | 72 | else if (interval < kABOUT_A_WEEK) | ||
561 | 73 | { | ||
562 | 74 | return NSLocalizedString(@"1 week ago", nil); | ||
563 | 75 | } | ||
564 | 76 | else | ||
565 | 77 | { | ||
566 | 78 | fuzzyDate = [[U1FuzzyDateTransformer dateFormatter] stringFromDate:date]; | ||
567 | 79 | } | ||
568 | 80 | |||
569 | 81 | return fuzzyDate; | ||
570 | 28 | } | 82 | } |
571 | 29 | 83 | ||
572 | 30 | @end | 84 | @end |
573 | 31 | 85 | ||
574 | === modified file 'Files/U1SettingsViewController.h' | |||
575 | --- Files/U1SettingsViewController.h 2011-12-06 02:55:27 +0000 | |||
576 | +++ Files/U1SettingsViewController.h 2011-12-13 20:52:29 +0000 | |||
577 | @@ -33,7 +33,6 @@ | |||
578 | 33 | @property (retain) IBOutlet UILabel *disableSleepToggleLabel; | 33 | @property (retain) IBOutlet UILabel *disableSleepToggleLabel; |
579 | 34 | @property (retain) IBOutlet UISwitch *disableSleepToggle; | 34 | @property (retain) IBOutlet UISwitch *disableSleepToggle; |
580 | 35 | @property (retain) IBOutlet UITableView *tableView; | 35 | @property (retain) IBOutlet UITableView *tableView; |
581 | 36 | @property (retain) IBOutlet UIView *signOutView; | ||
582 | 37 | 36 | ||
583 | 38 | - (IBAction)toggleAutoUpload:(id)sender; | 37 | - (IBAction)toggleAutoUpload:(id)sender; |
584 | 39 | - (IBAction)toggleWifiOnly:(id)sender; | 38 | - (IBAction)toggleWifiOnly:(id)sender; |
585 | 40 | 39 | ||
586 | === modified file 'Files/U1SettingsViewController.m' | |||
587 | --- Files/U1SettingsViewController.m 2011-12-12 15:24:46 +0000 | |||
588 | +++ Files/U1SettingsViewController.m 2011-12-13 20:52:29 +0000 | |||
589 | @@ -27,7 +27,7 @@ | |||
590 | 27 | static const NSUInteger U1SettingsViewSectionCount = 2; | 27 | static const NSUInteger U1SettingsViewSectionCount = 2; |
591 | 28 | 28 | ||
592 | 29 | 29 | ||
594 | 30 | @interface U1SettingsViewController () | 30 | @interface U1SettingsViewController () <UIActionSheetDelegate> |
595 | 31 | @property (readonly, nonatomic, retain) UITableViewCell *accountLoadingCell; | 31 | @property (readonly, nonatomic, retain) UITableViewCell *accountLoadingCell; |
596 | 32 | @property (retain) U1FilesClient *filesClient; | 32 | @property (retain) U1FilesClient *filesClient; |
597 | 33 | @property (retain) NSDictionary *accountInfo; | 33 | @property (retain) NSDictionary *accountInfo; |
598 | @@ -45,7 +45,7 @@ | |||
599 | 45 | @synthesize wifiOnlyToggleCell, wifiOnlyToggleLabel, wifiOnlyToggle; | 45 | @synthesize wifiOnlyToggleCell, wifiOnlyToggleLabel, wifiOnlyToggle; |
600 | 46 | @synthesize includeVideoToggleCell, includeVideoToggleLabel, includeVideoToggle; | 46 | @synthesize includeVideoToggleCell, includeVideoToggleLabel, includeVideoToggle; |
601 | 47 | @synthesize disableSleepToggleCell, disableSleepToggleLabel, disableSleepToggle; | 47 | @synthesize disableSleepToggleCell, disableSleepToggleLabel, disableSleepToggle; |
603 | 48 | @synthesize accountLoadingCell, filesClient, accountInfo, signOutView; | 48 | @synthesize accountLoadingCell, filesClient, accountInfo; |
604 | 49 | 49 | ||
605 | 50 | - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | 50 | - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil |
606 | 51 | { | 51 | { |
607 | @@ -74,7 +74,6 @@ | |||
608 | 74 | [disableSleepToggle release]; | 74 | [disableSleepToggle release]; |
609 | 75 | [filesClient release]; | 75 | [filesClient release]; |
610 | 76 | [accountInfo release]; | 76 | [accountInfo release]; |
611 | 77 | [signOutView release]; | ||
612 | 78 | [super dealloc]; | 77 | [super dealloc]; |
613 | 79 | } | 78 | } |
614 | 80 | 79 | ||
615 | @@ -94,13 +93,24 @@ | |||
616 | 94 | [self.filesClient accountInfoWithCompletionBlock:^(NSDictionary *fetchedAccountInfo, NSError *error) { | 93 | [self.filesClient accountInfoWithCompletionBlock:^(NSDictionary *fetchedAccountInfo, NSError *error) { |
617 | 95 | self.accountInfo = fetchedAccountInfo; | 94 | self.accountInfo = fetchedAccountInfo; |
618 | 96 | if (self.accountInfo) | 95 | if (self.accountInfo) |
620 | 97 | [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:U1SettingsViewSectionAccount] withRowAnimation:UITableViewRowAnimationFade]; | 96 | [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:U1SettingsViewSectionAccount] withRowAnimation:UITableViewRowAnimationNone]; |
621 | 98 | }]; | 97 | }]; |
622 | 99 | } | 98 | } |
623 | 100 | 99 | ||
624 | 101 | - (IBAction)signOut:(id)sender; | 100 | - (IBAction)signOut:(id)sender; |
625 | 102 | { | 101 | { |
627 | 103 | [[U1AccountManager sharedAccountManager] removeCredentials]; | 102 | // TODO: get actual copy for this from design team |
628 | 103 | UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Logging out from this device will not affect other devices connected to Ubuntu One." delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Log Out" otherButtonTitles:nil]; | ||
629 | 104 | [actionSheet showFromTabBar:self.tabBarController.tabBar]; | ||
630 | 105 | [actionSheet release]; | ||
631 | 106 | } | ||
632 | 107 | |||
633 | 108 | - (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex; | ||
634 | 109 | { | ||
635 | 110 | if ([actionSheet destructiveButtonIndex] == buttonIndex) | ||
636 | 111 | { | ||
637 | 112 | [[U1AccountManager sharedAccountManager] removeCredentials]; | ||
638 | 113 | } | ||
639 | 104 | } | 114 | } |
640 | 105 | 115 | ||
641 | 106 | - (void)toggleAutoUpload:(id)sender; | 116 | - (void)toggleAutoUpload:(id)sender; |
642 | @@ -167,20 +177,13 @@ | |||
643 | 167 | switch (section) | 177 | switch (section) |
644 | 168 | { | 178 | { |
645 | 169 | case U1SettingsViewSectionAccount: | 179 | case U1SettingsViewSectionAccount: |
647 | 170 | return self.accountInfo == nil ? 1 : 2; | 180 | return 3; |
648 | 171 | case U1SettingsViewSectionCameraRoll: | 181 | case U1SettingsViewSectionCameraRoll: |
649 | 172 | return 3; // TODO const | 182 | return 3; // TODO const |
650 | 173 | } | 183 | } |
651 | 174 | return 0; | 184 | return 0; |
652 | 175 | } | 185 | } |
653 | 176 | 186 | ||
654 | 177 | - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section; | ||
655 | 178 | { | ||
656 | 179 | if (section == U1SettingsViewSectionAccount) | ||
657 | 180 | return 44.0; | ||
658 | 181 | return [self.tableView sectionFooterHeight]; | ||
659 | 182 | } | ||
660 | 183 | |||
661 | 184 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath; | 187 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath; |
662 | 185 | { | 188 | { |
663 | 186 | if (indexPath.section == U1SettingsViewSectionCameraRoll && | 189 | if (indexPath.section == U1SettingsViewSectionCameraRoll && |
664 | @@ -193,58 +196,90 @@ | |||
665 | 193 | 196 | ||
666 | 194 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath; | 197 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath; |
667 | 195 | { | 198 | { |
668 | 199 | UITableViewCell *cell = nil; | ||
669 | 196 | switch (indexPath.section) | 200 | switch (indexPath.section) |
670 | 197 | { | 201 | { |
671 | 198 | case U1SettingsViewSectionAccount: | 202 | case U1SettingsViewSectionAccount: |
672 | 199 | { | 203 | { |
673 | 200 | if (self.accountInfo == nil) | ||
674 | 201 | return [self accountLoadingCell]; | ||
675 | 202 | |||
676 | 203 | UITableViewCell *cell = [self.tableView dequeueReusableCellWithIdentifier:@"AccountCell"]; | ||
677 | 204 | if (!cell) | ||
678 | 205 | { | ||
679 | 206 | cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue2 reuseIdentifier:@"AccountCell"] autorelease]; | ||
680 | 207 | } | ||
681 | 208 | switch (indexPath.row) | 204 | switch (indexPath.row) |
682 | 209 | { | 205 | { |
683 | 210 | case 0: | 206 | case 0: |
684 | 207 | cell = [self.tableView dequeueReusableCellWithIdentifier:@"AccountCell"]; | ||
685 | 208 | if (!cell) | ||
686 | 209 | { | ||
687 | 210 | cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue2 reuseIdentifier:@"AccountCell"] autorelease]; | ||
688 | 211 | [cell setSelectionStyle:UITableViewCellSelectionStyleNone]; | ||
689 | 212 | } | ||
690 | 211 | [cell.textLabel setText:NSLocalizedString(@"Name", nil)]; | 213 | [cell.textLabel setText:NSLocalizedString(@"Name", nil)]; |
692 | 212 | [cell.detailTextLabel setText:[self.accountInfo objectForKey:@"visible_name"]]; | 214 | [cell.detailTextLabel setText:@"Loading..."]; |
693 | 215 | if (self.accountInfo) | ||
694 | 216 | [cell.detailTextLabel setText:[self.accountInfo objectForKey:@"visible_name"]]; | ||
695 | 213 | break; | 217 | break; |
696 | 214 | case 1: | 218 | case 1: |
697 | 215 | { | 219 | { |
698 | 220 | cell = [self.tableView dequeueReusableCellWithIdentifier:@"AccountCell"]; | ||
699 | 221 | if (!cell) | ||
700 | 222 | { | ||
701 | 223 | cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue2 reuseIdentifier:@"AccountCell"] autorelease]; | ||
702 | 224 | [cell setSelectionStyle:UITableViewCellSelectionStyleNone]; | ||
703 | 225 | } | ||
704 | 216 | [cell.textLabel setText:NSLocalizedString(@"Storage", nil)]; | 226 | [cell.textLabel setText:NSLocalizedString(@"Storage", nil)]; |
705 | 217 | U1ByteSizeValueTransformer *byteSizeTransformer = [[U1ByteSizeValueTransformer alloc] init]; | 227 | U1ByteSizeValueTransformer *byteSizeTransformer = [[U1ByteSizeValueTransformer alloc] init]; |
706 | 218 | NSString *storageFormat = NSLocalizedString(@"%@ of %@ used", nil); | 228 | NSString *storageFormat = NSLocalizedString(@"%@ of %@ used", nil); |
707 | 219 | NSString *usedString = [byteSizeTransformer transformedValue:[self.accountInfo objectForKey:@"used_bytes"]]; | 229 | NSString *usedString = [byteSizeTransformer transformedValue:[self.accountInfo objectForKey:@"used_bytes"]]; |
708 | 220 | NSString *totalString = [byteSizeTransformer transformedValue:[self.accountInfo objectForKey:@"max_bytes"]]; | 230 | NSString *totalString = [byteSizeTransformer transformedValue:[self.accountInfo objectForKey:@"max_bytes"]]; |
710 | 221 | [cell.detailTextLabel setText:[NSString stringWithFormat:storageFormat, usedString, totalString]]; | 231 | [cell.detailTextLabel setText:@"Loading..."]; |
711 | 232 | if (self.accountInfo) | ||
712 | 233 | [cell.detailTextLabel setText:[NSString stringWithFormat:storageFormat, usedString, totalString]]; | ||
713 | 222 | [byteSizeTransformer release]; | 234 | [byteSizeTransformer release]; |
714 | 223 | break; | 235 | break; |
715 | 224 | } | 236 | } |
716 | 237 | case 2: | ||
717 | 238 | { | ||
718 | 239 | cell = [self.tableView dequeueReusableCellWithIdentifier:@"LogOutCell"]; | ||
719 | 240 | if (!cell) | ||
720 | 241 | { | ||
721 | 242 | cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"LogOutCell"] autorelease]; | ||
722 | 243 | [cell.textLabel setTextAlignment:UITextAlignmentCenter]; | ||
723 | 244 | [cell.textLabel setFont:[UIFont boldSystemFontOfSize:17.f]]; | ||
724 | 245 | [cell.textLabel setText:@"Log Out of Ubuntu One"]; | ||
725 | 246 | } | ||
726 | 247 | break; | ||
727 | 248 | } | ||
728 | 225 | } | 249 | } |
730 | 226 | return cell; | 250 | break; |
731 | 251 | // return cell; | ||
732 | 227 | } | 252 | } |
733 | 228 | case U1SettingsViewSectionCameraRoll: | 253 | case U1SettingsViewSectionCameraRoll: |
734 | 229 | { | 254 | { |
735 | 230 | switch (indexPath.row) | 255 | switch (indexPath.row) |
736 | 231 | { | 256 | { |
742 | 232 | case 0: return [self preparedAutoUploadCell]; | 257 | case 0: cell = [self preparedAutoUploadCell]; break; |
743 | 233 | case 1: return [self preparedWifiOnlyCell]; | 258 | case 1: cell = [self preparedWifiOnlyCell]; break; |
744 | 234 | // case 2: return [self preparedIncludeVideoCell]; | 259 | // case 2: cell = [self preparedIncludeVideoCell]; break; |
745 | 235 | case 2: return [self preparedDisableSleepCell]; | 260 | case 2: cell = [self preparedDisableSleepCell]; break; |
746 | 236 | default: return nil; | 261 | default: break; |
747 | 237 | } | 262 | } |
748 | 263 | [cell setSelectionStyle:UITableViewCellSelectionStyleNone]; | ||
749 | 238 | } | 264 | } |
750 | 239 | } | 265 | } |
759 | 240 | return nil; | 266 | return cell; |
760 | 241 | } | 267 | } |
761 | 242 | 268 | ||
762 | 243 | - (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section; | 269 | - (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath; |
763 | 244 | { | 270 | { |
764 | 245 | if (section == U1SettingsViewSectionAccount) | 271 | if (indexPath.section == U1SettingsViewSectionAccount && indexPath.row == 2) |
765 | 246 | return self.signOutView; | 272 | return indexPath; |
766 | 247 | return nil; | 273 | return nil; |
767 | 274 | } | ||
768 | 275 | |||
769 | 276 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath; | ||
770 | 277 | { | ||
771 | 278 | if (indexPath.section == U1SettingsViewSectionAccount && indexPath.row == 2) | ||
772 | 279 | { | ||
773 | 280 | [self signOut:nil]; | ||
774 | 281 | [self.tableView deselectRowAtIndexPath:indexPath animated:YES]; | ||
775 | 282 | } | ||
776 | 248 | } | 283 | } |
777 | 249 | 284 | ||
778 | 250 | - (UITableViewCell *)preparedAutoUploadCell; | 285 | - (UITableViewCell *)preparedAutoUploadCell; |
779 | 251 | 286 | ||
780 | === modified file 'Files/U1SettingsViewController.xib' | |||
781 | --- Files/U1SettingsViewController.xib 2011-12-09 20:31:25 +0000 | |||
782 | +++ Files/U1SettingsViewController.xib 2011-12-13 20:52:29 +0000 | |||
783 | @@ -11,14 +11,12 @@ | |||
784 | 11 | <string key="NS.object.0">933</string> | 11 | <string key="NS.object.0">933</string> |
785 | 12 | </object> | 12 | </object> |
786 | 13 | <array key="IBDocument.IntegratedClassDependencies"> | 13 | <array key="IBDocument.IntegratedClassDependencies"> |
787 | 14 | <string>IBProxyObject</string> | ||
788 | 15 | <string>IBUIBarButtonItem</string> | ||
789 | 16 | <string>IBUILabel</string> | ||
790 | 17 | <string>IBUISwitch</string> | 14 | <string>IBUISwitch</string> |
791 | 18 | <string>IBUIToolbar</string> | ||
792 | 19 | <string>IBUITableView</string> | 15 | <string>IBUITableView</string> |
793 | 20 | <string>IBUITableViewCell</string> | 16 | <string>IBUITableViewCell</string> |
794 | 21 | <string>IBUIView</string> | 17 | <string>IBUIView</string> |
795 | 18 | <string>IBUILabel</string> | ||
796 | 19 | <string>IBProxyObject</string> | ||
797 | 22 | </array> | 20 | </array> |
798 | 23 | <array key="IBDocument.PluginDependencies"> | 21 | <array key="IBDocument.PluginDependencies"> |
799 | 24 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 22 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
800 | @@ -112,7 +110,6 @@ | |||
801 | 112 | <int key="IBUIStyle">1</int> | 110 | <int key="IBUIStyle">1</int> |
802 | 113 | <int key="IBUISeparatorStyle">2</int> | 111 | <int key="IBUISeparatorStyle">2</int> |
803 | 114 | <int key="IBUISectionIndexMinimumDisplayRowCount">0</int> | 112 | <int key="IBUISectionIndexMinimumDisplayRowCount">0</int> |
804 | 115 | <bool key="IBUIAllowsSelection">NO</bool> | ||
805 | 116 | <float key="IBUIRowHeight">44</float> | 113 | <float key="IBUIRowHeight">44</float> |
806 | 117 | <float key="IBUISectionHeaderHeight">10</float> | 114 | <float key="IBUISectionHeaderHeight">10</float> |
807 | 118 | <float key="IBUISectionFooterHeight">10</float> | 115 | <float key="IBUISectionFooterHeight">10</float> |
808 | @@ -126,7 +123,7 @@ | |||
809 | 126 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 123 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
810 | 127 | </object> | 124 | </object> |
811 | 128 | <object class="IBUITableViewCell" id="126074602"> | 125 | <object class="IBUITableViewCell" id="126074602"> |
813 | 129 | <reference key="NSNextResponder"/> | 126 | <nil key="NSNextResponder"/> |
814 | 130 | <int key="NSvFlags">292</int> | 127 | <int key="NSvFlags">292</int> |
815 | 131 | <array class="NSMutableArray" key="NSSubviews"> | 128 | <array class="NSMutableArray" key="NSSubviews"> |
816 | 132 | <object class="IBUIView" id="289125020"> | 129 | <object class="IBUIView" id="289125020"> |
817 | @@ -138,8 +135,6 @@ | |||
818 | 138 | <int key="NSvFlags">289</int> | 135 | <int key="NSvFlags">289</int> |
819 | 139 | <string key="NSFrame">{{206, 8}, {94, 27}}</string> | 136 | <string key="NSFrame">{{206, 8}, {94, 27}}</string> |
820 | 140 | <reference key="NSSuperview" ref="289125020"/> | 137 | <reference key="NSSuperview" ref="289125020"/> |
821 | 141 | <reference key="NSWindow"/> | ||
822 | 142 | <reference key="NSNextKeyView"/> | ||
823 | 143 | <bool key="IBUIOpaque">NO</bool> | 138 | <bool key="IBUIOpaque">NO</bool> |
824 | 144 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 139 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
825 | 145 | <int key="IBUIContentHorizontalAlignment">0</int> | 140 | <int key="IBUIContentHorizontalAlignment">0</int> |
826 | @@ -150,7 +145,6 @@ | |||
827 | 150 | <int key="NSvFlags">292</int> | 145 | <int key="NSvFlags">292</int> |
828 | 151 | <string key="NSFrame">{{20, 11}, {193, 21}}</string> | 146 | <string key="NSFrame">{{20, 11}, {193, 21}}</string> |
829 | 152 | <reference key="NSSuperview" ref="289125020"/> | 147 | <reference key="NSSuperview" ref="289125020"/> |
830 | 153 | <reference key="NSWindow"/> | ||
831 | 154 | <reference key="NSNextKeyView" ref="513262918"/> | 148 | <reference key="NSNextKeyView" ref="513262918"/> |
832 | 155 | <bool key="IBUIOpaque">NO</bool> | 149 | <bool key="IBUIOpaque">NO</bool> |
833 | 156 | <bool key="IBUIClipsSubviews">YES</bool> | 150 | <bool key="IBUIClipsSubviews">YES</bool> |
834 | @@ -178,7 +172,6 @@ | |||
835 | 178 | </array> | 172 | </array> |
836 | 179 | <string key="NSFrameSize">{320, 43}</string> | 173 | <string key="NSFrameSize">{320, 43}</string> |
837 | 180 | <reference key="NSSuperview" ref="126074602"/> | 174 | <reference key="NSSuperview" ref="126074602"/> |
838 | 181 | <reference key="NSWindow"/> | ||
839 | 182 | <reference key="NSNextKeyView" ref="866302443"/> | 175 | <reference key="NSNextKeyView" ref="866302443"/> |
840 | 183 | <reference key="IBUIBackgroundColor" ref="509795101"/> | 176 | <reference key="IBUIBackgroundColor" ref="509795101"/> |
841 | 184 | <bool key="IBUIOpaque">NO</bool> | 177 | <bool key="IBUIOpaque">NO</bool> |
842 | @@ -189,14 +182,12 @@ | |||
843 | 189 | </object> | 182 | </object> |
844 | 190 | </array> | 183 | </array> |
845 | 191 | <string key="NSFrameSize">{320, 44}</string> | 184 | <string key="NSFrameSize">{320, 44}</string> |
846 | 192 | <reference key="NSSuperview"/> | ||
847 | 193 | <reference key="NSWindow"/> | ||
848 | 194 | <reference key="NSNextKeyView" ref="289125020"/> | 185 | <reference key="NSNextKeyView" ref="289125020"/> |
849 | 195 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 186 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
850 | 196 | <reference key="IBUIContentView" ref="289125020"/> | 187 | <reference key="IBUIContentView" ref="289125020"/> |
851 | 197 | </object> | 188 | </object> |
852 | 198 | <object class="IBUITableViewCell" id="2020695"> | 189 | <object class="IBUITableViewCell" id="2020695"> |
854 | 199 | <reference key="NSNextResponder"/> | 190 | <nil key="NSNextResponder"/> |
855 | 200 | <int key="NSvFlags">292</int> | 191 | <int key="NSvFlags">292</int> |
856 | 201 | <array class="NSMutableArray" key="NSSubviews"> | 192 | <array class="NSMutableArray" key="NSSubviews"> |
857 | 202 | <object class="IBUIView" id="609546111"> | 193 | <object class="IBUIView" id="609546111"> |
858 | @@ -227,7 +218,6 @@ | |||
859 | 227 | <int key="NSvFlags">289</int> | 218 | <int key="NSvFlags">289</int> |
860 | 228 | <string key="NSFrame">{{206, 8}, {94, 27}}</string> | 219 | <string key="NSFrame">{{206, 8}, {94, 27}}</string> |
861 | 229 | <reference key="NSSuperview" ref="609546111"/> | 220 | <reference key="NSSuperview" ref="609546111"/> |
862 | 230 | <reference key="NSNextKeyView"/> | ||
863 | 231 | <bool key="IBUIOpaque">NO</bool> | 221 | <bool key="IBUIOpaque">NO</bool> |
864 | 232 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 222 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
865 | 233 | <int key="IBUIContentHorizontalAlignment">0</int> | 223 | <int key="IBUIContentHorizontalAlignment">0</int> |
866 | @@ -247,13 +237,12 @@ | |||
867 | 247 | </object> | 237 | </object> |
868 | 248 | </array> | 238 | </array> |
869 | 249 | <string key="NSFrameSize">{320, 44}</string> | 239 | <string key="NSFrameSize">{320, 44}</string> |
870 | 250 | <reference key="NSSuperview"/> | ||
871 | 251 | <reference key="NSNextKeyView" ref="609546111"/> | 240 | <reference key="NSNextKeyView" ref="609546111"/> |
872 | 252 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 241 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
873 | 253 | <reference key="IBUIContentView" ref="609546111"/> | 242 | <reference key="IBUIContentView" ref="609546111"/> |
874 | 254 | </object> | 243 | </object> |
875 | 255 | <object class="IBUITableViewCell" id="703802727"> | 244 | <object class="IBUITableViewCell" id="703802727"> |
877 | 256 | <reference key="NSNextResponder"/> | 245 | <nil key="NSNextResponder"/> |
878 | 257 | <int key="NSvFlags">292</int> | 246 | <int key="NSvFlags">292</int> |
879 | 258 | <array class="NSMutableArray" key="NSSubviews"> | 247 | <array class="NSMutableArray" key="NSSubviews"> |
880 | 259 | <object class="IBUIView" id="849901570"> | 248 | <object class="IBUIView" id="849901570"> |
881 | @@ -284,7 +273,6 @@ | |||
882 | 284 | <int key="NSvFlags">289</int> | 273 | <int key="NSvFlags">289</int> |
883 | 285 | <string key="NSFrame">{{206, 8}, {94, 27}}</string> | 274 | <string key="NSFrame">{{206, 8}, {94, 27}}</string> |
884 | 286 | <reference key="NSSuperview" ref="849901570"/> | 275 | <reference key="NSSuperview" ref="849901570"/> |
885 | 287 | <reference key="NSNextKeyView"/> | ||
886 | 288 | <bool key="IBUIOpaque">NO</bool> | 276 | <bool key="IBUIOpaque">NO</bool> |
887 | 289 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 277 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
888 | 290 | <int key="IBUIContentHorizontalAlignment">0</int> | 278 | <int key="IBUIContentHorizontalAlignment">0</int> |
889 | @@ -304,13 +292,12 @@ | |||
890 | 304 | </object> | 292 | </object> |
891 | 305 | </array> | 293 | </array> |
892 | 306 | <string key="NSFrameSize">{320, 44}</string> | 294 | <string key="NSFrameSize">{320, 44}</string> |
893 | 307 | <reference key="NSSuperview"/> | ||
894 | 308 | <reference key="NSNextKeyView" ref="849901570"/> | 295 | <reference key="NSNextKeyView" ref="849901570"/> |
895 | 309 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 296 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
896 | 310 | <reference key="IBUIContentView" ref="849901570"/> | 297 | <reference key="IBUIContentView" ref="849901570"/> |
897 | 311 | </object> | 298 | </object> |
898 | 312 | <object class="IBUITableViewCell" id="328240698"> | 299 | <object class="IBUITableViewCell" id="328240698"> |
900 | 313 | <reference key="NSNextResponder"/> | 300 | <nil key="NSNextResponder"/> |
901 | 314 | <int key="NSvFlags">292</int> | 301 | <int key="NSvFlags">292</int> |
902 | 315 | <array class="NSMutableArray" key="NSSubviews"> | 302 | <array class="NSMutableArray" key="NSSubviews"> |
903 | 316 | <object class="IBUIView" id="61456725"> | 303 | <object class="IBUIView" id="61456725"> |
904 | @@ -388,59 +375,11 @@ | |||
905 | 388 | </object> | 375 | </object> |
906 | 389 | </array> | 376 | </array> |
907 | 390 | <string key="NSFrameSize">{320, 70}</string> | 377 | <string key="NSFrameSize">{320, 70}</string> |
908 | 391 | <reference key="NSSuperview"/> | ||
909 | 392 | <reference key="NSNextKeyView" ref="61456725"/> | 378 | <reference key="NSNextKeyView" ref="61456725"/> |
910 | 393 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 379 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
911 | 394 | <reference key="IBUIContentView" ref="61456725"/> | 380 | <reference key="IBUIContentView" ref="61456725"/> |
912 | 395 | <real value="70" key="IBUIRowHeight"/> | 381 | <real value="70" key="IBUIRowHeight"/> |
913 | 396 | </object> | 382 | </object> |
914 | 397 | <object class="IBUIView" id="393432936"> | ||
915 | 398 | <reference key="NSNextResponder"/> | ||
916 | 399 | <int key="NSvFlags">292</int> | ||
917 | 400 | <array class="NSMutableArray" key="NSSubviews"> | ||
918 | 401 | <object class="IBUIToolbar" id="398717734"> | ||
919 | 402 | <reference key="NSNextResponder" ref="393432936"/> | ||
920 | 403 | <int key="NSvFlags">266</int> | ||
921 | 404 | <string key="NSFrameSize">{320, 44}</string> | ||
922 | 405 | <reference key="NSSuperview" ref="393432936"/> | ||
923 | 406 | <reference key="NSWindow"/> | ||
924 | 407 | <reference key="NSNextKeyView"/> | ||
925 | 408 | <bool key="IBUIOpaque">NO</bool> | ||
926 | 409 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> | ||
927 | 410 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
928 | 411 | <int key="IBUIBarStyle">2</int> | ||
929 | 412 | <array class="NSMutableArray" key="IBUIItems"> | ||
930 | 413 | <object class="IBUIBarButtonItem" id="390888023"> | ||
931 | 414 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
932 | 415 | <reference key="IBUIToolbar" ref="398717734"/> | ||
933 | 416 | <int key="IBUISystemItemIdentifier">5</int> | ||
934 | 417 | </object> | ||
935 | 418 | <object class="IBUIBarButtonItem" id="172971356"> | ||
936 | 419 | <string key="IBUITitle">Sign Out of Ubuntu One</string> | ||
937 | 420 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
938 | 421 | <float key="IBUIWidth">300</float> | ||
939 | 422 | <int key="IBUIStyle">1</int> | ||
940 | 423 | <reference key="IBUIToolbar" ref="398717734"/> | ||
941 | 424 | </object> | ||
942 | 425 | <object class="IBUIBarButtonItem" id="1054082570"> | ||
943 | 426 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
944 | 427 | <reference key="IBUIToolbar" ref="398717734"/> | ||
945 | 428 | <int key="IBUISystemItemIdentifier">5</int> | ||
946 | 429 | </object> | ||
947 | 430 | </array> | ||
948 | 431 | <object class="NSColor" key="IBUITintColor"> | ||
949 | 432 | <int key="NSColorSpace">1</int> | ||
950 | 433 | <bytes key="NSRGB">MC44IDAgMAA</bytes> | ||
951 | 434 | </object> | ||
952 | 435 | </object> | ||
953 | 436 | </array> | ||
954 | 437 | <string key="NSFrameSize">{320, 44}</string> | ||
955 | 438 | <reference key="NSSuperview"/> | ||
956 | 439 | <reference key="NSWindow"/> | ||
957 | 440 | <reference key="NSNextKeyView" ref="398717734"/> | ||
958 | 441 | <reference key="IBUIBackgroundColor" ref="509795101"/> | ||
959 | 442 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
960 | 443 | </object> | ||
961 | 444 | </array> | 383 | </array> |
962 | 445 | <object class="IBObjectContainer" key="IBDocument.Objects"> | 384 | <object class="IBObjectContainer" key="IBDocument.Objects"> |
963 | 446 | <array class="NSMutableArray" key="connectionRecords"> | 385 | <array class="NSMutableArray" key="connectionRecords"> |
964 | @@ -550,14 +489,6 @@ | |||
965 | 550 | </object> | 489 | </object> |
966 | 551 | <object class="IBConnectionRecord"> | 490 | <object class="IBConnectionRecord"> |
967 | 552 | <object class="IBCocoaTouchOutletConnection" key="connection"> | 491 | <object class="IBCocoaTouchOutletConnection" key="connection"> |
968 | 553 | <string key="label">signOutView</string> | ||
969 | 554 | <reference key="source" ref="372490531"/> | ||
970 | 555 | <reference key="destination" ref="393432936"/> | ||
971 | 556 | </object> | ||
972 | 557 | <int key="connectionID">56</int> | ||
973 | 558 | </object> | ||
974 | 559 | <object class="IBConnectionRecord"> | ||
975 | 560 | <object class="IBCocoaTouchOutletConnection" key="connection"> | ||
976 | 561 | <string key="label">dataSource</string> | 492 | <string key="label">dataSource</string> |
977 | 562 | <reference key="source" ref="703168831"/> | 493 | <reference key="source" ref="703168831"/> |
978 | 563 | <reference key="destination" ref="372490531"/> | 494 | <reference key="destination" ref="372490531"/> |
979 | @@ -608,14 +539,6 @@ | |||
980 | 608 | </object> | 539 | </object> |
981 | 609 | <int key="connectionID">51</int> | 540 | <int key="connectionID">51</int> |
982 | 610 | </object> | 541 | </object> |
983 | 611 | <object class="IBConnectionRecord"> | ||
984 | 612 | <object class="IBCocoaTouchEventConnection" key="connection"> | ||
985 | 613 | <string key="label">signOut:</string> | ||
986 | 614 | <reference key="source" ref="172971356"/> | ||
987 | 615 | <reference key="destination" ref="372490531"/> | ||
988 | 616 | </object> | ||
989 | 617 | <int key="connectionID">59</int> | ||
990 | 618 | </object> | ||
991 | 619 | </array> | 542 | </array> |
992 | 620 | <object class="IBMutableOrderedSet" key="objectRecords"> | 543 | <object class="IBMutableOrderedSet" key="objectRecords"> |
993 | 621 | <array key="orderedObjects"> | 544 | <array key="orderedObjects"> |
994 | @@ -731,40 +654,6 @@ | |||
995 | 731 | <reference key="object" ref="792393428"/> | 654 | <reference key="object" ref="792393428"/> |
996 | 732 | <reference key="parent" ref="328240698"/> | 655 | <reference key="parent" ref="328240698"/> |
997 | 733 | </object> | 656 | </object> |
998 | 734 | <object class="IBObjectRecord"> | ||
999 | 735 | <int key="objectID">53</int> | ||
1000 | 736 | <reference key="object" ref="393432936"/> | ||
1001 | 737 | <array class="NSMutableArray" key="children"> | ||
1002 | 738 | <reference ref="398717734"/> | ||
1003 | 739 | </array> | ||
1004 | 740 | <reference key="parent" ref="0"/> | ||
1005 | 741 | <string key="objectName">Sign Out View</string> | ||
1006 | 742 | </object> | ||
1007 | 743 | <object class="IBObjectRecord"> | ||
1008 | 744 | <int key="objectID">54</int> | ||
1009 | 745 | <reference key="object" ref="398717734"/> | ||
1010 | 746 | <array class="NSMutableArray" key="children"> | ||
1011 | 747 | <reference ref="172971356"/> | ||
1012 | 748 | <reference ref="1054082570"/> | ||
1013 | 749 | <reference ref="390888023"/> | ||
1014 | 750 | </array> | ||
1015 | 751 | <reference key="parent" ref="393432936"/> | ||
1016 | 752 | </object> | ||
1017 | 753 | <object class="IBObjectRecord"> | ||
1018 | 754 | <int key="objectID">55</int> | ||
1019 | 755 | <reference key="object" ref="172971356"/> | ||
1020 | 756 | <reference key="parent" ref="398717734"/> | ||
1021 | 757 | </object> | ||
1022 | 758 | <object class="IBObjectRecord"> | ||
1023 | 759 | <int key="objectID">57</int> | ||
1024 | 760 | <reference key="object" ref="1054082570"/> | ||
1025 | 761 | <reference key="parent" ref="398717734"/> | ||
1026 | 762 | </object> | ||
1027 | 763 | <object class="IBObjectRecord"> | ||
1028 | 764 | <int key="objectID">58</int> | ||
1029 | 765 | <reference key="object" ref="390888023"/> | ||
1030 | 766 | <reference key="parent" ref="398717734"/> | ||
1031 | 767 | </object> | ||
1032 | 768 | </array> | 657 | </array> |
1033 | 769 | </object> | 658 | </object> |
1034 | 770 | <dictionary class="NSMutableDictionary" key="flattenedProperties"> | 659 | <dictionary class="NSMutableDictionary" key="flattenedProperties"> |
1035 | @@ -787,18 +676,12 @@ | |||
1036 | 787 | <string key="45.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 676 | <string key="45.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1037 | 788 | <string key="46.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 677 | <string key="46.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1038 | 789 | <string key="50.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 678 | <string key="50.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1039 | 790 | <string key="53.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
1040 | 791 | <string key="54.CustomClassName">U1TransparentToolbar</string> | ||
1041 | 792 | <string key="54.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
1042 | 793 | <string key="55.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
1043 | 794 | <string key="57.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
1044 | 795 | <string key="58.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
1045 | 796 | </dictionary> | 679 | </dictionary> |
1046 | 797 | <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/> | 680 | <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/> |
1047 | 798 | <nil key="activeLocalization"/> | 681 | <nil key="activeLocalization"/> |
1048 | 799 | <dictionary class="NSMutableDictionary" key="localizations"/> | 682 | <dictionary class="NSMutableDictionary" key="localizations"/> |
1049 | 800 | <nil key="sourceID"/> | 683 | <nil key="sourceID"/> |
1051 | 801 | <int key="maxID">59</int> | 684 | <int key="maxID">61</int> |
1052 | 802 | </object> | 685 | </object> |
1053 | 803 | <object class="IBClassDescriber" key="IBDocument.Classes"> | 686 | <object class="IBClassDescriber" key="IBDocument.Classes"> |
1054 | 804 | <array class="NSMutableArray" key="referencedPartialClassDescriptions"> | 687 | <array class="NSMutableArray" key="referencedPartialClassDescriptions"> |
1055 | @@ -847,7 +730,6 @@ | |||
1056 | 847 | <string key="includeVideoToggleCell">UITableViewCell</string> | 730 | <string key="includeVideoToggleCell">UITableViewCell</string> |
1057 | 848 | <string key="includeVideoToggleLabel">UILabel</string> | 731 | <string key="includeVideoToggleLabel">UILabel</string> |
1058 | 849 | <string key="navBar">U1NavigationBar</string> | 732 | <string key="navBar">U1NavigationBar</string> |
1059 | 850 | <string key="signOutView">UIView</string> | ||
1060 | 851 | <string key="tableView">UITableView</string> | 733 | <string key="tableView">UITableView</string> |
1061 | 852 | <string key="wifiOnlyToggle">UISwitch</string> | 734 | <string key="wifiOnlyToggle">UISwitch</string> |
1062 | 853 | <string key="wifiOnlyToggleCell">UITableViewCell</string> | 735 | <string key="wifiOnlyToggleCell">UITableViewCell</string> |
1063 | @@ -890,10 +772,6 @@ | |||
1064 | 890 | <string key="name">navBar</string> | 772 | <string key="name">navBar</string> |
1065 | 891 | <string key="candidateClassName">U1NavigationBar</string> | 773 | <string key="candidateClassName">U1NavigationBar</string> |
1066 | 892 | </object> | 774 | </object> |
1067 | 893 | <object class="IBToOneOutletInfo" key="signOutView"> | ||
1068 | 894 | <string key="name">signOutView</string> | ||
1069 | 895 | <string key="candidateClassName">UIView</string> | ||
1070 | 896 | </object> | ||
1071 | 897 | <object class="IBToOneOutletInfo" key="tableView"> | 775 | <object class="IBToOneOutletInfo" key="tableView"> |
1072 | 898 | <string key="name">tableView</string> | 776 | <string key="name">tableView</string> |
1073 | 899 | <string key="candidateClassName">UITableView</string> | 777 | <string key="candidateClassName">UITableView</string> |
1074 | @@ -916,14 +794,6 @@ | |||
1075 | 916 | <string key="minorKey">./Classes/U1SettingsViewController.h</string> | 794 | <string key="minorKey">./Classes/U1SettingsViewController.h</string> |
1076 | 917 | </object> | 795 | </object> |
1077 | 918 | </object> | 796 | </object> |
1078 | 919 | <object class="IBPartialClassDescription"> | ||
1079 | 920 | <string key="className">U1TransparentToolbar</string> | ||
1080 | 921 | <string key="superclassName">UIToolbar</string> | ||
1081 | 922 | <object class="IBClassDescriptionSource" key="sourceIdentifier"> | ||
1082 | 923 | <string key="majorKey">IBProjectSource</string> | ||
1083 | 924 | <string key="minorKey">./Classes/U1TransparentToolbar.h</string> | ||
1084 | 925 | </object> | ||
1085 | 926 | </object> | ||
1086 | 927 | </array> | 797 | </array> |
1087 | 928 | </object> | 798 | </object> |
1088 | 929 | <int key="IBDocument.localizationMode">0</int> | 799 | <int key="IBDocument.localizationMode">0</int> |
1089 | 930 | 800 | ||
1090 | === modified file 'Files/UOSSOCredentialsViewController.xib' | |||
1091 | --- Files/UOSSOCredentialsViewController.xib 2011-08-31 14:56:30 +0000 | |||
1092 | +++ Files/UOSSOCredentialsViewController.xib 2011-12-13 20:52:29 +0000 | |||
1093 | @@ -1,14 +1,14 @@ | |||
1094 | 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
1095 | 2 | <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> | 2 | <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> |
1096 | 3 | <data> | 3 | <data> |
1098 | 4 | <int key="IBDocument.SystemTarget">1056</int> | 4 | <int key="IBDocument.SystemTarget">1280</int> |
1099 | 5 | <string key="IBDocument.SystemVersion">10K549</string> | 5 | <string key="IBDocument.SystemVersion">10K549</string> |
1101 | 6 | <string key="IBDocument.InterfaceBuilderVersion">1306</string> | 6 | <string key="IBDocument.InterfaceBuilderVersion">1938</string> |
1102 | 7 | <string key="IBDocument.AppKitVersion">1038.36</string> | 7 | <string key="IBDocument.AppKitVersion">1038.36</string> |
1103 | 8 | <string key="IBDocument.HIToolboxVersion">461.00</string> | 8 | <string key="IBDocument.HIToolboxVersion">461.00</string> |
1104 | 9 | <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> | 9 | <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> |
1105 | 10 | <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 10 | <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1107 | 11 | <string key="NS.object.0">301</string> | 11 | <string key="NS.object.0">933</string> |
1108 | 12 | </object> | 12 | </object> |
1109 | 13 | <object class="NSArray" key="IBDocument.IntegratedClassDependencies"> | 13 | <object class="NSArray" key="IBDocument.IntegratedClassDependencies"> |
1110 | 14 | <bool key="EncodedWithXMLCoder">YES</bool> | 14 | <bool key="EncodedWithXMLCoder">YES</bool> |
1111 | @@ -24,11 +24,8 @@ | |||
1112 | 24 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 24 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1113 | 25 | </object> | 25 | </object> |
1114 | 26 | <object class="NSMutableDictionary" key="IBDocument.Metadata"> | 26 | <object class="NSMutableDictionary" key="IBDocument.Metadata"> |
1120 | 27 | <bool key="EncodedWithXMLCoder">YES</bool> | 27 | <string key="NS.key.0">PluginDependencyRecalculationVersion</string> |
1121 | 28 | <object class="NSArray" key="dict.sortedKeys" id="0"> | 28 | <integer value="1" key="NS.object.0"/> |
1117 | 29 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
1118 | 30 | </object> | ||
1119 | 31 | <reference key="dict.values" ref="0"/> | ||
1122 | 32 | </object> | 29 | </object> |
1123 | 33 | <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> | 30 | <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> |
1124 | 34 | <bool key="EncodedWithXMLCoder">YES</bool> | 31 | <bool key="EncodedWithXMLCoder">YES</bool> |
1125 | @@ -48,7 +45,7 @@ | |||
1126 | 48 | <object class="IBUITextField" id="327454090"> | 45 | <object class="IBUITextField" id="327454090"> |
1127 | 49 | <reference key="NSNextResponder" ref="191373211"/> | 46 | <reference key="NSNextResponder" ref="191373211"/> |
1128 | 50 | <int key="NSvFlags">292</int> | 47 | <int key="NSvFlags">292</int> |
1130 | 51 | <string key="NSFrame">{{120, 24}, {180, 31}}</string> | 48 | <string key="NSFrame">{{104, 24}, {196, 31}}</string> |
1131 | 52 | <reference key="NSSuperview" ref="191373211"/> | 49 | <reference key="NSSuperview" ref="191373211"/> |
1132 | 53 | <reference key="NSWindow"/> | 50 | <reference key="NSWindow"/> |
1133 | 54 | <reference key="NSNextKeyView" ref="1028176743"/> | 51 | <reference key="NSNextKeyView" ref="1028176743"/> |
1134 | @@ -58,7 +55,6 @@ | |||
1135 | 58 | <int key="IBUIContentVerticalAlignment">0</int> | 55 | <int key="IBUIContentVerticalAlignment">0</int> |
1136 | 59 | <string key="IBUIText"/> | 56 | <string key="IBUIText"/> |
1137 | 60 | <int key="IBUIBorderStyle">3</int> | 57 | <int key="IBUIBorderStyle">3</int> |
1138 | 61 | <string key="IBUIPlaceholder">user@domain.com</string> | ||
1139 | 62 | <object class="NSColor" key="IBUITextColor"> | 58 | <object class="NSColor" key="IBUITextColor"> |
1140 | 63 | <int key="NSColorSpace">3</int> | 59 | <int key="NSColorSpace">3</int> |
1141 | 64 | <bytes key="NSWhite">MAA</bytes> | 60 | <bytes key="NSWhite">MAA</bytes> |
1142 | @@ -66,23 +62,29 @@ | |||
1143 | 66 | <int key="NSID">2</int> | 62 | <int key="NSID">2</int> |
1144 | 67 | </object> | 63 | </object> |
1145 | 68 | </object> | 64 | </object> |
1147 | 69 | <object class="NSFont" key="IBUIFont"> | 65 | <bool key="IBUIAdjustsFontSizeToFit">YES</bool> |
1148 | 66 | <float key="IBUIMinimumFontSize">17</float> | ||
1149 | 67 | <object class="IBUITextInputTraits" key="IBUITextInputTraits"> | ||
1150 | 68 | <int key="IBUIAutocorrectionType">1</int> | ||
1151 | 69 | <int key="IBUIKeyboardType">7</int> | ||
1152 | 70 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
1153 | 71 | </object> | ||
1154 | 72 | <object class="IBUIFontDescription" key="IBUIFontDescription"> | ||
1155 | 73 | <string key="name">Helvetica</string> | ||
1156 | 74 | <string key="family">Helvetica</string> | ||
1157 | 75 | <int key="traits">0</int> | ||
1158 | 76 | <double key="pointSize">12</double> | ||
1159 | 77 | </object> | ||
1160 | 78 | <object class="NSFont" key="IBUIFont" id="9578050"> | ||
1161 | 70 | <string key="NSName">Helvetica</string> | 79 | <string key="NSName">Helvetica</string> |
1162 | 71 | <double key="NSSize">12</double> | 80 | <double key="NSSize">12</double> |
1163 | 72 | <int key="NSfFlags">16</int> | 81 | <int key="NSfFlags">16</int> |
1164 | 73 | </object> | 82 | </object> |
1165 | 74 | <bool key="IBUIAdjustsFontSizeToFit">YES</bool> | ||
1166 | 75 | <float key="IBUIMinimumFontSize">17</float> | ||
1167 | 76 | <object class="IBUITextInputTraits" key="IBUITextInputTraits"> | ||
1168 | 77 | <int key="IBUIAutocorrectionType">1</int> | ||
1169 | 78 | <int key="IBUIKeyboardType">7</int> | ||
1170 | 79 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
1171 | 80 | </object> | ||
1172 | 81 | </object> | 83 | </object> |
1173 | 82 | <object class="IBUITextField" id="965235407"> | 84 | <object class="IBUITextField" id="965235407"> |
1174 | 83 | <reference key="NSNextResponder" ref="191373211"/> | 85 | <reference key="NSNextResponder" ref="191373211"/> |
1175 | 84 | <int key="NSvFlags">292</int> | 86 | <int key="NSvFlags">292</int> |
1177 | 85 | <string key="NSFrame">{{120, 63}, {180, 31}}</string> | 87 | <string key="NSFrame">{{104, 63}, {196, 31}}</string> |
1178 | 86 | <reference key="NSSuperview" ref="191373211"/> | 88 | <reference key="NSSuperview" ref="191373211"/> |
1179 | 87 | <reference key="NSWindow"/> | 89 | <reference key="NSWindow"/> |
1180 | 88 | <reference key="NSNextKeyView" ref="391813410"/> | 90 | <reference key="NSNextKeyView" ref="391813410"/> |
1181 | @@ -92,7 +94,6 @@ | |||
1182 | 92 | <int key="IBUIContentVerticalAlignment">0</int> | 94 | <int key="IBUIContentVerticalAlignment">0</int> |
1183 | 93 | <string key="IBUIText"/> | 95 | <string key="IBUIText"/> |
1184 | 94 | <int key="IBUIBorderStyle">3</int> | 96 | <int key="IBUIBorderStyle">3</int> |
1185 | 95 | <string key="IBUIPlaceholder">secret</string> | ||
1186 | 96 | <object class="NSColor" key="IBUITextColor"> | 97 | <object class="NSColor" key="IBUITextColor"> |
1187 | 97 | <int key="NSColorSpace">3</int> | 98 | <int key="NSColorSpace">3</int> |
1188 | 98 | <bytes key="NSWhite">MAA</bytes> | 99 | <bytes key="NSWhite">MAA</bytes> |
1189 | @@ -104,11 +105,16 @@ | |||
1190 | 104 | <bool key="IBUISecureTextEntry">YES</bool> | 105 | <bool key="IBUISecureTextEntry">YES</bool> |
1191 | 105 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 106 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
1192 | 106 | </object> | 107 | </object> |
1193 | 108 | <object class="IBUIFontDescription" key="IBUIFontDescription"> | ||
1194 | 109 | <int key="type">1</int> | ||
1195 | 110 | <double key="pointSize">12</double> | ||
1196 | 111 | </object> | ||
1197 | 112 | <reference key="IBUIFont" ref="9578050"/> | ||
1198 | 107 | </object> | 113 | </object> |
1199 | 108 | <object class="IBUILabel" id="522019067"> | 114 | <object class="IBUILabel" id="522019067"> |
1200 | 109 | <reference key="NSNextResponder" ref="191373211"/> | 115 | <reference key="NSNextResponder" ref="191373211"/> |
1201 | 110 | <int key="NSvFlags">292</int> | 116 | <int key="NSvFlags">292</int> |
1203 | 111 | <string key="NSFrame">{{13, 28}, {101, 21}}</string> | 117 | <string key="NSFrame">{{13, 28}, {83, 21}}</string> |
1204 | 112 | <reference key="NSSuperview" ref="191373211"/> | 118 | <reference key="NSSuperview" ref="191373211"/> |
1205 | 113 | <reference key="NSWindow"/> | 119 | <reference key="NSWindow"/> |
1206 | 114 | <reference key="NSNextKeyView" ref="327454090"/> | 120 | <reference key="NSNextKeyView" ref="327454090"/> |
1207 | @@ -117,12 +123,7 @@ | |||
1208 | 117 | <int key="IBUIContentMode">7</int> | 123 | <int key="IBUIContentMode">7</int> |
1209 | 118 | <bool key="IBUIUserInteractionEnabled">NO</bool> | 124 | <bool key="IBUIUserInteractionEnabled">NO</bool> |
1210 | 119 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 125 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
1217 | 120 | <string key="IBUIText">Email address:</string> | 126 | <string key="IBUIText">Username:</string> |
1212 | 121 | <object class="NSFont" key="IBUIFont" id="638683467"> | ||
1213 | 122 | <string key="NSName">HelveticaNeue</string> | ||
1214 | 123 | <double key="NSSize">13</double> | ||
1215 | 124 | <int key="NSfFlags">16</int> | ||
1216 | 125 | </object> | ||
1218 | 126 | <object class="NSColor" key="IBUITextColor" id="377051206"> | 127 | <object class="NSColor" key="IBUITextColor" id="377051206"> |
1219 | 127 | <int key="NSColorSpace">1</int> | 128 | <int key="NSColorSpace">1</int> |
1220 | 128 | <bytes key="NSRGB">MCAwIDAAA</bytes> | 129 | <bytes key="NSRGB">MCAwIDAAA</bytes> |
1221 | @@ -131,11 +132,22 @@ | |||
1222 | 131 | <int key="IBUIBaselineAdjustment">1</int> | 132 | <int key="IBUIBaselineAdjustment">1</int> |
1223 | 132 | <float key="IBUIMinimumFontSize">10</float> | 133 | <float key="IBUIMinimumFontSize">10</float> |
1224 | 133 | <int key="IBUITextAlignment">2</int> | 134 | <int key="IBUITextAlignment">2</int> |
1225 | 135 | <object class="IBUIFontDescription" key="IBUIFontDescription" id="893899974"> | ||
1226 | 136 | <string key="name">HelveticaNeue</string> | ||
1227 | 137 | <string key="family">Helvetica Neue</string> | ||
1228 | 138 | <int key="traits">0</int> | ||
1229 | 139 | <double key="pointSize">13</double> | ||
1230 | 140 | </object> | ||
1231 | 141 | <object class="NSFont" key="IBUIFont" id="16180291"> | ||
1232 | 142 | <string key="NSName">HelveticaNeue-Medium</string> | ||
1233 | 143 | <double key="NSSize">13</double> | ||
1234 | 144 | <int key="NSfFlags">16</int> | ||
1235 | 145 | </object> | ||
1236 | 134 | </object> | 146 | </object> |
1237 | 135 | <object class="IBUILabel" id="1028176743"> | 147 | <object class="IBUILabel" id="1028176743"> |
1238 | 136 | <reference key="NSNextResponder" ref="191373211"/> | 148 | <reference key="NSNextResponder" ref="191373211"/> |
1239 | 137 | <int key="NSvFlags">292</int> | 149 | <int key="NSvFlags">292</int> |
1241 | 138 | <string key="NSFrame">{{13, 67}, {101, 21}}</string> | 150 | <string key="NSFrame">{{13, 67}, {83, 21}}</string> |
1242 | 139 | <reference key="NSSuperview" ref="191373211"/> | 151 | <reference key="NSSuperview" ref="191373211"/> |
1243 | 140 | <reference key="NSWindow"/> | 152 | <reference key="NSWindow"/> |
1244 | 141 | <reference key="NSNextKeyView" ref="965235407"/> | 153 | <reference key="NSNextKeyView" ref="965235407"/> |
1245 | @@ -145,12 +157,13 @@ | |||
1246 | 145 | <bool key="IBUIUserInteractionEnabled">NO</bool> | 157 | <bool key="IBUIUserInteractionEnabled">NO</bool> |
1247 | 146 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 158 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
1248 | 147 | <string key="IBUIText">Password:</string> | 159 | <string key="IBUIText">Password:</string> |
1249 | 148 | <reference key="IBUIFont" ref="638683467"/> | ||
1250 | 149 | <reference key="IBUITextColor" ref="377051206"/> | 160 | <reference key="IBUITextColor" ref="377051206"/> |
1251 | 150 | <nil key="IBUIHighlightedColor"/> | 161 | <nil key="IBUIHighlightedColor"/> |
1252 | 151 | <int key="IBUIBaselineAdjustment">1</int> | 162 | <int key="IBUIBaselineAdjustment">1</int> |
1253 | 152 | <float key="IBUIMinimumFontSize">10</float> | 163 | <float key="IBUIMinimumFontSize">10</float> |
1254 | 153 | <int key="IBUITextAlignment">2</int> | 164 | <int key="IBUITextAlignment">2</int> |
1255 | 165 | <reference key="IBUIFontDescription" ref="893899974"/> | ||
1256 | 166 | <reference key="IBUIFont" ref="16180291"/> | ||
1257 | 154 | </object> | 167 | </object> |
1258 | 155 | <object class="IBUIButton" id="1065737352"> | 168 | <object class="IBUIButton" id="1065737352"> |
1259 | 156 | <reference key="NSNextResponder" ref="191373211"/> | 169 | <reference key="NSNextResponder" ref="191373211"/> |
1260 | @@ -167,11 +180,6 @@ | |||
1261 | 167 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | 180 | <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> |
1262 | 168 | <int key="IBUIContentHorizontalAlignment">0</int> | 181 | <int key="IBUIContentHorizontalAlignment">0</int> |
1263 | 169 | <int key="IBUIContentVerticalAlignment">0</int> | 182 | <int key="IBUIContentVerticalAlignment">0</int> |
1264 | 170 | <object class="NSFont" key="IBUIFont"> | ||
1265 | 171 | <string key="NSName">HelveticaNeue-Bold</string> | ||
1266 | 172 | <double key="NSSize">14</double> | ||
1267 | 173 | <int key="NSfFlags">16</int> | ||
1268 | 174 | </object> | ||
1269 | 175 | <bool key="IBUIReversesTitleShadowWhenHighlighted">YES</bool> | 183 | <bool key="IBUIReversesTitleShadowWhenHighlighted">YES</bool> |
1270 | 176 | <bool key="IBUIShowsTouchWhenHighlighted">YES</bool> | 184 | <bool key="IBUIShowsTouchWhenHighlighted">YES</bool> |
1271 | 177 | <string key="IBUINormalTitle">Continue</string> | 185 | <string key="IBUINormalTitle">Continue</string> |
1272 | @@ -184,6 +192,17 @@ | |||
1273 | 184 | <int key="NSColorSpace">3</int> | 192 | <int key="NSColorSpace">3</int> |
1274 | 185 | <bytes key="NSWhite">MC41AA</bytes> | 193 | <bytes key="NSWhite">MC41AA</bytes> |
1275 | 186 | </object> | 194 | </object> |
1276 | 195 | <object class="IBUIFontDescription" key="IBUIFontDescription"> | ||
1277 | 196 | <string key="name">HelveticaNeue-Bold</string> | ||
1278 | 197 | <string key="family">Helvetica Neue</string> | ||
1279 | 198 | <int key="traits">2</int> | ||
1280 | 199 | <double key="pointSize">14</double> | ||
1281 | 200 | </object> | ||
1282 | 201 | <object class="NSFont" key="IBUIFont"> | ||
1283 | 202 | <string key="NSName">HelveticaNeue-Bold</string> | ||
1284 | 203 | <double key="NSSize">14</double> | ||
1285 | 204 | <int key="NSfFlags">16</int> | ||
1286 | 205 | </object> | ||
1287 | 187 | </object> | 206 | </object> |
1288 | 188 | <object class="IBUIActivityIndicatorView" id="391813410"> | 207 | <object class="IBUIActivityIndicatorView" id="391813410"> |
1289 | 189 | <reference key="NSNextResponder" ref="191373211"/> | 208 | <reference key="NSNextResponder" ref="191373211"/> |
1290 | @@ -200,7 +219,7 @@ | |||
1291 | 200 | <string key="NSFrame">{{0, 64}, {320, 416}}</string> | 219 | <string key="NSFrame">{{0, 64}, {320, 416}}</string> |
1292 | 201 | <reference key="NSSuperview"/> | 220 | <reference key="NSSuperview"/> |
1293 | 202 | <reference key="NSWindow"/> | 221 | <reference key="NSWindow"/> |
1295 | 203 | <reference key="NSNextKeyView"/> | 222 | <reference key="NSNextKeyView" ref="522019067"/> |
1296 | 204 | <object class="NSColor" key="IBUIBackgroundColor"> | 223 | <object class="NSColor" key="IBUIBackgroundColor"> |
1297 | 205 | <int key="NSColorSpace">3</int> | 224 | <int key="NSColorSpace">3</int> |
1298 | 206 | <bytes key="NSWhite">MQA</bytes> | 225 | <bytes key="NSWhite">MQA</bytes> |
1299 | @@ -241,6 +260,22 @@ | |||
1300 | 241 | <int key="connectionID">13</int> | 260 | <int key="connectionID">13</int> |
1301 | 242 | </object> | 261 | </object> |
1302 | 243 | <object class="IBConnectionRecord"> | 262 | <object class="IBConnectionRecord"> |
1303 | 263 | <object class="IBCocoaTouchOutletConnection" key="connection"> | ||
1304 | 264 | <string key="label">loginButton</string> | ||
1305 | 265 | <reference key="source" ref="372490531"/> | ||
1306 | 266 | <reference key="destination" ref="1065737352"/> | ||
1307 | 267 | </object> | ||
1308 | 268 | <int key="connectionID">20</int> | ||
1309 | 269 | </object> | ||
1310 | 270 | <object class="IBConnectionRecord"> | ||
1311 | 271 | <object class="IBCocoaTouchOutletConnection" key="connection"> | ||
1312 | 272 | <string key="label">spinner</string> | ||
1313 | 273 | <reference key="source" ref="372490531"/> | ||
1314 | 274 | <reference key="destination" ref="391813410"/> | ||
1315 | 275 | </object> | ||
1316 | 276 | <int key="connectionID">23</int> | ||
1317 | 277 | </object> | ||
1318 | 278 | <object class="IBConnectionRecord"> | ||
1319 | 244 | <object class="IBCocoaTouchEventConnection" key="connection"> | 279 | <object class="IBCocoaTouchEventConnection" key="connection"> |
1320 | 245 | <string key="label">logIn:</string> | 280 | <string key="label">logIn:</string> |
1321 | 246 | <reference key="source" ref="1065737352"/> | 281 | <reference key="source" ref="1065737352"/> |
1322 | @@ -249,29 +284,15 @@ | |||
1323 | 249 | </object> | 284 | </object> |
1324 | 250 | <int key="connectionID">14</int> | 285 | <int key="connectionID">14</int> |
1325 | 251 | </object> | 286 | </object> |
1326 | 252 | <object class="IBConnectionRecord"> | ||
1327 | 253 | <object class="IBCocoaTouchOutletConnection" key="connection"> | ||
1328 | 254 | <string key="label">loginButton</string> | ||
1329 | 255 | <reference key="source" ref="372490531"/> | ||
1330 | 256 | <reference key="destination" ref="1065737352"/> | ||
1331 | 257 | </object> | ||
1332 | 258 | <int key="connectionID">20</int> | ||
1333 | 259 | </object> | ||
1334 | 260 | <object class="IBConnectionRecord"> | ||
1335 | 261 | <object class="IBCocoaTouchOutletConnection" key="connection"> | ||
1336 | 262 | <string key="label">spinner</string> | ||
1337 | 263 | <reference key="source" ref="372490531"/> | ||
1338 | 264 | <reference key="destination" ref="391813410"/> | ||
1339 | 265 | </object> | ||
1340 | 266 | <int key="connectionID">23</int> | ||
1341 | 267 | </object> | ||
1342 | 268 | </object> | 287 | </object> |
1343 | 269 | <object class="IBMutableOrderedSet" key="objectRecords"> | 288 | <object class="IBMutableOrderedSet" key="objectRecords"> |
1344 | 270 | <object class="NSArray" key="orderedObjects"> | 289 | <object class="NSArray" key="orderedObjects"> |
1345 | 271 | <bool key="EncodedWithXMLCoder">YES</bool> | 290 | <bool key="EncodedWithXMLCoder">YES</bool> |
1346 | 272 | <object class="IBObjectRecord"> | 291 | <object class="IBObjectRecord"> |
1347 | 273 | <int key="objectID">0</int> | 292 | <int key="objectID">0</int> |
1349 | 274 | <reference key="object" ref="0"/> | 293 | <object class="NSArray" key="object" id="0"> |
1350 | 294 | <bool key="EncodedWithXMLCoder">YES</bool> | ||
1351 | 295 | </object> | ||
1352 | 275 | <reference key="children" ref="1000"/> | 296 | <reference key="children" ref="1000"/> |
1353 | 276 | <nil key="parent"/> | 297 | <nil key="parent"/> |
1354 | 277 | </object> | 298 | </object> |
1355 | @@ -337,8 +358,9 @@ | |||
1356 | 337 | <object class="NSArray" key="dict.sortedKeys"> | 358 | <object class="NSArray" key="dict.sortedKeys"> |
1357 | 338 | <bool key="EncodedWithXMLCoder">YES</bool> | 359 | <bool key="EncodedWithXMLCoder">YES</bool> |
1358 | 339 | <string>-1.CustomClassName</string> | 360 | <string>-1.CustomClassName</string> |
1359 | 361 | <string>-1.IBPluginDependency</string> | ||
1360 | 340 | <string>-2.CustomClassName</string> | 362 | <string>-2.CustomClassName</string> |
1362 | 341 | <string>1.IBEditorWindowLastContentRect</string> | 363 | <string>-2.IBPluginDependency</string> |
1363 | 342 | <string>1.IBPluginDependency</string> | 364 | <string>1.IBPluginDependency</string> |
1364 | 343 | <string>11.IBPluginDependency</string> | 365 | <string>11.IBPluginDependency</string> |
1365 | 344 | <string>22.IBPluginDependency</string> | 366 | <string>22.IBPluginDependency</string> |
1366 | @@ -350,8 +372,9 @@ | |||
1367 | 350 | <object class="NSMutableArray" key="dict.values"> | 372 | <object class="NSMutableArray" key="dict.values"> |
1368 | 351 | <bool key="EncodedWithXMLCoder">YES</bool> | 373 | <bool key="EncodedWithXMLCoder">YES</bool> |
1369 | 352 | <string>UOSSOCredentialsViewController</string> | 374 | <string>UOSSOCredentialsViewController</string> |
1370 | 375 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
1371 | 353 | <string>UIResponder</string> | 376 | <string>UIResponder</string> |
1373 | 354 | <string>{{556, 412}, {320, 480}}</string> | 377 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1374 | 355 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 378 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1375 | 356 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 379 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1376 | 357 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 380 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
1377 | @@ -460,6 +483,6 @@ | |||
1378 | 460 | </object> | 483 | </object> |
1379 | 461 | <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> | 484 | <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> |
1380 | 462 | <int key="IBDocument.defaultPropertyAccessControl">3</int> | 485 | <int key="IBDocument.defaultPropertyAccessControl">3</int> |
1382 | 463 | <string key="IBCocoaTouchPluginVersion">301</string> | 486 | <string key="IBCocoaTouchPluginVersion">933</string> |
1383 | 464 | </data> | 487 | </data> |
1384 | 465 | </archive> | 488 | </archive> |
woot!