macSVG icon indicating copy to clipboard operation
macSVG copied to clipboard

Swift language migration feasibility study

Open dsward2 opened this issue 8 years ago • 4 comments

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

  • Cocoa plug-in architecture
  • WebKit delegate methods
  • WebKitInterface.mm
  • Eliminate plugin-to-app callback interface, and allow plugins to directly call into host application with Xcode build option: CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES

dsward2 avatar Dec 12 '16 00:12 dsward2

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

Emasoft avatar Mar 05 '17 04:03 Emasoft

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 avatar Nov 09 '17 09:11 inlinecoder

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.

inlinecoder avatar Nov 09 '17 09:11 inlinecoder

Would this ObjectiveC2Swift be helpful?

cramhead avatar Mar 08 '18 18:03 cramhead