3 ms·
Please fix the dumpster fire that is AppKit! Doing a grep for angry words in my source code and commits reminded me of some traumas over the years… * Core Data
by gnachman 8y ago
Please fix the dumpster fire that is AppKit! Doing a grep for angry words in my source code and commits reminded me of some traumas over the years…
* Core Data's generated classes are broken for one-to-many relationships
* NSTableView is a total mess. Lots of things don't work quite right. For example, calculating the correct height for a row of wrapped text is nearly impossible without hackily adding a few points here and there.
* In Metal, constant buffers over 64k get silently truncated on some GPUs.
* MTKView is half-baked. Resizing it stretches the window's contents, for example. If you don't use layers it overlaps the window's rounded corners. If you do enable layers, the framerate drops by half.
* The one field editor per window hack breaks expectations every time I use it. It should be done away with.
* NSTitlebarAccessoryViewController is officially supported but was never documented and forces the entire window to use auto layout
Please don't add any features. Just fix the garbage fire you already have rather than throwing more garbage on it.
- himom 8y agoYup. Feature freeze / bug hunt challenge with some morale incentive honorariums. The only features that vital necessities. * Peripheral Shield - “firewall” I/O security and disablement on 2008+ machines. Many a disk cloner and malware loaders use USB, Thunderbolt or FireWire to install their stack. * Deep Sleep that works. /var/vm/sleepimage is 1 GiB but it has 16 of RAM. * Official internal OS tweak platform that’s sandboxed. * Open source much more of macOS and iOS.