nsinputstream Questions
2
Solved
Update:
When using NSXMLParser class method initWithContentsOfURL, rather than parsing as the XML feed is downloaded, it appears to try to load the entire XML file into memory, and only then initi...
Frons asked 6/12, 2012 at 9:2
3
Solved
My app uses NSInputStream like below:
inputStream.delegate = self;
[inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
[readStream open];
and delegate:
- (...
Myall asked 7/11, 2015 at 21:12
2
I have NSInputStream and NSOutputStream from this code
var readStream: Unmanaged<CFReadStream>?
var writeStream: Unmanaged<CFWriteStream>?
CFStreamCreatePairWithSocket(kCFAllocato...
Henrique asked 28/12, 2016 at 7:6
1
I would like to add three "parts" to an NSInputStream: an NSString, an output from another stream and then another NSString. The idea is the following:
The first and last NSStrings represent the b...
Gypsy asked 5/3, 2013 at 23:28
1
I can't seem to figure out what I am doing wrong to produce the following error:
2015-02-02 12:48:17.029 InputStreams[14816:221224] -[InputStreams.CustomStream initWithData:]: unrecognized selecto...
Palomino asked 2/2, 2015 at 20:57
1
I have to implement a file upload for my app. Files like Assets (which can be Photo or Video) should be uploaded to a web sever using a REST interface.
The upload would use a form data request wit...
Girondist asked 17/10, 2013 at 11:36
1
Solved
I'm trying to convert an example from Bob McCune's Learning AVFoundation book and having some issues using AVAssetReader and NSInputStream. The graph should be a pure sine wave but the values seem ...
Jordaens asked 21/8, 2015 at 20:43
1
Solved
Could you please explain me how do I read properly from an NSInputStream?
I couldn't understand what is UnsafePointer and what's the use of it (also for UnsafeArray).
The NSInputStream read...
Arnettearney asked 19/7, 2014 at 12:16
1
Solved
I use an NSInputStream to read data from a file. It will crash if maxLength is greater than 49152.
When it crashes -- sometimes, but not every time, it gives this message:
*** Terminating app ...
Outbreak asked 22/2, 2014 at 15:47
1
Solved
In my app that works on iOS 5 and 6 I have an if statement:
NSInputStream *inputStream = [NSInputStream inputStreamWithFileAtPath:sourcePath];
if ([inputStream streamStatus] == NSStreamEventErrorO...
Lexicostatistics asked 5/8, 2013 at 11:2
2
Solved
(UPDATED) this is the problem in a nutshell: in iOS I want to read a large file, do some processing on it (in this particular case encode as Base64 string() and save to a temp file on the device. I...
Mallorca asked 11/3, 2013 at 17:6
2
Solved
The basic problem I'm working on is using the NSStream classes to parse incoming incremental XML data. The data is never a complete XML Document, but I want to receive and process it in incremental...
Sarcasm asked 27/5, 2012 at 22:1
1
© 2022 - 2024 — McMap. All rights reserved.