boyfarrell.com

boyfarrell.com Archives: November 2007

·

7 November 2007

Garbage collected buffers

Since the original post I realised there is a problem with the approach (thanks to Rick Hog). The garbage collector only collects objects! As such you must not dereference the pointer to the NSMutableData, you must assign it, and, on another line, make the method call to mutableBytes.
Now that Cocoa as garbage collection there if [...]

continue reading... » 0 Comments

·