Files
gitx/PBViewController.m
T
Nathan Kinsinger 98920bf0b1 Merge remote branch 'refs/remotes/dgrijalva/stable' into experimental
Conflicts:
	ApplicationController.m
	GitX.xcodeproj/project.pbxproj
	PBGitCommitView.xib
	PBGitHistoryView.xib
	PBGitRevisionCell.m
	PBGitTree.m
	PBGitWindowController.m
	PBViewController.m
	html/views/history/history.js
	html/views/history/index.html
2010-05-29 21:04:21 -06:00

59 lines
1021 B
Objective-C

//
// PBViewController.m
// GitX
//
// Created by Pieter de Bie on 22-09-08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import "PBViewController.h"
@implementation PBViewController
@synthesize repository;
@synthesize status;
@synthesize isBusy;
- (id)initWithRepository:(PBGitRepository *)theRepository superController:(PBGitWindowController *)controller
{
NSString *nibName = [[[self class] description] stringByReplacingOccurrencesOfString:@"Controller"
withString:@"View"];
if(self = [self initWithNibName:nibName bundle:nil]) {
repository = theRepository;
superController = controller;
}
return self;
}
- (void) removeView
{
[self unbind:@"repository"];
[[self view] removeFromSuperview]; // remove the current view
}
- (void) awakeFromNib
{
}
- (NSResponder *)firstResponder;
{
return nil;
}
- (IBAction) refresh: sender
{
}
// The next methods should be implemented in the subclass if necessary
- (void)updateView
{
}
- (void)viewLoaded
{
}
@end