cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@apache.org>
Subject [DISCUSS] Update iOS Embedded WebView docs for Carthage
Date Tue, 21 Mar 2017 21:41:42 GMT
## DESCRIPTION

Carthage is supported for embedding Cordova into existing iOS projects now
(in cordova-ios@4.4.0, the next release):
https://issues.apache.org/jira/browse/CB-12050

The Docs to update are here:
http://cordova.apache.org/docs/en/6.x/guide/platforms/ios/webview.html

Doc issue:
https://issues.apache.org/jira/browse/CB-12514

## CARTHAGE

Carthage is:
https://github.com/Carthage/Carthage

In your existing project, you create a Cartfile. In it, you point it to the
Git repo for cordova-ios (among other dependencies). It will then download
the repo and build Cordova.framework in your project in a subfolder. You
would then add Cordova.framework into your project. Then in your code you
can do this:

@import Cordova;

CDVViewController* cdv = [CDVViewController new];

### PROPOSAL

Update the docs to use Carthage, replacing the existing multitude of steps.
Note that Carthage, like the docs before it, does not solve the "How do I
add plugins?" problem, it is a replacement for the existing method.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message