---
title: "Discussion on \"Switaculous - SwiftUI on Windows and Linux!\" | Hashnode"
description: "Discussion on \"Switaculous - SwiftUI on Windows and Linux!\". I've been doing some mobile dev recently; I really like SwiftUI's declarative style of building apps, but since I need cross-platform support for both Apple and Android, I'm stuck with React Native fo"
url: "https://hashnode.com/posts/switaculous-swiftui-on-windows-and-linux/6ad346f0996939fbcb435bcb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Switaculous - SwiftUI on Windows and Linux!](https://kevincoder.co.za/switaculous-swiftui-on-windows-and-linux?utm_source=hashnode&utm_medium=feed)

I've been doing some mobile dev recently; I really like SwiftUI's declarative style of building apps, but since I need cross-platform support for both Apple and Android, I'm stuck with React Native fo

Oct 17 · 3 min read · kevincoder.co.za  
Read the article

## Written by

[Kevin Naidoo](https://hashnode.com/@kwnaidoo)

@kwnaidoo · Durban, South Africa

  
[View profile](https://hashnode.com/@kwnaidoo)

Passionate & experienced tech enthusiast

On kevincoder.co.za, I write about my journey as a developer working across Django, Go, and everything in between, from large-scale systems to small, useful tools. Programming has been my passion for about 2 decades now, and I'm still loving it, so I experiment a lot and sometimes write about it.

## Responses 5

Markdown supported · ⌘↵ to post

[Yunus Emre Vurgun](https://hashnode.com/@yunusemrevurgun)

[Oct 18](https://hashnode.com/posts/switaculous-swiftui-on-windows-and-linux/6ad346f0996939fbcb435bcb/comment/6ad4abd2175b6e0334245f51)

Interpreting a SwiftUI subset for a fast preview loop is a nice way to learn the declarative layout model without a Mac. Since the layout system is where people get confused most, a toggle that draws frame outlines with the proposed and chosen sizes for each view (stacks, Spacer, padding, frame modifiers) would make the editor a genuinely good teaching tool. It would also make it obvious when your interpreter's sizing rules drift from Apple's.

[Kevin Naidoo](https://hashnode.com/@kwnaidoo)

[Oct 19](https://hashnode.com/posts/switaculous-swiftui-on-windows-and-linux/6ad346f0996939fbcb435bcb/comment/6ad4abd2175b6e0334245f51#reply-6ad642f78f5f05175f8c177e)

Thank you! Sounds like a good idea. I will definitely think about incorporating something like this.

[Reza Pratama](https://hashnode.com/@rezapratama)

[Oct 17](https://hashnode.com/posts/switaculous-swiftui-on-windows-and-linux/6ad346f0996939fbcb435bcb/comment/6ad38d33ed581d3067924f09)

an interpreter that only needs to cover the common widgets is the right scope, since the preview loop is what matters for learning. one idea is a small list of unsupported views shown in the editor, so people know why something renders differently than in xcode.

[Kevin Naidoo](https://hashnode.com/@kwnaidoo)

[Oct 17](https://hashnode.com/posts/switaculous-swiftui-on-windows-and-linux/6ad346f0996939fbcb435bcb/comment/6ad38d33ed581d3067924f09#reply-6ad3be05f6231bc6d5c6ed3d)

Great, thank you for the suggestion; I will definitely look into this. Currently, there's also a console error log that will print errors if there's a syntax problem or if something is not implemented yet.

[Reza Pratama](https://hashnode.com/@rezapratama)

[Oct 18](https://hashnode.com/posts/switaculous-swiftui-on-windows-and-linux/6ad346f0996939fbcb435bcb/comment/6ad38d33ed581d3067924f09#reply-6ad49e10412b3e0f036745dc)

the console log covers a lot. if each "not implemented" error named the view and pointed to the supported list, people could tell a missing feature from their own typo without leaving the editor.
