Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite in Swift #131

Open
manicmaniac opened this issue Aug 12, 2022 · 0 comments
Open

Rewrite in Swift #131

manicmaniac opened this issue Aug 12, 2022 · 0 comments

Comments

@manicmaniac
Copy link
Owner

manicmaniac commented Aug 12, 2022

Honestly I'm wondering if rewriting in Swift is good idea or not.

Pros:

  • Looks modern
  • Source code will be shorter
  • Strict typing can reduce the test cases

Cons:

  • Swift is still less stable than Objective-C so the future maintenance cost would be more expensive
  • Swift cannot use id type without casting so headers in Xcode private frameworks must be rewritten manually

Things not important:

  • I think performance difference between Swift and Objective-C is not meaningful because core features of this program depends on Xcode frameworks and they are written in Objective-C
  • Distributing with Swift Package Manager is not so attracting to me because it supports Objective-C program
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant