This question already has answers here: Closed 11 years ago. Possible Duplicate: Unrecognized selector sent to instance
I want to be able to log messages (and preferably break to the debugger) each time a specific CFType object (for my current purposes, a CGPDFDocument) is allocated, retained, released or deallocated.
I am getting the following memory leak when using NSURL. I use this method in quite a few different places and receive memory leaks all the time using the Leaks instruments.
How can I compare two CFUUIDRefs from the CoreFoundation Carbon framework in Mac OS X? Is there an easier way to check if two CFUUIDs are equal other than converting them to string开发者_C百科s and th
I am trying to implement categories for NSMutableDictionary class with at least two methods: one for NSDictionary that retains (not copies) its keys, and one for NSDictionary that weak references its
Hey, I am making a imageloading system with my tablecells and I need each cell to share the same instance of my imageloader class. Sorry if this is a nooby question, but is it possible to a开发者_开发
on MacOSX, wit开发者_如何学Goh Core Foundation, I want to upload a large file (several hundreds of megabytes) to a remote server through a REST API.
I want to prepare a binary mess开发者_开发技巧age in memory before sending it over the network.
I am finding the doc for CFStreamCreatePairWithSocketToCFHost confusing: Specifically, its not clear to me how the function can set the readStream pointer to null on error.
Hey, I got couple of questions regarding NSString. How does these two statements differ? NSString *str = @\"asdasd\";开发者_运维技巧