You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case of a network error, errors are either specific to the endpoint (as shown above) or more generic errors.
587
+
In the case of a network error, errors are either specific to the endpoint (as shown above) or more generic errors.
588
588
589
-
To determine if an error is route-specific or not, the error object should be cast as a `CallError`, and depending on the type of error, handled in the appropriate switch statement.
589
+
To determine if an error is route-specific or not, the error object should be cast as a `CallError`, and depending on the type of error, handled in the appropriate switch statement.
590
590
591
591
```Swift
592
592
client.files.deleteV2(path: "/test/path/in/Dropbox/account").response { response, error in
@@ -730,7 +730,7 @@ The Swift SDK includes a convenience class, `DropboxClientsManager`, for integra
730
730
731
731
#### Single Dropbox user case
732
732
733
-
For most apps, it is reasonable to assume that only one Dropbox account (and access token) needs to be managed at a time. In this case, the `DropboxClientsManager` flow looks like this:
733
+
For most apps, it is reasonable to assume that only one Dropbox account (and access token) needs to be managed at a time. In this case, the `DropboxClientsManager` flow looks like this:
734
734
735
735
* call `setupWithAppKey`/`setupWithAppKeyDesktop` (or `setupWithTeamAppKey`/`setupWithTeamAppKeyDesktop`) in integrating app's app delegate
736
736
* client manager determines whether any access tokens are stored -- if any exist, one token is arbitrarily chosen to use
@@ -745,7 +745,7 @@ The `DropboxClient` (or `DropboxTeamClient`) is then used to make all of the des
745
745
746
746
#### Multiple Dropbox user case
747
747
748
-
For some apps, it is necessary to manage more than one Dropbox account (and access token) at a time. In this case, the `DropboxClientsManager` flow looks like this:
748
+
For some apps, it is necessary to manage more than one Dropbox account (and access token) at a time. In this case, the `DropboxClientsManager` flow looks like this:
749
749
750
750
* access token uids are managed by the app that is integrating with the SDK for later lookup
751
751
* call `setupWithAppKeyMultiUser`/`setupWithAppKeyMultiUserDesktop` (or `setupWithTeamAppKeyMultiUser`/`setupWithTeamAppKeyMultiUserDesktop`) in integrating app's app delegate
@@ -809,7 +809,7 @@ To ensure your changes have not broken any existing functionality, you can run a
809
809
## Bugs
810
810
811
811
Please post any bugs to the [issue tracker](https://github.com/dropbox/SwiftyDropbox/issues) found on the project's GitHub page.
0 commit comments