mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 21:00:44 +00:00
* EOControl/EOKeyValueCoding.m ([NSArray-computeCountForKey:):
Handle extended aggregate keys. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26333 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
43f9854aa8
commit
0b111820ce
2 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
2008-03-06 David Ayers <ayers@fsfe.org>
|
||||
2008-03-17 David Ayers <ayers@fsfe.org>
|
||||
|
||||
* EOControl/EOClassDescription.m ([NSObject-classDescriptionForClass:]):
|
||||
Post notification only the first time the description is needed.
|
||||
|
||||
* EOControl/EOKeyValueCoding.m ([NSArray-computeCountForKey:):
|
||||
Handle extended aggregate keys.
|
||||
|
||||
2008-03-16 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
|
|
|
@ -442,10 +442,12 @@ initialize(void)
|
|||
|
||||
- (id)computeCountForKey: (NSString *)key
|
||||
{
|
||||
NSArray *array;
|
||||
id result;
|
||||
|
||||
EOFLOGObjectFnStartCond(@"EOKVC");
|
||||
result = [NSDecimalNumber numberWithUnsignedInt: [self count]];
|
||||
array = key ? [self valueForKeyPath: key] : self;
|
||||
result = [NSDecimalNumber numberWithUnsignedInt: [array count]];
|
||||
|
||||
EOFLOGObjectFnStopCond(@"EOKVC");
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue