With Apple apis, it's attend WWDC or good luck.
TextKit 2 – The Promised Land
21–30 of 33 posts
Re: TextKit 2 – The Promised Land
#22I spent decades in Java land using open-source libraries, where the quality was broad and deep. An enticing demo usually meant it was good all the way down.
With Apple, though, a nice demo means you can do exactly what they did, but be blocked if you step off the happy path. Worse, each developer needs to get bruised because there's no publicly available list of bugs for an API.
I'm grateful to those who publish critiques of API's. It's a life saver.
Re: TextKit 2 – The Promised Land
#23This is an unavoidable result of lazy layouts. With the LazyList in Jetpack compose, it's comically difficult to produce a scrollbar, because the "LazyList" only ever lays out the visible items, so Compose can't really know (unless you actually already know) the full size of the list. I find the iron triangle of project management reins supreme in a lot of domains: quality is sacrificed in the name of performance. [0…
I think many software companies would happily choose good and fast if that were an option. In reality it rarely is (see: The Mythical Man Month).
In fact a lot of companies don't end up achieving any one of the three.
Re: TextKit 2 – The Promised Land
#24This is one of many such API. I spent decades in Java land using open-source libraries, where the quality was broad and deep. An enticing demo usually meant it was good all the way down. With Apple, though, a nice demo means you can do exactly what they did, but be blocked if you step off the happy path. Worse, each developer needs to get bruised because there's no publicly available list of bugs for an API. I'm grat…
But if you wanted: knock yourself out.
With the first version of Mac OS X, I was stunned that the high-level "convenience" APIs had capabilities that you couldn't actually replicate using the lower level APIs. And this seems to be getting worse. Fortunately with Swift we now have a type-system to enforce the "Apply way or the highway" attitude.
Re: TextKit 2 – The Promised Land
#25What on earth? How is that considered acceptable? And from Apple of all companies, the ones that put a speaker in the iPod just so it would improve the UX of scrolling.
Re: TextKit 2 – The Promised Land
#26Re: TextKit 2 – The Promised Land
#27It's bizarre that they prioritize parsimony over correctness. Laying out long documents can happen in the background, but shouldn't be deferred to when you actually scroll.
Re: TextKit 2 – The Promised Land
#28Re: TextKit 2 – The Promised Land
#29Earlier quoted context omitted.
> I would not dismiss TextKit2; it is an incredible improvement over TextKit1. It's an absolute disaster on macOS. Even TextEdit app is now buggy as hell. It's incredible how Apple broke plain text display on the Mac, which was a solved problem since forever.
Is it incredible, or is it quite credible? It’s taken Microsoft years now for “New Outlook” to get feature priority with Outlook 98. This feels like the new normal.
Re: TextKit 2 – The Promised Land
#30I tried to use it a year+ ago and that was a joke and a half. Half baked, buggy, and horribly documented. With Apple apis, it's attend WWDC or good luck.