|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
A awful doubt crossed my tired mind: should I retain my delegates or not?
If I do, am I not creating "a clear and present danger" of retain cycles?
If I don't, should I use something along the line of [NSValue valueWithNonretainedObject]? Or simply assign the delegate to my ivar? Can I use NSIsFreedObject to check if the object is still around?
Am I hopelessly confused?!?
| References: | |
| >Delegate: to retain or not? (From: petite_abeille <email@hidden>) |
| Home | Archives | 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 © 2011 Apple Inc. All rights reserved.