Re: Finding a view (Cocoa theory)
Re: Finding a view (Cocoa theory)
- Subject: Re: Finding a view (Cocoa theory)
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 19 Feb 2005 01:27:47 +0000
On Fri, 18 Feb 2005 17:00:01 -0800, Mark Dawson <email@hidden> wrote:
> Does Cocoa allow finding an NSView? From what I can tell, there isn't
> any unique ID for a view, so from any spot in a view hierarchy, it
> doesn't seem programatically possible to find a view that's either a
> sibling, super, or sub view from any particular view. Is that correct?
> So, if you want to use any particular view, you need to set it up as
> an outlet, correct?
Generally, views shouldn't need to know about each other. The
Controller layer should deal with the interactions, and normally
you'll use outlets.
What are you actually trying to do?
-- Finlay
_______________________________________________
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