• 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
Delegate question - send message back to controller from a view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delegate question - send message back to controller from a view?


  • Subject: Delegate question - send message back to controller from a view?
  • From: Jushin <email@hidden>
  • Date: Mon, 31 Dec 2007 17:06:54 -0500

In my program, I have two classes: Controller and NSCustomView.
Controller has a NSButton and a NSTextField, and when the button is
pressed, a function in the NSCustomView is triggered.
I used delegate to do this.

Now, my question is,
When a function call in the NSCustomView is finished, or even in the
process, I want to print out a message to the NSTextField in the
Controller.
How can I do this?

Thanks,
_______________________________________________

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: Delegate question - send message back to controller from a view?
      • From: mmalc crawford <email@hidden>
    • Re: Delegate question - send message back to controller from a view?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Drawing an auto-hyphenated NSAttributedString?
  • Next by Date: Re: Delegate question - send message back to controller from a view?
  • Previous by thread: Re: Drawing an auto-hyphenated NSAttributedString?
  • Next by thread: Re: Delegate question - send message back to controller from a view?
  • Index(es):
    • Date
    • Thread