mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
When an item created with +tabViewItemWithViewController:, the view is loaded asynchronously Manual test CPTabViewNib have been modified to show a tab view item managed by a view controller. Any setup happens in -viewDidAppear: because we cannot use any more the tabView:didSelectTabViewItem: delegate method.
36 lines
1.0 KiB
Objective-C
36 lines
1.0 KiB
Objective-C
//
|
|
// AppDelegate.h
|
|
// XcodeCapp
|
|
//
|
|
// Created by Alexandre Wilhelm on 5/5/15.
|
|
// Copyright (c) 2015 cappuccino-project. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import <CoreServices/CoreServices.h>
|
|
|
|
@class XCCMainController;
|
|
|
|
|
|
@interface AppDelegate : NSObject <NSApplicationDelegate>
|
|
{
|
|
IBOutlet NSMenu *statusMenu;
|
|
IBOutlet NSUserDefaultsController *preferencesController;
|
|
IBOutlet NSPanel *aboutWindow;
|
|
IBOutlet NSWindow *preferencesWindow;
|
|
|
|
NSImage *imageStatusInactive;
|
|
NSImage *imageStatusProcessing;
|
|
NSImage *imageStatusError;
|
|
NSStatusItem *statusItem;
|
|
}
|
|
|
|
@property IBOutlet XCCMainController *mainWindowController;
|
|
@property NSOperationQueue *mainOperationQueue;
|
|
@property NSString *version;
|
|
|
|
- (IBAction)openAbout:(id)aSender;
|
|
- (IBAction)openPreferences:(id)aSender;
|
|
|
|
@end
|