Re:iOS4 Built in SwiftUI
by lilyball on Wednesday June 09, 2021 @11:33PM
(#27456379)
Really the problem is so much logic is being done inline with the view hierarchy. Like the close button action, it’s a big chunk of code and means I couldn’t even tell it was the close button until I scrolled further down. Actions like that probably should have been pulled off into their own functions.
It could also use actual comments, and perhaps breaking more things putout into subviews.
It could also use actual comments, and perhaps breaking more things putout into subviews.