mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 17:50:47 +00:00
avoid adding +load as an override
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29965 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
601409fef6
commit
a0d4e91907
3 changed files with 7 additions and 28 deletions
|
@ -743,11 +743,6 @@ fromInsertionInEditingContext: (EOEditingContext *)editingContext
|
|||
@end
|
||||
@implementation GDL2CDNSObject
|
||||
|
||||
+ (void)load
|
||||
{
|
||||
GDL2_Activate([self class], YES);
|
||||
}
|
||||
|
||||
// when you enable the NSDebugMLLogs here you will have a loop. dave
|
||||
- (EOClassDescription *)classDescription
|
||||
{
|
||||
|
|
|
@ -96,12 +96,6 @@ initialize(void)
|
|||
@end
|
||||
@implementation GDL2KVCNSObject
|
||||
|
||||
+ (void)load
|
||||
{
|
||||
GDL2_Activate([self class], YES);
|
||||
}
|
||||
|
||||
|
||||
/* This is what -base(add) will call. It should invoke what the API
|
||||
specifies should be overridden. */
|
||||
- (void) setNilValueForKey: (NSString*)aKey
|
||||
|
@ -236,11 +230,6 @@ initialize(void)
|
|||
@end
|
||||
@implementation GDL2KVCNSArray
|
||||
|
||||
+ (void)load
|
||||
{
|
||||
GDL2_Activate([self class], YES);
|
||||
}
|
||||
|
||||
/**
|
||||
* EOKeyValueCoding protocol<br/>
|
||||
* This overrides NSObjects implementation of this method.
|
||||
|
@ -541,12 +530,6 @@ initialize(void)
|
|||
@end
|
||||
@implementation GDL2KVCNSDictionary
|
||||
|
||||
|
||||
+ (void)load
|
||||
{
|
||||
GDL2_Activate([self class], YES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the object stored in the dictionary for this key.
|
||||
* Unlike Foundation, this method may return objects for keys other than
|
||||
|
@ -847,11 +830,6 @@ initialize(void)
|
|||
@end
|
||||
@implementation GDL2KVCNSMutableDictionary
|
||||
|
||||
+ (void)load
|
||||
{
|
||||
GDL2_Activate([self class], YES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to augment the NSKeyValueCoding implementation
|
||||
* to account for added functionality such as quoted key paths.
|
||||
|
|
|
@ -133,7 +133,7 @@ GDL2_Activate(Class cls, BOOL isInstance)
|
|||
}
|
||||
|
||||
void
|
||||
GDL2_ActivateAllGDL2Categories(void)
|
||||
GDL2_ActivateAll(void)
|
||||
{
|
||||
/* EOKeyValueCoding */
|
||||
GDL2_Activate([GDL2KVCNSObject class], YES);
|
||||
|
@ -146,6 +146,12 @@ GDL2_ActivateAllGDL2Categories(void)
|
|||
|
||||
}
|
||||
|
||||
@implementation NSObject (GDL2_Activate)
|
||||
+(void)load
|
||||
{
|
||||
GDL2_ActivateAll();
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation NSObject (NSObjectPerformingSelector)
|
||||
|
||||
|
|
Loading…
Reference in a new issue