Re: Removing subview crashes host application
Re: Removing subview crashes host application
- Subject: Re: Removing subview crashes host application
- From: Jerry Krinock <email@hidden>
- Date: Sun, 22 Apr 2007 15:21:51 -0700
On 2007 Apr, 21, at 12:16, Ken Tozier wrote:
[sub removeFromSuperview];
Try -removeFromSuperviewWithoutNeedingDisplay instead. The
documentation says that this one can be safely used "during display"
while the one you're using cannot, because the it "does not
invalidate its cursor rectangles".
I have no idea what they mean by that, but in my experience both
methods do exactly the same thing, except that the one you're using
usually causes a crash.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden