Code Monkey home page Code Monkey logo

Comments (20)

mattapperson avatar mattapperson commented on May 11, 2024

+1

from jazzy.

beltex avatar beltex commented on May 11, 2024

This would imply support for C projects as well, wouldn't it?

from jazzy.

segiddins avatar segiddins commented on May 11, 2024

@beltex yes, since Objective-C is a strict superset of C.

from jazzy.

beltex avatar beltex commented on May 11, 2024

Cool, thanks @segiddins!

from jazzy.

mattapperson avatar mattapperson commented on May 11, 2024

@beltex I see the merged PR, so is this ready/working?

from jazzy.

jpsim avatar jpsim commented on May 11, 2024

@mattapperson @beltex much of the logic is already in sourcekitten, but we haven't started integrating it in jazzy yet. Trust me, we'll be sure to update this issue as soon as we have a working proof-of-concept.

from jazzy.

mralexgray avatar mralexgray commented on May 11, 2024

Where are we with this. What still needs to be done?

from jazzy.

jpsim avatar jpsim commented on May 11, 2024

Where are we with this. What still needs to be done?

Most of the work that needs to be done is in SourceKitten.

We have a proof-of-concept Objective-C header "parser" in SourceKitten (jazzy's "backend") which generates this. This is tested in SourceKitten. We need to transform this result into the same format as the Swift parsed results (eg. this). You're welcome to contribute to this if you'd like!

from jazzy.

mralexgray avatar mralexgray commented on May 11, 2024

Would it be possible for someone familiar with the project to generate (even if by hand) a "correct" version of Musician to illustrate what actually needs to happen in the transformation? Or (possibly) better.. I would assume the swift code is also, at some point, getting json-ified (from a similar xml source as Musician). Where is that work being done (already).. maybe looking at that will simply clear things up...

from jazzy.

toshi0383 avatar toshi0383 commented on May 11, 2024

I'm counting on this 👍

from jazzy.

segiddins avatar segiddins commented on May 11, 2024

@jcayzac there's a PR open over on SourceKitten

from jazzy.

jpsim avatar jpsim commented on May 11, 2024

@jcayzac jpsim/SourceKitten#57 builds & tests successfully with Xcode 7 beta 4. The Travis CI builds fail since its latest supported Xcode version is 6.4.

from jazzy.

jcayzac avatar jcayzac commented on May 11, 2024

@jpsim that's great to know! Thanks! 👍

from jazzy.

jpsim avatar jpsim commented on May 11, 2024

Progress update, there's still more cleanup to do in jpsim/SourceKitten#57 until we can officially ship Objective-C support with Jazzy, but I'm hoping to have that done by the end of this week.

Thanks for your patience.

from jazzy.

zolomatok avatar zolomatok commented on May 11, 2024

👍 !

from jazzy.

toshi0383 avatar toshi0383 commented on May 11, 2024

👏

from jazzy.

jpsim avatar jpsim commented on May 11, 2024

Jazzy supports Objective-C projects as of 0.4.0! 🎉 https://github.com/realm/jazzy/releases/tag/v0.4.0

from jazzy.

jcayzac avatar jcayzac commented on May 11, 2024

@jpsim awesome, thanks!

Since it's one of the project's stated goals, would it be possible to get one step closer to Apple's documentation by generating mixed ObjC/Swift documentation from ObjC code?

from jazzy.

jpsim avatar jpsim commented on May 11, 2024

We're tracking those as #136 and #353 with a proof of concept at jpsim/SourceKitten#95

from jazzy.

jcayzac avatar jcayzac commented on May 11, 2024

@jpsim wow, great, thanks!

from jazzy.

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.