Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Installed plugin #10

Open
SatishNerlekar opened this issue Nov 14, 2016 · 5 comments
Open

Installed plugin #10

SatishNerlekar opened this issue Nov 14, 2016 · 5 comments

Comments

@SatishNerlekar
Copy link

I have installed plugin and restarted the XCode 8.0 but I am not getting convert option after right clicking on source code. Please help.

@dzenbot
Copy link
Owner

dzenbot commented Feb 11, 2017

That is because plugins are no longer supported since Xcode 8. There are hacky but non-recommend ways to make them work. I tried, it's not stable.

@andrewcl
Copy link

@dzenbot Would you mind posting instructions for how to enable usage of this tool? Even if the approach is unstable between Xcode builds it would be useful to have a rough shot in the dark how to use XCSwiftr with Xcode 8

A separate question, do you intend to rewrite this tool as an Xcode SourceKit extension?

@dzenbot
Copy link
Owner

dzenbot commented Mar 28, 2017

I'll update the README with those instructions, sure.

As about SourceKit extension, what were you thinking the user experience would be? Right now, Swiftr is presented as an additional window on top of Xcode presenting the converted Swift snippet. I haven't yet had the chance to dig into SourceKit that much.

@andrewcl
Copy link

I think you're rather limited to text manipulation in SourceKit so I'm not sure a modal experience would be viable.

There are several routes this tool could evolve. Unfortunately, I think it's going to depend on the direction the the objc2swift project takes.

@dzenbot
Copy link
Owner

dzenbot commented Mar 30, 2017

Indeed.
I'm worried that objc2swift project is pretty stale, with no Swift 3 support and many other bugs the Yahoo team has been actively working on...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants