Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB96ED271 for ; Fri, 29 Jun 2012 18:12:24 +0000 (UTC) Received: (qmail 62880 invoked by uid 500); 29 Jun 2012 18:12:24 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 62828 invoked by uid 500); 29 Jun 2012 18:12:24 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 62802 invoked by uid 99); 29 Jun 2012 18:12:24 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2012 18:12:24 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 82AB98DB2; Fri, 29 Jun 2012 18:12:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mwbrooks@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [1/2] docs commit: [CB-969] Consistent formatting for iOS Cordova WebView. Message-Id: <20120629181224.82AB98DB2@tyr.zones.apache.org> Date: Fri, 29 Jun 2012 18:12:24 +0000 (UTC) Updated Branches: refs/heads/master 625068909 -> a1e13d85e [CB-969] Consistent formatting for iOS Cordova WebView. Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/a1e13d85 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/a1e13d85 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/a1e13d85 Branch: refs/heads/master Commit: a1e13d85e1232a21a5664f557f87934b23b3f172 Parents: 4da94b4 Author: Michael Brooks Authored: Fri Jun 29 11:12:09 2012 -0700 Committer: Michael Brooks Committed: Fri Jun 29 11:12:09 2012 -0700 ---------------------------------------------------------------------- docs/en/edge/guide/cordova-webview/ios.md | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/a1e13d85/docs/en/edge/guide/cordova-webview/ios.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/guide/cordova-webview/ios.md b/docs/en/edge/guide/cordova-webview/ios.md index e590f94..c31ba08 100644 --- a/docs/en/edge/guide/cordova-webview/ios.md +++ b/docs/en/edge/guide/cordova-webview/ios.md @@ -26,12 +26,15 @@ New Cordova-based applications created using the Xcode template provided in Cord It is recommended that you follow the `Cordova.framework` instructions below. The `CordovaLib` sub-project instructions are for Cordova core developers or users that have custom `CordovaLib` project code (for ease of debugging the core). -## Prerequisites ## +Prerequisites +------------- + 1. **Cordova 1.4.1** or greater 2. **Xcode 4.2** or greater 3. `Cordova.plist` file -## Adding Cleaver to your Xcode project (Cordova.framework) ## +Adding Cleaver to your Xcode project (Cordova.framework) +-------------------------------------------------------- 1. **Copy** the `Cordova.plist` file into your project folder on disk 2. **Drag and drop** the `Cordova.plist` file into the Project Navigator of Xcode @@ -58,7 +61,8 @@ It is recommended that you follow the `Cordova.framework` instructions below. Th MobileCoreServices.framework CoreMedia.framework -## Adding Cleaver to your Xcode project (CordovaLib sub-project) ## +Adding Cleaver to your Xcode project (CordovaLib sub-project) +------------------------------------------------------------- 1. **Copy** the `Cordova.plist` file into your project folder on disk 2. **Drag and drop** the `Cordova.plist` file into the Project Navigator of Xcode @@ -101,7 +105,8 @@ It is recommended that you follow the `Cordova.framework` instructions below. Th this if you have multiple boxes! 26. Click on the **"+" button**, and add `libCordova.a` -### Adding new classes to CordovaLib sub-project ### +Adding new classes to CordovaLib sub-project +-------------------------------------------- In general if you are only modifying or debugging existing CordovaLib classes you should be OK with just the above steps. However if you are @@ -115,7 +120,8 @@ adding new classes you need to follow a few additional steps: 3. In your project's Target's Build Settings, search for "Other Linker Flags". Add `-Obj-C` and `-all_load` to this. -## Using CDVViewController in your code ## +Using CDVViewController in your code +------------------------------------ 1. Add this **header** if you used the `Cordova.framework`: @@ -149,7 +155,8 @@ adding new classes you need to follow a few additional steps: [myView addSubview:viewController.view]; -## Adding your HTML, CSS and JavaScript assets ## +Adding your HTML, CSS and JavaScript assets +------------------------------------------- 1. Create a **new folder** in your project **on disk**, for example, name it `www` 2. Put your **HTML, CSS and JavaScript assets** into this folder @@ -164,5 +171,4 @@ adding new classes you need to follow a few additional steps: */ viewController.wwwFolderName = @"myfolder"; viewController.startPage = @"mypage.html" -