4 ms·
SwiftUI has this list functionality. You just loop over a list of items and set how to show it. SwiftUI will do the rest.
by rahkiin 6y ago
SwiftUI has this list functionality. You just loop over a list of items and set how to show it. SwiftUI will do the rest.
- g_p 6y agoWell that helps me pick my next book to read! I was looking at Flutter recently and admiring the idea of cross platform (if you're going to use abstractions, at least let's get some benefit from them as developers!), but also grabbed a book about Swift UI too, just to see what was going on in iOS. That sounds rather pleasant if it is performant (as I imagine it will be on iOS)
- rahkiin 6y agoI can only recommend it. It is still in beta though. SwiftUI is also cross platform: the generated UI is different on mac than iphone. With SwiftUI you are programming more with semantics than before
- IggleSniggle 6y agoSwiftUI is not crossplatform in the context of Flutter, which builds to iOS, Android, web, macOS, Windows, and Linux, natively. I've only played around with it a little bit, but it's quite an impressive achievement. It doesn't quite feel native, but it's pretty damn close. If you are familiar with React Native, it is very similar in both its coding style and in how it works. It's like the virtual DOM with the middleman of the DOM stripped out.