-
Notifications
You must be signed in to change notification settings - Fork 279
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
feat: React-Native-MacOS Support #119
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bralax Thank you so much!
There were some commented out sections left in the code. Could those be removed or have comments stating the reason for the comment out? Thanks 😄
Hi @Naturalclar That was my fault for leaving those in and I have no removed the comments. I was using the IOS implementation as a reference so a lot of that is that as I went I commented out code that did not apply to macOS (for example the macOS equivalent does not use a delegate or datasource) and forgot to delete afterwards. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bralax thank you so much!
# [1.7.0](v1.6.6...v1.7.0) (2020-09-07) ### Features * React-Native-MacOS Support ([#119](#119)) ([ce7d335](ce7d335))
🎉 This PR is included in version 1.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
I am working on a project using react-native-macos and needed access to a picker, so I decided to implement this library for macOS using the NSPopUpButton.
Test Plan
To test that it worked, I built a small sample application that uses the library.
Here is some screenshots of it in use.
What's required for testing (prerequisites)?
A macOS computer running >= 10.14
What are the steps to reproduce (after prerequisites)?
yarn
npx react-native run-macos
Compatibility
Checklist
README.md
CHANGELOG.md
-> Does not exist?example/App.js
) -> Does not currently work as the pod spec relies on this GitHub and the code for macOS is currently not in the pod which is why I made the sample project with a modified pod spec.