Top "Nsstream" questions

NSStream is an abstract class for objects representing streams.

Objective-C: Reading a file line by line

What is the appropriate way of dealing with large text files in Objective-C? Let's say I need to read each …

objective-c file-io nsstring enumerate nsstream
Stream to Get Data - NSInputStream

All, I have a server that has a tcp socket stream for communication. I need to get to that stream …

iphone objective-c xcode nsstream
NSStream and Sockets, NSStreamDelegate methods not being called

I've followed the guide Setting Up Socket Streams and have effectively duplicated that code in my class. No matter what …

objective-c nsstream
Receiving Data from NSInputStream in Swift

I try to send and receive data with NSOutputStream and NSInputStream in Swift. The sending of data is working well, …

swift inputstream nsstream
How to test if my remote socket NSStream are correctly open

TL;DR : What's the way to check if my remote stream are opened correctly after a call to NSStream.getStreamsToHostWithName(...)? …

sockets swift ios8 nsstream
SWIFT ONLY -- Reading from NSInputStream

Could you please explain me how do I read properly from an NSInputStream? I couldn't understand what is UnsafePointer and …

swift nsstream nsinputstream
NSStream TCP Keep-alive iOS

I have written this code to setup a stream with a server: -(void)streamOpenWithIp:(NSString *)ip withPortNumber:(int)portNumber; { …

ios objective-c tcp keep-alive nsstream