by jph · 4y ago · 0 comments
Success to me looks like steering clear of SwiftUI for now, and advocating for Apple to hire documentation editors/leaders who can 1) create SwiftUI documentation of code examples for how to escape out of SwiftUI to handle more-complex cases, and 2) accelerate Xcode speedups of SwiftUI testing-and-instrumentation techniques such as View testing (e.g. ViewInspector) and integration testing vs. unit testing (e.g. reactive vs. dependency injection vs. extension tests vs. protocol tests etc.)
Will it ever be mainstream for iOS/MacOS? Maybe, if Apple would use it way more than they have so far, thus improvement by dogfooding. It is nice to build apps this way, but there are way too many bizarre gotchas still for most people unless you can live with more flexible designs.
For those "stupidly complex UIs", SwiftUI just doesn't have enough hooks for customization. And the improvements are too slow. Using SwiftUI has been bitter-sweet. It feels like you just can't use it to craft a high quality app that doesn't look like a generic iOS app.
To be honest, as a user, I'd really rather see more "generic iOS apps". I think too many design teams are self-centered and do not consider that users need the apps not to admire their wonderful creations, but to get certain things done. In other words, your app is the center of your world, but it is not the center of mine. It's something I want to use to get stuff done quickly, with minimum effort, and with minimum cognitive load. Generic is good.
It’s not released yet, but my beta testers seem to love it. Most of them are non-technical. I haven’t written the on boarding stuff yet but the generic UI/UX means they get up to speed quickly even without a tutorial. I’ve received considerable praise for how intuitive it is.
It’s developed in SwiftUI. My first time working on iOS. My experience is similar to others. 75% of the time, it’s a joy to use. 25% is spent pulling my hair out over internal bugs and bad documentation.
I think a mobile app should have a stupidly simple UI instead. Designers traditionally use a graphics program to design pixels. SwiftUI let’s you design layouts and components. Maybe designers should change how they design and start using SwiftUI as a design tool.
Modern development, at some companies, can truly feel regressive at times.
decoupling is hard to do and i was shocked (and gratified) they backported async/await... but swiftui is ui-level, im guessing there must be some real pushback for backporting it...
as a customer/developer, the whole os release every year is getting kind of old tbh...
Meanwhile, my team has built an entire cross-platform desktop app in Qt with QML, which has been around for years and works refreshingly well. You're telling us that Apple, starting fresh and with several years under its belt now, still hasn't gotten its shit together with SwiftUI?
And the word is that nobody at Apple even understands how Xcode works at this point. It's a patched-together shitshow that desperately needs a ground-up rewrite... but we all know how those go. Remember the "ground-up rewrite" of Finder we were promised several major OS releases ago? Still waiting.
No? I've never heard of this. Do you have any citation for such a promise?
Wired: https://www.wired.com/2008/10/rumor-apple-s-finder-app-to-ge...
Ars Tecnica: https://arstechnica.com/civis/viewtopic.php?f=19&t=99890&sta...
Also a quick search found this guy referring to it in 2009:
"I have always wished that I could change both the font and spacing between both sections and items. I was really hoping this would be possible with the rewrite of finder in SL 10.6."
https://macmost.com/forum/resizing-the-sidebar-font-in-finde...
WHOOPS
This seems extremely unlikely given your other uninformed comment: https://news.ycombinator.com/item?id=32650545
I agree that Apple’s documentation needs help (this year’s improvements are a nice step) but can we really expect them to provide extensive documentation for handling edge cases (you’re telling me UIKit docs offer that)?
Forcing myself to be rational "hate" is probably too strong a word. If you are down the Apple cul-de-sac there is really no turning back. So investing in things like code examples for all of their API (there are a few, a very few) is a waste for Apple. It does not attract new developers and the old ones are stuck in the cul-de-sac.
There obviously is a trade off with how much you can/should expect, but "you cannot expect 9/10" is not a valid reply to "it currently is 3/10".