mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
2e4ea6edab
This makes the initial startup much faster. Commits get loaded in a separate thread, and are displayed every 1000 commits. There is a bug in here that makes fails a click while it is loading the commit list. Not sure how to fix this, perhaps send the arrayController?
25 lines
550 B
Objective-C
25 lines
550 B
Objective-C
//
|
|
// PBWebGitController.h
|
|
// GitTest
|
|
//
|
|
// Created by Pieter de Bie on 14-06-08.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "GitTest_AppDelegate.h"
|
|
#import "PBGitCommit.h"
|
|
#import <WebKit/WebKit.h>
|
|
|
|
@interface PBWebGitController : NSObject {
|
|
IBOutlet GitTest_AppDelegate* controller;
|
|
IBOutlet WebView* view;
|
|
IBOutlet NSArrayController* commitsController;
|
|
NSString* currentSha;
|
|
NSString* diff;
|
|
}
|
|
|
|
- (void) changeContentTo: (PBGitCommit *) content;
|
|
@property (readonly) NSString* diff;
|
|
@end
|