• 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
GC Drawer Madness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GC Drawer Madness


  • Subject: GC Drawer Madness
  • From: "Jeffrey J. Early" <email@hidden>
  • Date: Sat, 08 Dec 2007 15:35:16 -0800

I have what appears to be a garbage collection bug with drawers and I can't figure out a work around.

The basic problem is that a drawer won't resize with the parent window when garbage collection is enabled. This is easily produced with the DrawerMadness sample code. Run the code straight up, and the left drawer nicely resizes as you resize the parent window. Enable garbage collection, and suddenly the drawer on the left won't resize with the parent window. If you 'jiggle' the drawer after the parent window resized, it will snap to the appropriate position.

I have tried overriding drawerWillResizeContents:toSize, but despite the documentation's claim that it's called when the drawer or parent are resized, it only seems to be called when the drawer is resized, not the parent. So it does no good.

Maybe I'm missing something obvious here -- help is definitely appreciated.

thanks,
Jeffrey
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: GC Drawer Madness
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: Best way to bind an Inspector to iVars/Properties?
  • Next by Date: Release problem only on quit
  • Previous by thread: Re: Transformable Attributes
  • Next by thread: Re: GC Drawer Madness
  • Index(es):
    • Date
    • Thread