Re: [ANN] zipzap -- zip file I/O library

2012-10-27 Thread Gene Crucean
Very cool Glen. Thanks for sharing! On Saturday, October 27, 2012, Glen Low wrote: > Hi All > > Announcing my new zip file I/O library -- zipzap. zipzap is easy to use > (just 3 public classes!) and efficient, being highly optimized for low > memory overhead and reduced disk I/

[ANN] zipzap -- zip file I/O library

2012-10-27 Thread Glen Low
Hi All Announcing my new zip file I/O library -- zipzap. zipzap is easy to use (just 3 public classes!) and efficient, being highly optimized for low memory overhead and reduced disk I/O. I believe it makes the zip file format a no-brainer choice of container for Cocoa-based compound documents

Re: File I/O

2008-09-22 Thread Marcel Weiher
On Sep 19, 2008, at 14:15 , Jordon Hirshon wrote: How can I read a file a line at a time (i.e. getline)? I'm trying to do this in a Cocoa Framework. You could just use the POSIX fgets() call... Marcel ___ Cocoa-dev mailing list (Cocoa-dev@lis

Re: File I/O

2008-09-19 Thread Jason Coco
On Sep 19, 2008, at 17:20 , Nick Zitzmann wrote: On Sep 19, 2008, at 3:15 PM, Jordon Hirshon wrote: How can I read a file a line at a time (i.e. getline)? I'm trying to do this in a Cocoa Framework. Try using NSFileHandle to read a file until a line feed is encountered. There's no bu

Re: File I/O

2008-09-19 Thread Shawn Erickson
On Fri, Sep 19, 2008 at 2:15 PM, Jordon Hirshon <[EMAIL PROTECTED]> wrote: > How can I read a file a line at a time (i.e. getline)? I'm trying to do this > in a Cocoa Framework. "line" in what sense? is this a text(ish) file? Anyway look at -[NSString getLineStart:end:contentsEnd:forRange:] an

Re: File I/O

2008-09-19 Thread Nick Zitzmann
On Sep 19, 2008, at 3:15 PM, Jordon Hirshon wrote: How can I read a file a line at a time (i.e. getline)? I'm trying to do this in a Cocoa Framework. Try using NSFileHandle to read a file until a line feed is encountered. There's no built-in method of stopping at a character, but you

File I/O

2008-09-19 Thread Jordon Hirshon
How can I read a file a line at a time (i.e. getline)? I'm trying to do this in a Cocoa Framework. Thanks, Jordon ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co