Re: import Header??
Re: import Header??
- Subject: Re: import Header??
- From: Bill Bumgarner <email@hidden>
- Date: Fri, 25 Aug 2006 08:10:08 -0700
On Aug 25, 2006, at 7:48 AM, Andrew Farmer wrote:
You can't directly reference instance variables of another class -
how is the computer to know which MyDocument you're trying to get
the logoArrayController of? You need to set up some way for a
MyDownload object to know what MyDocument object it belongs to, then
dereference it using the -> operator (e.g. aDocument-
>logoArrayController).
While that would work, please don't do that. It completely breaks the
encapsulation of data and logic of MyDocument.
I would suggest starting with a good Cocoa book (Hillegas's book comes
to mind).
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden