Posts

Showing posts from November 28, 2018

Didn't because didn't OR not because .. which to use …Help Quick… Anyone…?

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty{ margin-bottom:0; } up vote 0 down vote favorite He didn't run because he didn't wanted to OR He didn't run not because he didn't wanted to OR He didn't run not because he wanted not to Which is correct? What is needed to express is that the person didn't do a particular thing, in this case let it be that he didn't run ,but the person wanted to do it, and so 'he didn't wanted to' isn't the reason he didn't run , the reason why he didn't do would be in the next sentence..as a simple sentences 'he didn't run because he was/couldn't/(or anything else as a reason) _____' american-english negation double-negation

How to get `react-native link` to link my library via Cocoapods?

Image
up vote 0 down vote favorite I am writing a new library for React Native that uses native components for iOS and Android. It depends on another native library via Cocoapods, and contains a .podspec file. When I try to link it to a test project using react-native link , it successfully adds the source project as a library, but doesn't install the dependency via Cocoapods. It looks like there are ways to customize the link behavior via rnpm keys in the package.json file, but I can't find any info on what those should be (it's also unclear if those are used by the newer link command, or are a holdover from the actual rnpm days.) If there are docs on that that you know of, please pass them along! Otherwise, my main question is this: how can I get react-native link to install my dependency via Cocoapods, or do I ne