Responding from a delegate?
Responding from a delegate?
- Subject: Responding from a delegate?
- From: Sam Thorne <email@hidden>
- Date: Thu, 15 Apr 2004 15:55:59 +0100
Hello list,
A total newbie question this; I'm coming from a ECMA-262 & Lingo
background so keep it simple for stupid (me)!
I've been playing around with adding NSToolbar to a document window in
a multi-doc app; no problem there the toolbar appears.
The problem is the toolbar methods are delegated, as I was following a
tutorial that recommended doing so.
What I can't get my head round is how to respond from the delegate
object back to the delegator, specifically one of the IBActions is
meant to open a drawer in the window of the window controller that is
the delegator.
Do I have to set an instance variable referring back to the delegator
in the delegate? This seems a bit messy.
Maybe the bigger issue here is I haven't really worked out messaging
between objects...
Thanks for any help!
Sam
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.