mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:00:47 +00:00
Add loading of NIB to NSViewController.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31940 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
89715a53c1
commit
6eaff61772
4 changed files with 101 additions and 29 deletions
|
@ -24,12 +24,14 @@ Boston, MA 02110-1301, USA.
|
|||
|
||||
#ifndef _GNUstep_H_NSViewController
|
||||
#define _GNUstep_H_NSViewController
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
|
||||
#import <AppKit/NSNibDeclarations.h>
|
||||
#import <AppKit/NSResponder.h>
|
||||
|
||||
@class NSArray, NSBundle, NSPointerArray, NSView;
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
|
||||
@class NSArray, NSBundle, NSPointerArray, NSView;
|
||||
|
||||
@interface NSViewController : NSResponder
|
||||
{
|
||||
|
@ -43,34 +45,30 @@ Boston, MA 02110-1301, USA.
|
|||
NSPointerArray *_editors;
|
||||
id _autounbinder;
|
||||
NSString *_designNibBundleIdentifier;
|
||||
id _reserved[2];
|
||||
struct ___vcFlags
|
||||
{
|
||||
unsigned int nib_is_loaded:1;
|
||||
unsigned int RESERVED:31;
|
||||
} _vcFlags;
|
||||
id _reserved;
|
||||
}
|
||||
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil
|
||||
bundle:(NSBundle *)nibBundleOrNil;
|
||||
|
||||
- (void)setRepresentedObject:(id)representedObject;
|
||||
|
||||
- (id)representedObject;
|
||||
|
||||
- (void)setTitle:(NSString *)title;
|
||||
- (NSString *)title;
|
||||
|
||||
- (void)setView:(NSView *)aView;
|
||||
- (NSView *)view;
|
||||
- (void)loadView;
|
||||
|
||||
- (NSString *)nibName;
|
||||
- (NSBundle *)nibBundle;
|
||||
|
||||
- (void)setView:(NSView *)aView;
|
||||
|
||||
- (void)commitEditingWithDelegate:(id)delegate
|
||||
didCommitSelector:(SEL)didCommitSelector
|
||||
contextInfo:(void *)contextInfo;
|
||||
|
||||
- (BOOL)commitEditing;
|
||||
- (void)discardEditing;
|
||||
|
||||
@end
|
||||
|
||||
#endif // OS_API_VERSION
|
||||
#endif /* _GNUstep_H_NSViewController */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue