|
From: | Wolfgang Lux |
Subject: | Re: remove -removeSubview: |
Date: | Wed, 27 Apr 2011 13:41:39 +0200 |
Banlu Kemiyatorn wrote:
Then a subclass must not override -removeSubview: without [self removeSubview:aView]; I raised this coz I saw some code that subclass removeSubview: w/o calling super's.http://developer.apple.com/library/mac/#samplecode/SourceView/ Listings/MyWindowController_m.html
I guess you should have read the code more carefully. This is a window controller class and not a view class. It can't call [super removeSubview: aView], since NSWindowController doesn't implement - removeSubview:.
Wolfgang
[Prev in Thread] | Current Thread | [Next in Thread] |