Re:Swift 6
by paperplatter on Tuesday September 17, 2024 @11:40PM
(#41575538)
I'm actually surprised at this because while UIKit is hard to use, at least it's fast. Though I remember the concurrency model being confusing, so you could accidentally block your UI thread.
[ Parent
| on HN ]
UIKit is pretty fast although a major step down in dev velocity.
AppKit on the other hand seems to be pretty intrinsically slow and the controls are looking increasingly dated.
Re:Swift 6
by fingerlocks on Wednesday September 18, 2024 @04:03AM
(#41577059)
Odd criticism.
UIKit is the iOS counterpart to MacOS’s AppKit and both are implemented as convenience wrappers around CALayers. They are also infinitely customizable. You can overload UI/NSView and draw vector-pen style on a blank canvas or render whatever you want on a GPU frame buffer. This is how MapKit, Safari, and the Camera view is implemented.
It’s a criticism from recent experience trying to build AppKit based UI. The examples you list barely use the stock widgets.
There’s decades of accumulated cruft in Cocoa that Apple discarded when implementing iOS.