Comments (6)
I have to second what @atomkirk is pointing out here. While this issue helps me resolve getting the SDK integrated, it seems a bit short sighted to only support one approach of integration. Between pull requests #44, #68 and @atomkirk's linked repo, seems like you have a good starting point to throw into a branch for those of us to test externally.
Please make this a priority.
from swiftydropbox.
@atomkirk The easiest way is to add git submodules for both SwiftyDropbox and AlomaFire to your project.
Drop in the AlomaFire project to your app's workspace and add in the Alomafire.framework to your project's frameworks.
Then, add in the SwiftyDropbox/Source .swift files to your project, including the .h/.m files, except the SwiftyDropbox.h file.
After that, add this line to your bridging header file.
#import "SecurityUtil.h"
The "DropboxUtils.swift" file, you will need to add the following line or else it won't compile correctly. As the file uses UIKit content but doesn't include the correct import.
import UIKit
Then you should be able to do the rest as normal.
from swiftydropbox.
I also have a type JSON
so i need it in its own module
from swiftydropbox.
@atomkirk You could create a new Xcode project, create a Cocoa Touch framework, and add the Dropbox code. Including the submodule for AlomaFire and that would allow you to separate it further.
from swiftydropbox.
That's what I ended up doing https://github.com/spoken-co/SwiftyDropbox , but the point of this issue is that it wouldn't hurt anything or anyone to include it, but it would save a lot of headache for people who don't see the need for cocoapods anymore with touch frameworks
from swiftydropbox.
Added in ab71ab5
from swiftydropbox.
Related Issues (20)
- Direct Auth(iOS) is not working, if the Dropbox app was installed HOT 1
- Token not refreshing HOT 1
- not possible to access the thumbnail from getThumbnailBatch in swiftydropbox HOT 3
- Would like non-deprecated getting-started code HOT 2
- UIWebview is depricated HOT 4
- Crash at DropboxTransportClient: 707 when downloading empty file (zero bytes) HOT 2
- Auth flow failed because of inconsistent state. HOT 8
- Background Upload HOT 5
- Swifty Dropbox
- Single source of truth for authorized state HOT 1
- Title
- ETA for Release of SwiftyDropbox v10 HOT 8
- (10.0.0-beta1) MockDropboxTransportClient is not public, so it can't be used in it tests HOT 2
- Cant get specific metadata from listFolderWithPath results (SwiftyDropboxObjC). HOT 4
- xcframework size HOT 3
- v10 fails to detect app Bundle ID and stores authorization without it HOT 4
- DropboxClientsManager.unlinkClients no longer working as expected HOT 3
- Usage in an app extension HOT 1
- SwiftUI/iOS integration issue HOT 1
- Swift access race when Thread Sanitizer turned on HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftydropbox.