• 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
Re: Push a second pane?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Push a second pane?


  • Subject: Re: Push a second pane?
  • From: Scott Grosch <email@hidden>
  • Date: Thu, 09 May 2013 00:17:51 -0700


On May 8, 2013, at 8:14 PM, Vachik Hovhannisyan <email@hidden> wrote:

I had similar situation some time ago, and I solved this by having single pane with tabless Tab View. Whenever I needed new view to be shown in the pane I switched the Tab View's current tab index inside the  - (BOOL)shouldExitPane:(InstallerSectionDirection)dir handler when needed and returned NO to the caller. 


I think I almost have this working, but my newness to cocoa is biting me.  In my primary pane I did this:

- (InstallerPane *)nextPane {
    if (displayDatabaseNukePane) {
        self.nukeDatabasePane = [[NukeDatabase alloc] initWithSection:self];
        return self.nukeDatabasePane;
    } else
        return [super nextPane];
}

and then in the NukeDatabase installer pane I did this:

- (id)initWithSection:(id)parent {
    if ((self = [super initWithSection:parent])) {
        [NSBundle loadNibNamed:@"NukeDatabase" owner:self.section];
    }

    return self;
}

The pane seems to appear on the screen when I hit next, but it's just all white.  The view I've setup in the XIB doesn't actually appear.  I'm an iOS guy, so I'm not entirely sure if I'm loading and attaching the view correctly here (clearly not…)

 _______________________________________________
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: Push a second pane?
      • From: Vachik Hovhannisyan <email@hidden>
References: 
 >Push a second pane? (From: Scott Grosch <email@hidden>)
 >Re: Push a second pane? (From: Vachik Hovhannisyan <email@hidden>)

  • Prev by Date: Re: Push a second pane?
  • Next by Date: Re: Push a second pane?
  • Previous by thread: Re: Push a second pane?
  • Next by thread: Re: Push a second pane?
  • Index(es):
    • Date
    • Thread