Re: Removed view still getting events
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