Would be nice if it share some screenshots
Adding screenshots would probably get the repo DCMA'ed by Apple for infringing their Copyright
iOS4 Built in SwiftUI
31–40 of 45 posts
Re: iOS4 Built in SwiftUI
#32This file is insane: https://github.com/zzanehip/The-OldOS-Project/blob/master/Ol... I hate to say it but SwiftUI is tricky to write for very complex user interface...the one in that file is a nightmare imo.
It is the fully working safari UI in only 1000 lines of code. Additionally the declarative approach of SwiftUI together with the type system makes it certainly correct in many ways: no rendering bugs, no invalid states, probably no memory leaks, no cyclic dependencies creeping in.
Try to build this in Java Swing, UIKit, Html/Css/Js or any other UI library. Flutter might come close, react/vue/svelte as well, if you assume sensible predefined components. But they work similar to SwiftUI and the resulting one-file might look pretty similar.
Re: iOS4 Built in SwiftUI
#33This file is insane: https://github.com/zzanehip/The-OldOS-Project/blob/master/Ol... I hate to say it but SwiftUI is tricky to write for very complex user interface...the one in that file is a nightmare imo.
I agree that ideally the code could be organized a lot better, but think about it like this: It is the fully working safari UI in only 1000 lines of code. Additionally the declarative approach of SwiftUI together with the type system makes it certainly correct in many ways: no rendering bugs, no invalid states, probably no memory leaks, no cyclic dependencies creeping in. Try to build this in Java Swing, UIKit, Html/…
I have an old editor written in Java/Swing that takes more and more willpower to work on every time because handling state update bugs is what i spend half my time on.
Re: iOS4 Built in SwiftUI
#34iOS was and always will be a social construct. The ideas of NexTStep pre-date the 90s but certainly weren't new in 2010.
Re: iOS4 Built in SwiftUI
#35Re: iOS4 Built in SwiftUI
#36I haven't used an Apple mobile product in years (just Mac's for work), but damn did this hit me with some nostalgia.
Re: iOS4 Built in SwiftUI
#37Wow, this is a throwback to middle school with an iPod touch 2nd gen. I remember when the update allowing custom backgrounds came out, and I don't even know if my device could get it. I haven't used an Apple mobile product in years (just Mac's for work), but damn did this hit me with some nostalgia.
Re: iOS4 Built in SwiftUI
#38This file is insane: https://github.com/zzanehip/The-OldOS-Project/blob/master/Ol... I hate to say it but SwiftUI is tricky to write for very complex user interface...the one in that file is a nightmare imo.
Re: iOS4 Built in SwiftUI
#39Screenshots: https://imgur.com/a/JNVaFBI
Re: iOS4 Built in SwiftUI
#40Screenshots: https://imgur.com/a/JNVaFBI
The dialpad for the Phone app was absolute perfection.