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

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


  • Subject: Re: Delegate question - send message back to controller from a view?
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 31 Dec 2007 15:29:42 -0700


On Dec 31, 2007, at 3:06 PM, Jushin wrote:

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?


Two ways I can think of:

1. Make a nonretained delegate in the view, and a delegate API. Have the view call the delegate with the message (if implemented) when the view task is done.

2. Use notifications. This is probably easier.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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


References: 
 >Delegate question - send message back to controller from a view? (From: Jushin <email@hidden>)

  • Prev by Date: Delegate question - send message back to controller from a view?
  • Next by Date: Re: Delegate question - send message back to controller from a view?
  • Previous by thread: Delegate question - send message back to controller from a view?
  • Next by thread: Re: Delegate question - send message back to controller from a view?
  • Index(es):
    • Date
    • Thread