People say this because of SwiftUI (and they're absolutely right).
The developer sentiment has trended against Swift for cross-platform UI work because nobody wants to write three native UIs and a few hundred ifdefs. It's little wonder that Electron is the king of cross platform Mac apps.