This may be an easy one. I\'m using GCDAsyncSocket to receive a variable amount of bytes representing discrete data chunks from a server which appear in a NSMutableData object.
I have a class for connecting with httprequests. I am getting a memory leak for \"NSMutableData\" altho I am releasing it in \"didFailWithError\" and in \"connectionDidFinishLoading\" of the connectio
I have a struct typedef struct { int8_t foo: 1; } Bar; I have tried to append the bytes to a NSMutableData object like so:
Is it a problem for me to do the following to change a mutable data instance immutable? NSMutableData *mutData = [[NS开发者_开发百科MutableData alloc] init];
When I init NSMutableData with 100 length,it append data failed. self.receiveData = [[NSMutableData alloc] initWithLength:100];
I want to write a class which return NSMutableData, i have this code but couldn\'t manage how it return self. any help would be great.
I´m getting an EXC_BAD_ACCESS when I trying to acces to the data, I suppose it is because I trying to acces to the internal data, but I don´t know How to solve this, the code:
During the creation of a NSMutableData i have a leak. I release webData2 in the connectionDidFinishLoading...
Ok, I\'m having trouble finding an answer to this that isn\'t just use JSON or ASIHTTPRequest.But my question is a little more specific, I think.I only program as a hobby, so I\'m no expert.With that
I have written an iOS app that calls NSUrlConnection multiple times to download image data from the web. Sometimes, one NSUrlConnection has not finished before the o开发者_如何学运维ther starts. I am