| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
#define SAFE_SET(old, new) [new retain]; [old release]; old = new;
...
- (void) foo : (NSString*)path {
SAFE_SET(m_Path, [path lastPathComponent]);
}
| References: | |
| >[OT] Retain count riddle (From: "Sailesh Agrawal" <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.