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


_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to