Re: Question about plugins and shouldExitPane
Re: Question about plugins and shouldExitPane
- Subject: Re: Question about plugins and shouldExitPane
- From: Dan Spirlock <email@hidden>
- Date: Fri, 28 Mar 2008 10:01:52 -0700
Stéphane,
Thank you for the reply. You are correct. The plugin demo project
catches the back button in the shouldExitPane method, but my modified
project does not. I'll have to take a closer look and see, as you
said, if there are any missing connections. In any case, the
documentation for the direction parameter in InstallerPane.h file are
incorrect for shouldExitPane.
Thanks again for your reply.
-Dan
On Mar 27, 2008, at 6:00 PM, Stéphane Sudre wrote:
On Mar 27, 2008, at 11:23 PM, Dan Spirlock wrote:
Hi All,
I have been playing with the installer plugin sample project and
have gotten things mostly working. One thing I did notice is that
if I override shouldExitPane, it only gets called if the user
clicks the "Continue" button. It doesn't get called if the user
clicks the "Go back" button. What method needs to be overridden
to catch this? I tried willExitPane and checking like this:
- (void) willExitPane:(InstasllerSectionDirection)dir
{
if(dir == InstallerDirectionBackward)
{
// Do some stuff
}
}
but it doesn't enter this function. The header file documentation
for shouldExitPane says the "dir" parameter is the direction in
which the pane was entered, which seems strange because for all of
the other ExitPane methods the "dir" parameter is the direction
you are exiting the pane.
If anyone has any info on this, it would be appreciated.
It works fine on my Mac OS X 10.4 system:
- (void) willExitPane:(InstallerSectionDirection) inDirection
{
NSLog(@"%d",inDirection);
}
Could it be a missing connection or an incorrect class name set in
the nib file?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden