When you build a Cocoa App, you can add all the global methods and objects in AppDelegate
class, and in any place of the code, you can get access to AppDelegate
via
AppDelegate* appDlgt = (AppDelegate*)[[NSApplication sharedApplication] delegate];
But how can I do the same thing in a Cocoa Framework? It doesn't seem to have AppDelegete
Thanks