Skip to content

Conversation

nacho-carnicero
Copy link
Contributor

Overview

Following the issue in #43 I am adding this PR in order to fix the compilation. Basically I:

  • Added missing files to the XCode project (the RNCSegmentedControlManager.* files were not added)
  • Changed the React imports in the project from #import "RCTLibrary.h" to #import <React/RCTLibrary.h>
  • Added a line in the documentation to let users know that they should link this library to their project to make it work.
    NOTE: I only added a link to the manually linking instructions, but this should be done in a better way (for instance by doing a pod install or something like this). I don't know very much how installed libraries can be added to the Podfile of the root project when being installed so I did not add that change here, but this would be a nice enhancement to this PR.

Test Plan

Basically I just tested that by making those changes my app which would not compile before now compiles.

Copy link
Member

@Naturalclar Naturalclar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nacho-carnicero Thanks for the PR! I've made some suggestions, could you take a look at it?

nacho-carnicero and others added 2 commits January 21, 2020 10:39
Co-Authored-By: Jesse Katsumata <niconico.clarinet@gmail.com>
Copy link
Contributor Author

@nacho-carnicero nacho-carnicero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Naturalclar I made the requested changes, should be good for merging 👍

Copy link
Member

@Naturalclar Naturalclar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nacho-carnicero Thank you! LGTM!

@Naturalclar Naturalclar merged commit b887456 into react-native-segmented-control:master Jan 22, 2020
@Naturalclar Naturalclar mentioned this pull request Jan 23, 2020
@Naturalclar
Copy link
Member

Released v1.1.1 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants