Live data from Hacker News

SwiftUI

developer.apple.com

101–110 of 394 posts

Re: SwiftUI

#101

Can this retroactively support apps targeting iOS 12 and older?

The only devices you lose by supporting iOS 13 and not iOS 12 are the iPhone 5s from 2013 and the 6th generation iPod Touch from 2014.

iOS users update pretty rapidly.

Re: SwiftUI

#104
post #44

Earlier quoted context omitted.

Redux and react are two different questions.

When people make alternatives to React, at some point they have to address the concept of state changes and side-effects, building in conveniences for it, or leaving it for third parties to develop this area.

This has nothing to do with Redux. Redux is about storing global data, nothing more.

Re: SwiftUI

#105
post #103

Interesting move we see from the big players to more declarative UI toolkits. First Flutter, now this.

Don't forget qml

Yeah, it's a shame people are praising these new frameworks but forget similar ones that have been around and rocking for years.

Re: SwiftUI

#107

I’m one of the engineers that spearheaded this initiative inside of Apple. I just wanted to thank the HN community—I’ve been reading HN for 10 years now and it’s been formative in my development as a software engineer. If you’re at WWDC stop by the labs and say hi!

Does Apple allow employees to post comments like this now? :O

I thought they were crazy strict and would, like, fire people for posting on forums or Twitter

Re: SwiftUI

#108

Earlier quoted context omitted.

When people make alternatives to React, at some point they have to address the concept of state changes and side-effects, building in conveniences for it, or leaving it for third parties to develop this area.

... Or use something like Reagent where there is language level support for reactive state management using atoms. https://github.com/reagent-project/reagent

That looks like exactly what SwiftUI is doing.

Re: SwiftUI

#109
post #80

Earlier quoted context omitted.

How would you compare this to React.js? In particular, how does SwiftUI approach the concepts that Redux solves [EDIT: in other words, state management]?

@State var model = Themes.listModel I haven't tried it out, but the above looks more like MobX: @observable model = new MyListModel();

I think it's a closer analogue to React.useState.

Re: SwiftUI

#110

I’m one of the engineers that spearheaded this initiative inside of Apple. I just wanted to thank the HN community—I’ve been reading HN for 10 years now and it’s been formative in my development as a software engineer. If you’re at WWDC stop by the labs and say hi!

Hi, great work! Is iOS 13 required to use apps made with swift ui?

That would be unlikely, as they probably want to support everyone's old apps for a little while at least
Post reply on HN