News for hackers. Stuff that matters.
Re:iOS4 Built in SwiftUI by setpatchaddress on Wednesday June 09, 2021 @11:00PM (#27456214)
Compared to the equivalent standard code to implement that UI?
Re:iOS4 Built in SwiftUI by MrGando on Wednesday June 09, 2021 @11:08PM (#27456264)
Did you look at the file? Yes, comparatively using a non-declarative approach would render much simpler code. Perhaps the author is not writing SwiftUI proficiently? Having used SwiftUI myself I would argue that this is not the case.
Re:iOS4 Built in SwiftUI by busymom0 on Wednesday June 09, 2021 @11:11PM (#27456285)
It reminds me of why I am not a big fan of Flutter either. Not a fan of the deep nesting which both SwiftUI and Flutter needs to do for even moderately complex UIs.
Re:iOS4 Built in SwiftUI by aplummer on Thursday June 10, 2021 @02:19AM (#27457425)
This is a fun project so whatever code goes, but this could easily be broken into many small chunks. There’s even a context my button to pull subsections out into smaller strict automatically.