Improved docs.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20511 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-01-01 15:29:40 +00:00
parent a7690ef937
commit 6d04958743
3 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-01-01 10:33 Gregory John Casamento <greg_casamento@yahoo.com>
* GormLib/IBObjectAdditions.m: Implementation for nibLabel.
* GormLib/IBObjectProtocol.h: Better document for nibLabel.
2005-01-01 09:59 Gregory John Casamento <greg_casamento@yahoo.com>
* GormLib/IBApplicationAdditions.h

View file

@ -35,7 +35,7 @@
*/
+ (BOOL)canSubstituteForClass: (Class)origClass
{
return NO;
return YES;
}
/**
@ -61,7 +61,10 @@
*/
- (NSString *)nibLabel: (NSString *)objectName
{
return nil;
NSString *label = [NSString stringWithFormat: @"%@(%@)",
[self className],
objectName];
return label;
}
/**

View file

@ -48,7 +48,7 @@
- (NSImage *)imageForViewer;
/**
* Name in nameTable for object.
* Label for the receiver in the model.
*/
- (NSString *)nibLabel: (NSString *)objectName;