| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I was wondering how this works and what happens if the retain count reaches 0 but the object wasn't part of a autorelease pool ? *Example:* NS* String Line = [NSString alloc] init]; .. random code .. [Line release]; Now, what happens if the retain count is 1 and if its 0 for NSString Line ? ? How should I use an autorelease pool to actually deallocate the memory used by Line ? _______________________________________________ Cocoa-dev mailing list (email@hidden) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden This email sent to 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.