expose method to report the final load operation source
This commit is contained in:
parent
8e586e5f01
commit
920b975294
@ -22,6 +22,7 @@
|
||||
@property (nullable, strong, nonatomic) MVMCoreLoadObject *loadObject;
|
||||
@property (nullable, strong, nonatomic) NSDictionary *dataForPage;
|
||||
@property (nullable, strong, nonatomic) DelegateObject *delegateObject;
|
||||
@property (nullable, nonatomic, readonly) NSString *finalLoadSource;
|
||||
@property (nonatomic) BOOL backgroundLoad;
|
||||
@property (nonatomic, getter=areDependenciesAdded) BOOL dependenciesAdded;
|
||||
|
||||
|
||||
@ -77,6 +77,10 @@
|
||||
[super start];
|
||||
}
|
||||
|
||||
- (NSString *)finalLoadSource {
|
||||
return _sessionTask.currentRequest.URL.absoluteString;
|
||||
}
|
||||
|
||||
- (void)markAsFinished {
|
||||
|
||||
// stop any loading animation we may have started
|
||||
|
||||
Loading…
Reference in New Issue
Block a user