• 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
How can a view know when its superview changes sizes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can a view know when its superview changes sizes?


  • Subject: How can a view know when its superview changes sizes?
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 26 Apr 2005 14:25:08 -0400
  • Organization: Rogue Research

Hi,

I have a custom NSView that needs to change its size when its superview
changes sizes.  Alas, I can't use the autoresizing springs in this
situation, because the size change needed is complicated.

How can a view know when its superview changes sizes?

I've found resizeWithOldSuperviewSize: and implemented it with an NSLog,
but it seems to never be called.

It seems like this should be simple...

Thanks!

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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: How can a view know when its superview changes sizes?
      • From: Shawn Erickson <email@hidden>
    • Re: How can a view know when its superview changes sizes?
      • From: John Brownlow <email@hidden>
  • Prev by Date: Subclassing Catch-22
  • Next by Date: Re: NSFileModificationDate after 2039
  • Previous by thread: Re: Subclassing Catch-22
  • Next by thread: Re: How can a view know when its superview changes sizes?
  • Index(es):
    • Date
    • Thread