Re: Question about poseAsClass
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.