Releasing by reference
Releasing by reference
- Subject: Releasing by reference
- From: email@hidden
- Date: Wed, 1 Aug 2007 14:02:43 +0200
Hello!
I'm initializing an object in class A, passing it to class B where it is
held in a static variable. I then release the object by referencing the
variable. Does this also release the original object, or do I have to
release it in class A?
Thanks.
_______________________________________________
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:
This email sent to email@hidden