• 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: Finding a view (Cocoa theory)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Finding a view (Cocoa theory) (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: Finding a view (Cocoa theory)
  • Next by Date: Re: returning NO from readFromFile:ofType: causes exception
  • Previous by thread: Re: Finding a view (Cocoa theory)
  • Next by thread: Re: Finding a view (Cocoa theory)
  • Index(es):
    • Date
    • Thread