TOKYO (Tom Bluewater) – For the past three months, I’ve worked on several iOS apps for iPhone and iPad. Speaking of specific apps including Animal Me and Masked Man Or Woman, I had to create a lot of UIBezierPath path objects a few weeks ago. Fortunately, I have a great desktop application (, which I didn’t develop myself) that lets me draw paths with my trackball. Unfortunately, it only generates Objective-C code. And I’ve asked the developer by e-mail whether he or she is going to release a Swift-compatible version. But there’s been no reply. I only write Swift now, so what can I do about Objective-C code that I’ve got? Well, as I usually do, I’ve developed a desktop application to make iOS development more efficient. And I’ve ended up with a desktop application called Path4Code.
Path4Code is a desktop application that lets you quickly convert hundreds of lines of Objective-C code for UIBezierPath into the Swift-compatible. Basically, all you have to do is to plug your Objective-C code into the top text field. And retrieve Swift-compatible code at the bottom or click on the copy code toolbar button. Continue reading