Download “Stream Programming Guide for Cocoa” in pdf format or read it online.
A stream is a fundamental abstraction in programming: a sequence of bits transmitted serially from one point to another point. Cocoa provides three classes to represent streams and facilitate their use in your programs: NSStream, NSInputStream, and NSOutputStream. With the instances of these classes you can read data from, and write data to, files and application memory.
You can also use these objects in socket-based connections to exchange data with remote hosts. You can also subclass the stream classes to obtain specialized stream behavior.
Table of Contents
- Introduction to Stream Programming Guide for Cocoa
- Cocoa Streams
- Reading From Input Streams
- Writing To Output Streams
- Polling Versus Run-Loop Scheduling
- Handling Stream Errors
- Setting Up Socket Streams
Download Free PDF / Read Online
File size: –
Number of pages: –
Link: Read online