Re: Variables: Why one way and not another?
Re: Variables: Why one way and not another?
- Subject: Re: Variables: Why one way and not another?
- From: "Alastair J.Houghton" <email@hidden>
- Date: Sat, 1 Nov 2003 15:08:01 +0000
On Saturday, November 1, 2003, at 02:35 pm, Robert Borsuk wrote:
I make my Controller by the usual subclass of NSObject, put variables
in the there and every thing is fine.
Like so:
@interface MyController : NSObject
{
int myInt;
}
I write some accessors and life is good. Now I put an NSView on a
window and subclass it. I try the same thing and no go. I notice
that :
@interface myview : NSView
{
int myInt;
}
Doesn't work.
What do you mean by "doesn't work"? What actually happens in your
program? (The above *should* work---it certainly does for views I've
written---so there must be some other problem with your program, and
we'll need to know what the symptoms are before we can help you with
it.)
Kind regards,
Alastair.
_______________________________________________
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.