5 // Created by Pieter de Bie on 22-09-08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
9 #import "PBViewController.h"
12 @implementation PBViewController
14 @synthesize repository, viewToolbar;
16 - (id)initWithRepository:(PBGitRepository *)theRepository superController:(PBGitWindowController *)controller
18 NSString *nibName = [[[self class] description] stringByReplacingOccurrencesOfString:@"Controller"
20 if(self = [self initWithNibName:nibName bundle:nil]) {
21 repository = theRepository;
22 superController = controller;
30 [self unbind:@"repository"];
31 [[self view] removeFromSuperview]; // remove the current view
38 // This is called when the view is displayed again; it
39 // should be updated to show the most recent information
44 - (NSResponder *)firstResponder;