Instance Property


The receiver's write file handle.


@property(readonly, retain) NSFileHandle *fileHandleForWriting;


This object is automatically deallocated when the receiver is deallocated.

You use the returned file handle to write to the pipe using NSFileHandle's writeData: method. When you are finished writing data to this object, send it a closeFile message to delete the descriptor. Deleting the descriptor causes the reading process to receive an end-of-data signal (an empty NSData object).

See Also

Getting the File Handles for a Pipe


The receiver's read file handle.