|
From: | Fred Kiefer |
Subject: | Re: Once again the NSOutlineView |
Date: | Sun, 15 Feb 2004 11:05:29 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 |
Gregory John Casamento wrote:
P.S. Fred, I'm aware of no place in the code where it replaces items with NULL if they are nil. :)
Sorry, my fault, I used the word NULL as a short hand for [NSNull null], as can be see in the following line (used about five times in the code of NSOutlineView):
id sitem = (startitem == nil)?[NSNull null]:startitem;This makes it possible to work with nil almost as if it was a valid item, but why would you want to do this? This also has been done half heartedly, so some of the replacements, as in the method at hand (reloadItem:reloadChildren:) hs not been done.
[Prev in Thread] | Current Thread | [Next in Thread] |