Re: NSTableView edit text-field help please?
Re: NSTableView edit text-field help please?
- Subject: Re: NSTableView edit text-field help please?
- From: Ondra Cada <email@hidden>
- Date: Wed, 23 Jan 2002 23:37:53 +0100
Erik,
>
>>>>> Erik M. Buck (EMB) wrote at Wed, 23 Jan 2002 15:13:36 -0600:
EMB> ...so there is obviously
EMB> something missing or obfuscated in the documentation...
[presumably Cocoa documentation, can't say a word about Carbon or QuickTime
or so, since I haven't read them]
It is not, believe me -- I use it for years; the only problems I ever had were
- with undocumented things;
- with documentation bugs.
Alas, there is something gravely missing in some *people* today: the
willingness (or perhaps ability?) to put some effort into the problem, AND
(at the same time) think a bit to be able to find the obvious consequences.
To illuminate the latter, it's just like that guy -- I forgot the name, and
even had I remember it, I won't repeat it here -- who said "I do remember
that multiplication takes precedence before addition, but nobody could want
me to learn the precedence rules for && and ||".
Or another case, probably worse even: I just spent a considerable time to
help a guy to find a bug in his code; he quite persistently stated that the
bug has to be in Cocoa libraries. And you know what? The bug was exactly
this:
-method {
id whatever;
if (somethingUnrelated) whatever=someReasonableValue;
return whatever;
}
Now, 'course I did this kind of mistake myself many times, but never I
filled a framework bugreport of SUCH thing!
What's most terrible on it is that I've *EXACTLY* pointed out this place in
his code snippet as a possible bug and explained why; *a few good hours
later* he sent me a buildable project with -- more or less -- words "Just see
yourself, the bug has to be in frameworks indeed!". Guess what.
:((((((((((((((((((((((
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc