Swiftpack.co -  Package - SyncServerII/iOSDropbox
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SyncServerII/iOSDropbox
Dropbox sign-in for iOS client for SyncServerII
.package(url: "https://github.com/SyncServerII/iOSDropbox.git", from: "0.1.0")

iOSDropbox

iOS Dropbox library for SyncServerII

  1. Register your application in the Dropbox App Console. https://dropbox.com/developers/apps Part of what you get here is a DropboxAppKey

  2. Add a Dropbox URL scheme to your app in Xcode (See https://github.com/dropbox/SwiftyDropbox#get-started)

<key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>db-<APP_KEY></string>
            </array>
            <key>CFBundleURLName</key>
            <string></string>
        </dict>
    </array>
  1. Into your Info.plist for your app, also add:
<key>LSApplicationQueriesSchemes</key>
	<array>
		<string>dbapi-8-emm</string>
		<string>dbapi-2</string>
	</array>
  1. Pass the DropboxAppKey to the DropboxSyncServerSignIn constructor.

See also https://www.dropbox.com/developers/documentation/swift

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco