dsward2 / macSVG

macSVG - An open-source macOS app for designing HTML5 SVG (Scalable Vector Graphics) art and animation with a WebKit web view ➤➤➤
http://macsvg.org/
Other
1.15k stars 72 forks source link

Swift language migration feasibility study #1

Open dsward2 opened 7 years ago

dsward2 commented 7 years ago

This project will evaluate Swift for these functions, currently implemented with Objective-C:

Emasoft commented 7 years ago

Please, migrate every part of this awesome project to Swift!

inlinecoder commented 6 years ago

WHY would you want to migrate macSVG to Swift? WHAT are benefits migrating?

Not a Swift-coder here, but a man who has a least some experience with iOS\macOS development (I have my apps on AppStore, on both iOS and macOS platforms).

inlinecoder commented 6 years ago

Would it be easier and much more future-proof to minimize Cocoa\Objective-C code and replace with something like React or Angular and rely on WKWebView (yes, WKWebView)? That's quite easy to make macSVG to look and behave like a native macOS app with all nice blurs and so on.

With that you'll be able to reduce load on a Obj-C/JS bridge. Other benefits are obvious.

cramhead commented 6 years ago

Would this ObjectiveC2Swift be helpful?