Giter Site home page Giter Site logo

Comments (10)

delebedev avatar delebedev commented on May 12, 2024

Agree, this information is really necessary since Cocoapods are not yet supported.

The answer to your question is pretty simple:

  1. if you have swift project - drag-n-drop SwiftyJSON.swift to the project tree
  2. if you have mixed project it's probably better to include whole SwiftyJSON.xcodeproj as subproject

from swiftyjson.

bsrz avatar bsrz commented on May 12, 2024

Ok, that makes sense but I was wondering if there is "dependency management" way of doing it.
It's probably too early for Swift... SwiftPods? ;)
Thank you

from swiftyjson.

lingoer avatar lingoer commented on May 12, 2024

Good, I'll add that later today.
Thanks

from swiftyjson.

delebedev avatar delebedev commented on May 12, 2024

@bensarz I hope that Cocapods will support swift later (work in progress as I know)
You can add this repo as submodule and perform the steps I've described

from swiftyjson.

lingoer avatar lingoer commented on May 12, 2024

SwiftPods Not Yet.
I think CocoaPods would support swift when the "Beta" gone

from swiftyjson.

 avatar commented on May 12, 2024

Is there a way in a pure Swift project I would still be able to use SwiftlyJSON.xcodeproj as a subproject? Can the steps to set that up be enumerated in say, the Readme?

from swiftyjson.

bsrz avatar bsrz commented on May 12, 2024

I should share how I ended up using SwiftyJSON...
Given that I'm not developing the library, I opted for git submodules.
The directory structure looks like this:

/main_repo/project_directory/myproject.xcodeproj (and other related files and directories)
/main_repo/SwiftyJSON (as git submodule)

I added the SwiftyJSON files in my xcodeproj but unchecked the box asking me to copy the files to the project.

from swiftyjson.

jpmcglone avatar jpmcglone commented on May 12, 2024

Can we not build SwiftyJSON as a module and just import the module?

from swiftyjson.

andelf avatar andelf commented on May 12, 2024

@jpmcglone yes, and it's an easy job to do.
I'll write a simple tut soon.

from swiftyjson.

lingoer avatar lingoer commented on May 12, 2024

@andelf 帮忙补充一下ReadMe呗~~~么么哒~~

from swiftyjson.

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.