Re: Second installer pane
Re: Second installer pane
- Subject: Re: Second installer pane
- From: Stephane Sudre <email@hidden>
- Date: Sun, 12 May 2013 08:32:03 +0200
What does the crash log say?
On Sun, May 12, 2013 at 3:30 AM, Scott Grosch <email@hidden> wrote:
> I feel like I'm very close. I have it working now so that when I hit next
> my custom pane shows up when I want it to. Unfortunately, as soon as I hit
> next or go back I get a crash. Here's how I'm loading the pane:
>
> - (InstallerPane *)nextPane {
> if (self.nukeDatabasePane)
> return self.nukeDatabasePane;
> else if (!displayDatabaseNukePane)
> return [super nextPane];
>
> NSArray *toplevel;
> [[NSBundle bundleForClass:[self class]] loadNibNamed:@"NukeDatabase"
> owner:self topLevelObjects:&toplevel];
>
> for (id obj in toplevel) {
> if ([obj isKindOfClass:[NukeDatabase class]]) {
> self.nukeDatabasePane = obj;
> break;
> }
> }
>
> return self.nukeDatabasePane;
> }
>
> I think the issue is that the pane returned doesn't properly have the parent
> set, right? Wouldn't the pane loaded need to have the parent set to the
> current pane's installer section?
_______________________________________________
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