• 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: Removed view still getting events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removed view still getting events


  • Subject: Re: Removed view still getting events
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 29 Sep 2006 10:51:28 -0700
  • Thread-topic: Removed view still getting events

On Thu, 28 Sep 2006 13:28:29 -0700, John Nairn <email@hidden> said:
>After I removed a view using
>
>[myView removeFromSuperview]
>
>my program crashed. By retaining the object before removing, I found
>it it was sill getting events

In my experience one should call setNeedsDisplay:NO on a view before
removing it from the superview. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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

  • Prev by Date: Re: NSimage leaking memory or probably just me
  • Next by Date: Re: Change selected Text using changeAttributes:
  • Previous by thread: Re: Removed view still getting events (Solved?)
  • Next by thread: Re: Removed view still getting events
  • Index(es):
    • Date
    • Thread