Giter Club home page Giter Club logo

Comments (6)

jpittman avatar jpittman commented on July 30, 2024 1

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.

xeokeri avatar xeokeri commented on July 30, 2024

@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.

atomkirk avatar atomkirk commented on July 30, 2024

I also have a type JSON so i need it in its own module

from swiftydropbox.

xeokeri avatar xeokeri commented on July 30, 2024

@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.

atomkirk avatar atomkirk commented on July 30, 2024

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.

scobbe avatar scobbe commented on July 30, 2024

Added in ab71ab5

from swiftydropbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.