File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
KVC Validation Pattern.xcodeproj Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 264
264
GCC_PRECOMPILE_PREFIX_HEADER = YES;
265
265
GCC_PREFIX_HEADER = "KVC Validation Pattern/KVC Validation Pattern-Prefix.pch";
266
266
INFOPLIST_FILE = "KVC Validation Pattern/KVC Validation Pattern-Info.plist";
267
+ IPHONEOS_DEPLOYMENT_TARGET = 6.0;
267
268
PRODUCT_NAME = "$(TARGET_NAME)";
268
269
WRAPPER_EXTENSION = app;
269
270
};
275
276
GCC_PRECOMPILE_PREFIX_HEADER = YES;
276
277
GCC_PREFIX_HEADER = "KVC Validation Pattern/KVC Validation Pattern-Prefix.pch";
277
278
INFOPLIST_FILE = "KVC Validation Pattern/KVC Validation Pattern-Info.plist";
279
+ IPHONEOS_DEPLOYMENT_TARGET = 6.0;
278
280
PRODUCT_NAME = "$(TARGET_NAME)";
279
281
WRAPPER_EXTENSION = app;
280
282
};
Original file line number Diff line number Diff line change @@ -74,6 +74,16 @@ - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInte
74
74
return nil ;
75
75
}
76
76
77
+ - (NSString *)tableView : (UITableView *)tableView titleForFooterInSection : (NSInteger )section {
78
+ if (section == CTVViewControllerSectionHistoricalPrices &&
79
+ [self tableView: tableView numberOfRowsInSection: section] == 0 ) {
80
+
81
+ return NSLocalizedString(@" No historical information is available." , nil );
82
+ }
83
+
84
+ return nil ;
85
+ }
86
+
77
87
- (UITableViewCell *)tableView : (UITableView *)tableView cellForRowAtIndexPath : (NSIndexPath *)indexPath {
78
88
static NSString *cellId = @" value1Cell" ;
79
89
@@ -195,7 +205,7 @@ - (NSString*)jsonStringForResponse:(NSUInteger)responseIndex {
195
205
196
206
197
207
case 3 :
198
- /* Response D: historicalPrices is a dictionary instead of an array
208
+ /* Response D: historicalPrices is a single object instead of an array
199
209
200
210
{
201
211
"description":"7/11 Fake St.",
You can’t perform that action at this time.
0 commit comments