Re: HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!
Re: HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!
- Subject: Re: HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!
- From: Stephen Magyari <email@hidden>
- Date: Mon, 01 Apr 2002 20:30:44 -0800
Maybe this is too obvious, but I'm working on my KISS approach...
Have you imported the header file and/or forward declared the class (that
has the image) in the "other class" that you want to access the image
*from*?
From what you provided, it sounds like the one class might not know the
other exists... There's not enough detail/context/code snippets in your
email to determine exactly what might be going on, so I'm just making an
educated guess & starting at the very beginning (vs. somewhere near the end
like I tend to do...;-)
If the above isn't it, perhaps you could provide more info?
--Stephen
on 4/1/02 7:22 PM, Roger O'Brien at email@hidden wrote:
>
Okay Please help me. I have 2 classes in different files. In one of my
>
classes I have an image (an NSBitmapImageRep to be exact). I want my
>
other class to access the image. I tried this, and it won't work:
>
>
- (NSBitmapImageRep *)theImageRep
>
{
>
return myImageRep;
>
}
>
>
The image is dynamically changing at regular intervals, but every time
>
it changes this method is called. does that have anything to do with
>
this? Can anybody help? Please! Thanks in advance.
>
>
-Roger O'Brien
>
_______________________________________________
>
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.
_______________________________________________
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.