Go to the source code of this file.
◆ ags_load_objects_block_t
| typedef void(^ ags_load_objects_block_t) (BOOL finishedWithNoErrors) |
Block that is invoked by AGSLoadObjects() when all the loadable objects are finished loading. finishedWithNoErrors indicates if all the objects loaded sucessfully or if some of them encountered errors.
- Since
- 100
◆ AGSLoadStatus
Loading status of an object implementing the AGSLoadable protocol.
- Since
- 100
| Enumerator |
|---|
| AGSLoadStatusLoaded | Loading completed successfully.
|
| AGSLoadStatusLoading | Loading in progress.
|
| AGSLoadStatusFailedToLoad | Loading completed with error.
|
| AGSLoadStatusNotLoaded | Loading not started.
|
| AGSLoadStatusUnknown | Unknwon.
|
◆ AGSLoadObjects()
Loads an array of AGSLoadable objects. Calls you back once all the objects in the array are loaded. The callback will be invoked with YES (true) if no load errors occurred in any of the objects passed in.
- Parameters
-
| array | of loadable objects which need to be loaded |
| completion | block that is invoked when all the loadable objects have finished loading |
- Since
- 100
◆ AGSLoadStatusAsString()
Return load status string for AGSLoadStatus.
- Parameters
-
| loadStatus | The load status. |
- Returns
- String representation of
loadStatus.
- Since
- 100
- See also
- AGSLoadStatus
◆ AGSLoadStatusFromString()
Return load status for status string.
- Parameters
-
| loadStatus | The string representation of a load status. |
- Returns
AGSLoadStatus for loadStatus string.
- Since
- 100
- See also
- AGSLoadStatus
◆ AGSLoadableDidFailToLoadNotification
| AGS_EXTERN NSNotificationName AGSLoadableDidFailToLoadNotification |
◆ AGSLoadableDidLoadNotification
| AGS_EXTERN NSNotificationName AGSLoadableDidLoadNotification |