O2Swift - Objective-C to Swift automatic source code translator

O2Swift - Objective-C to Swift automatic source code translator

By StockSpy Apps Inc.

  • Category: Developer Tools
  • Release Date: 2016-01-09
  • Current Version: 1.3
  • Adult Rating: 4+
  • File Size: 4.46 MB
  • Developer: StockSpy Apps Inc.
  • Compatibility: Requires iOS 10.9 or later.
Score: 3
3
From 6 Ratings

Description

Swift is here and it's the future! Swift code is more maintainable and "safer" than Objective-C. If you're 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 you're new to Swift you will find this tool very valuable as a aid for learning Swift if you have Objective-C experience.

Screenshots

Reviews

  • New Version error

    1
    By ADETX
    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.
  • Failed to convert code with no useful information about why

    1
    By dlindberg
    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.

Comments

keyboard_arrow_up