• 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
Re: Redrawing a superview from another view's -drawRect: method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redrawing a superview from another view's -drawRect: method


  • Subject: Re: Redrawing a superview from another view's -drawRect: method
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 2 May 2005 08:10:23 -0600


On May 2, 2005, at 7:55 AM, Ricky Sharp wrote:

In your case, it sounds like the other view is a sibling view? If that's the case, why not do the right thing in your controller layer?

It's not that easy. The sibling view creates an NSImageView with an image, removes a previous NSImageView if one exists, and adds the new view as a subview to one of the sibling view's superviews, all during draw time. The redraw problem occurs after removing the NSImageView and adding a new one; the NSImageView's superview must be redrawn in order to clean up after the removed NSImageView. In Panther this worked fine; in Tiger I can't get the superview to redraw when necessary without making it redraw constantly. That's why I'm wondering if there's a way to get the Panther view redrawing back...


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ 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: Redrawing a superview from another view's -drawRect: method
      • From: j o a r <email@hidden>
    • Re: Redrawing a superview from another view's -drawRect: method
      • From: Ricky Sharp <email@hidden>
References: 
 >Redrawing a superview from another view's -drawRect: method (From: Nick Zitzmann <email@hidden>)
 >Re: Redrawing a superview from another view's -drawRect: method (From: Ricky Sharp <email@hidden>)

  • Prev by Date: 10.3.9 build errors "Carbon headers missing" ??
  • Next by Date: Re: Selector not working for me
  • Previous by thread: Re: Redrawing a superview from another view's -drawRect: method
  • Next by thread: Re: Redrawing a superview from another view's -drawRect: method
  • Index(es):
    • Date
    • Thread