Notification when change of superview (addSubView:)
Notification when change of superview (addSubView:)
- Subject: Notification when change of superview (addSubView:)
- From: Paul Thomas <email@hidden>
- Date: Fri, 5 May 2006 17:42:42 +0100
Hi,
I have a custom view that needs to know when it has been added to a
view as a subview (via the parent's addSubView:). I can't find a
setSuperview: in NSView, so I assume it is modified directly. Am I
missing something?
The only work around I can think of is to add a category to NSView
and override addSubView: but I'm not entirely sure how to do that.
Cheers,
Paul.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden