Live data from Hacker News

100 Days of SwiftUI

hackingwithswift.com

1–10 of 110 posts

Re: 100 Days of SwiftUI

#2
Near the very top of the page, Paul says that there is a newer version[1] and that if you're not sure, you should go with the newer version instead of this.

I think with the target audience for this, you should just go immediately to the newer version[1].

1. https://www.hackingwithswift.com/100/swiftui

Re: 100 Days of SwiftUI

#3
> 100 Days of Swift: Final Exam > Question 1/100: Which of these statements are true?

> Hint: Click to show.

> Option 1: The @unknown default case is there to catch cases that get added to an enum after we wrote our code.

> Option 2: UIDevice.current refers to the model number of the most recent iPhone

this is not about "hacking" nor learning programming or engineering. Seemingly that's about monkey coding.

Re: 100 Days of SwiftUI

#4
Tangent but I'm holding out from learning Swift until I see how the "Cross platform UI" wars shake out. We've got at least Kotlin, Dart, and JavaScript all battling it out (via Kotlin Multiplatform, Flutter, React Native) to be the king of UI languages across all platforms. I really like Swift though (from the little I've learned), so it's too bad it doesn't really have a cross platform UI story yet.

(I could learn all four but I have kids, so it'll probably just be React Native for me.)

Re: 100 Days of SwiftUI

#5
post #4

Tangent but I'm holding out from learning Swift until I see how the "Cross platform UI" wars shake out. We've got at least Kotlin, Dart, and JavaScript all battling it out (via Kotlin Multiplatform, Flutter, React Native) to be the king of UI languages across all platforms. I really like Swift though (from the little I've learned), so it's too bad it doesn't really have a cross platform UI story yet. (I could learn a…

I wouldn't hold your breath. It's very explicitly tied to Apple APIs and OS conventions; I doubt it will ever be cross-platform.

If you want a cross-platform SwiftUI, QtQuick/QML is probably your best bet.

Re: 100 Days of SwiftUI

#6
post #4

Tangent but I'm holding out from learning Swift until I see how the "Cross platform UI" wars shake out. We've got at least Kotlin, Dart, and JavaScript all battling it out (via Kotlin Multiplatform, Flutter, React Native) to be the king of UI languages across all platforms. I really like Swift though (from the little I've learned), so it's too bad it doesn't really have a cross platform UI story yet. (I could learn a…

I've worked in mobile since 2004 (not a typo, '04). The 'one platform to rule them all' has been just around the corner the entire time. As was already said, don't hold your breath.

All of that said, if you are time constrained and really want to look at a single thing, I would go with Flutter. It impressed me when I cranked out a side project with it a year or so ago. Hopefully they continue to put effort towards it.

Re: 100 Days of SwiftUI

#7
post #4

Tangent but I'm holding out from learning Swift until I see how the "Cross platform UI" wars shake out. We've got at least Kotlin, Dart, and JavaScript all battling it out (via Kotlin Multiplatform, Flutter, React Native) to be the king of UI languages across all platforms. I really like Swift though (from the little I've learned), so it's too bad it doesn't really have a cross platform UI story yet. (I could learn a…

I've worked in mobile since 2004 (not a typo, '04). The 'one platform to rule them all' has been just around the corner the entire time. As was already said, don't hold your breath. All of that said, if you are time constrained and really want to look at a single thing, I would go with Flutter. It impressed me when I cranked out a side project with it a year or so ago. Hopefully they continue to put effort towards it…

[flagged]

Re: 100 Days of SwiftUI

#8
post #4

Tangent but I'm holding out from learning Swift until I see how the "Cross platform UI" wars shake out. We've got at least Kotlin, Dart, and JavaScript all battling it out (via Kotlin Multiplatform, Flutter, React Native) to be the king of UI languages across all platforms. I really like Swift though (from the little I've learned), so it's too bad it doesn't really have a cross platform UI story yet. (I could learn a…

Swift had no horse in that race whatsoever. It was made to interface with Cocoa and it excels at pretty much exclusively that.

Re: 100 Days of SwiftUI

#9
post #2

Near the very top of the page, Paul says that there is a newer version[1] and that if you're not sure, you should go with the newer version instead of this. I think with the target audience for this, you should just go immediately to the newer version[1]. 1. https://www.hackingwithswift.com/100/swiftui

Ok, we've changed to that from https://www.hackingwithswift.com/100 above. Thanks!

Re: 100 Days of SwiftUI

#10
post #2

Near the very top of the page, Paul says that there is a newer version[1] and that if you're not sure, you should go with the newer version instead of this. I think with the target audience for this, you should just go immediately to the newer version[1]. 1. https://www.hackingwithswift.com/100/swiftui

Yeah, 100 Days of Swift is actually an introduction to UIKit, not the Swift language (aside from the first 10 days or so), so anyone starting fresh should do the SwiftUI version. I do wish Paul (or anyone) would write a good intro to Swift the language without any of Apple's frameworks.
Post reply on HN