Re: subclassing question
Re: subclassing question
- Subject: Re: subclassing question
- From: Koen van der Drift <email@hidden>
- Date: Sat, 12 Jul 2003 20:52:02 -0400
I think what you want is for each subclass to be registered to receive
notifications, that way the messages are being sent to the actual
subclass instances. You can push up the notification registration and
callback method into your baseclass but do it such a way that it is
your subclasses that are registered not your baseclass.
Yes, that worked. I made the individual subclasses observers and
handled the notification within each subclass. A little less 'reuse of
code' but it works.
thanks,
- Koen.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.