Enumerations
The following enumerations are available globally.
-
Main states a loadable object can be in. I was using ‘loading’/‘loaded successfully’/‘failed to load’ before, but this is less natural when we are uploading/saving something, so went with ‘syncing’.
See moreDeclaration
Objective-C
enum MMMLoadableState : NSInteger {}
Swift
@frozen enum MMMLoadableState : Int, @unchecked Sendable
-
Defines how sync failures in child loadables of a loadable group affect the sync state of the whole group.
See moreDeclaration
Objective-C
enum MMMLoadableGroupFailurePolicy : NSInteger {}
Swift
enum MMMLoadableGroupFailurePolicy : Int, @unchecked Sendable
-
Defines how the composite state of the loadable group depends on the states of its children.
See moreDeclaration
Objective-C
enum MMMLoadableGroupMode : NSInteger {}
Swift
enum MMMLoadableGroupMode : Int, @unchecked Sendable