• 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
fresh newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fresh newbie question


  • Subject: fresh newbie question
  • From: "Mei Fang Liau" <email@hidden>
  • Date: Mon, 18 Feb 2008 15:59:47 +0100

I wrote a controller class inherited from NSObject, which contains a outlet
with the main window (NSWindow) as the destination. This outlet is used to
scan the main window's subviews and find all check boxes and store them in
an array. Can I also do the same thing with a controller inherited from
NSView? On the main window there are some check boxes and a custom view. I
would like to change the color of my custom view according to the check
boxes' status. But I find out that I can't likewise just set an Outlet for
this subclass of NSView and scan the content of the main window... can
anyone give me some suggestion? (or what tutorial I should check out...
there are just too many functionalities I am lost :o)
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: fresh newbie question
      • From: Nir Soffer <email@hidden>
    • Re: fresh newbie question
      • From: Adhamh Findlay <email@hidden>
  • Prev by Date: Re: Setting NSTextField inside drawRect:
  • Next by Date: Re: Image sources for the standard images such as NSImageNameQuickLookTemplate
  • Previous by thread: Re: Image sources for the standard images such as NSImageNameQuickLookTemplate
  • Next by thread: Re: fresh newbie question
  • Index(es):
    • Date
    • Thread