Skip to content

Commit

Permalink
Prepared for distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Sep 20, 2013
1 parent b447f9c commit 845deec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ReplyWithHeader/RwhMailBundle.m
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,19 @@ + (NSString *)bundleNameAndVersion {
}

+ (NSString *)bundleName {
return [[self bundle] infoDictionary][RwhMailBundleNameKey];
return [[[self bundle] infoDictionary] objectForKey:RwhMailBundleNameKey];
}

+ (NSString *)bundleVersionString {
return [[self bundle] infoDictionary][RwhMailBundleShortVersionKey];
return [[[self bundle] infoDictionary] objectForKey:RwhMailBundleShortVersionKey];
}

+ (NSString *)bundleShortName {
return RwhMailBundleShortName;
}

+ (NSString *)bundleCopyright {
return [[self bundle] infoDictionary][RwhMailCopyRightKey];
return [[[self bundle] infoDictionary] objectForKey:RwhMailCopyRightKey];
}

+ (BOOL)isEnabled {
Expand Down
2 changes: 0 additions & 2 deletions ReplyWithHeader/RwhMailMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@
#define REMOVE_USER_DEFAULT(k) [[NSUserDefaults standardUserDefaults] removeObjectForKey: k]
#define GET_BOOL_USER_DEFAULT(k) [[NSUserDefaults standardUserDefaults] boolForKey: k]
#define SET_BOOL_USER_DEFAULT(b,k) SET_USER_DEFAULT( [NSNumber numberWithBool: b], k )

#define GET_BUNDLE_VALUE(k) [[[NSBundle bundleForClass:[RwhMailBundle class]] infoDictionary] objectForKey: k]

0 comments on commit 845deec

Please sign in to comment.