Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Consider <NSFastEnumeration> conformance #4

Open
davedelong opened this Issue · 1 comment

2 participants

@davedelong

It'd be an interesting thing to make FileReader conform to <NSFastEnumeration>, so you could do:

FileReader *r = [[FileReader alloc] initWithFilePath:pathToFile];
for (NSString *line in r) {
  NSLog(@"line: %@", line);
}
[r release];
@johnjohndoe
Owner

I like the idea. Though, I am not sure when I can implement it since I do not have a Mac at home - only at work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.