Screenshots

Description

Important: if you don't see the “Xcode Source Editor” menu item under System Preferences -> Extensions, this is most likely due to a corrupt installation of the Xcode itself.
If this happens, reinstall both Xcode and Swiftify from the AppStore.
Email contact@swiftify.com if the issue persists.

Visit https://objectivec2swift.com/#/xcode-extension/ to get your free API key.

Swiftify Xcode Extension allows converting your Objective-C code to Swift 4.2 or 4.1 right in Xcode.
The app includes Xcode & Finder extensions and the Advanced Project Converter app best suited for gradual project migration.

To install Swiftify for Xcode in Xcode 10 (or Xcode 9) on macOS Mojave (or High Sierra):
• Quit Xcode;
• Launch “Swiftify for Xcode” from your Applications folder and follow the link to get your API key (if you leave it blank, the output will be limited to 1 KB);
• Enable Swiftify extension in System Preferences -> Extensions -> Xcode Source Editor;
• Restart Xcode;
• Use Editor -> Swiftify menu to convert selection, whole file or clipboard contents from Objective-C to Swift.

The converted code is transferred over an encrypted HTTPS connection and is NEVER stored on our servers!

If you are interested in the offline version with a similar functionality, it's also available at https://objectivec2swift.com/#/offline-converter/

Swift and Xcode are trademarks of Apple Inc., registered in the U.S. and other countries.
Swiftify (https://swiftify.com/) is not affiliated with Apple, Inc.

What’s New

Version 4.6

• Added an option to disable processing of Bridging Header and Precompiled Header (PCH) files
• Ensure that files inside framework folders are left unchanged
• Fixed an issue when watching for file system changes ignored new folders
• Fixed a few reported crashes

Ratings and Reviews

4.4 out of 5
34 Ratings
34 Ratings
robomex ,

Excellent Starting Point

I recently had to convert a project from Objective-C (which I do not know) to Swift and found Swiftify to be an excellent way to start that process.

In addition to a time-saver, over the course of using Swiftify for a few weeks I've learned quite a bit about Objective-C. I now feel much more comfortable taking the starting point in the conversion process that Swiftify provides and doing the last bit of conversion to Swift myself faster & more accurately. Highly recommended!

Developer Response ,

Thanks for sharing a really interesting user story!
Sounds amazing that Swiftify even helped you to learn Objective-C.
It's also great to hear that you have successfully used the converter even without prior knowledge of Objective-C!
Wish you all the best with your projects :)

dominikhofmann ,

Huge timesaver

I have to echo the other feedback here. This tool does exactly what it says: converts Obj-C to Swift.

For me, it took a medium-sized project I was considering keeping in Obj-C for timing reasons and made porting it to Swift realistic.

It might not match your exact naming style on an "if let" or other preferences you might have, but it gets the bulk of everything correct — especially functionally — and saves a *ton* of time. And honestly, once you know that you've saved so much time, the clean up is kind of fun.

Developer Response ,

Thanks for your awesome feedback!

We have just completely refined naming of conditional unwrapping (`if let`) variables, to use shadow variables as suggested by Ray Wenderlich style guide.
Stay tuned for further updates!

Scenario1 ,

Gets you about 90% there.

This tool is a godsend. Apple should buy it and roll it into Xcode. It doesn’t get everything right, but it’ll still save you hours or days. A small app can be converted to Swift in a day or two. A medium-sized app in less than a week. Much better than starting from scratch because you can compare your files side-by-side after converting your project with the subscription-level purchase. Many thanks to Alex for providing this!

Information

Seller
Oleksii Petushchak
Size
45 MB
Category
Developer Tools
Compatibility
macOS 10.12 or later, 64-bit processor
Languages
English
Age Rating
Rated 4+
Copyright
Copyright © Swiftify 2014-2018. All Rights Reserved
Price
Free

Supports

  • Family Sharing

    With Family Sharing set up, up to six family members can use this app.