1 #import "ITCategory-NSApplication.h"
3 @implementation NSApplication (ITKitCategory)
5 - (NSString *)applicationName {
6 NSString *applicationName;
7 if (!(applicationName = [[[NSBundle mainBundle] localizedInfoDictionary] objectForKey:(NSString *)kCFBundleNameKey])) {
8 applicationName = [[NSProcessInfo processInfo] processName];
10 return applicationName;