Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Determining instance creator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining instance creator



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?

For clarity, I'm not asking about setting a delegate, just wondering if one object can determine its creator.


-- m-s _______________________________________________

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.