From 89c203c75afb7dba18d764e411d11fdcf6b681e1 Mon Sep 17 00:00:00 2001 From: Paul Zabelin Date: Sat, 26 Sep 2015 00:33:31 -0700 Subject: [PATCH] disable making network requests on load to allow unit testing xcode project that uses iRate --- iRate/iRate.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/iRate/iRate.m b/iRate/iRate.m index 51eb2500..244a9ef4 100644 --- a/iRate/iRate.m +++ b/iRate/iRate.m @@ -121,11 +121,6 @@ @interface iRate() @implementation iRate -+ (void)load -{ - [self performSelectorOnMainThread:@selector(sharedInstance) withObject:nil waitUntilDone:NO]; -} - + (instancetype)sharedInstance { static iRate *sharedInstance = nil;