Re: Creating a 2nd sheet from another sheets end handler.
Re: Creating a 2nd sheet from another sheets end handler.
- Subject: Re: Creating a 2nd sheet from another sheets end handler.
- From: Michael McCracken <email@hidden>
- Date: Tue, 26 Jul 2005 14:50:36 -0700
Scott, yes. that method will allow the didend method to exit, since it
just schedules the call, it doesn't wait for it.
However, I might suggest that you not use two sheets to do what you
want and instead just manipulate the views in the one sheet.
(Especially if your main sheet should come back after the
registration) - since the main sheet has to go away for the
registration one to come in, and that's kind of disconcerting if a
user had been doing work in the main sheet.
What I mean by manipulate is (for instance) just have everything in
your sheet in a big tabless tab view and switch over to the tab with
registration info instead of opening a new sheet.
-mike
On 7/26/05, Scott Andrew <email@hidden> wrote:
> I have a situation where my about box sheet has a registration
> button. Clicking this button closes the about sheet and shows the
> registration sheet (because you can't have sheet on sheet). My
> questions is in my sheetDidEnd handler should i be calling my
> registration sheet using:
>
> [self performSelector: @selector(showRegistrationPanel)
> withObject: nil
> afterDelay: 1
> inModes: [NSArray arrayWithObjects:
> NSDefaultRunLoopMode,
> NSModalPanelRunLoopMode, nil]];
>
> Does this allow the sheetDidEnd to exit?
>
> The reason for the sheet -> sheet is because my app is an iPhoto
> plugin and i want to keep these so they look like its part of my app.
> The modal panels floated above the UI and looked too disconnected.
>
> Thanks,
> Scott Andrew
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Michael McCracken
UCSD CSE PhD Candidate
research: http://www.cse.ucsd.edu/~mmccrack/
misc: http://michael-mccracken.net/blog/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden