Hello I turned on garbage collection (objective-c 2.0) and the image for the status item disappeared when I restarted my application. I am manually memory managing the image and status item. This application works normal when garbage collection is off. Is there a way to make the garbage collection not collect specific variables or should I turn it off completely?
I tried garbage collection and found that my application uses about 2 mb of memory compared to 100mb, so that is why I considered using it.