• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Second installer pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Second installer pane
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: Push a second pane?
  • Next by Date: Re: Second installer pane
  • Previous by thread: Re: Push a second pane?
  • Next by thread: Re: Second installer pane
  • Index(es):
    • Date
    • Thread