GithubHelp home page GithubHelp logo

Generating Playgrounds? about xcodegen HOT 4 OPEN

yonaskolb avatar yonaskolb commented on August 26, 2024
Generating Playgrounds?

from xcodegen.

Comments (4)

yonaskolb avatar yonaskolb commented on August 26, 2024

Interesting, I guess a feature like that could take a few forms.

  • generating a standalone playground or one in your project? If in the project it can make use of any frameworks automatically. A standalone one that required source files would probably need to add all the files into sources of the playground.
  • generating an empty playground or one with content?

from xcodegen.

yonaskolb avatar yonaskolb commented on August 26, 2024

What sort of use case would you specifically be trying to solve? I assume you're aware that a playground in a project can make use of all the frameworks already? Would just being able to add non resources or source files into the project be enough, so you could link an existing playground?

from xcodegen.

kdawgwilk avatar kdawgwilk commented on August 26, 2024

My specific use case is centered around this project Autobahn and wanting to build an autobahn edit that generates a Swift playground or similar in a tmp directory that gives autocomplete for the Autobahn.swift similar to how SPM does with its Package.swift

from xcodegen.

yonaskolb avatar yonaskolb commented on August 26, 2024

Cool looking project! Looking forward to using it 😄

I guess there would be 2 options then. Generating a playground file with Autobbahn.swift in it's sources, or generating a workspace with an Autobahn framework. Both of those could be a possible features for XcodeGen, but I think you should take a look at 2 relevant projects from John Sundell first. https://github.com/JohnSundell/Xgen and also https://github.com/JohnSundell/TestDrive which uses Xgen in a similar way to how you would

from xcodegen.

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.