bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSObject -valueForKey and void methods


From: Manuel Guesdon
Subject: NSObject -valueForKey and void methods
Date: Sun, 30 Dec 2001 12:24:21 +0100 (CET)

In NSObject.m GSGetValue() doesn't support method which doesn't return a value.
Here is the part of the code:
  if (type == NULL)
    {
      return [self handleQueryWithUnboundKey: key];
   }

I think this is not the case for Apple.
For exemple WODisplayGroup has a method name -(void)qualifyDataSource which can 
be called with the -valueForKey call
I think -valueForKey should return nil in the case.

What do you think ?

Manuel
--
______________________________________________________________________
Manuel Guesdon - OXYMIUM <mguesdon@oxymium.net>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0999  -  Fax: +33 1 4940 0998




reply via email to

[Prev in Thread] Current Thread [Next in Thread]