|
From: | Wolfgang Lux |
Subject: | Re: remove -removeSubview: |
Date: | Wed, 27 Apr 2011 14:21:55 +0200 |
Banlu Kemiyatorn wrote:
> -removeSubview: is an NSView method and subclasses of NSView that > override this method should call the super class implementation> (unless they want to replace the functionality of -removeSubview:, but> I see no good reason for that). In all other classes there is no - > removeSubview: method (unless you provide one yourself). I don't > understand why you would need a check whether super implements that > method. I think there is no -removeSubview: in Cocoa?
So what? -removeSubview: won't be called under Cocoa anyway unless you call it yourself. But then you probably shouldn't do that in a portable application because, uhmm, Cocoa doesn't implement that method.
Wolfgang
[Prev in Thread] | Current Thread | [Next in Thread] |