XCode 12 offers a new cross-platform swiftUI app - awesome
I would like to add platform specific code conditionals
e.g.
or
or
I would like to add platform specific code conditionals
e.g.
Code Block if(isMacos()) doLoginMacos() else doLoginIOS()
or
Code Block var body = macos ? ComplexNonMobileContentView() : Text("blabla mobile")
or
Code Block func onLoad { if(isMacos) addStatusbarItem }
//note i dont even know if the new App Protocol has a onLoad ;) Happy to add fully separate AppDelegates and all too