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

Update for SwiftUI #10

Open
maxn0d3x opened this issue Aug 14, 2019 · 6 comments
Open

Update for SwiftUI #10

maxn0d3x opened this issue Aug 14, 2019 · 6 comments

Comments

@maxn0d3x
Copy link

Please Update for SwiftUI

@hollance
Copy link
Owner

There is nothing in this book that is related to Swift UI. Not sure what there is to update?

@maxn0d3x
Copy link
Author

maxn0d3x commented Aug 14, 2019

There is nothing in this book that is related to Swift UI. Not sure what there is to update?

@hollance Your example project uses UIKit and ViewController.
https://github.com/hollance/coreml-survival-guide/tree/master/CheckInputImage/CheckInputImage

This is legacy code from now on ! 👎
image

image

Who wants to see this codes again since SwiftUI & Xcode11 era ?Not me ! of course Not Apple inc. as well
I am already using MacOS 10.15 & ios13 & Xcode11 beta with SwiftUI.

I know it would not be a big deal in your contents. But, I quit iOS app dev. before because I was sick and tired to use storyboard stuff and UIKit stuff and hated Objective-C weird syntax. almost forgot the previous legacy technology. it was 5~6 years ago.
Here is a thing. A folk read your book sample and source code. He or she has no previous knowledge about UIKit and wants to use SwiftUI because it is promising. Apple encourages folks to use SwiftUI rather than previous legacy, UIKit. So. once he or she sees some "import UIKit" and ViewController stuff, it would be pretty obvious that he or she thinks it is outdated contents and example codes and just click the exit button and forget about your book.

Now, I can happily return back to Apple stack since Apple announced SwiftUI. So, could you do me a favor? Please update the project source for SwiftUI compatible.
If you update all your works for SwiftUI compatible, it would be promising for your work. I bet.
SwiftUI is a game changer. Trust me. :)

@hollance
Copy link
Owner

hollance commented Aug 14, 2019

I see your point but it's a little premature to call UIKit "legacy".

I don't think I'm going to update the code samples to SwiftUI anytime soon, but feel free to create a pull request for a SwiftUI version of the source code. ;-)

@maxn0d3x
Copy link
Author

I see your point but it's a little premature to call UIKit "legacy".

I don't think I'm going to update the code samples to SwiftUI anytime soon, but feel free to create a pull request for a SwiftUI version of the source code. ;-)

@hollance I can do the job for you. could you let me read your book? or could you offer some discount code at least?

@hollance
Copy link
Owner

Sorry, but I currently don't offer discount codes.

@maxn0d3x
Copy link
Author

That is Too bad

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

2 participants