From fc1870cbd27a0bb82fb1e8d2e124e2a48af83f9f Mon Sep 17 00:00:00 2001 From: Dmytro Tretiakov Date: Tue, 25 Mar 2014 11:13:00 +0200 Subject: [PATCH] Used defined constants instead of extern strings to add possibility to use these string values directly. --- SUUpdater.h | 4 ++-- SUUpdater.m | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/SUUpdater.h b/SUUpdater.h index e29daad1..76b3dcd9 100644 --- a/SUUpdater.h +++ b/SUUpdater.h @@ -148,8 +148,8 @@ // NOTE!!! Implemented delegate methods have higher priority than values saved in user preferences -FOUNDATION_EXPORT NSString *const SUUpdaterChecksForBetaUpdatesPrefKey; // bool value -FOUNDATION_EXPORT NSString *const SUUpdaterIsInTestModePrefKey; // bool value +#define SUUpdaterChecksForBetaUpdatesPrefKey @"SUUpdaterChecksForBetaUpdates" // bool value +#define SUUpdaterIsInTestModePrefKey @"SUUpdaterIsInTestMode" // bool value @interface NSObject (SUUpdaterDelegate_DevMateInteraction) diff --git a/SUUpdater.m b/SUUpdater.m index ece93c91..ba1bd595 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -566,9 +566,6 @@ static NSString * const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefault #pragma mark - DevMate Interaction -NSString *const SUUpdaterChecksForBetaUpdatesPrefKey = @"SUUpdaterChecksForBetaUpdates"; -NSString *const SUUpdaterIsInTestModePrefKey = @"SUUpdaterIsInTestMode"; - - (NSArray *)devmateFeedParameters { NSMutableArray *parameters = [NSMutableArray array];