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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to