• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Notification when change of superview (addSubView:)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Notification when change of superview (addSubView:)
      • From: Andy Lee <email@hidden>
    • Re: Notification when change of superview (addSubView:)
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: Key-Value Coding Limitations
  • Next by Date: Re: Notification when change of superview (addSubView:)
  • Previous by thread: Re: Launching a cocoa app from a print daemon
  • Next by thread: Re: Notification when change of superview (addSubView:)
  • Index(es):
    • Date
    • Thread