Re: Question about plugins and shouldExitPane
Re: Question about plugins and shouldExitPane
- Subject: Re: Question about plugins and shouldExitPane
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 28 Mar 2008 02:00:10 +0100
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