• 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: Question about poseAsClass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about poseAsClass


  • Subject: Re: Question about poseAsClass
  • From: Tom Sutcliffe <email@hidden>
  • Date: Tue, 12 Aug 2003 19:28:25 +0100

On Tuesday, August 12, 2003, at 02:14 am, Creed Erickson wrote:

I don't know the answers you're seeking, but it occurs to me that you've invented a difficult workaround to what looks like a non-problem.

In your window delegate, -windowWillClose:aNotification can simply iterate through all child windows and unconditionally send them -close. This should close any drawers. e.g.:

If I have grossly over-simplified the problem, please let me know.

You're quite right this is a much simpler way of doing things. I had read about posing and was itching to try it out I guess. Well if I ever have any larger nuts which actually require a sledgehammer to crack them, I know how to do it now :)

Thanks also to b.bum for pointing out that +load actually occurs before main(). I hadn't realized that.

Cheers,

Tom
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Question about poseAsClass (From: Creed Erickson <email@hidden>)

  • Prev by Date: Re: Upside Down
  • Next by Date: Multiprocessor Support
  • Previous by thread: Re: Question about poseAsClass
  • Next by thread: Re: Question about poseAsClass
  • Index(es):
    • Date
    • Thread