-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Desktop-specific APIs #4
Comments
Hey, great work with this project! What milestone are you expecting to add these in? Next release is 0.2.0 right? Would this be 0.3.0 stuff? |
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 some particular thing let me know. |
That's great! Congrats. I'm very interested in the file writing API's. I'll keep an eye out for these hitting. |
Any news on the file-writing API (or file-reading for that matter)? Been looking around trying to figure out how to read files and directories with no luck |
I believe it should be the plugin, like |
@ptmt what of these tasks has more priority ? |
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. #93 this solution
was a workaround, I don't sure if it needs to be merged. If I had enough
time, I would update RN for macOS with latest React Native (including Yarn,
Flow updates and etc.) and keep profiling this. If you interested in let me
know, I'll provide some details.
The other core issue is events system, like mouse events and such. See
problems like this #58
Also: #40 (that's
something that original React Native doesn't have as a concept).
…On Wed, 28 Dec 2016 at 19:51 Paul Matyukov ***@***.***> wrote:
@ptmt <https://github.com/ptmt> what of these tasks has more priority ?
Is resizing by dragging mean NSSplitView ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA9SU7m8IAUHUTSE5bWSIJj1TIrIo2wOks5rMpOSgaJpZM4GSJTs>
.
|
I'll start with implementation NSSplitView I saw issue with resizing in init app (when resize - view background resize some delay) Concerning Event bug - when I test cursor changes, onMouseEnter and onMouseLeave work excellent - so need some information how to reproduce it. It will be very cool to merge with last react native, maybe after 0.40 released. I think about implementation #40, but at this moment i think there are many other work )) Also, how to provide documentation for custom components that not in React Native docs? |
Are there any prototypes around the file open dialog that could be looked at for inspiration? |
Did you manage to look at menubar icons yet? |
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 |
Can you open files yet? |
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 ptmt/ratpack@d1c2b2e, but you’ll need to write ObjC |
Implement core APIs. Keep in mind that some most difficult could be covered by plugins.
[[self window] setTitlebarAppearsTransparent:YES];
+NSFullSizeContentViewWindowMask
;The text was updated successfully, but these errors were encountered: