Commit c4e5f5fce178ef3dfe6bbda979cc1302750e738c
1 parent
9e6f883148
Exists in
master
and in
1 other branch
Enable tap gesture again
Showing 2 changed files with 5 additions and 5 deletions Inline Diff
LifeLog/LifeLog/HistoryViewController.m
1 | // | 1 | // |
2 | // HistoryViewController.m | 2 | // HistoryViewController.m |
3 | // LifeLog | 3 | // LifeLog |
4 | // | 4 | // |
5 | // Created by Nguyen Van Phong on 7/25/17. | 5 | // Created by Nguyen Van Phong on 7/25/17. |
6 | // Copyright © 2017 PhongNV. All rights reserved. | 6 | // Copyright © 2017 PhongNV. All rights reserved. |
7 | // | 7 | // |
8 | 8 | ||
9 | #import "HistoryViewController.h" | 9 | #import "HistoryViewController.h" |
10 | #import "Utilities.h" | 10 | #import "Utilities.h" |
11 | #import "ServerAPI.h" | 11 | #import "ServerAPI.h" |
12 | 12 | ||
13 | #import "HistoryListTableViewCell.h" | 13 | #import "HistoryListTableViewCell.h" |
14 | 14 | ||
15 | @interface HistoryViewController () | 15 | @interface HistoryViewController () |
16 | 16 | ||
17 | @end | 17 | @end |
18 | 18 | ||
19 | @implementation HistoryViewController | 19 | @implementation HistoryViewController |
20 | 20 | ||
21 | - (void)viewDidLoad { | 21 | - (void)viewDidLoad { |
22 | [super viewDidLoad]; | 22 | [super viewDidLoad]; |
23 | // Do any additional setup after loading the view from its nib. | 23 | // Do any additional setup after loading the view from its nib. |
24 | self.title = NSLocalizedString(@"lifelog.history.title", nil); | 24 | self.title = NSLocalizedString(@"lifelog.history.title", nil); |
25 | 25 | ||
26 | [self setupView]; | 26 | [self setupView]; |
27 | [self setupChartView]; | 27 | [self setupChartView]; |
28 | 28 | ||
29 | _curDate = [NSDate date]; | 29 | _curDate = [NSDate date]; |
30 | 30 | ||
31 | [self checkRequestData]; | 31 | [self checkRequestData]; |
32 | 32 | ||
33 | //register nib for table view | 33 | //register nib for table view |
34 | [self.tableBase registerNib:[UINib nibWithNibName:@"HistoryListTableViewCell" bundle:nil] forCellReuseIdentifier:@"HistoryListCell"]; | 34 | [self.tableBase registerNib:[UINib nibWithNibName:@"HistoryListTableViewCell" bundle:nil] forCellReuseIdentifier:@"HistoryListCell"]; |
35 | } | 35 | } |
36 | 36 | ||
37 | - (void)viewDidAppear:(BOOL) animated | 37 | - (void)viewDidAppear:(BOOL) animated |
38 | { | 38 | { |
39 | [super viewDidAppear:animated]; | 39 | [super viewDidAppear:animated]; |
40 | self.scrollView.contentSize = CGSizeMake(self.view.frame.size.width, 400); | 40 | self.scrollView.contentSize = CGSizeMake(self.view.frame.size.width, 400); |
41 | [self.scrollView setNeedsLayout]; | 41 | [self.scrollView setNeedsLayout]; |
42 | [self.scrollView setNeedsUpdateConstraints]; | 42 | [self.scrollView setNeedsUpdateConstraints]; |
43 | 43 | ||
44 | } | 44 | } |
45 | 45 | ||
46 | - (void)didReceiveMemoryWarning { | 46 | - (void)didReceiveMemoryWarning { |
47 | [super didReceiveMemoryWarning]; | 47 | [super didReceiveMemoryWarning]; |
48 | // Dispose of any resources that can be recreated. | 48 | // Dispose of any resources that can be recreated. |
49 | } | 49 | } |
50 | 50 | ||
51 | - (void)setupView { | 51 | - (void)setupView { |
52 | NSArray *typeTitle = [NSArray arrayWithObjects:NSLocalizedString(@"lifelog.history.type.1", nil), NSLocalizedString(@"lifelog.history.type.2", nil), NSLocalizedString(@"lifelog.history.type.3", nil), NSLocalizedString(@"lifelog.history.type.4", nil), NSLocalizedString(@"lifelog.history.type.5", nil), nil]; | 52 | NSArray *typeTitle = [NSArray arrayWithObjects:NSLocalizedString(@"lifelog.history.type.1", nil), NSLocalizedString(@"lifelog.history.type.2", nil), NSLocalizedString(@"lifelog.history.type.3", nil), NSLocalizedString(@"lifelog.history.type.4", nil), NSLocalizedString(@"lifelog.history.type.5", nil), nil]; |
53 | [self.viewCollectionType setButtonNumber:typeTitle.count]; | 53 | [self.viewCollectionType setButtonNumber:typeTitle.count]; |
54 | [self.viewCollectionType setSpacing:2]; | 54 | [self.viewCollectionType setSpacing:2]; |
55 | [self.viewCollectionType setArrayTitle:typeTitle]; | 55 | [self.viewCollectionType setArrayTitle:typeTitle]; |
56 | self.viewCollectionType.changeCurrentIndex = ^(int index){ | 56 | self.viewCollectionType.changeCurrentIndex = ^(int index){ |
57 | [self checkRequestData]; | 57 | [self checkRequestData]; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | NSArray *modeTitle = [NSArray arrayWithObjects:NSLocalizedString(@"lifelog.history.mode.1", nil), NSLocalizedString(@"lifelog.history.mode.2", nil), NSLocalizedString(@"lifelog.history.mode.3", nil), nil]; | 60 | NSArray *modeTitle = [NSArray arrayWithObjects:NSLocalizedString(@"lifelog.history.mode.1", nil), NSLocalizedString(@"lifelog.history.mode.2", nil), NSLocalizedString(@"lifelog.history.mode.3", nil), nil]; |
61 | [self.viewCollectionMode setButtonNumber:modeTitle.count]; | 61 | [self.viewCollectionMode setButtonNumber:modeTitle.count]; |
62 | [self.viewCollectionMode setSpacing:0]; | 62 | [self.viewCollectionMode setSpacing:0]; |
63 | [self.viewCollectionMode setCornerRadius:0]; | 63 | [self.viewCollectionMode setCornerRadius:0]; |
64 | [self.viewCollectionMode setNormalColor:[Utilities convertHecToColor:0x191919] highlightColor:[Utilities convertHecToColor:0x474747] textColor:[UIColor whiteColor]]; | 64 | [self.viewCollectionMode setNormalColor:[Utilities convertHecToColor:0x191919] highlightColor:[Utilities convertHecToColor:0x474747] textColor:[UIColor whiteColor]]; |
65 | [self.viewCollectionMode setArrayTitle:modeTitle]; | 65 | [self.viewCollectionMode setArrayTitle:modeTitle]; |
66 | self.viewCollectionMode.changeCurrentIndex = ^(int index){ | 66 | self.viewCollectionMode.changeCurrentIndex = ^(int index){ |
67 | [self checkRequestData]; | 67 | [self checkRequestData]; |
68 | }; | 68 | }; |
69 | 69 | ||
70 | NSArray *shareTitle = [NSArray arrayWithObjects:NSLocalizedString(@"lifelog.history.share.1", nil), NSLocalizedString(@"lifelog.history.share.2", nil), NSLocalizedString(@"lifelog.history.share.3", nil), NSLocalizedString(@"lifelog.history.share.4", nil), NSLocalizedString(@"lifelog.history.share.5", nil), nil]; | 70 | NSArray *shareTitle = [NSArray arrayWithObjects:NSLocalizedString(@"lifelog.history.share.1", nil), NSLocalizedString(@"lifelog.history.share.2", nil), NSLocalizedString(@"lifelog.history.share.3", nil), NSLocalizedString(@"lifelog.history.share.4", nil), NSLocalizedString(@"lifelog.history.share.5", nil), nil]; |
71 | [self.viewCollectionShare setButtonNumber:typeTitle.count]; | 71 | [self.viewCollectionShare setButtonNumber:typeTitle.count]; |
72 | [self.viewCollectionShare setSpacing:3]; | 72 | [self.viewCollectionShare setSpacing:3]; |
73 | [self.viewCollectionShare setArrayTitle:shareTitle]; | 73 | [self.viewCollectionShare setArrayTitle:shareTitle]; |
74 | [self.viewCollectionShare disableSelection]; | 74 | [self.viewCollectionShare disableSelection]; |
75 | 75 | ||
76 | //add tap gesture for enable tap on gesture on CollectionView in ScrollView | 76 | //add tap gesture for enable tap on gesture on CollectionView in ScrollView |
77 | // UITapGestureRecognizer *recognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(gestureAction:)]; | 77 | UITapGestureRecognizer *recognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(gestureAction:)]; |
78 | // [recognizer setNumberOfTapsRequired:1]; | 78 | [recognizer setNumberOfTapsRequired:1]; |
79 | // self.scrollView.userInteractionEnabled = YES; | 79 | self.scrollView.userInteractionEnabled = YES; |
80 | // [self.scrollView addGestureRecognizer:recognizer]; | 80 | [self.scrollView addGestureRecognizer:recognizer]; |
81 | } | 81 | } |
82 | 82 | ||
83 | - (void)setupChartView { | 83 | - (void)setupChartView { |
84 | self.viewBarChart.chartDescription.enabled = NO; | 84 | self.viewBarChart.chartDescription.enabled = NO; |
85 | self.viewBarChart.leftAxis.drawGridLinesEnabled = NO; | 85 | self.viewBarChart.leftAxis.drawGridLinesEnabled = NO; |
86 | self.viewBarChart.rightAxis.drawGridLinesEnabled = NO; | 86 | self.viewBarChart.rightAxis.drawGridLinesEnabled = NO; |
87 | self.viewBarChart.legend.enabled = NO; | 87 | self.viewBarChart.legend.enabled = NO; |
88 | 88 | ||
89 | ChartXAxis *xAxis = self.viewBarChart.xAxis; | 89 | ChartXAxis *xAxis = self.viewBarChart.xAxis; |
90 | xAxis.labelPosition = XAxisLabelPositionBottom; | 90 | xAxis.labelPosition = XAxisLabelPositionBottom; |
91 | xAxis.drawGridLinesEnabled = NO; | 91 | xAxis.drawGridLinesEnabled = NO; |
92 | xAxis.drawAxisLineEnabled = NO; | 92 | xAxis.drawAxisLineEnabled = NO; |
93 | xAxis.drawLabelsEnabled = YES; | 93 | xAxis.drawLabelsEnabled = YES; |
94 | xAxis.labelPosition = XAxisLabelPositionBottom; | 94 | xAxis.labelPosition = XAxisLabelPositionBottom; |
95 | xAxis.labelFont = [UIFont systemFontOfSize:10.f]; | 95 | xAxis.labelFont = [UIFont systemFontOfSize:10.f]; |
96 | xAxis.labelTextColor = [UIColor whiteColor]; | 96 | xAxis.labelTextColor = [UIColor whiteColor]; |
97 | xAxis.granularity = 1.0; // only intervals of 1 day | 97 | xAxis.granularity = 1.0; // only intervals of 1 day |
98 | xAxis.labelCount = 8; | 98 | xAxis.labelCount = 8; |
99 | 99 | ||
100 | self.viewBarChart.leftAxis.drawAxisLineEnabled = NO; | 100 | self.viewBarChart.leftAxis.drawAxisLineEnabled = NO; |
101 | self.viewBarChart.rightAxis.drawAxisLineEnabled = NO; | 101 | self.viewBarChart.rightAxis.drawAxisLineEnabled = NO; |
102 | } | 102 | } |
103 | 103 | ||
104 | -(void) updateView { | 104 | -(void) updateView { |
105 | self.lblStep.text = [NSString stringWithFormat:@"%d", _curHisObj.step]; | 105 | self.lblStep.text = [NSString stringWithFormat:@"%d", _curHisObj.step]; |
106 | self.lblRemaining.text = [NSString stringWithFormat:@"%d", _curHisObj.missing]; | 106 | self.lblRemaining.text = [NSString stringWithFormat:@"%d", _curHisObj.missing]; |
107 | self.lblPercent.text = [NSString stringWithFormat:@"%0.2f", _curHisObj.percent * 100]; | 107 | self.lblPercent.text = [NSString stringWithFormat:@"%0.2f", _curHisObj.percent * 100]; |
108 | self.lblCalories.text = [NSString stringWithFormat:@"%0.2f", _curHisObj.calories]; | 108 | self.lblCalories.text = [NSString stringWithFormat:@"%0.2f", _curHisObj.calories]; |
109 | self.lblDistance.text = [NSString stringWithFormat:@"%0.1f", _curHisObj.distance]; | 109 | self.lblDistance.text = [NSString stringWithFormat:@"%0.1f", _curHisObj.distance]; |
110 | self.lblTime.text = _curHisObj.time; | 110 | self.lblTime.text = _curHisObj.time; |
111 | } | 111 | } |
112 | 112 | ||
113 | -(void) updateGraphView { | 113 | -(void) updateGraphView { |
114 | NSMutableArray *yVals = [[NSMutableArray alloc] init]; | 114 | NSMutableArray *yVals = [[NSMutableArray alloc] init]; |
115 | for (int i = 0; i < _curHisGraphObj.arrayStep.count; i++) | 115 | for (int i = 0; i < _curHisGraphObj.arrayStep.count; i++) |
116 | { | 116 | { |
117 | [yVals addObject:[[BarChartDataEntry alloc] initWithX:i y:[[_curHisGraphObj.arrayStep objectAtIndex:i] doubleValue]]]; | 117 | [yVals addObject:[[BarChartDataEntry alloc] initWithX:i y:[[_curHisGraphObj.arrayStep objectAtIndex:i] doubleValue]]]; |
118 | } | 118 | } |
119 | 119 | ||
120 | BarChartDataSet *set1 = nil; | 120 | BarChartDataSet *set1 = nil; |
121 | if (self.viewBarChart.data.dataSetCount > 0) | 121 | if (self.viewBarChart.data.dataSetCount > 0) |
122 | { | 122 | { |
123 | set1 = (BarChartDataSet *)self.viewBarChart.data.dataSets[0]; | 123 | set1 = (BarChartDataSet *)self.viewBarChart.data.dataSets[0]; |
124 | set1.values = yVals; | 124 | set1.values = yVals; |
125 | [self.viewBarChart.data notifyDataChanged]; | 125 | [self.viewBarChart.data notifyDataChanged]; |
126 | [self.viewBarChart notifyDataSetChanged]; | 126 | [self.viewBarChart notifyDataSetChanged]; |
127 | } | 127 | } |
128 | else | 128 | else |
129 | { | 129 | { |
130 | set1 = [[BarChartDataSet alloc] initWithValues:yVals label:@""]; | 130 | set1 = [[BarChartDataSet alloc] initWithValues:yVals label:@""]; |
131 | [set1 setColor:[UIColor whiteColor]]; | 131 | [set1 setColor:[UIColor whiteColor]]; |
132 | 132 | ||
133 | NSMutableArray *dataSets = [[NSMutableArray alloc] init]; | 133 | NSMutableArray *dataSets = [[NSMutableArray alloc] init]; |
134 | [dataSets addObject:set1]; | 134 | [dataSets addObject:set1]; |
135 | 135 | ||
136 | BarChartData *data = [[BarChartData alloc] initWithDataSets:dataSets]; | 136 | BarChartData *data = [[BarChartData alloc] initWithDataSets:dataSets]; |
137 | data.barWidth = 0.5f; | 137 | data.barWidth = 0.5f; |
138 | 138 | ||
139 | self.viewBarChart.data = data; | 139 | self.viewBarChart.data = data; |
140 | } | 140 | } |
141 | } | 141 | } |
142 | 142 | ||
143 | -(void) checkRequestData { | 143 | -(void) checkRequestData { |
144 | if(self.tableBase.alpha == 0.0) { | 144 | if(self.tableBase.alpha == 0.0) { |
145 | NSString * token = [[NSUserDefaults standardUserDefaults] stringForKey:kToken]; | 145 | NSString * token = [[NSUserDefaults standardUserDefaults] stringForKey:kToken]; |
146 | int type = self.viewCollectionType.getCurrentIndex; | 146 | int type = self.viewCollectionType.getCurrentIndex; |
147 | int mode = self.viewCollectionMode.getCurrentIndex + 1; | 147 | int mode = self.viewCollectionMode.getCurrentIndex + 1; |
148 | MBProgressHUD *hudView = [MBProgressHUD showHUDAddedTo:self.view animated:true]; | 148 | MBProgressHUD *hudView = [MBProgressHUD showHUDAddedTo:self.view animated:true]; |
149 | [[ServerAPI server] requestHistory:token atDate:_curDate withType:type andMode:mode CompletionHandler:^(HistoryObject *object, NSError *error) { | 149 | [[ServerAPI server] requestHistory:token atDate:_curDate withType:type andMode:mode CompletionHandler:^(HistoryObject *object, NSError *error) { |
150 | HistoryViewController __weak *weakSelf = self; | 150 | HistoryViewController __weak *weakSelf = self; |
151 | dispatch_async(dispatch_get_main_queue(), ^{ | 151 | dispatch_async(dispatch_get_main_queue(), ^{ |
152 | if(hudView != nil) { | 152 | if(hudView != nil) { |
153 | [hudView hideAnimated:true]; | 153 | [hudView hideAnimated:true]; |
154 | } | 154 | } |
155 | }); | 155 | }); |
156 | if(error == nil) { | 156 | if(error == nil) { |
157 | _curHisObj = object; | 157 | _curHisObj = object; |
158 | dispatch_async(dispatch_get_main_queue(), ^{ | 158 | dispatch_async(dispatch_get_main_queue(), ^{ |
159 | [weakSelf updateView]; | 159 | [weakSelf updateView]; |
160 | }); | 160 | }); |
161 | } | 161 | } |
162 | else { | 162 | else { |
163 | dispatch_async(dispatch_get_main_queue(), ^{ | 163 | dispatch_async(dispatch_get_main_queue(), ^{ |
164 | NSString *message = [error.userInfo objectForKey:@"message"]; | 164 | NSString *message = [error.userInfo objectForKey:@"message"]; |
165 | [Utilities showErrorMessage:message withViewController:weakSelf]; | 165 | [Utilities showErrorMessage:message withViewController:weakSelf]; |
166 | }); | 166 | }); |
167 | } | 167 | } |
168 | }]; | 168 | }]; |
169 | 169 | ||
170 | [[ServerAPI server] requestHistoryGraph:token withType:type andMode:mode CompletionHandler:^(HistoryGraphObject *object, NSError *error) { | 170 | [[ServerAPI server] requestHistoryGraph:token withType:type andMode:mode CompletionHandler:^(HistoryGraphObject *object, NSError *error) { |
171 | HistoryViewController __weak *weakSelf = self; | 171 | HistoryViewController __weak *weakSelf = self; |
172 | if(error == nil) { | 172 | if(error == nil) { |
173 | _curHisGraphObj = object; | 173 | _curHisGraphObj = object; |
174 | dispatch_async(dispatch_get_main_queue(), ^{ | 174 | dispatch_async(dispatch_get_main_queue(), ^{ |
175 | [self updateGraphView]; | 175 | [self updateGraphView]; |
176 | }); | 176 | }); |
177 | } | 177 | } |
178 | else { | 178 | else { |
179 | dispatch_async(dispatch_get_main_queue(), ^{ | 179 | dispatch_async(dispatch_get_main_queue(), ^{ |
180 | NSString *message = [error.userInfo objectForKey:@"message"]; | 180 | NSString *message = [error.userInfo objectForKey:@"message"]; |
181 | [Utilities showErrorMessage:message withViewController:weakSelf]; | 181 | [Utilities showErrorMessage:message withViewController:weakSelf]; |
182 | }); | 182 | }); |
183 | } | 183 | } |
184 | }]; | 184 | }]; |
185 | } | 185 | } |
186 | else { | 186 | else { |
187 | [self resetData]; | 187 | [self resetData]; |
188 | } | 188 | } |
189 | } | 189 | } |
190 | 190 | ||
191 | -(void) callRequestToUpdateData { | 191 | -(void) callRequestToUpdateData { |
192 | [super callRequestToUpdateData]; | 192 | [super callRequestToUpdateData]; |
193 | NSString * token = [[NSUserDefaults standardUserDefaults] stringForKey:kToken]; | 193 | NSString * token = [[NSUserDefaults standardUserDefaults] stringForKey:kToken]; |
194 | int type = self.viewCollectionType.getCurrentIndex; | 194 | int type = self.viewCollectionType.getCurrentIndex; |
195 | int mode = self.viewCollectionMode.getCurrentIndex + 1; | 195 | int mode = self.viewCollectionMode.getCurrentIndex + 1; |
196 | 196 | ||
197 | MBProgressHUD *hudView = nil; | 197 | MBProgressHUD *hudView = nil; |
198 | if(_curPage == 1 && !self.refreshControl.isRefreshing) { | 198 | if(_curPage == 1 && !self.refreshControl.isRefreshing) { |
199 | hudView = [MBProgressHUD showHUDAddedTo:self.view animated:true]; | 199 | hudView = [MBProgressHUD showHUDAddedTo:self.view animated:true]; |
200 | } | 200 | } |
201 | [[ServerAPI server] requestHistoryList:token withType:type andMode:mode AtPage:_curPage CompletionHandler:^(NSArray *array, NSError *error) { | 201 | [[ServerAPI server] requestHistoryList:token withType:type andMode:mode AtPage:_curPage CompletionHandler:^(NSArray *array, NSError *error) { |
202 | dispatch_async(dispatch_get_main_queue(), ^{ | 202 | dispatch_async(dispatch_get_main_queue(), ^{ |
203 | if(hudView != nil) { | 203 | if(hudView != nil) { |
204 | [hudView hideAnimated:true]; | 204 | [hudView hideAnimated:true]; |
205 | } | 205 | } |
206 | }); | 206 | }); |
207 | HistoryViewController __weak *weakSelf = self; | 207 | HistoryViewController __weak *weakSelf = self; |
208 | [weakSelf updateTableData:array error:error]; | 208 | [weakSelf updateTableData:array error:error]; |
209 | }]; | 209 | }]; |
210 | } | 210 | } |
211 | 211 | ||
212 | #pragma mark IBAction | 212 | #pragma mark IBAction |
213 | -(void) swipeAction:(UISwipeGestureRecognizer *)sender { | 213 | -(void) swipeAction:(UISwipeGestureRecognizer *)sender { |
214 | bool alphaValue = self.scrollView.alpha == 1.0 ? 1.0 : 0.0; | 214 | bool alphaValue = self.scrollView.alpha == 1.0 ? 1.0 : 0.0; |
215 | [UIView animateWithDuration:0.5 animations:^{ | 215 | [UIView animateWithDuration:0.5 animations:^{ |
216 | self.tableBase.alpha = alphaValue; | 216 | self.tableBase.alpha = alphaValue; |
217 | self.scrollView.alpha = 1.0 - alphaValue; | 217 | self.scrollView.alpha = 1.0 - alphaValue; |
218 | } completion:^(BOOL completed) { | 218 | } completion:^(BOOL completed) { |
219 | [self checkRequestData]; | 219 | [self checkRequestData]; |
220 | }]; | 220 | }]; |
221 | } | 221 | } |
222 | 222 | ||
223 | -(void)gestureAction:(UITapGestureRecognizer *) sender | 223 | -(void)gestureAction:(UITapGestureRecognizer *) sender |
224 | { | 224 | { |
225 | CGPoint touchLocation = [sender locationOfTouch:0 inView:self.viewCollectionShare]; | 225 | CGPoint touchLocation = [sender locationOfTouch:0 inView:self.viewCollectionShare]; |
226 | NSIndexPath *indexPath = [self.viewCollectionShare.collectionView indexPathForItemAtPoint:touchLocation]; | 226 | NSIndexPath *indexPath = [self.viewCollectionShare.collectionView indexPathForItemAtPoint:touchLocation]; |
227 | NSString * content = @"Finish 500 steps"; | 227 | NSString * content = @"Finish 500 steps"; |
228 | HistoryViewController __weak *weakSelf = self; | 228 | HistoryViewController __weak *weakSelf = self; |
229 | if(indexPath != NULL) { | 229 | if(indexPath != NULL) { |
230 | switch (indexPath.row) { | 230 | switch (indexPath.row) { |
231 | case 0: //share facebook | 231 | case 0: //share facebook |
232 | [Utilities shareFacebook:content withViewController:weakSelf]; | 232 | [Utilities shareFacebook:content withViewController:weakSelf]; |
233 | break; | 233 | break; |
234 | case 1: //share twitter | 234 | case 1: //share twitter |
235 | [Utilities shareTwitter:content withViewController:weakSelf]; | 235 | [Utilities shareTwitter:content withViewController:weakSelf]; |
236 | break; | 236 | break; |
237 | case 2 : //share line | 237 | case 2 : //share line |
238 | [Utilities shareLine:content withViewController:weakSelf]; | 238 | [Utilities shareLine:content withViewController:weakSelf]; |
239 | break; | 239 | break; |
240 | case 3: // share email | 240 | case 3: // share email |
241 | [Utilities shareEmail:content withViewController:weakSelf]; | 241 | [Utilities shareEmail:content withViewController:weakSelf]; |
242 | break; | 242 | break; |
243 | default: | 243 | default: |
244 | break; | 244 | break; |
245 | } | 245 | } |
246 | } | 246 | } |
247 | } | 247 | } |
248 | 248 | ||
249 | #pragma mark UITableView Delegate | 249 | #pragma mark UITableView Delegate |
250 | - (UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | 250 | - (UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { |
251 | HistoryListTableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:@"HistoryListCell"]; | 251 | HistoryListTableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:@"HistoryListCell"]; |
252 | HistoryObject * obj = [_curDataList objectAtIndex:indexPath.row]; | 252 | HistoryObject * obj = [_curDataList objectAtIndex:indexPath.row]; |
253 | cell.lblStep.text = [NSString stringWithFormat:@"%d", obj.step]; | 253 | cell.lblStep.text = [NSString stringWithFormat:@"%d", obj.step]; |
254 | cell.lblPower.text = [NSString stringWithFormat:@"%0.2f", obj.calories]; | 254 | cell.lblPower.text = [NSString stringWithFormat:@"%0.2f", obj.calories]; |
255 | cell.lblDistance.text = [NSString stringWithFormat:@"%0.1f", obj.distance]; | 255 | cell.lblDistance.text = [NSString stringWithFormat:@"%0.1f", obj.distance]; |
256 | cell.lblDuration.text = obj.time; | 256 | cell.lblDuration.text = obj.time; |
257 | return cell; | 257 | return cell; |
258 | } | 258 | } |
259 | 259 | ||
260 | @end | 260 | @end |
261 | 261 |
LifeLog/LifeLog/HistoryViewController.xib
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> | 2 | <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> |
3 | <device id="retina4_7" orientation="portrait"> | 3 | <device id="retina4_7" orientation="portrait"> |
4 | <adaptation id="fullscreen"/> | 4 | <adaptation id="fullscreen"/> |
5 | </device> | 5 | </device> |
6 | <dependencies> | 6 | <dependencies> |
7 | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/> | 7 | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/> |
8 | <capability name="Aspect ratio constraints" minToolsVersion="5.1"/> | 8 | <capability name="Aspect ratio constraints" minToolsVersion="5.1"/> |
9 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | 9 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
10 | </dependencies> | 10 | </dependencies> |
11 | <objects> | 11 | <objects> |
12 | <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="HistoryViewController"> | 12 | <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="HistoryViewController"> |
13 | <connections> | 13 | <connections> |
14 | <outlet property="lblCalories" destination="dAE-C8-QLr" id="WaS-S3-Qxh"/> | 14 | <outlet property="lblCalories" destination="dAE-C8-QLr" id="WaS-S3-Qxh"/> |
15 | <outlet property="lblCircleRemain" destination="Kr7-S0-Fpl" id="UQe-Bt-i0X"/> | 15 | <outlet property="lblCircleRemain" destination="Kr7-S0-Fpl" id="UQe-Bt-i0X"/> |
16 | <outlet property="lblCircleStep" destination="oWg-A8-aCr" id="Q9g-UY-hyv"/> | 16 | <outlet property="lblCircleStep" destination="oWg-A8-aCr" id="Q9g-UY-hyv"/> |
17 | <outlet property="lblDistance" destination="1tR-JC-pyw" id="q4s-Ru-vLO"/> | 17 | <outlet property="lblDistance" destination="1tR-JC-pyw" id="q4s-Ru-vLO"/> |
18 | <outlet property="lblPercent" destination="8Ru-Jc-Ouv" id="ZHn-Kt-0Qk"/> | 18 | <outlet property="lblPercent" destination="8Ru-Jc-Ouv" id="ZHn-Kt-0Qk"/> |
19 | <outlet property="lblRemaining" destination="1NH-b3-ST8" id="hFc-q9-b0h"/> | 19 | <outlet property="lblRemaining" destination="1NH-b3-ST8" id="hFc-q9-b0h"/> |
20 | <outlet property="lblStep" destination="0pf-fX-QXT" id="jK4-9Y-89Q"/> | 20 | <outlet property="lblStep" destination="0pf-fX-QXT" id="jK4-9Y-89Q"/> |
21 | <outlet property="lblTime" destination="PfZ-7x-LAR" id="NQv-fs-rl7"/> | 21 | <outlet property="lblTime" destination="PfZ-7x-LAR" id="NQv-fs-rl7"/> |
22 | <outlet property="scrollView" destination="rey-N3-l8b" id="s3w-fi-n5l"/> | 22 | <outlet property="scrollView" destination="rey-N3-l8b" id="s3w-fi-n5l"/> |
23 | <outlet property="tableBase" destination="FXQ-4O-sRc" id="UHy-Nk-f7u"/> | 23 | <outlet property="tableBase" destination="FXQ-4O-sRc" id="UHy-Nk-f7u"/> |
24 | <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/> | 24 | <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/> |
25 | <outlet property="viewBarChart" destination="VqD-Y3-cYQ" id="RdJ-G5-pPy"/> | 25 | <outlet property="viewBarChart" destination="VqD-Y3-cYQ" id="RdJ-G5-pPy"/> |
26 | <outlet property="viewCollectionMode" destination="BVv-qD-EHM" id="A6n-32-oxg"/> | 26 | <outlet property="viewCollectionMode" destination="BVv-qD-EHM" id="A6n-32-oxg"/> |
27 | <outlet property="viewCollectionShare" destination="Iw2-nW-e7g" id="LW3-j0-yEY"/> | 27 | <outlet property="viewCollectionShare" destination="Iw2-nW-e7g" id="LW3-j0-yEY"/> |
28 | <outlet property="viewCollectionType" destination="yxY-4d-tB6" id="K1D-Gc-kWV"/> | 28 | <outlet property="viewCollectionType" destination="yxY-4d-tB6" id="K1D-Gc-kWV"/> |
29 | </connections> | 29 | </connections> |
30 | </placeholder> | 30 | </placeholder> |
31 | <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> | 31 | <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> |
32 | <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT"> | 32 | <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT"> |
33 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 33 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
34 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 34 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
35 | <subviews> | 35 | <subviews> |
36 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="clL-JG-rbd" userLabel="ViewHeader"> | 36 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="clL-JG-rbd" userLabel="ViewHeader"> |
37 | <rect key="frame" x="0.0" y="0.0" width="375" height="46"/> | 37 | <rect key="frame" x="0.0" y="0.0" width="375" height="46"/> |
38 | <subviews> | 38 | <subviews> |
39 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="履歴" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ht6-rd-JXF" customClass="AutoTransLabel"> | 39 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="履歴" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ht6-rd-JXF" customClass="AutoTransLabel"> |
40 | <rect key="frame" x="0.0" y="0.0" width="375" height="46"/> | 40 | <rect key="frame" x="0.0" y="0.0" width="375" height="46"/> |
41 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 41 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
42 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 42 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
43 | <nil key="highlightedColor"/> | 43 | <nil key="highlightedColor"/> |
44 | <userDefinedRuntimeAttributes> | 44 | <userDefinedRuntimeAttributes> |
45 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title"/> | 45 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title"/> |
46 | </userDefinedRuntimeAttributes> | 46 | </userDefinedRuntimeAttributes> |
47 | </label> | 47 | </label> |
48 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ytc-zM-ZGC"> | 48 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ytc-zM-ZGC"> |
49 | <rect key="frame" x="0.0" y="5" width="70" height="36"/> | 49 | <rect key="frame" x="0.0" y="5" width="70" height="36"/> |
50 | <constraints> | 50 | <constraints> |
51 | <constraint firstAttribute="width" constant="70" id="xAE-oP-WEf"/> | 51 | <constraint firstAttribute="width" constant="70" id="xAE-oP-WEf"/> |
52 | </constraints> | 52 | </constraints> |
53 | <state key="normal" image="today_back_button"/> | 53 | <state key="normal" image="today_back_button"/> |
54 | </button> | 54 | </button> |
55 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CFx-sO-MAH"> | 55 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CFx-sO-MAH"> |
56 | <rect key="frame" x="330" y="0.0" width="45" height="46"/> | 56 | <rect key="frame" x="330" y="0.0" width="45" height="46"/> |
57 | <constraints> | 57 | <constraints> |
58 | <constraint firstAttribute="width" constant="45" id="V0g-Ii-pNQ"/> | 58 | <constraint firstAttribute="width" constant="45" id="V0g-Ii-pNQ"/> |
59 | </constraints> | 59 | </constraints> |
60 | <state key="normal" image="icon_menu"/> | 60 | <state key="normal" image="icon_menu"/> |
61 | </button> | 61 | </button> |
62 | </subviews> | 62 | </subviews> |
63 | <color key="backgroundColor" red="0.098039215686274508" green="0.098039215686274508" blue="0.098039215686274508" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 63 | <color key="backgroundColor" red="0.098039215686274508" green="0.098039215686274508" blue="0.098039215686274508" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
64 | <constraints> | 64 | <constraints> |
65 | <constraint firstAttribute="trailing" secondItem="Ht6-rd-JXF" secondAttribute="trailing" id="Fr9-Yj-q5e"/> | 65 | <constraint firstAttribute="trailing" secondItem="Ht6-rd-JXF" secondAttribute="trailing" id="Fr9-Yj-q5e"/> |
66 | <constraint firstItem="ytc-zM-ZGC" firstAttribute="leading" secondItem="clL-JG-rbd" secondAttribute="leading" id="LDb-Pq-Z5k"/> | 66 | <constraint firstItem="ytc-zM-ZGC" firstAttribute="leading" secondItem="clL-JG-rbd" secondAttribute="leading" id="LDb-Pq-Z5k"/> |
67 | <constraint firstAttribute="trailing" secondItem="CFx-sO-MAH" secondAttribute="trailing" id="PTh-vI-2DI"/> | 67 | <constraint firstAttribute="trailing" secondItem="CFx-sO-MAH" secondAttribute="trailing" id="PTh-vI-2DI"/> |
68 | <constraint firstItem="Ht6-rd-JXF" firstAttribute="top" secondItem="clL-JG-rbd" secondAttribute="top" id="URG-nj-C2r"/> | 68 | <constraint firstItem="Ht6-rd-JXF" firstAttribute="top" secondItem="clL-JG-rbd" secondAttribute="top" id="URG-nj-C2r"/> |
69 | <constraint firstItem="CFx-sO-MAH" firstAttribute="top" secondItem="clL-JG-rbd" secondAttribute="top" id="Uxg-Wl-DlF"/> | 69 | <constraint firstItem="CFx-sO-MAH" firstAttribute="top" secondItem="clL-JG-rbd" secondAttribute="top" id="Uxg-Wl-DlF"/> |
70 | <constraint firstAttribute="bottom" secondItem="CFx-sO-MAH" secondAttribute="bottom" id="X9D-m3-QXF"/> | 70 | <constraint firstAttribute="bottom" secondItem="CFx-sO-MAH" secondAttribute="bottom" id="X9D-m3-QXF"/> |
71 | <constraint firstAttribute="bottom" secondItem="ytc-zM-ZGC" secondAttribute="bottom" constant="5" id="hWb-ga-1wm"/> | 71 | <constraint firstAttribute="bottom" secondItem="ytc-zM-ZGC" secondAttribute="bottom" constant="5" id="hWb-ga-1wm"/> |
72 | <constraint firstAttribute="bottom" secondItem="Ht6-rd-JXF" secondAttribute="bottom" id="iqI-Bi-QI1"/> | 72 | <constraint firstAttribute="bottom" secondItem="Ht6-rd-JXF" secondAttribute="bottom" id="iqI-Bi-QI1"/> |
73 | <constraint firstItem="Ht6-rd-JXF" firstAttribute="leading" secondItem="clL-JG-rbd" secondAttribute="leading" id="uzc-SO-7mw"/> | 73 | <constraint firstItem="Ht6-rd-JXF" firstAttribute="leading" secondItem="clL-JG-rbd" secondAttribute="leading" id="uzc-SO-7mw"/> |
74 | <constraint firstItem="ytc-zM-ZGC" firstAttribute="top" secondItem="clL-JG-rbd" secondAttribute="top" constant="5" id="vFt-FE-klC"/> | 74 | <constraint firstItem="ytc-zM-ZGC" firstAttribute="top" secondItem="clL-JG-rbd" secondAttribute="top" constant="5" id="vFt-FE-klC"/> |
75 | <constraint firstAttribute="height" constant="46" id="xGd-BD-bgs"/> | 75 | <constraint firstAttribute="height" constant="46" id="xGd-BD-bgs"/> |
76 | </constraints> | 76 | </constraints> |
77 | </view> | 77 | </view> |
78 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Cf1-lP-zbB" userLabel="ViewTime"> | 78 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Cf1-lP-zbB" userLabel="ViewTime"> |
79 | <rect key="frame" x="10" y="46" width="355" height="35"/> | 79 | <rect key="frame" x="10" y="46" width="355" height="35"/> |
80 | <subviews> | 80 | <subviews> |
81 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6T2-M9-9wV"> | 81 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6T2-M9-9wV"> |
82 | <rect key="frame" x="0.0" y="0.0" width="35" height="35"/> | 82 | <rect key="frame" x="0.0" y="0.0" width="35" height="35"/> |
83 | <constraints> | 83 | <constraints> |
84 | <constraint firstAttribute="width" secondItem="6T2-M9-9wV" secondAttribute="height" multiplier="1:1" id="RlM-6u-eer"/> | 84 | <constraint firstAttribute="width" secondItem="6T2-M9-9wV" secondAttribute="height" multiplier="1:1" id="RlM-6u-eer"/> |
85 | </constraints> | 85 | </constraints> |
86 | <state key="normal" backgroundImage="arrow_back"/> | 86 | <state key="normal" backgroundImage="arrow_back"/> |
87 | </button> | 87 | </button> |
88 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Cwb-8M-pDi"> | 88 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Cwb-8M-pDi"> |
89 | <rect key="frame" x="320" y="0.0" width="35" height="35"/> | 89 | <rect key="frame" x="320" y="0.0" width="35" height="35"/> |
90 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 90 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
91 | <state key="normal" backgroundImage="arrow_next"/> | 91 | <state key="normal" backgroundImage="arrow_next"/> |
92 | </button> | 92 | </button> |
93 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2017年1月1日 日曜日" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EM7-vA-s1e"> | 93 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2017年1月1日 日曜日" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EM7-vA-s1e"> |
94 | <rect key="frame" x="40" y="2" width="275" height="31"/> | 94 | <rect key="frame" x="40" y="2" width="275" height="31"/> |
95 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 95 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
96 | <nil key="textColor"/> | 96 | <nil key="textColor"/> |
97 | <nil key="highlightedColor"/> | 97 | <nil key="highlightedColor"/> |
98 | </label> | 98 | </label> |
99 | </subviews> | 99 | </subviews> |
100 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 100 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
101 | <constraints> | 101 | <constraints> |
102 | <constraint firstItem="Cwb-8M-pDi" firstAttribute="top" secondItem="Cf1-lP-zbB" secondAttribute="top" id="4Jr-r7-y6d"/> | 102 | <constraint firstItem="Cwb-8M-pDi" firstAttribute="top" secondItem="Cf1-lP-zbB" secondAttribute="top" id="4Jr-r7-y6d"/> |
103 | <constraint firstAttribute="bottom" secondItem="6T2-M9-9wV" secondAttribute="bottom" id="8bU-NI-m32"/> | 103 | <constraint firstAttribute="bottom" secondItem="6T2-M9-9wV" secondAttribute="bottom" id="8bU-NI-m32"/> |
104 | <constraint firstItem="EM7-vA-s1e" firstAttribute="leading" secondItem="6T2-M9-9wV" secondAttribute="trailing" constant="5" id="9G1-I6-nSV"/> | 104 | <constraint firstItem="EM7-vA-s1e" firstAttribute="leading" secondItem="6T2-M9-9wV" secondAttribute="trailing" constant="5" id="9G1-I6-nSV"/> |
105 | <constraint firstItem="EM7-vA-s1e" firstAttribute="top" secondItem="Cf1-lP-zbB" secondAttribute="top" constant="2" id="9Yk-sv-gkx"/> | 105 | <constraint firstItem="EM7-vA-s1e" firstAttribute="top" secondItem="Cf1-lP-zbB" secondAttribute="top" constant="2" id="9Yk-sv-gkx"/> |
106 | <constraint firstItem="Cwb-8M-pDi" firstAttribute="leading" secondItem="EM7-vA-s1e" secondAttribute="trailing" constant="5" id="JQI-18-cWP"/> | 106 | <constraint firstItem="Cwb-8M-pDi" firstAttribute="leading" secondItem="EM7-vA-s1e" secondAttribute="trailing" constant="5" id="JQI-18-cWP"/> |
107 | <constraint firstAttribute="height" constant="35" id="Pdg-IR-g8y"/> | 107 | <constraint firstAttribute="height" constant="35" id="Pdg-IR-g8y"/> |
108 | <constraint firstItem="6T2-M9-9wV" firstAttribute="leading" secondItem="Cf1-lP-zbB" secondAttribute="leading" id="Pgh-zZ-vrG"/> | 108 | <constraint firstItem="6T2-M9-9wV" firstAttribute="leading" secondItem="Cf1-lP-zbB" secondAttribute="leading" id="Pgh-zZ-vrG"/> |
109 | <constraint firstAttribute="bottom" secondItem="Cwb-8M-pDi" secondAttribute="bottom" id="WWs-Ey-osm"/> | 109 | <constraint firstAttribute="bottom" secondItem="Cwb-8M-pDi" secondAttribute="bottom" id="WWs-Ey-osm"/> |
110 | <constraint firstItem="Cwb-8M-pDi" firstAttribute="width" secondItem="Cwb-8M-pDi" secondAttribute="height" multiplier="1:1" id="YHa-MU-GKi"/> | 110 | <constraint firstItem="Cwb-8M-pDi" firstAttribute="width" secondItem="Cwb-8M-pDi" secondAttribute="height" multiplier="1:1" id="YHa-MU-GKi"/> |
111 | <constraint firstItem="6T2-M9-9wV" firstAttribute="top" secondItem="Cf1-lP-zbB" secondAttribute="top" id="fiM-o3-Us0"/> | 111 | <constraint firstItem="6T2-M9-9wV" firstAttribute="top" secondItem="Cf1-lP-zbB" secondAttribute="top" id="fiM-o3-Us0"/> |
112 | <constraint firstAttribute="trailing" secondItem="Cwb-8M-pDi" secondAttribute="trailing" id="oCE-RP-EmX"/> | 112 | <constraint firstAttribute="trailing" secondItem="Cwb-8M-pDi" secondAttribute="trailing" id="oCE-RP-EmX"/> |
113 | <constraint firstAttribute="bottom" secondItem="EM7-vA-s1e" secondAttribute="bottom" constant="2" id="oOd-ip-MZy"/> | 113 | <constraint firstAttribute="bottom" secondItem="EM7-vA-s1e" secondAttribute="bottom" constant="2" id="oOd-ip-MZy"/> |
114 | </constraints> | 114 | </constraints> |
115 | </view> | 115 | </view> |
116 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yxY-4d-tB6" customClass="CollectionView"> | 116 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yxY-4d-tB6" customClass="CollectionView"> |
117 | <rect key="frame" x="2" y="96" width="371" height="40"/> | 117 | <rect key="frame" x="2" y="96" width="371" height="40"/> |
118 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 118 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
119 | <constraints> | 119 | <constraints> |
120 | <constraint firstAttribute="height" constant="40" id="U7Q-wa-CDi"/> | 120 | <constraint firstAttribute="height" constant="40" id="U7Q-wa-CDi"/> |
121 | </constraints> | 121 | </constraints> |
122 | </view> | 122 | </view> |
123 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BVv-qD-EHM" customClass="CollectionView"> | 123 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BVv-qD-EHM" customClass="CollectionView"> |
124 | <rect key="frame" x="0.0" y="577" width="375" height="40"/> | 124 | <rect key="frame" x="0.0" y="577" width="375" height="40"/> |
125 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 125 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
126 | <constraints> | 126 | <constraints> |
127 | <constraint firstAttribute="height" constant="40" id="6wc-NQ-UAH"/> | 127 | <constraint firstAttribute="height" constant="40" id="6wc-NQ-UAH"/> |
128 | </constraints> | 128 | </constraints> |
129 | </view> | 129 | </view> |
130 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FLa-rV-Aas" userLabel="ViewContent"> | 130 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FLa-rV-Aas" userLabel="ViewContent"> |
131 | <rect key="frame" x="0.0" y="151" width="375" height="421"/> | 131 | <rect key="frame" x="0.0" y="151" width="375" height="421"/> |
132 | <subviews> | 132 | <subviews> |
133 | <tableView clipsSubviews="YES" alpha="0.0" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="none" rowHeight="100" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="FXQ-4O-sRc"> | 133 | <tableView clipsSubviews="YES" alpha="0.0" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="none" rowHeight="100" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="FXQ-4O-sRc"> |
134 | <rect key="frame" x="5" y="0.0" width="365" height="421"/> | 134 | <rect key="frame" x="5" y="0.0" width="365" height="421"/> |
135 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 135 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
136 | <connections> | 136 | <connections> |
137 | <outlet property="dataSource" destination="-1" id="GQy-lg-1Af"/> | 137 | <outlet property="dataSource" destination="-1" id="GQy-lg-1Af"/> |
138 | <outlet property="delegate" destination="-1" id="Jka-Ij-zNq"/> | 138 | <outlet property="delegate" destination="-1" id="Jka-Ij-zNq"/> |
139 | </connections> | 139 | </connections> |
140 | </tableView> | 140 | </tableView> |
141 | <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rey-N3-l8b"> | 141 | <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rey-N3-l8b"> |
142 | <rect key="frame" x="0.0" y="0.0" width="375" height="421"/> | 142 | <rect key="frame" x="0.0" y="0.0" width="375" height="421"/> |
143 | <subviews> | 143 | <subviews> |
144 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Cam-ML-IEO"> | 144 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Cam-ML-IEO"> |
145 | <rect key="frame" x="0.0" y="0.0" width="375" height="421"/> | 145 | <rect key="frame" x="0.0" y="0.0" width="375" height="421"/> |
146 | <subviews> | 146 | <subviews> |
147 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Kzk-mN-AOf"> | 147 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Kzk-mN-AOf"> |
148 | <rect key="frame" x="20" y="30" width="120" height="120"/> | 148 | <rect key="frame" x="20" y="30" width="120" height="120"/> |
149 | <subviews> | 149 | <subviews> |
150 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="500 step" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oWg-A8-aCr"> | 150 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="500 step" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oWg-A8-aCr"> |
151 | <rect key="frame" x="18" y="35" width="82" height="21"/> | 151 | <rect key="frame" x="18" y="35" width="82" height="21"/> |
152 | <constraints> | 152 | <constraints> |
153 | <constraint firstAttribute="height" constant="21" id="zOX-0d-IVv"/> | 153 | <constraint firstAttribute="height" constant="21" id="zOX-0d-IVv"/> |
154 | </constraints> | 154 | </constraints> |
155 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 155 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
156 | <nil key="textColor"/> | 156 | <nil key="textColor"/> |
157 | <nil key="highlightedColor"/> | 157 | <nil key="highlightedColor"/> |
158 | </label> | 158 | </label> |
159 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kr7-S0-Fpl"> | 159 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kr7-S0-Fpl"> |
160 | <rect key="frame" x="20" y="61" width="80" height="42"/> | 160 | <rect key="frame" x="20" y="61" width="80" height="42"/> |
161 | <constraints> | 161 | <constraints> |
162 | <constraint firstAttribute="width" constant="80" id="IOc-sB-dA2"/> | 162 | <constraint firstAttribute="width" constant="80" id="IOc-sB-dA2"/> |
163 | <constraint firstAttribute="height" constant="42" id="zRP-Fu-qZ9"/> | 163 | <constraint firstAttribute="height" constant="42" id="zRP-Fu-qZ9"/> |
164 | </constraints> | 164 | </constraints> |
165 | <string key="text">目標まであと | 165 | <string key="text">目標まであと |
166 | 500 stepです</string> | 166 | 500 stepです</string> |
167 | <fontDescription key="fontDescription" type="system" pointSize="11"/> | 167 | <fontDescription key="fontDescription" type="system" pointSize="11"/> |
168 | <nil key="textColor"/> | 168 | <nil key="textColor"/> |
169 | <nil key="highlightedColor"/> | 169 | <nil key="highlightedColor"/> |
170 | </label> | 170 | </label> |
171 | </subviews> | 171 | </subviews> |
172 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 172 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
173 | <constraints> | 173 | <constraints> |
174 | <constraint firstItem="Kr7-S0-Fpl" firstAttribute="top" secondItem="oWg-A8-aCr" secondAttribute="bottom" constant="5" id="2KK-Lm-h74"/> | 174 | <constraint firstItem="Kr7-S0-Fpl" firstAttribute="top" secondItem="oWg-A8-aCr" secondAttribute="bottom" constant="5" id="2KK-Lm-h74"/> |
175 | <constraint firstItem="oWg-A8-aCr" firstAttribute="leading" secondItem="Kzk-mN-AOf" secondAttribute="leading" constant="18" id="CdG-qa-ud5"/> | 175 | <constraint firstItem="oWg-A8-aCr" firstAttribute="leading" secondItem="Kzk-mN-AOf" secondAttribute="leading" constant="18" id="CdG-qa-ud5"/> |
176 | <constraint firstAttribute="width" constant="120" id="E48-cC-dsc"/> | 176 | <constraint firstAttribute="width" constant="120" id="E48-cC-dsc"/> |
177 | <constraint firstAttribute="height" constant="120" id="SlY-sr-tR9"/> | 177 | <constraint firstAttribute="height" constant="120" id="SlY-sr-tR9"/> |
178 | <constraint firstItem="Kr7-S0-Fpl" firstAttribute="centerX" secondItem="Kzk-mN-AOf" secondAttribute="centerX" id="jJV-RH-pk1"/> | 178 | <constraint firstItem="Kr7-S0-Fpl" firstAttribute="centerX" secondItem="Kzk-mN-AOf" secondAttribute="centerX" id="jJV-RH-pk1"/> |
179 | <constraint firstItem="oWg-A8-aCr" firstAttribute="top" secondItem="Kzk-mN-AOf" secondAttribute="top" constant="35" id="oBl-zo-td5"/> | 179 | <constraint firstItem="oWg-A8-aCr" firstAttribute="top" secondItem="Kzk-mN-AOf" secondAttribute="top" constant="35" id="oBl-zo-td5"/> |
180 | <constraint firstAttribute="trailing" secondItem="oWg-A8-aCr" secondAttribute="trailing" constant="20" id="xgh-d4-jOF"/> | 180 | <constraint firstAttribute="trailing" secondItem="oWg-A8-aCr" secondAttribute="trailing" constant="20" id="xgh-d4-jOF"/> |
181 | </constraints> | 181 | </constraints> |
182 | <userDefinedRuntimeAttributes> | 182 | <userDefinedRuntimeAttributes> |
183 | <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | 183 | <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> |
184 | <integer key="value" value="60"/> | 184 | <integer key="value" value="60"/> |
185 | </userDefinedRuntimeAttribute> | 185 | </userDefinedRuntimeAttribute> |
186 | </userDefinedRuntimeAttributes> | 186 | </userDefinedRuntimeAttributes> |
187 | </view> | 187 | </view> |
188 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4ix-HE-d9T"> | 188 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4ix-HE-d9T"> |
189 | <rect key="frame" x="148" y="30" width="219" height="120"/> | 189 | <rect key="frame" x="148" y="30" width="219" height="120"/> |
190 | <subviews> | 190 | <subviews> |
191 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="目標" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YE6-wh-77T" customClass="AutoTransLabel"> | 191 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="目標" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YE6-wh-77T" customClass="AutoTransLabel"> |
192 | <rect key="frame" x="10" y="38" width="45" height="15"/> | 192 | <rect key="frame" x="10" y="38" width="45" height="15"/> |
193 | <constraints> | 193 | <constraints> |
194 | <constraint firstAttribute="width" constant="45" id="6Ce-YE-wbx"/> | 194 | <constraint firstAttribute="width" constant="45" id="6Ce-YE-wbx"/> |
195 | <constraint firstAttribute="height" constant="15" id="eFR-Ao-75U"/> | 195 | <constraint firstAttribute="height" constant="15" id="eFR-Ao-75U"/> |
196 | </constraints> | 196 | </constraints> |
197 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 197 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
198 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 198 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
199 | <nil key="highlightedColor"/> | 199 | <nil key="highlightedColor"/> |
200 | <userDefinedRuntimeAttributes> | 200 | <userDefinedRuntimeAttributes> |
201 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.total"/> | 201 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.total"/> |
202 | </userDefinedRuntimeAttributes> | 202 | </userDefinedRuntimeAttributes> |
203 | </label> | 203 | </label> |
204 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="残歩数" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HOl-Tj-xiT" customClass="AutoTransLabel"> | 204 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="残歩数" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HOl-Tj-xiT" customClass="AutoTransLabel"> |
205 | <rect key="frame" x="10" y="53" width="45" height="15"/> | 205 | <rect key="frame" x="10" y="53" width="45" height="15"/> |
206 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 206 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
207 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 207 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
208 | <nil key="highlightedColor"/> | 208 | <nil key="highlightedColor"/> |
209 | <userDefinedRuntimeAttributes> | 209 | <userDefinedRuntimeAttributes> |
210 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.remaining"/> | 210 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.remaining"/> |
211 | </userDefinedRuntimeAttributes> | 211 | </userDefinedRuntimeAttributes> |
212 | </label> | 212 | </label> |
213 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="達成率" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="l0h-qA-2Ai" customClass="AutoTransLabel"> | 213 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="達成率" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="l0h-qA-2Ai" customClass="AutoTransLabel"> |
214 | <rect key="frame" x="10" y="68" width="45" height="15"/> | 214 | <rect key="frame" x="10" y="68" width="45" height="15"/> |
215 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 215 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
216 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 216 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
217 | <nil key="highlightedColor"/> | 217 | <nil key="highlightedColor"/> |
218 | <userDefinedRuntimeAttributes> | 218 | <userDefinedRuntimeAttributes> |
219 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.percent"/> | 219 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.percent"/> |
220 | </userDefinedRuntimeAttributes> | 220 | </userDefinedRuntimeAttributes> |
221 | </label> | 221 | </label> |
222 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1000 step" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0pf-fX-QXT"> | 222 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1000 step" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0pf-fX-QXT"> |
223 | <rect key="frame" x="63" y="38" width="118" height="15"/> | 223 | <rect key="frame" x="63" y="38" width="118" height="15"/> |
224 | <constraints> | 224 | <constraints> |
225 | <constraint firstAttribute="height" constant="15" id="Z6o-LI-Eu9"/> | 225 | <constraint firstAttribute="height" constant="15" id="Z6o-LI-Eu9"/> |
226 | </constraints> | 226 | </constraints> |
227 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 227 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
228 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 228 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
229 | <nil key="highlightedColor"/> | 229 | <nil key="highlightedColor"/> |
230 | </label> | 230 | </label> |
231 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="500 step" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1NH-b3-ST8"> | 231 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="500 step" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1NH-b3-ST8"> |
232 | <rect key="frame" x="63" y="53" width="118" height="15"/> | 232 | <rect key="frame" x="63" y="53" width="118" height="15"/> |
233 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 233 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
234 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 234 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
235 | <nil key="highlightedColor"/> | 235 | <nil key="highlightedColor"/> |
236 | </label> | 236 | </label> |
237 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="50 %" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Ru-Jc-Ouv"> | 237 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="50 %" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Ru-Jc-Ouv"> |
238 | <rect key="frame" x="63" y="68" width="118" height="15"/> | 238 | <rect key="frame" x="63" y="68" width="118" height="15"/> |
239 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 239 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
240 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 240 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
241 | <nil key="highlightedColor"/> | 241 | <nil key="highlightedColor"/> |
242 | </label> | 242 | </label> |
243 | </subviews> | 243 | </subviews> |
244 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 244 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
245 | <constraints> | 245 | <constraints> |
246 | <constraint firstItem="l0h-qA-2Ai" firstAttribute="top" secondItem="HOl-Tj-xiT" secondAttribute="bottom" id="0dv-3h-eHs"/> | 246 | <constraint firstItem="l0h-qA-2Ai" firstAttribute="top" secondItem="HOl-Tj-xiT" secondAttribute="bottom" id="0dv-3h-eHs"/> |
247 | <constraint firstItem="l0h-qA-2Ai" firstAttribute="leading" secondItem="YE6-wh-77T" secondAttribute="leading" id="7z3-ph-BM4"/> | 247 | <constraint firstItem="l0h-qA-2Ai" firstAttribute="leading" secondItem="YE6-wh-77T" secondAttribute="leading" id="7z3-ph-BM4"/> |
248 | <constraint firstItem="1NH-b3-ST8" firstAttribute="leading" secondItem="0pf-fX-QXT" secondAttribute="leading" id="ACu-BV-ieg"/> | 248 | <constraint firstItem="1NH-b3-ST8" firstAttribute="leading" secondItem="0pf-fX-QXT" secondAttribute="leading" id="ACu-BV-ieg"/> |
249 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="top" secondItem="1NH-b3-ST8" secondAttribute="bottom" id="Abh-FK-4X7"/> | 249 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="top" secondItem="1NH-b3-ST8" secondAttribute="bottom" id="Abh-FK-4X7"/> |
250 | <constraint firstItem="1NH-b3-ST8" firstAttribute="top" secondItem="0pf-fX-QXT" secondAttribute="bottom" id="B3I-n2-Oks"/> | 250 | <constraint firstItem="1NH-b3-ST8" firstAttribute="top" secondItem="0pf-fX-QXT" secondAttribute="bottom" id="B3I-n2-Oks"/> |
251 | <constraint firstItem="1NH-b3-ST8" firstAttribute="height" secondItem="0pf-fX-QXT" secondAttribute="height" id="BAn-7O-jBX"/> | 251 | <constraint firstItem="1NH-b3-ST8" firstAttribute="height" secondItem="0pf-fX-QXT" secondAttribute="height" id="BAn-7O-jBX"/> |
252 | <constraint firstItem="0pf-fX-QXT" firstAttribute="leading" secondItem="YE6-wh-77T" secondAttribute="trailing" constant="8" id="G20-xx-HEH"/> | 252 | <constraint firstItem="0pf-fX-QXT" firstAttribute="leading" secondItem="YE6-wh-77T" secondAttribute="trailing" constant="8" id="G20-xx-HEH"/> |
253 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="leading" secondItem="0pf-fX-QXT" secondAttribute="leading" id="NIm-Zw-fnf"/> | 253 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="leading" secondItem="0pf-fX-QXT" secondAttribute="leading" id="NIm-Zw-fnf"/> |
254 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="height" secondItem="0pf-fX-QXT" secondAttribute="height" id="PdQ-qd-Sqc"/> | 254 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="height" secondItem="0pf-fX-QXT" secondAttribute="height" id="PdQ-qd-Sqc"/> |
255 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="width" secondItem="YE6-wh-77T" secondAttribute="width" id="WpC-o9-bDa"/> | 255 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="width" secondItem="YE6-wh-77T" secondAttribute="width" id="WpC-o9-bDa"/> |
256 | <constraint firstItem="l0h-qA-2Ai" firstAttribute="height" secondItem="YE6-wh-77T" secondAttribute="height" id="bR8-Ki-lS1"/> | 256 | <constraint firstItem="l0h-qA-2Ai" firstAttribute="height" secondItem="YE6-wh-77T" secondAttribute="height" id="bR8-Ki-lS1"/> |
257 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="height" secondItem="YE6-wh-77T" secondAttribute="height" id="c0u-hz-5O9"/> | 257 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="height" secondItem="YE6-wh-77T" secondAttribute="height" id="c0u-hz-5O9"/> |
258 | <constraint firstItem="1NH-b3-ST8" firstAttribute="leading" secondItem="0pf-fX-QXT" secondAttribute="leading" id="chf-kb-ClX"/> | 258 | <constraint firstItem="1NH-b3-ST8" firstAttribute="leading" secondItem="0pf-fX-QXT" secondAttribute="leading" id="chf-kb-ClX"/> |
259 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="leading" secondItem="0pf-fX-QXT" secondAttribute="leading" id="din-4T-V5w"/> | 259 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="leading" secondItem="0pf-fX-QXT" secondAttribute="leading" id="din-4T-V5w"/> |
260 | <constraint firstItem="l0h-qA-2Ai" firstAttribute="width" secondItem="YE6-wh-77T" secondAttribute="width" id="eo0-xw-d1f"/> | 260 | <constraint firstItem="l0h-qA-2Ai" firstAttribute="width" secondItem="YE6-wh-77T" secondAttribute="width" id="eo0-xw-d1f"/> |
261 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="width" secondItem="0pf-fX-QXT" secondAttribute="width" id="gjt-3e-Pkx"/> | 261 | <constraint firstItem="8Ru-Jc-Ouv" firstAttribute="width" secondItem="0pf-fX-QXT" secondAttribute="width" id="gjt-3e-Pkx"/> |
262 | <constraint firstItem="1NH-b3-ST8" firstAttribute="width" secondItem="0pf-fX-QXT" secondAttribute="width" id="kOM-6S-Amv"/> | 262 | <constraint firstItem="1NH-b3-ST8" firstAttribute="width" secondItem="0pf-fX-QXT" secondAttribute="width" id="kOM-6S-Amv"/> |
263 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="leading" secondItem="YE6-wh-77T" secondAttribute="leading" id="oOc-TB-k4j"/> | 263 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="leading" secondItem="YE6-wh-77T" secondAttribute="leading" id="oOc-TB-k4j"/> |
264 | <constraint firstItem="1NH-b3-ST8" firstAttribute="centerY" secondItem="HOl-Tj-xiT" secondAttribute="centerY" id="pGW-dw-56G"/> | 264 | <constraint firstItem="1NH-b3-ST8" firstAttribute="centerY" secondItem="HOl-Tj-xiT" secondAttribute="centerY" id="pGW-dw-56G"/> |
265 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="top" secondItem="YE6-wh-77T" secondAttribute="bottom" id="s6n-mU-Sp6"/> | 265 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="top" secondItem="YE6-wh-77T" secondAttribute="bottom" id="s6n-mU-Sp6"/> |
266 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="centerY" secondItem="4ix-HE-d9T" secondAttribute="centerY" id="vB9-RR-pao"/> | 266 | <constraint firstItem="HOl-Tj-xiT" firstAttribute="centerY" secondItem="4ix-HE-d9T" secondAttribute="centerY" id="vB9-RR-pao"/> |
267 | <constraint firstAttribute="trailing" secondItem="0pf-fX-QXT" secondAttribute="trailing" constant="38" id="xiP-fg-Ozi"/> | 267 | <constraint firstAttribute="trailing" secondItem="0pf-fX-QXT" secondAttribute="trailing" constant="38" id="xiP-fg-Ozi"/> |
268 | <constraint firstItem="YE6-wh-77T" firstAttribute="leading" secondItem="4ix-HE-d9T" secondAttribute="leading" constant="10" id="xj6-In-ihz"/> | 268 | <constraint firstItem="YE6-wh-77T" firstAttribute="leading" secondItem="4ix-HE-d9T" secondAttribute="leading" constant="10" id="xj6-In-ihz"/> |
269 | </constraints> | 269 | </constraints> |
270 | </view> | 270 | </view> |
271 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iEh-Ze-suq"> | 271 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iEh-Ze-suq"> |
272 | <rect key="frame" x="20" y="158" width="335" height="35"/> | 272 | <rect key="frame" x="20" y="158" width="335" height="35"/> |
273 | <subviews> | 273 | <subviews> |
274 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UwA-5Q-gdv"> | 274 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UwA-5Q-gdv"> |
275 | <rect key="frame" x="0.0" y="0.0" width="111.5" height="35"/> | 275 | <rect key="frame" x="0.0" y="0.0" width="111.5" height="35"/> |
276 | <subviews> | 276 | <subviews> |
277 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="消費カロリー" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zRU-L6-Ed4" customClass="AutoTransLabel"> | 277 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="消費カロリー" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zRU-L6-Ed4" customClass="AutoTransLabel"> |
278 | <rect key="frame" x="0.0" y="0.0" width="111.5" height="18"/> | 278 | <rect key="frame" x="0.0" y="0.0" width="111.5" height="18"/> |
279 | <constraints> | 279 | <constraints> |
280 | <constraint firstAttribute="height" constant="18" id="Ywp-RA-6am"/> | 280 | <constraint firstAttribute="height" constant="18" id="Ywp-RA-6am"/> |
281 | </constraints> | 281 | </constraints> |
282 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 282 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
283 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 283 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
284 | <nil key="highlightedColor"/> | 284 | <nil key="highlightedColor"/> |
285 | <userDefinedRuntimeAttributes> | 285 | <userDefinedRuntimeAttributes> |
286 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.calories"/> | 286 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.calories"/> |
287 | </userDefinedRuntimeAttributes> | 287 | </userDefinedRuntimeAttributes> |
288 | </label> | 288 | </label> |
289 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1000 kcal" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dAE-C8-QLr"> | 289 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1000 kcal" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dAE-C8-QLr"> |
290 | <rect key="frame" x="0.0" y="17" width="111.5" height="18"/> | 290 | <rect key="frame" x="0.0" y="17" width="111.5" height="18"/> |
291 | <constraints> | 291 | <constraints> |
292 | <constraint firstAttribute="height" constant="18" id="r0d-xi-3u7"/> | 292 | <constraint firstAttribute="height" constant="18" id="r0d-xi-3u7"/> |
293 | </constraints> | 293 | </constraints> |
294 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 294 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
295 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 295 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
296 | <nil key="highlightedColor"/> | 296 | <nil key="highlightedColor"/> |
297 | </label> | 297 | </label> |
298 | </subviews> | 298 | </subviews> |
299 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 299 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
300 | <constraints> | 300 | <constraints> |
301 | <constraint firstItem="zRU-L6-Ed4" firstAttribute="leading" secondItem="UwA-5Q-gdv" secondAttribute="leading" id="Zbe-7f-cuR"/> | 301 | <constraint firstItem="zRU-L6-Ed4" firstAttribute="leading" secondItem="UwA-5Q-gdv" secondAttribute="leading" id="Zbe-7f-cuR"/> |
302 | <constraint firstAttribute="bottom" secondItem="dAE-C8-QLr" secondAttribute="bottom" id="aZH-zh-M1V"/> | 302 | <constraint firstAttribute="bottom" secondItem="dAE-C8-QLr" secondAttribute="bottom" id="aZH-zh-M1V"/> |
303 | <constraint firstItem="zRU-L6-Ed4" firstAttribute="top" secondItem="UwA-5Q-gdv" secondAttribute="top" id="bsw-KU-Tcu"/> | 303 | <constraint firstItem="zRU-L6-Ed4" firstAttribute="top" secondItem="UwA-5Q-gdv" secondAttribute="top" id="bsw-KU-Tcu"/> |
304 | <constraint firstAttribute="trailing" secondItem="zRU-L6-Ed4" secondAttribute="trailing" id="iMB-ch-u4B"/> | 304 | <constraint firstAttribute="trailing" secondItem="zRU-L6-Ed4" secondAttribute="trailing" id="iMB-ch-u4B"/> |
305 | <constraint firstItem="dAE-C8-QLr" firstAttribute="leading" secondItem="UwA-5Q-gdv" secondAttribute="leading" id="qNu-WH-Jjj"/> | 305 | <constraint firstItem="dAE-C8-QLr" firstAttribute="leading" secondItem="UwA-5Q-gdv" secondAttribute="leading" id="qNu-WH-Jjj"/> |
306 | <constraint firstAttribute="trailing" secondItem="dAE-C8-QLr" secondAttribute="trailing" id="wRF-1x-XC1"/> | 306 | <constraint firstAttribute="trailing" secondItem="dAE-C8-QLr" secondAttribute="trailing" id="wRF-1x-XC1"/> |
307 | </constraints> | 307 | </constraints> |
308 | </view> | 308 | </view> |
309 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BVs-KG-fDF"> | 309 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BVs-KG-fDF"> |
310 | <rect key="frame" x="111.5" y="0.0" width="112" height="35"/> | 310 | <rect key="frame" x="111.5" y="0.0" width="112" height="35"/> |
311 | <subviews> | 311 | <subviews> |
312 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="距離" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XGt-pc-sd7" customClass="AutoTransLabel"> | 312 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="距離" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XGt-pc-sd7" customClass="AutoTransLabel"> |
313 | <rect key="frame" x="0.0" y="0.0" width="112" height="18"/> | 313 | <rect key="frame" x="0.0" y="0.0" width="112" height="18"/> |
314 | <constraints> | 314 | <constraints> |
315 | <constraint firstAttribute="height" constant="18" id="tct-pY-7wo"/> | 315 | <constraint firstAttribute="height" constant="18" id="tct-pY-7wo"/> |
316 | </constraints> | 316 | </constraints> |
317 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 317 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
318 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 318 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
319 | <nil key="highlightedColor"/> | 319 | <nil key="highlightedColor"/> |
320 | <userDefinedRuntimeAttributes> | 320 | <userDefinedRuntimeAttributes> |
321 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.distance"/> | 321 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.distance"/> |
322 | </userDefinedRuntimeAttributes> | 322 | </userDefinedRuntimeAttributes> |
323 | </label> | 323 | </label> |
324 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4.0 KM" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1tR-JC-pyw"> | 324 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4.0 KM" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1tR-JC-pyw"> |
325 | <rect key="frame" x="0.0" y="17" width="112" height="18"/> | 325 | <rect key="frame" x="0.0" y="17" width="112" height="18"/> |
326 | <constraints> | 326 | <constraints> |
327 | <constraint firstAttribute="height" constant="18" id="sNT-xl-BKH"/> | 327 | <constraint firstAttribute="height" constant="18" id="sNT-xl-BKH"/> |
328 | </constraints> | 328 | </constraints> |
329 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 329 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
330 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 330 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
331 | <nil key="highlightedColor"/> | 331 | <nil key="highlightedColor"/> |
332 | </label> | 332 | </label> |
333 | </subviews> | 333 | </subviews> |
334 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 334 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
335 | <constraints> | 335 | <constraints> |
336 | <constraint firstItem="XGt-pc-sd7" firstAttribute="leading" secondItem="BVs-KG-fDF" secondAttribute="leading" id="Bd8-ZX-shc"/> | 336 | <constraint firstItem="XGt-pc-sd7" firstAttribute="leading" secondItem="BVs-KG-fDF" secondAttribute="leading" id="Bd8-ZX-shc"/> |
337 | <constraint firstAttribute="trailing" secondItem="1tR-JC-pyw" secondAttribute="trailing" id="Mrw-gb-r3n"/> | 337 | <constraint firstAttribute="trailing" secondItem="1tR-JC-pyw" secondAttribute="trailing" id="Mrw-gb-r3n"/> |
338 | <constraint firstAttribute="trailing" secondItem="XGt-pc-sd7" secondAttribute="trailing" id="cTc-te-Pc1"/> | 338 | <constraint firstAttribute="trailing" secondItem="XGt-pc-sd7" secondAttribute="trailing" id="cTc-te-Pc1"/> |
339 | <constraint firstItem="XGt-pc-sd7" firstAttribute="top" secondItem="BVs-KG-fDF" secondAttribute="top" id="cs1-A7-e5C"/> | 339 | <constraint firstItem="XGt-pc-sd7" firstAttribute="top" secondItem="BVs-KG-fDF" secondAttribute="top" id="cs1-A7-e5C"/> |
340 | <constraint firstAttribute="bottom" secondItem="1tR-JC-pyw" secondAttribute="bottom" id="vsZ-FE-X5m"/> | 340 | <constraint firstAttribute="bottom" secondItem="1tR-JC-pyw" secondAttribute="bottom" id="vsZ-FE-X5m"/> |
341 | <constraint firstItem="1tR-JC-pyw" firstAttribute="leading" secondItem="BVs-KG-fDF" secondAttribute="leading" id="xOd-ZK-rZn"/> | 341 | <constraint firstItem="1tR-JC-pyw" firstAttribute="leading" secondItem="BVs-KG-fDF" secondAttribute="leading" id="xOd-ZK-rZn"/> |
342 | </constraints> | 342 | </constraints> |
343 | </view> | 343 | </view> |
344 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="j5h-QD-Igf"> | 344 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="j5h-QD-Igf"> |
345 | <rect key="frame" x="223.5" y="0.0" width="111.5" height="35"/> | 345 | <rect key="frame" x="223.5" y="0.0" width="111.5" height="35"/> |
346 | <subviews> | 346 | <subviews> |
347 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="時間" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OEO-l8-Ibg" customClass="AutoTransLabel"> | 347 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="時間" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OEO-l8-Ibg" customClass="AutoTransLabel"> |
348 | <rect key="frame" x="0.0" y="0.0" width="111.5" height="18"/> | 348 | <rect key="frame" x="0.0" y="0.0" width="111.5" height="18"/> |
349 | <constraints> | 349 | <constraints> |
350 | <constraint firstAttribute="height" constant="18" id="EVe-qW-qqp"/> | 350 | <constraint firstAttribute="height" constant="18" id="EVe-qW-qqp"/> |
351 | </constraints> | 351 | </constraints> |
352 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 352 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
353 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 353 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
354 | <nil key="highlightedColor"/> | 354 | <nil key="highlightedColor"/> |
355 | <userDefinedRuntimeAttributes> | 355 | <userDefinedRuntimeAttributes> |
356 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.time"/> | 356 | <userDefinedRuntimeAttribute type="string" keyPath="localizeKey" value="lifelog.history.title.time"/> |
357 | </userDefinedRuntimeAttributes> | 357 | </userDefinedRuntimeAttributes> |
358 | </label> | 358 | </label> |
359 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1:00 時間" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PfZ-7x-LAR"> | 359 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1:00 時間" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PfZ-7x-LAR"> |
360 | <rect key="frame" x="0.0" y="17" width="111.5" height="18"/> | 360 | <rect key="frame" x="0.0" y="17" width="111.5" height="18"/> |
361 | <constraints> | 361 | <constraints> |
362 | <constraint firstAttribute="height" constant="18" id="lno-Dx-ZNm"/> | 362 | <constraint firstAttribute="height" constant="18" id="lno-Dx-ZNm"/> |
363 | </constraints> | 363 | </constraints> |
364 | <fontDescription key="fontDescription" type="system" pointSize="12"/> | 364 | <fontDescription key="fontDescription" type="system" pointSize="12"/> |
365 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 365 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
366 | <nil key="highlightedColor"/> | 366 | <nil key="highlightedColor"/> |
367 | </label> | 367 | </label> |
368 | </subviews> | 368 | </subviews> |
369 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 369 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
370 | <constraints> | 370 | <constraints> |
371 | <constraint firstAttribute="trailing" secondItem="PfZ-7x-LAR" secondAttribute="trailing" id="3Ir-mZ-xmI"/> | 371 | <constraint firstAttribute="trailing" secondItem="PfZ-7x-LAR" secondAttribute="trailing" id="3Ir-mZ-xmI"/> |
372 | <constraint firstItem="OEO-l8-Ibg" firstAttribute="leading" secondItem="j5h-QD-Igf" secondAttribute="leading" id="5oW-CQ-vWi"/> | 372 | <constraint firstItem="OEO-l8-Ibg" firstAttribute="leading" secondItem="j5h-QD-Igf" secondAttribute="leading" id="5oW-CQ-vWi"/> |
373 | <constraint firstItem="PfZ-7x-LAR" firstAttribute="leading" secondItem="j5h-QD-Igf" secondAttribute="leading" id="Qur-SO-10d"/> | 373 | <constraint firstItem="PfZ-7x-LAR" firstAttribute="leading" secondItem="j5h-QD-Igf" secondAttribute="leading" id="Qur-SO-10d"/> |
374 | <constraint firstAttribute="trailing" secondItem="OEO-l8-Ibg" secondAttribute="trailing" id="WQn-Gv-plQ"/> | 374 | <constraint firstAttribute="trailing" secondItem="OEO-l8-Ibg" secondAttribute="trailing" id="WQn-Gv-plQ"/> |
375 | <constraint firstItem="OEO-l8-Ibg" firstAttribute="top" secondItem="j5h-QD-Igf" secondAttribute="top" id="lt7-Qt-rBM"/> | 375 | <constraint firstItem="OEO-l8-Ibg" firstAttribute="top" secondItem="j5h-QD-Igf" secondAttribute="top" id="lt7-Qt-rBM"/> |
376 | <constraint firstAttribute="bottom" secondItem="PfZ-7x-LAR" secondAttribute="bottom" id="qcA-M9-NYS"/> | 376 | <constraint firstAttribute="bottom" secondItem="PfZ-7x-LAR" secondAttribute="bottom" id="qcA-M9-NYS"/> |
377 | </constraints> | 377 | </constraints> |
378 | </view> | 378 | </view> |
379 | </subviews> | 379 | </subviews> |
380 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 380 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
381 | <constraints> | 381 | <constraints> |
382 | <constraint firstAttribute="bottom" secondItem="j5h-QD-Igf" secondAttribute="bottom" id="IsO-UX-w9t"/> | 382 | <constraint firstAttribute="bottom" secondItem="j5h-QD-Igf" secondAttribute="bottom" id="IsO-UX-w9t"/> |
383 | <constraint firstItem="j5h-QD-Igf" firstAttribute="top" secondItem="iEh-Ze-suq" secondAttribute="top" id="Msr-oS-nFH"/> | 383 | <constraint firstItem="j5h-QD-Igf" firstAttribute="top" secondItem="iEh-Ze-suq" secondAttribute="top" id="Msr-oS-nFH"/> |
384 | <constraint firstItem="BVs-KG-fDF" firstAttribute="top" secondItem="iEh-Ze-suq" secondAttribute="top" id="Ohk-mJ-oCK"/> | 384 | <constraint firstItem="BVs-KG-fDF" firstAttribute="top" secondItem="iEh-Ze-suq" secondAttribute="top" id="Ohk-mJ-oCK"/> |
385 | <constraint firstItem="UwA-5Q-gdv" firstAttribute="top" secondItem="iEh-Ze-suq" secondAttribute="top" id="Pue-sC-wfB"/> | 385 | <constraint firstItem="UwA-5Q-gdv" firstAttribute="top" secondItem="iEh-Ze-suq" secondAttribute="top" id="Pue-sC-wfB"/> |
386 | <constraint firstAttribute="height" constant="35" id="WDe-uC-4Qb"/> | 386 | <constraint firstAttribute="height" constant="35" id="WDe-uC-4Qb"/> |
387 | <constraint firstItem="BVs-KG-fDF" firstAttribute="leading" secondItem="UwA-5Q-gdv" secondAttribute="trailing" id="f8Q-F0-hjc"/> | 387 | <constraint firstItem="BVs-KG-fDF" firstAttribute="leading" secondItem="UwA-5Q-gdv" secondAttribute="trailing" id="f8Q-F0-hjc"/> |
388 | <constraint firstItem="BVs-KG-fDF" firstAttribute="width" secondItem="UwA-5Q-gdv" secondAttribute="width" id="fdz-YH-1kJ"/> | 388 | <constraint firstItem="BVs-KG-fDF" firstAttribute="width" secondItem="UwA-5Q-gdv" secondAttribute="width" id="fdz-YH-1kJ"/> |
389 | <constraint firstAttribute="bottom" secondItem="UwA-5Q-gdv" secondAttribute="bottom" id="gxD-wy-TgL"/> | 389 | <constraint firstAttribute="bottom" secondItem="UwA-5Q-gdv" secondAttribute="bottom" id="gxD-wy-TgL"/> |
390 | <constraint firstItem="j5h-QD-Igf" firstAttribute="width" secondItem="UwA-5Q-gdv" secondAttribute="width" id="i3o-n4-fZN"/> | 390 | <constraint firstItem="j5h-QD-Igf" firstAttribute="width" secondItem="UwA-5Q-gdv" secondAttribute="width" id="i3o-n4-fZN"/> |
391 | <constraint firstAttribute="trailing" secondItem="j5h-QD-Igf" secondAttribute="trailing" id="nT6-nS-H9z"/> | 391 | <constraint firstAttribute="trailing" secondItem="j5h-QD-Igf" secondAttribute="trailing" id="nT6-nS-H9z"/> |
392 | <constraint firstAttribute="bottom" secondItem="BVs-KG-fDF" secondAttribute="bottom" id="nqB-N3-F3F"/> | 392 | <constraint firstAttribute="bottom" secondItem="BVs-KG-fDF" secondAttribute="bottom" id="nqB-N3-F3F"/> |
393 | <constraint firstItem="UwA-5Q-gdv" firstAttribute="leading" secondItem="iEh-Ze-suq" secondAttribute="leading" id="oV9-IH-tYC"/> | 393 | <constraint firstItem="UwA-5Q-gdv" firstAttribute="leading" secondItem="iEh-Ze-suq" secondAttribute="leading" id="oV9-IH-tYC"/> |
394 | <constraint firstItem="j5h-QD-Igf" firstAttribute="leading" secondItem="BVs-KG-fDF" secondAttribute="trailing" id="zOb-WE-3CI"/> | 394 | <constraint firstItem="j5h-QD-Igf" firstAttribute="leading" secondItem="BVs-KG-fDF" secondAttribute="trailing" id="zOb-WE-3CI"/> |
395 | </constraints> | 395 | </constraints> |
396 | </view> | 396 | </view> |
397 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VqD-Y3-cYQ" customClass="BarChartView" customModule="Charts"> | 397 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VqD-Y3-cYQ" customClass="BarChartView" customModule="Charts"> |
398 | <rect key="frame" x="0.0" y="201" width="375" height="100"/> | 398 | <rect key="frame" x="0.0" y="201" width="375" height="100"/> |
399 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 399 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
400 | <constraints> | 400 | <constraints> |
401 | <constraint firstAttribute="height" constant="100" id="aQR-hf-MhR"/> | 401 | <constraint firstAttribute="height" constant="100" id="aQR-hf-MhR"/> |
402 | </constraints> | 402 | </constraints> |
403 | </view> | 403 | </view> |
404 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Iw2-nW-e7g" customClass="CollectionView"> | 404 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Iw2-nW-e7g" customClass="CollectionView"> |
405 | <rect key="frame" x="20" y="316" width="335" height="50"/> | 405 | <rect key="frame" x="20" y="316" width="335" height="50"/> |
406 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 406 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
407 | <constraints> | 407 | <constraints> |
408 | <constraint firstAttribute="height" constant="50" id="Yzh-hD-r0n"/> | 408 | <constraint firstAttribute="height" constant="50" id="Yzh-hD-r0n"/> |
409 | </constraints> | 409 | </constraints> |
410 | </view> | 410 | </view> |
411 | </subviews> | 411 | </subviews> |
412 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 412 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
413 | <constraints> | 413 | <constraints> |
414 | <constraint firstItem="VqD-Y3-cYQ" firstAttribute="top" secondItem="iEh-Ze-suq" secondAttribute="bottom" constant="8" id="0BA-6p-JLT"/> | 414 | <constraint firstItem="VqD-Y3-cYQ" firstAttribute="top" secondItem="iEh-Ze-suq" secondAttribute="bottom" constant="8" id="0BA-6p-JLT"/> |
415 | <constraint firstItem="Iw2-nW-e7g" firstAttribute="leading" secondItem="Cam-ML-IEO" secondAttribute="leading" constant="20" id="2lH-sF-Mp0"/> | 415 | <constraint firstItem="Iw2-nW-e7g" firstAttribute="leading" secondItem="Cam-ML-IEO" secondAttribute="leading" constant="20" id="2lH-sF-Mp0"/> |
416 | <constraint firstItem="iEh-Ze-suq" firstAttribute="top" secondItem="4ix-HE-d9T" secondAttribute="bottom" constant="8" id="9Sm-IQ-feL"/> | 416 | <constraint firstItem="iEh-Ze-suq" firstAttribute="top" secondItem="4ix-HE-d9T" secondAttribute="bottom" constant="8" id="9Sm-IQ-feL"/> |
417 | <constraint firstItem="VqD-Y3-cYQ" firstAttribute="leading" secondItem="Cam-ML-IEO" secondAttribute="leading" id="Gbd-bD-rFf"/> | 417 | <constraint firstItem="VqD-Y3-cYQ" firstAttribute="leading" secondItem="Cam-ML-IEO" secondAttribute="leading" id="Gbd-bD-rFf"/> |
418 | <constraint firstItem="4ix-HE-d9T" firstAttribute="top" secondItem="Cam-ML-IEO" secondAttribute="top" constant="30" id="JyQ-KD-MhR"/> | 418 | <constraint firstItem="4ix-HE-d9T" firstAttribute="top" secondItem="Cam-ML-IEO" secondAttribute="top" constant="30" id="JyQ-KD-MhR"/> |
419 | <constraint firstAttribute="trailing" secondItem="iEh-Ze-suq" secondAttribute="trailing" constant="20" id="RcZ-yN-56e"/> | 419 | <constraint firstAttribute="trailing" secondItem="iEh-Ze-suq" secondAttribute="trailing" constant="20" id="RcZ-yN-56e"/> |
420 | <constraint firstAttribute="trailing" secondItem="Iw2-nW-e7g" secondAttribute="trailing" constant="20" id="Xso-Or-Fgf"/> | 420 | <constraint firstAttribute="trailing" secondItem="Iw2-nW-e7g" secondAttribute="trailing" constant="20" id="Xso-Or-Fgf"/> |
421 | <constraint firstItem="Kzk-mN-AOf" firstAttribute="top" secondItem="Cam-ML-IEO" secondAttribute="top" constant="30" id="YzU-Mb-veC"/> | 421 | <constraint firstItem="Kzk-mN-AOf" firstAttribute="top" secondItem="Cam-ML-IEO" secondAttribute="top" constant="30" id="YzU-Mb-veC"/> |
422 | <constraint firstAttribute="trailing" secondItem="4ix-HE-d9T" secondAttribute="trailing" constant="8" id="del-xz-Tos"/> | 422 | <constraint firstAttribute="trailing" secondItem="4ix-HE-d9T" secondAttribute="trailing" constant="8" id="del-xz-Tos"/> |
423 | <constraint firstItem="4ix-HE-d9T" firstAttribute="height" secondItem="Kzk-mN-AOf" secondAttribute="height" id="duV-wT-9wp"/> | 423 | <constraint firstItem="4ix-HE-d9T" firstAttribute="height" secondItem="Kzk-mN-AOf" secondAttribute="height" id="duV-wT-9wp"/> |
424 | <constraint firstItem="Iw2-nW-e7g" firstAttribute="top" secondItem="VqD-Y3-cYQ" secondAttribute="bottom" constant="15" id="ekR-kS-L5v"/> | 424 | <constraint firstItem="Iw2-nW-e7g" firstAttribute="top" secondItem="VqD-Y3-cYQ" secondAttribute="bottom" constant="15" id="ekR-kS-L5v"/> |
425 | <constraint firstItem="Kzk-mN-AOf" firstAttribute="leading" secondItem="Cam-ML-IEO" secondAttribute="leading" constant="20" id="hFq-WM-gLq"/> | 425 | <constraint firstItem="Kzk-mN-AOf" firstAttribute="leading" secondItem="Cam-ML-IEO" secondAttribute="leading" constant="20" id="hFq-WM-gLq"/> |
426 | <constraint firstItem="4ix-HE-d9T" firstAttribute="leading" secondItem="Kzk-mN-AOf" secondAttribute="trailing" constant="8" id="hzO-hA-cNG"/> | 426 | <constraint firstItem="4ix-HE-d9T" firstAttribute="leading" secondItem="Kzk-mN-AOf" secondAttribute="trailing" constant="8" id="hzO-hA-cNG"/> |
427 | <constraint firstAttribute="trailing" secondItem="VqD-Y3-cYQ" secondAttribute="trailing" id="ptF-2O-CNR"/> | 427 | <constraint firstAttribute="trailing" secondItem="VqD-Y3-cYQ" secondAttribute="trailing" id="ptF-2O-CNR"/> |
428 | <constraint firstItem="iEh-Ze-suq" firstAttribute="leading" secondItem="Cam-ML-IEO" secondAttribute="leading" constant="20" id="u5o-P4-qkL"/> | 428 | <constraint firstItem="iEh-Ze-suq" firstAttribute="leading" secondItem="Cam-ML-IEO" secondAttribute="leading" constant="20" id="u5o-P4-qkL"/> |
429 | </constraints> | 429 | </constraints> |
430 | </view> | 430 | </view> |
431 | </subviews> | 431 | </subviews> |
432 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 432 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
433 | <constraints> | 433 | <constraints> |
434 | <constraint firstItem="Cam-ML-IEO" firstAttribute="centerY" secondItem="rey-N3-l8b" secondAttribute="centerY" id="0WD-1q-SWm"/> | 434 | <constraint firstItem="Cam-ML-IEO" firstAttribute="centerY" secondItem="rey-N3-l8b" secondAttribute="centerY" id="0WD-1q-SWm"/> |
435 | <constraint firstItem="Cam-ML-IEO" firstAttribute="width" secondItem="rey-N3-l8b" secondAttribute="width" id="LbF-3h-cxa"/> | 435 | <constraint firstItem="Cam-ML-IEO" firstAttribute="width" secondItem="rey-N3-l8b" secondAttribute="width" id="LbF-3h-cxa"/> |
436 | <constraint firstAttribute="trailing" secondItem="Cam-ML-IEO" secondAttribute="trailing" id="UHb-6d-wF8"/> | 436 | <constraint firstAttribute="trailing" secondItem="Cam-ML-IEO" secondAttribute="trailing" id="UHb-6d-wF8"/> |
437 | <constraint firstItem="Cam-ML-IEO" firstAttribute="leading" secondItem="rey-N3-l8b" secondAttribute="leading" id="Y4U-kD-V28"/> | 437 | <constraint firstItem="Cam-ML-IEO" firstAttribute="leading" secondItem="rey-N3-l8b" secondAttribute="leading" id="Y4U-kD-V28"/> |
438 | <constraint firstItem="Cam-ML-IEO" firstAttribute="top" secondItem="rey-N3-l8b" secondAttribute="top" id="ohS-iH-IIM"/> | 438 | <constraint firstItem="Cam-ML-IEO" firstAttribute="top" secondItem="rey-N3-l8b" secondAttribute="top" id="ohS-iH-IIM"/> |
439 | <constraint firstAttribute="bottom" secondItem="Cam-ML-IEO" secondAttribute="bottom" id="th8-dH-zv1"/> | 439 | <constraint firstAttribute="bottom" secondItem="Cam-ML-IEO" secondAttribute="bottom" id="th8-dH-zv1"/> |
440 | </constraints> | 440 | </constraints> |
441 | <connections> | 441 | <connections> |
442 | <outlet property="delegate" destination="-1" id="3Fl-Qy-gjm"/> | 442 | <outlet property="delegate" destination="-1" id="3Fl-Qy-gjm"/> |
443 | </connections> | 443 | </connections> |
444 | </scrollView> | 444 | </scrollView> |
445 | </subviews> | 445 | </subviews> |
446 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 446 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
447 | <constraints> | 447 | <constraints> |
448 | <constraint firstAttribute="trailing" secondItem="FXQ-4O-sRc" secondAttribute="trailing" constant="5" id="5y0-NC-rHp"/> | 448 | <constraint firstAttribute="trailing" secondItem="FXQ-4O-sRc" secondAttribute="trailing" constant="5" id="5y0-NC-rHp"/> |
449 | <constraint firstItem="FXQ-4O-sRc" firstAttribute="leading" secondItem="FLa-rV-Aas" secondAttribute="leading" constant="5" id="C0U-21-SKl"/> | 449 | <constraint firstItem="FXQ-4O-sRc" firstAttribute="leading" secondItem="FLa-rV-Aas" secondAttribute="leading" constant="5" id="C0U-21-SKl"/> |
450 | <constraint firstItem="FXQ-4O-sRc" firstAttribute="top" secondItem="FLa-rV-Aas" secondAttribute="top" id="CB0-VD-h5m"/> | 450 | <constraint firstItem="FXQ-4O-sRc" firstAttribute="top" secondItem="FLa-rV-Aas" secondAttribute="top" id="CB0-VD-h5m"/> |
451 | <constraint firstAttribute="bottom" secondItem="FXQ-4O-sRc" secondAttribute="bottom" id="FbP-FY-h1E"/> | 451 | <constraint firstAttribute="bottom" secondItem="FXQ-4O-sRc" secondAttribute="bottom" id="FbP-FY-h1E"/> |
452 | <constraint firstAttribute="trailing" secondItem="rey-N3-l8b" secondAttribute="trailing" id="KFD-f5-xci"/> | 452 | <constraint firstAttribute="trailing" secondItem="rey-N3-l8b" secondAttribute="trailing" id="KFD-f5-xci"/> |
453 | <constraint firstItem="rey-N3-l8b" firstAttribute="top" secondItem="FLa-rV-Aas" secondAttribute="top" id="SpB-31-H3a"/> | 453 | <constraint firstItem="rey-N3-l8b" firstAttribute="top" secondItem="FLa-rV-Aas" secondAttribute="top" id="SpB-31-H3a"/> |
454 | <constraint firstItem="rey-N3-l8b" firstAttribute="leading" secondItem="FLa-rV-Aas" secondAttribute="leading" id="YvS-I2-8Dg"/> | 454 | <constraint firstItem="rey-N3-l8b" firstAttribute="leading" secondItem="FLa-rV-Aas" secondAttribute="leading" id="YvS-I2-8Dg"/> |
455 | <constraint firstAttribute="bottom" secondItem="rey-N3-l8b" secondAttribute="bottom" id="enX-7g-Eib"/> | 455 | <constraint firstAttribute="bottom" secondItem="rey-N3-l8b" secondAttribute="bottom" id="enX-7g-Eib"/> |
456 | </constraints> | 456 | </constraints> |
457 | <connections> | 457 | <connections> |
458 | <outletCollection property="gestureRecognizers" destination="Qjg-St-rCc" appends="YES" id="egt-sX-aBC"/> | 458 | <outletCollection property="gestureRecognizers" destination="Qjg-St-rCc" appends="YES" id="egt-sX-aBC"/> |
459 | <outletCollection property="gestureRecognizers" destination="VSZ-i0-Jhb" appends="YES" id="UKr-c3-9pp"/> | 459 | <outletCollection property="gestureRecognizers" destination="VSZ-i0-Jhb" appends="YES" id="UKr-c3-9pp"/> |
460 | </connections> | 460 | </connections> |
461 | </view> | 461 | </view> |
462 | </subviews> | 462 | </subviews> |
463 | <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 463 | <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
464 | <gestureRecognizers/> | 464 | <gestureRecognizers/> |
465 | <constraints> | 465 | <constraints> |
466 | <constraint firstAttribute="trailing" secondItem="Cf1-lP-zbB" secondAttribute="trailing" constant="10" id="20C-UL-MCu"/> | 466 | <constraint firstAttribute="trailing" secondItem="Cf1-lP-zbB" secondAttribute="trailing" constant="10" id="20C-UL-MCu"/> |
467 | <constraint firstItem="clL-JG-rbd" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="3tf-ab-v41"/> | 467 | <constraint firstItem="clL-JG-rbd" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="3tf-ab-v41"/> |
468 | <constraint firstItem="Cf1-lP-zbB" firstAttribute="top" secondItem="clL-JG-rbd" secondAttribute="bottom" id="5vy-x5-G38"/> | 468 | <constraint firstItem="Cf1-lP-zbB" firstAttribute="top" secondItem="clL-JG-rbd" secondAttribute="bottom" id="5vy-x5-G38"/> |
469 | <constraint firstItem="Cf1-lP-zbB" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="10" id="974-wJ-aRb"/> | 469 | <constraint firstItem="Cf1-lP-zbB" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="10" id="974-wJ-aRb"/> |
470 | <constraint firstItem="yxY-4d-tB6" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="2" id="Jqg-nE-6dv"/> | 470 | <constraint firstItem="yxY-4d-tB6" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="2" id="Jqg-nE-6dv"/> |
471 | <constraint firstAttribute="trailing" secondItem="BVv-qD-EHM" secondAttribute="trailing" id="MCi-Tl-hSp"/> | 471 | <constraint firstAttribute="trailing" secondItem="BVv-qD-EHM" secondAttribute="trailing" id="MCi-Tl-hSp"/> |
472 | <constraint firstAttribute="trailing" secondItem="yxY-4d-tB6" secondAttribute="trailing" constant="2" id="Qs5-ky-nmB"/> | 472 | <constraint firstAttribute="trailing" secondItem="yxY-4d-tB6" secondAttribute="trailing" constant="2" id="Qs5-ky-nmB"/> |
473 | <constraint firstAttribute="bottom" secondItem="BVv-qD-EHM" secondAttribute="bottom" constant="50" id="SbT-PG-8MJ"/> | 473 | <constraint firstAttribute="bottom" secondItem="BVv-qD-EHM" secondAttribute="bottom" constant="50" id="SbT-PG-8MJ"/> |
474 | <constraint firstItem="BVv-qD-EHM" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="SqH-AA-Z2K"/> | 474 | <constraint firstItem="BVv-qD-EHM" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="SqH-AA-Z2K"/> |
475 | <constraint firstItem="FLa-rV-Aas" firstAttribute="top" secondItem="yxY-4d-tB6" secondAttribute="bottom" constant="15" id="cWw-RX-1Kp"/> | 475 | <constraint firstItem="FLa-rV-Aas" firstAttribute="top" secondItem="yxY-4d-tB6" secondAttribute="bottom" constant="15" id="cWw-RX-1Kp"/> |
476 | <constraint firstItem="yxY-4d-tB6" firstAttribute="top" secondItem="Cf1-lP-zbB" secondAttribute="bottom" constant="15" id="dSN-ey-gQ7"/> | 476 | <constraint firstItem="yxY-4d-tB6" firstAttribute="top" secondItem="Cf1-lP-zbB" secondAttribute="bottom" constant="15" id="dSN-ey-gQ7"/> |
477 | <constraint firstItem="clL-JG-rbd" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="i5Z-XR-Msb"/> | 477 | <constraint firstItem="clL-JG-rbd" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="i5Z-XR-Msb"/> |
478 | <constraint firstItem="FLa-rV-Aas" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="iiN-Zj-1uu"/> | 478 | <constraint firstItem="FLa-rV-Aas" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="iiN-Zj-1uu"/> |
479 | <constraint firstAttribute="trailing" secondItem="FLa-rV-Aas" secondAttribute="trailing" id="jme-cz-cFt"/> | 479 | <constraint firstAttribute="trailing" secondItem="FLa-rV-Aas" secondAttribute="trailing" id="jme-cz-cFt"/> |
480 | <constraint firstItem="BVv-qD-EHM" firstAttribute="top" secondItem="FLa-rV-Aas" secondAttribute="bottom" constant="5" id="qbT-yT-phN"/> | 480 | <constraint firstItem="BVv-qD-EHM" firstAttribute="top" secondItem="FLa-rV-Aas" secondAttribute="bottom" constant="5" id="qbT-yT-phN"/> |
481 | <constraint firstAttribute="trailing" secondItem="clL-JG-rbd" secondAttribute="trailing" id="ri5-LG-xJH"/> | 481 | <constraint firstAttribute="trailing" secondItem="clL-JG-rbd" secondAttribute="trailing" id="ri5-LG-xJH"/> |
482 | </constraints> | 482 | </constraints> |
483 | <point key="canvasLocation" x="26.5" y="52.5"/> | 483 | <point key="canvasLocation" x="26.5" y="52.5"/> |
484 | </view> | 484 | </view> |
485 | <swipeGestureRecognizer enabled="NO" cancelsTouchesInView="NO" direction="left" id="Qjg-St-rCc"> | 485 | <swipeGestureRecognizer cancelsTouchesInView="NO" direction="left" id="Qjg-St-rCc"> |
486 | <connections> | 486 | <connections> |
487 | <action selector="swipeAction:" destination="-1" id="2Vl-bM-Ta7"/> | 487 | <action selector="swipeAction:" destination="-1" id="2Vl-bM-Ta7"/> |
488 | </connections> | 488 | </connections> |
489 | </swipeGestureRecognizer> | 489 | </swipeGestureRecognizer> |
490 | <swipeGestureRecognizer cancelsTouchesInView="NO" direction="right" id="VSZ-i0-Jhb"> | 490 | <swipeGestureRecognizer cancelsTouchesInView="NO" direction="right" id="VSZ-i0-Jhb"> |
491 | <connections> | 491 | <connections> |
492 | <action selector="swipeAction:" destination="-1" id="hoY-6M-DoS"/> | 492 | <action selector="swipeAction:" destination="-1" id="hoY-6M-DoS"/> |
493 | </connections> | 493 | </connections> |
494 | </swipeGestureRecognizer> | 494 | </swipeGestureRecognizer> |
495 | </objects> | 495 | </objects> |
496 | <resources> | 496 | <resources> |
497 | <image name="arrow_back" width="22" height="22"/> | 497 | <image name="arrow_back" width="22" height="22"/> |
498 | <image name="arrow_next" width="22" height="22"/> | 498 | <image name="arrow_next" width="22" height="22"/> |
499 | <image name="icon_menu" width="30" height="30"/> | 499 | <image name="icon_menu" width="30" height="30"/> |
500 | <image name="today_back_button" width="73" height="37"/> | 500 | <image name="today_back_button" width="73" height="37"/> |
501 | </resources> | 501 | </resources> |
502 | </document> | 502 | </document> |
503 | 503 |