RE: Accessing method from another class
RE: Accessing method from another class
- Subject: RE: Accessing method from another class
- From: bryscomat <email@hidden>
- Date: Thu, 20 Aug 2009 15:59:22 -0500
I found your solution.
In Application.m, at the end of the setSlim: method, add this line:
[[NSApp delegate] resetTextAndBar:self];
And at the top of the file, import the BeastCloneAppDelegate.h file
to suppress the warning.
This will work since you are accessing a "CLASS" set as
NSApplication's delegate. NSApp is the global variable to access
NSApplication.
I think I meant class, not function.
_______________________________________________
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