mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 00:20:48 +00:00
Add better description, new ivars to init
This commit is contained in:
parent
3d99541546
commit
8a2c21a795
1 changed files with 27 additions and 0 deletions
|
@ -119,6 +119,23 @@
|
|||
@end
|
||||
|
||||
@implementation NSStoryboardSeguePerformAction
|
||||
- (instancetype) init
|
||||
{
|
||||
self = [super init];
|
||||
if (self != nil)
|
||||
{
|
||||
_target = nil;
|
||||
_action = NULL;
|
||||
_sender = nil;
|
||||
_identifier = nil;
|
||||
_kind = nil;
|
||||
_popoverAnchorView = nil;
|
||||
_storyboardSegue = nil;
|
||||
_storyboard = nil;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id) target
|
||||
{
|
||||
return _target;
|
||||
|
@ -307,6 +324,16 @@
|
|||
{
|
||||
// this is never encoded directly...
|
||||
}
|
||||
|
||||
- (NSString *) description
|
||||
{
|
||||
return [NSString stringWithFormat:
|
||||
@"<%@ - target = %@, selector = %@, sender = %@, "
|
||||
@"identifier = %@, kind = %@, popoverAnchorView = %@>",
|
||||
[super description], [self target], [self selector],
|
||||
[self sender], [self identifier], [self kind],
|
||||
[self popoverAnchorView]];
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation NSControllerPlaceholder
|
||||
|
|
Loading…
Reference in a new issue