mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix error in warning logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26171 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
166b8e5082
commit
ec66533017
1 changed files with 4 additions and 2 deletions
|
@ -375,7 +375,8 @@ replacementForClass(Class c)
|
|||
NSLog(@"WARNING The class '%@' (or one of its superclasses) overrides"
|
||||
@" the deprecated takeValue:forKey: method. Using KVO to observe"
|
||||
@" this class may interfere with this method. Please change the"
|
||||
@" class to override -setValue:forKey: instead.");
|
||||
@" class to override -setValue:forKey: instead.",
|
||||
NSStringFromClass(aClass));
|
||||
}
|
||||
if ([aClass instanceMethodForSelector: @selector(takeValue:forKeyPath:)]
|
||||
!= [NSObject instanceMethodForSelector: @selector(takeValue:forKeyPath:)])
|
||||
|
@ -383,7 +384,8 @@ replacementForClass(Class c)
|
|||
NSLog(@"WARNING The class '%@' (or one of its superclasses) overrides"
|
||||
@" the deprecated takeValue:forKeyPath: method. Using KVO to observe"
|
||||
@" this class may interfere with this method. Please change the"
|
||||
@" class to override -setValue:forKeyPath: instead.");
|
||||
@" class to override -setValue:forKeyPath: instead.",
|
||||
NSStringFromClass(aClass));
|
||||
}
|
||||
original = aClass;
|
||||
|
||||
|
|
Loading…
Reference in a new issue