-
|
Hello, I'm new to both iOS or macOS app development. I've read through the iOS options in the docs. Now, would this setup be much different if I want to target building an app for both iOS and macOS? I would guess the crux part wouldn't be much different, if at all. However, does anyone have pointers documenting the differences? Ringo |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
@mhedgpeth You're possibly best placed to comment on Crux on macOS in practice. In general, I think I would avoid treating them as one Xcode project, purely based on the likelihood of quite different UX patterns in the two. I could imagine there being a fair bit of shared Swift code between them for the core wrapper and possibly the capability implementations - the Foundation frameworks are basically the same, from what I remember. Making the Crux core and any shared Swift code a Swift package that can be used from either app might work pretty well? |
Beta Was this translation helpful? Give feedback.
-
|
I'm in the early stages of iOS development and the macOS target is my daily driver, but if it helps here's how I structure things: To make things easier I put most of my code in a pure swift project called The app written in rust is available for download on my website, https://people-work.io - so if you have any questions on how I did anything, I'd be happy to answer. I hope that helps! |
Beta Was this translation helpful? Give feedback.
I'm in the early stages of iOS development and the macOS target is my daily driver, but if it helps here's how I structure things: