I would like to extend the methods of NSApplication instances (see reference):
- Code: Select all
Declare Function "NSApplication" - (void)setServicesProvider:(id)aProvider
After this declaration NSApplication is synonym for the global NSApplication object of OB and the class and its methods as well. If I now try to call NSApplication.setServicesProvider() the latter is compiled and it fails on runtime because the message gets send to the class and not the instance. So my wish would be that the Object be called NSApp and the class is left as such.
Kind regards
Udo