Second installer pane
Second installer pane
- Subject: Second installer pane
- From: Scott Grosch <email@hidden>
- Date: Sat, 11 May 2013 18:30:07 -0700
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