[Newbies] Re: Easy way to override a method?
Matthew Fulmer
tapplek at gmail.com
Sat May 17 18:24:44 UTC 2008
On Sat, May 17, 2008 at 12:26:50PM +0000, Tim M wrote:
> Hi Herbert,
>
>> if I don't misunderstand you, you just redefine it in your subclass?
>
> Yes but its a nuisance to copy the method signature, click on the class
> below, click on a method (or the as yes undefined category), and then paste
> the signature and then enter by override.
>
> I was hoping that there was something like in dolphin - browse my subclass
> but enable show inherited methods - select the inehrited method, right
> click and pick Refactoring | Override - this then does then creates me a
> template that overrides.
to show a class with some of it's inherited methods, use the
protocol browser (select a class, and alt-P). When you save a
method in the protocol browser, it asks you which class to save
it under, if I remember correctly.
--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
More information about the Beginners
mailing list