• 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: Removing subview crashes host application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Removing subview crashes host application
      • From: Ken Tozier <email@hidden>
References: 
 >Removing subview crashes host application (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Best format and method for very fast CGImage resizing
  • Next by Date: Re: Removing subview crashes host application
  • Previous by thread: Re: Removing subview crashes host application
  • Next by thread: Re: Removing subview crashes host application
  • Index(es):
    • Date
    • Thread