| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
In using NSOpenPanel, do we need to call alloc and dealloc?
NSOpenPanel *panel = [[NSOpenPanel alloc] init]
panel = [NSOpenPanel openPanel];
[NSOpenPanel dealloc]
NSOpenPanel *panel = [NSOpenPanel openPanel];
Thank you very much ( as my concept on cocoa memory management is not so good
| References: | |
| >about memory (From: "Chong Hiu Pun" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.