[Top][All Lists]

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

custom subclass wiring

From: reuss
Subject: custom subclass wiring
Date: Wed, 03 Mar 2004 14:54:06 GMT
User-agent: Pan/0.11.2 (Unix)

I have a subclass of nsview.
in this subclass I have three subviews.
how to proceed to make available the variables of my subclass to the three
I tried with [self superview] from the subviews, but the superview does not
respond to my subclass's methods. How to make reference to the subclass
control's methods? Should I wire it in all subviews?
@implementation subClass: NSControl
id 1stSubview = [[subView alloc] initWithFrame: aFrame];
[1stSubview wireIn: self];
and the same for the others?
I suppose there is a more simple way, but what is it?

reply via email to

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