Changeset 423
- Timestamp:
- 06/28/09 15:05:35 (4 years ago)
- Location:
- apps/iphone/my.tel/trunk/Classes
- Files:
-
- 2 modified
-
KeywordViewController.m (modified) (1 diff)
-
RecordViewController.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apps/iphone/my.tel/trunk/Classes/KeywordViewController.m
r313 r423 277 277 if (!parsedJson) { 278 278 // We're loading the data statically (not from the network) 279 self.validKeywordTypes = [NSMutableDictionary dictionaryWithContentsOfFile:[[ [NSBundle mainBundle] resourcePath]280 stringByAppendingPathComponent:@"KeywordTypes.plist"]];279 self.validKeywordTypes = [NSMutableDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] 280 pathForResource:@"KeywordTypes" ofType:@"plist"]]; 281 281 } else { 282 282 if ([[parsedJson valueForKey:@"success"] integerValue] == 1) { -
apps/iphone/my.tel/trunk/Classes/RecordViewController.m
r313 r423 445 445 // We're loading the data statically (not from the network) 446 446 skeysDict = [NSMutableDictionary dictionaryWithContentsOfFile: 447 [[[NSBundle mainBundle] resourcePath] 448 stringByAppendingPathComponent:@"ServiceTypes.plist"]]; 447 [[NSBundle mainBundle] pathForResource:@"ServiceTypes" ofType:@"plist"]]; 449 448 } else { 450 449 // load from a json response, and reduce some of the string sizes … … 475 474 // We're loading the data statically (not from the network) 476 475 liDict = [NSMutableDictionary dictionaryWithContentsOfFile: 477 [[[NSBundle mainBundle] resourcePath] 478 stringByAppendingPathComponent:@"LocationIndicators.plist"]]; 476 [[NSBundle mainBundle] pathForResource:@"LocationIndicators" ofType:@"plist"]]; 479 477 } else { 480 478 // load from a json response








