Dima Loktev
Dima Loktev
> Is this something which is still being considered? For now, using react-native and react-native-desktop at the same time is pretty straightforward. > integrate Mac OS support into React Native...
Take a look at how Windows version works: https://github.com/ReactWindows/react-native-windows and consider the C++ core of RN itself. But surely, it's just a baby step, and not the most important task...
You're right, it's a far away from ideal right now. ReactWindows has most of the native code written in C#, though. It has a completely different native part, (like Android...
I've started to implement a real product based on RND now, which will use most of these APIs internally. So eventually these will be merged into master. If you need...
I believe it should be the plugin, like `react-native-fs`. See also https://github.com/skeletcode/skelet/blob/master/macos/skelet/Modules/FilesystemManager.m#L34 for an example, there are 3 methods, not perfect, though. What's you task?
Yes, NSSplitView would be one of key component for desktop app. The blocker-issue, though, is dealing with resizing due to a lot of views in AppKit. https://github.com/ptmt/react-native-macos/pull/93 this solution was...
@stanlemon https://github.com/skeletcode/skelet/blob/master/macos/skelet/Modules/DialogManager.m#L32
Yes, I used it couple times, but this requires to write a bit of native code. See this for example https://github.com/ptmt/dripr-menubar/blob/react-native/osx/dripr/AppDelegate.m#L65
Yes, see https://github.com/skeletcode/skelet/blob/master/macos/skelet/Modules/DialogManager.m#L32 for example. If you need to open it without a user consent there is a few examples like this https://github.com/ptmt/ratpack/commit/d1c2b2e90228f63629bb8714c4b941a9411a2438, but you’ll need to write ObjC
Sure, I'm having old laptop, but it makes a lot of sense. RN for iOS supports this, this fork should too.