• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Variables: Why one way and not another?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Variables: Why one way and not another?
      • From: Robert Borsuk <email@hidden>
References: 
 >Variables: Why one way and not another? (From: Robert Borsuk <email@hidden>)

  • Prev by Date: Re: Slower with Cocoa subclass
  • Next by Date: Re: Variables: Why one way and not another?
  • Previous by thread: Variables: Why one way and not another?
  • Next by thread: Re: Variables: Why one way and not another?
  • Index(es):
    • Date
    • Thread