O2Swift - Objective-C to Swift automatic source code translator at Mac App Store analyse

App power index: 520 (based on ranks around App Stores today)
Developer Tools Productivity Productivity
Developer: StockSpy Apps Inc.
Price: 0 free
Current version: 1.3, last update: 5 years ago
First release : 08 Jan 2016
App size: 4.46 Mb
4.8 ( 6188 ratings )
follow app ASO analyse

Estimation application downloads and cost

> 11.44k
Monthly downloads
~ $ 4.68k
Estimation App Cost


Swift is here and its the future!
Swift code is more maintainable and "safer" than Objective-C. If youre a serious app developer you know you need to upgrade your apps to the Swift language or risk being left behind.

O2Swift automatically translates old Objective-C source code to Swift. It automates around ~95% of work when converting to the new Swift programming language. O2Swift can save you WEEKS of effort when converting Objective-C to Swift for significant projects!

WARNING: You may need to spend some time to customize and optimize the conversion settings for your project. Some code blocks may require manual conversion. You should test every function of your converted code to make sure it works as expected. That said, we know the tool drastically reduces the time required for upgrading to Swift!

The tool is highly sophisticated and customizable. You can customize type mappings from Objective-C to Swift as well as method mappings with an easy to use template system. Conversion is super fast is run directly on your Mac.

Here are some of the translator features...
-Translates Implementations/Interfaces to Classes
-Translates Protocols to Interfaces
-Translates @property to Swift properties
-Translates frameworks like Foundation, UIKit, Quartz and others with correct method mappings and constants mappings.
-Handles Optional "?" types with sophisticated type inference.
-Converts init methods to constructors
-Supports NSDictionary and NSArray @{... : ...} and @[...] literals.
-Preserves formatting and comments inside your methods.
-Converts blocks to Swift closures equivalents
-Gathers type information from user specified header files to improve conversion.
-Allows manual customization of generated code using @Converted, @Ported and @Porting annotations.
-Supports code using ARC or manual memory management.

If youre new to Swift you will find this tool very valuable as a aid for learning Swift if you have Objective-C experience.
Read more
Available in countries
Country Price
Canada 12.99 CAD
China 68 CNY
France 9.99 EUR
Germany 9.99 EUR
Italy 9.99 EUR
Netherlands 9.99 EUR
Portugal 9.99 EUR
Spain 9.99 EUR
Poland 10.99 EUR
UK 9.99 GBP
India 999 INR
Japan 1500 JPY
Korea, Republic Of 14000 KRW
Poland 49.99 PLN
Russia 899 RUB
Turkey 299.99 TRY
USA 9.99 USD
Korea, Republic Of 10.99 USD
Ukraine 11.99 USD
Available for devices
MacDesktop,
OK, but has bugs and a lot of missing conversations

The conversion from ObjC to Swift works on approx. 80% of the code. That is a start, but due to lack of documentation I do not know where to start to add more/better rules. The worst thing though is that as of version 1.2 I cannot use the App any more because I cannot specify source and target folders. The file dialog does not appear.

New Version error

I used the prior version with mixed success. But the new version seems to have a critical error. Clicking on the Source Directory or the Target Directory buttons does NOTHING. Before it brought up the standard window for selecting a file directory, now NOTHING. Plus when I attempt to rerun the conversion that previously ran, I get “Source directory cannot be found” even though I know it is there. At least this is what I am getting.

Worked perfect

Worked perfect converting some classes for testing from ObjC to Swift.

Failed to convert code with no useful information about why

Method: todaysPrayer: nullnull java.lang.StringIndexOutOfBoundsException: String index out of range: -1 No additional information was found to diagnose. No FAQ found. No useful documentation found. No Website (other than a YouTube video demonstrating a simple example). Great idea. Not very well implemented. I hope i can get my money back.

Read more App Reviews