Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Objective-C projects #56

Closed
jpsim opened this issue Nov 1, 2014 · 20 comments
Closed

Support Objective-C projects #56

jpsim opened this issue Nov 1, 2014 · 20 comments

Comments

@jpsim
Copy link
Collaborator

jpsim commented Nov 1, 2014

Objective-C projects are no longer supported since v0.0.5.

@mattapperson
Copy link

+1

@beltex
Copy link
Contributor

beltex commented Jan 2, 2015

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

@segiddins
Copy link
Collaborator

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

@beltex
Copy link
Contributor

beltex commented Jan 2, 2015

Cool, thanks @segiddins!

@mattapperson
Copy link

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

@jpsim
Copy link
Collaborator Author

jpsim commented Jan 2, 2015

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

@mralexgray
Copy link

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

@jpsim
Copy link
Collaborator Author

jpsim commented Mar 23, 2015

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!

@mralexgray
Copy link

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

@toshi0383
Copy link

I'm counting on this 👍

@segiddins
Copy link
Collaborator

@jcayzac there's a PR open over on SourceKitten

@jpsim
Copy link
Collaborator Author

jpsim commented Aug 7, 2015

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

@jcayzac
Copy link

jcayzac commented Aug 7, 2015

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

@segiddins segiddins mentioned this issue Nov 3, 2015
@jpsim
Copy link
Collaborator Author

jpsim commented Nov 3, 2015

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.

@zolomatok
Copy link

👍 !

@toshi0383
Copy link

👏

@jpsim
Copy link
Collaborator Author

jpsim commented Nov 24, 2015

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

@jpsim jpsim closed this as completed Nov 24, 2015
@jcayzac
Copy link

jcayzac commented Nov 24, 2015

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

@jpsim
Copy link
Collaborator Author

jpsim commented Nov 24, 2015

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

@jcayzac
Copy link

jcayzac commented Nov 24, 2015

@jpsim wow, great, thanks!

@pigeon-archive pigeon-archive modified the milestone: The Past Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants