Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions iRate/iRate.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ typedef NS_ENUM(NSUInteger, iRateErrorCode)
- (void)promptIfAllCriteriaMet;
- (void)openRatingsPageInAppStore;
- (void)logEvent:(BOOL)deferPrompt;
- (void)remindLater;

@end

Expand Down
6 changes: 3 additions & 3 deletions iRate/iRate.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ + (void)load

+ (instancetype)sharedInstance
{
static iRate *sharedInstance = nil;
static id sharedInstance = nil;
if (sharedInstance == nil)
{
sharedInstance = [(iRate *)[self alloc] init];
sharedInstance = [[self alloc] init];
}
return sharedInstance;
}
Expand Down Expand Up @@ -161,7 +161,7 @@ - (NSString *)localizedStringForKey:(NSString *)key withDefault:(NSString *)defa
return [[NSBundle mainBundle] localizedStringForKey:key value:defaultString table:nil];
}

- (iRate *)init
- (instancetype)init
{
if ((self = [super init]))
{
Expand Down