remove debug code for now
This commit is contained in:
parent
05289f88aa
commit
25394dc640
@ -371,11 +371,6 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if TESTING
|
|
||||||
if ([[MVMCoreObject sharedInstance].globalLoadDelegate respondsToSelector:@selector(modifyJSON:)]) {
|
|
||||||
jsonDictionary = [[MVMCoreObject sharedInstance].globalLoadDelegate modifyJSON:jsonDictionary];
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
loadObject.responseJSON = jsonDictionary;
|
loadObject.responseJSON = jsonDictionary;
|
||||||
|
|
||||||
// Store the new page data if we didn't load page data from the cache.
|
// Store the new page data if we didn't load page data from the cache.
|
||||||
|
|||||||
@ -16,11 +16,6 @@
|
|||||||
|
|
||||||
@optional
|
@optional
|
||||||
|
|
||||||
#if TESTING
|
|
||||||
/// Allows a chance to modify the json and provide local test json.
|
|
||||||
- (nonnull NSDictionary *)modifyJSON:(nonnull NSDictionary *)json;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Provides the desired error screen for the native error. Called on the main thread. If set, any native errors or NSURLErrorDomain errors will use a native screen.
|
// Provides the desired error screen for the native error. Called on the main thread. If set, any native errors or NSURLErrorDomain errors will use a native screen.
|
||||||
- (nullable UIViewController <MVMCoreViewControllerProtocol> *)getNativeScreenForRequestError:(nonnull MVMCoreErrorObject *)errorObject requestObject:(nonnull MVMCoreRequestParameters *)requestObject;
|
- (nullable UIViewController <MVMCoreViewControllerProtocol> *)getNativeScreenForRequestError:(nonnull MVMCoreErrorObject *)errorObject requestObject:(nonnull MVMCoreRequestParameters *)requestObject;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user