Classes
The following classes are available globally.
-
A concrete implementation of
See moreOAuthAuthorizationFlowViewbased on UIKit.Declaration
Swift
public final class WebViewControllerPresenterMobile : OAuthAuthorizationFlowView -
A view controller with a web view and a cancel button in the navigation bar. It forwards its navigation actions and cancel button taps to blocks. The controller does not allow the user to type an address. An initial address is instead provided to instances of this class which is loaded when an instance is shown.
See moreDeclaration
Swift
public final class WebViewControllerMobile : UIViewControllerextension WebViewControllerMobile: WKNavigationDelegate -
Concrete type-erased implementation of
See moreCancellable. It forwards itscancel()invocation to a block.Declaration
-
Executes a network call to the pCloud API.
See moreDeclaration
Swift
public final class CallTask<Method> : Cancellable where Method : PCloudAPIMethodextension CallTask: CustomStringConvertible -
A wrapper around
See moreDownloadOperation. Downloads a file to disk.Declaration
-
Utility class providing convenient interface to common API methods.
See moreDeclaration
Swift
public final class PCloudClient -
Concrete implementation of
See moreCallOperationbacked by aURLSessionDataTask.Declaration
Swift
public final class URLSessionBasedCallOperation : URLSessionBasedNetworkOperation<Call.Response>extension URLSessionBasedCallOperation: CallOperationextension URLSessionBasedCallOperation: CustomStringConvertible -
Concrete implementation of
See moreDownloadOperationbacked by aURLSessionDownloadTask.Declaration
Swift
public final class URLSessionBasedDownloadOperation : URLSessionBasedNetworkOperation<Download.Response>extension URLSessionBasedDownloadOperation: DownloadOperationextension URLSessionBasedDownloadOperation: CustomStringConvertible -
Base class for network operations backed by
See moreURLSessionTask. Conforms toNetworkOperation. ForwardsURLSessionObservercallbacks to blocks.Declaration
Swift
public class URLSessionBasedNetworkOperation<T>extension URLSessionBasedNetworkOperation: NetworkOperationextension URLSessionBasedNetworkOperation: URLSessionObserver -
Concrete implementation of
See moreUploadOperationbacked by aURLSessionUploadTask.Declaration
Swift
public final class URLSessionBasedUploadOperation : URLSessionBasedNetworkOperation<Upload.Response>extension URLSessionBasedUploadOperation: UploadOperationextension URLSessionBasedUploadOperation: CustomStringConvertible -
Forwards callbacks from a
See moreURLSessionto objects implementingURLSessionObserver. Assigns a single observer perURLSessionTaskand that observer receives all callbacks associated with that task.Declaration
Swift
public final class URLSessionEventHub : NSObjectextension URLSessionEventHub: URLSessionTaskDelegateextension URLSessionEventHub: URLSessionDataDelegateextension URLSessionEventHub: URLSessionDownloadDelegate -
Executes an upload to the pCloud API.
See moreDeclaration
Swift
public final class UploadTask<Method> : Cancellable where Method : PCloudAPIMethodextension UploadTask: CustomStringConvertible
View on GitHub
Classes Reference