-2
如果不需要的垃圾收集:Objective-C的垃圾收集
- (void) awakeFromNib{
//Create the NSStatusBar and set its length
statusItem = [[[NSStatusBar systemStatusBar] statusItemWithLength:NSSquareStatusItemLength] retain];
...
我一定要释放?如果我这样做,那会是在一个finalize方法或dealloc方法?
如果需要垃圾回收,那么上面的保留呼叫是否会被自动忽略?