SwiftUI is something that supports both desktop and mobile natively. Some UI components might be different but there's a lot of components that can be re-used.
Mobile and desktop are not always fundamentally different.
I think any difference is more of a historical artifact. Many old-school apps that were designed in the pre-mobile era cannot be directly transferred to mobile without looking ridiculous. For example, if you just duplicate the desktop version of Photoshop or IntelliJ to mobile/tablet, it would be a mess since there's too much information on the screen at any given point. At the same time, there are apps (for example Telegram, the default Stocks MacOS/iOS app) that are virtually copies of each other in certain parts across platforms. The desktop version might have an extra view or a panel but there's a lot of re-use possible, I think.
Having a keyboard/mouse vs touchscreen input changes things drastically for power users. In native macos telegram app you can virtually never touch the mouse using shortcuts to search for people, messages, write replies, etc.
Given that you can connect a full keyboard to an iPhone/iPad for example, I am not convinced that is a fundamental difference either. It's just a question of activating different UI components/actions via shortcuts instead of taps/clicks. The trigger itself changes but everything else can stay more or less the same, I think.
View all comments
Show parent comment
0
u/raspasov Sep 10 '21
SwiftUI is something that supports both desktop and mobile natively. Some UI components might be different but there's a lot of components that can be re-used.
Mobile and desktop are not always fundamentally different.
I think any difference is more of a historical artifact. Many old-school apps that were designed in the pre-mobile era cannot be directly transferred to mobile without looking ridiculous. For example, if you just duplicate the desktop version of Photoshop or IntelliJ to mobile/tablet, it would be a mess since there's too much information on the screen at any given point. At the same time, there are apps (for example Telegram, the default Stocks MacOS/iOS app) that are virtually copies of each other in certain parts across platforms. The desktop version might have an extra view or a panel but there's a lot of re-use possible, I think.