gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remove -removeSubview:


From: Banlu Kemiyatorn
Subject: Re: remove -removeSubview:
Date: Wed, 27 Apr 2011 19:16:46 +0700


--
Sent from my GNU/Linux N900

----- Original message -----
> Banlu Kemiyatorn wrote:
>
> > My bad! That didn't solve the problem that some cocoa app may want to
> > implement it and the code must check if super have it implemented or
> > not.
>
> ???
>
> -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?

>
> Wolfgang
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]