DEV Community

Discussion on: SwiftUI Data Flow

 
technoplato profile image
Michael Lustig - halfjew22@gmail.com

Oh absolutely. I love that this new paradigm seems to be arising across all platforms. Compose on Android, React on web and cross platform, and Swift UI on Apple brands.

The reason I ask though is I’m having some difficulty figuring out navigation patterns using SwiftUI on MacOS. I know I need to dive into more samples but they certainly don’t make any effort to surface standard patterns.

Where did you learn about navigation with SwiftUI on MacOS?

Thread Thread
 
trozware profile image
TrozWare

I haven't explored SwiftUI on Mac much at all yet, so that is an interesting question to which I have no answer. My other query about Mac SwiftUI apps is how to configure menus.

Thread Thread
 
technoplato profile image
Michael Lustig - halfjew22@gmail.com

Let me know if you find anything out. I’ve just got this terrible switch in my ‘body’ var to render different screens depending on state...

If you’d like to explore and do some pair programming together, I’m currently working on this: github.com/technoplato/TutorialAss...

Thread Thread
 
trozware profile image
TrozWare

I will get back to you if I discover anything useful.

Thread Thread
 
trozware profile image
TrozWare

Hi Michael,

I have just published a 3-part article on using SwiftUI for a Mac app which might answer some of your questions.