News for hackers. Stuff that matters.
Re:Inspecting Web Views in macOS by oefrha on Friday March 11, 2022 @10:26PM (#30648743)
A settings view that is largely shared between macOS System Preferences, iOS Settings and icloud.com is not single-platform. Windows Settings uses React Native for the same reason.[1]

[1] https://news.ycombinator.com/item?id=30384494

Edit: mention iOS Settings.

Re:Inspecting Web Views in macOS by boogies on Saturday March 12, 2022 @12:34AM (#30649225)
> between macOS System Preferences, iOS Settings

Why don’t those both use the same UI toolkit, like the convergent GNU/Linux DEs? (macOS seems to be getting more touch-optimized with each update — eg. making sliders giant and iOS-style; why hasn’t Apple merged Cocoa and Cocoa Touch into one yet?)

Re:Inspecting Web Views in macOS by oefrha on Saturday March 12, 2022 @01:31AM (#30649431)
AppKit and UIKit are very different. SwiftUI and Catalyst are the unification efforts, but uptake is gradual. Anyway, once you throw icloud.com into the mix it doesn’t matter.
Re:Inspecting Web Views in macOS by gbear605 on Saturday March 12, 2022 @01:30AM (#30649428)
You can already use SwiftUI to build apps that work on both macOS and iOS, so the libraries are there, Apple just needs to use.