Other Classes

The following classes are available globally.

  • Container class for configuring ZeroDarkCloud. An instance of this class is passed to -[ZeroDarkCloud initWithConfig:delegate:].

    See more

    Declaration

    Objective-C

    @interface ZDCConfig : NSObject

    Swift

    class ZDCConfig : NSObject
  • A simple promise-like inteface for returning NodeData in an asynchronous fashion.

    See more

    Declaration

    Objective-C

    @interface ZDCDataPromise : NSObject

    Swift

    class ZDCDataPromise : NSObject
  • Container class for configuring the database. An instance of this class is passed to -[ZeroDarkCloud unlockOrCreateDatabase:].

    See more

    Declaration

    Objective-C

    @interface ZDCDatabaseConfig : NSObject

    Swift

    class ZDCDatabaseConfig : NSObject
  • Ecapsulates detailed information about an emitted log message.

    See more

    Declaration

    Objective-C

    @interface ZDCLogMessage : NSObject

    Swift

    class ZDCLogMessage : NSObject
  • Encapsulates the parameters used when importing a file into the DiskManager.

    See more

    Declaration

    Objective-C

    @interface ZDCDiskImport : NSObject

    Swift

    class ZDCDiskImport : NSObject
  • Provides all the information about a file being managed by the DiskManager.

    See more

    Declaration

    Objective-C

    @interface ZDCDiskExport : NSObject

    Swift

    class ZDCDiskExport : NSObject
  • Instances of this class are broadcast via ZDCDiskManagerChangedNotification.

    It can be extracted from the ZDCDiskManagerChangedNotification.userInfo dictionary using the ZDCDiskManagerChanges key.

    See more

    Declaration

    Objective-C

    @interface ZDCDiskManagerChanges : NSObject

    Swift

    class ZDCDiskManagerChanges : NSObject
  • A simple container for holding several different download options.

    See more

    Declaration

    Objective-C

    @interface ZDCDownloadOptions : NSObject <NSCoding, NSCopying>

    Swift

    class ZDCDownloadOptions : NSObject, NSCoding, NSCopying
  • The DownloadManager automatically consolidates multiple requests for the same item into a single task. This minimizes bandwidth and improves app response time.

    However, it also means that your particular request may not be the only requester for a resource. For example, there may be other ViewControllers within your app that are also waiting for the same data. As such, it’s not safe to cancel downloads directly. Rather you’re encouraged to cancel requests through the ticket instance. This allows the ticket to handle complex cases where there are multiple requests for the resource. And it also handles cancelling the downloads such that they can be resumed later.

    See more

    Declaration

    Objective-C

    @interface ZDCDownloadTicket : NSObject

    Swift

    class ZDCDownloadTicket : NSObject
  • FetchOptions allow you to configure the scenarios in which the image is downloaded from the cloud.

    See more

    Declaration

    Objective-C

    @interface ZDCFetchOptions : NSObject <NSCopying>

    Swift

    class ZDCFetchOptions : NSObject, NSCopying
  • Instances of this class are broadcast via ZDCProgressManagerChangedNotification.

    It can be extracted from the ZDCProgressManagerChangedNotification.userInfo dictionary using the ZDCProgressManagerChanges key.

    See more

    Declaration

    Objective-C

    @interface ZDCProgressManagerChanges : NSObject

    Swift

    class ZDCProgressManagerChanges : NSObject
  • When a ZDCSyncStatusChangedNotification is posed, an instance of this class is added the notification.userInfo.

    You can extract the info via: notification.userInfo[kZDCSyncStatusNotificationInfo] as? ZDCSyncStatusNotificationInfo

    See more

    Declaration

    Objective-C

    @interface ZDCSyncStatusNotificationInfo : NSObject

    Swift

    class ZDCSyncStatusNotificationInfo : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface ZDCAccountSetupViewControllerProxy : UIViewController
    -(void)pushCreateAccount;
    -(void)pushSignInToAccount;
    @end

    Swift

    class ZDCAccountSetupViewControllerProxy : UIViewController
  • /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Objective-C

    @interface ZDCSearchOptions : NSObject <NSCopying>

    Swift

    class ZDCSearchOptions : NSObject, NSCopying
  • A search result represents a particular user, along with their basic cloud information & linked identities.

    See more

    Declaration

    Objective-C

    @interface ZDCSearchResult : NSObject <NSCopying>

    Swift

    class ZDCSearchResult : NSObject, NSCopying
  • Provides detailed information concerning which identities matched the search, and where the match occurred. A UI may use this information to highlight the match sequence.

    See more

    Declaration

    Objective-C

    @interface ZDCSearchMatch : NSObject <NSCopying>

    Swift

    class ZDCSearchMatch : NSObject, NSCopying