27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSDefines.h>
90 -(void)loadWithCompletion:(nullable
void(^)(NSError * __nullable error))completion;
109 -(void)retryLoadWithCompletion:(nullable
void(^)(NSError * __nullable error))completion;
131 @property (nullable, nonatomic, strong, readonly) NSError *
loadError;
135 #pragma mark loadObjects declaration
#define AGS_EXTERN
Definition: AGSDefines.h:28
AGS_EXTERN NSNotificationName AGSLoadableDidLoadNotification
Definition: AGSLoadable.h:59
AGSLoadStatus
Definition: AGSLoadable.h:35
@ AGSLoadStatusLoading
Definition: AGSLoadable.h:37
@ AGSLoadStatusUnknown
Definition: AGSLoadable.h:40
@ AGSLoadStatusLoaded
Definition: AGSLoadable.h:36
@ AGSLoadStatusFailedToLoad
Definition: AGSLoadable.h:38
@ AGSLoadStatusNotLoaded
Definition: AGSLoadable.h:39
AGS_EXTERN void AGSLoadObjects(NSArray< id< AGSLoadable >> *array, _Nullable ags_load_objects_block_t completion)
AGS_EXTERN NSNotificationName AGSLoadableDidFailToLoadNotification
Definition: AGSLoadable.h:60
AGS_EXTERN NSString * AGSLoadStatusAsString(AGSLoadStatus loadStatus)
AGS_EXTERN AGSLoadStatus AGSLoadStatusFromString(NSString *loadStatus)
void(^ ags_load_objects_block_t)(BOOL finishedWithNoErrors)
Definition: AGSLoadable.h:141
A protocol adopted by classes that can load data asynchronously.
Definition: AGSLoadable.h:72
AGSLoadStatus loadStatus
Definition: AGSLoadable.h:125
NSError * loadError
Definition: AGSLoadable.h:131