@@ -59,7 +59,7 @@ -(void)setDelegate:(id)aDelegate
5959 if ( delegate != aDelegate ) {
6060 delegate = aDelegate;
6161 if ( self.financialData .count > 0 ) {
62- [self notifyPulledData ]; // loads cached data onto UI
62+ [self notifyPulledData ]; // loads cached data onto UI
6363 }
6464 }
6565}
@@ -121,13 +121,13 @@ -(NSString *)faultTolerantPathForSymbol:(NSString *)aSymbol
121121 NSString *docPath = [self pathForSymbol: aSymbol];
122122
123123 if ( ![[NSFileManager defaultManager ] fileExistsAtPath: docPath] ) {
124- // if there isn't one in the user's documents directory, see if we ship with this data
124+ // if there isn't one in the user's documents directory, see if we ship with this data
125125 docPath = [[[NSBundle mainBundle ] resourcePath ] stringByAppendingPathComponent: [NSString stringWithFormat: @" %@ .plist" , aSymbol]];
126126 }
127127 return docPath;
128128}
129129
130- // Always returns *something*
130+ // Always returns *something*
131131-(CPTDictionary)dictionaryForSymbol : (NSString *)aSymbol
132132{
133133 NSString *path = [self faultTolerantPathForSymbol: aSymbol];
@@ -158,7 +158,7 @@ -(instancetype)initWithTargetSymbol:(NSString *)aSymbol targetStartDate:(NSDate
158158
159159-(instancetype )init
160160{
161- NSTimeInterval secondsAgo = -timeIntervalForNumberOfWeeks (14.0 ); // 12 weeks ago
161+ NSTimeInterval secondsAgo = -timeIntervalForNumberOfWeeks (14.0 ); // 12 weeks ago
162162 NSDate *start = [NSDate dateWithTimeIntervalSinceNow: secondsAgo];
163163
164164 NSDate *end = [NSDate date ];
@@ -239,7 +239,7 @@ -(void)fetch
239239 self.receivedData = [NSMutableData data ];
240240 }
241241 else {
242- // TODO: Inform the user that the download could not be started
242+ // TODO: Inform the user that the download could not be started
243243 self.loadingData = NO ;
244244 }
245245 }
@@ -277,7 +277,7 @@ -(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)erro
277277 self.receivedData = nil ;
278278 self.connection = nil ;
279279 NSLog (@" err = %@ " , [error localizedDescription ]);
280- // TODO:report err
280+ // TODO:report err
281281}
282282
283283-(void )connectionDidFinishLoading : (NSURLConnection *)connection
@@ -291,7 +291,7 @@ -(void)connectionDidFinishLoading:(NSURLConnection *)connection
291291 self.receivedData = nil ;
292292 [self parseCSVAndPopulate ];
293293
294- // see if we need to write to file
294+ // see if we need to write to file
295295 CPTDictionary dictionaryForSymbol = [self dictionaryForSymbol: self .symbol];
296296
297297 BOOL sameSymbol = NO ;
0 commit comments