discuss-gnustep
[Top][All Lists]
Advanced

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

NSCell objectValue


From: Andreas Hoeschler
Subject: NSCell objectValue
Date: Mon, 26 Jul 2004 13:21:52 +0200

Hi all,

I just relaized that the following returns nil which is wrong in my opinion.

        NSCell cell; // assume thi sexists
        [cell setStringValue:@"Hello"];
        return [cell objectValue];

I looked into the code and it looks that this behaviour is intended, but IMHO this is wrong, at least it is incompatible with Cocoa. Should we change NSCells objectValue to return the NSString if no formatter was set?

Regards,

  Andreas





reply via email to

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