Re: Determining instance creator
Re: Determining instance creator
Subject : Re: Determining instance creator
From: Nick Kreeger <email@hidden >
Date: Fri, 29 Dec 2006 12:32:56 -0600
Delivered-to: email@hidden
Delivered-to: email@hidden
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=q0dr/vYV1hv70ybdphSMyFjhW4GWiGw+/sltsUQ9+w+ktgYDx0A8rQRtBsPBCwHafmfOgntUPWMz8WZr9D7iCaCN/aJpFxr2OGlIF7yLTWGmaWdesEMHy8D25UZyllqV2UiVYxGjO6WerdpalzOcxbjePuJ/U+MnBWjRt1jYcHQ=
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Michael Watson wrote:
Let's say I have an instance of AClass, and it creates an instance of
AnotherClass. During the initialization of AnotherClass, does
AnotherClass have a way to know what object initialized it?
Not with out setting a weak-ref back to the owner of the instance.
- kreeger
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
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.