| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Ughh this retain stuff can still be confusing. The meaning of his comment finally struck me stupid:
// nibInstantiateWithOwner retains each top level object
[topLevelObjects makeObjectsPerformSelector:@selector (release)];
Which means that we wasn't intending the objects to be left owned by the array, but to be not doubly retained by being in the array.
Cheers, ~Martin _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >of nibs and top level objects (From: Paul Forgey <email@hidden>) | |
| >Re: of nibs and top level objects (From: j o a r <email@hidden>) | |
| >Re: of nibs and top level objects (From: Paul Forgey <email@hidden>) | |
| >Re: of nibs and top level objects (From: Paul Forgey <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.