From ba625d60360a152f20e7538cfd0e62416113e369 Mon Sep 17 00:00:00 2001 From: felixactv8 Date: Tue, 31 Jan 2012 18:54:54 -0800 Subject: [PATCH 1/2] PhoneGap 1.3.0 Included file changes in .h file for PhoneGap 1.3.0 implementation as well as needed libraries in order for xcode to compile. --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index a005384..7406c44 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,30 @@ We are brand new to objective-c, so there could be problems with our code! Installing ========== +/** +For installing with PhoneGap 1.3.0: +in PGSQLitePlugin.h file change for PhoneGaps JSONKit.h implementation. +[code] +#ifdef PHONEGAP_FRAMEWORK + #import + #import + #import + #import + #import +#else + #import "PGPlugin.h" + #import "JSON.h" + #import "PhoneGapDelegate.h" + #import "File.h" +#endif +[/code] + +In the Project Build Phases tab, select the "Link Binary with Libraries" dropdown menu and add 2 libraries: +1. libsqlite3.0.dylib +2. libsqlite3.dylib + +**/ Drag .h and .m files into your project's Plugins folder (in xcode) -- I always just have "Create references" as the option selected. From 1c1a9f01600a6c03b315dfd95484a09c810d94e4 Mon Sep 17 00:00:00 2001 From: felixactv8 Date: Tue, 31 Jan 2012 18:56:03 -0800 Subject: [PATCH 2/2] text changes text changes to update --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7406c44..7f6d24a 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,11 @@ in PGSQLitePlugin.h file change for PhoneGaps JSONKit.h implementation. [/code] In the Project Build Phases tab, select the "Link Binary with Libraries" dropdown menu and add 2 libraries: -1. libsqlite3.0.dylib -2. libsqlite3.dylib -**/ +libsqlite3.0.dylib +libsqlite3.dylib + + Drag .h and .m files into your project's Plugins folder (in xcode) -- I always just have "Create references" as the option selected.