NSPipe

The class NSPipe has two instances of NSFileHandle – one for input and the other for output.

  • - (NSFileHandle *) fileHandleForReading
    - (NSFileHandle *) fileHandleForWriting

Get Advanced Mac OS X Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.