Re: Thoughts on a line-at-a-time data-reading class

2016-03-10 Thread Jens Alfke
> On Mar 9, 2016, at 11:53 PM, Daryle Walker wrote: > > In my head, I came up with (in Swift): This is exactly the kind of thing that frustrates me about the Cocoa APIs: they’re so very bad at streams and producer/consumer patterns. This kind of problem really calls out for a proper stream A

Thoughts on a line-at-a-time data-reading class

2016-03-09 Thread Daryle Walker
I'm thinking of creating a Document-based app for my pet project. And I'm thinking about how to read the data in. I could load all the data, change it to a string, then process it; but I want to process the data in layers and do some work before string conversion. Specifically, I want to handl