Re: how to centralize functionality more elegantly?
Re: how to centralize functionality more elegantly?
- Subject: Re: how to centralize functionality more elegantly?
- From: Andreas Mayer <email@hidden>
- Date: Thu, 5 Sep 2002 20:34:52 +0200
Am Donnerstag, 05.09.02 um 19:14 Uhr schrieb Matt Neuburg:
[(MainController*) [NSApp delegate] showStatus: @"You cannot do
that."];
Is there a more elegant way to be doing this? m.
What about ...
#define myApp (MainController *)[NSApp delegate]
[myApp showStatus:@"You could do this."];
Then again, maybe I don't understand what you mean by 'more elegant'.
:)
bye. Andreas.
_______________________________________________
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.