├── English.lproj ├── InfoPlist.strings └── MainMenu.xib ├── MacGap.icns ├── PhoneGapLogo.png ├── application.icns ├── Default-Landscape.png ├── www └── phonegap-docs │ ├── joDoc.zip │ └── template │ ├── phonegap │ ├── line.png │ ├── arrow.png │ ├── prettify │ │ ├── lang-proto.js │ │ ├── lang-yaml.js │ │ ├── lang-wiki.js │ │ ├── lang-lua.js │ │ ├── lang-hs.js │ │ ├── lang-lisp.js │ │ ├── lang-css.js │ │ ├── lang-scala.js │ │ ├── lang-apollo.js │ │ ├── lang-ml.js │ │ ├── prettify.css │ │ ├── lang-vhdl.js │ │ ├── lang-sql.js │ │ ├── lang-vb.js │ │ └── prettify.js │ ├── mobile.css │ ├── index.html │ └── index.css │ └── joDoc │ ├── index.html │ ├── docbody.css │ └── doc.css ├── .gitignore ├── phonegap-mac.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata ├── project.pbxproj └── shazron.perspectivev3 ├── main.m ├── Classes ├── Commands │ ├── Sound.h │ └── Sound.m ├── Constants.h ├── WebViewDelegate.h ├── ContentView.h ├── Utils.h ├── WebViewDelegate.m ├── ContentView.m └── Utils.m ├── phonegap_mac_Prefix.pch ├── ReadMe.md ├── phonegap_macAppDelegate.h ├── phonegap_mac-Info.plist ├── macgap.plist └── phonegap_macAppDelegate.m /English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /MacGap.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subtleGradient/callback-mac/master/MacGap.icns -------------------------------------------------------------------------------- /PhoneGapLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subtleGradient/callback-mac/master/PhoneGapLogo.png -------------------------------------------------------------------------------- /application.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subtleGradient/callback-mac/master/application.icns -------------------------------------------------------------------------------- /Default-Landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subtleGradient/callback-mac/master/Default-Landscape.png -------------------------------------------------------------------------------- /www/phonegap-docs/joDoc.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subtleGradient/callback-mac/master/www/phonegap-docs/joDoc.zip -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subtleGradient/callback-mac/master/www/phonegap-docs/template/phonegap/line.png -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subtleGradient/callback-mac/master/www/phonegap-docs/template/phonegap/arrow.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | build 3 | 4 | /phonegap-mac.xcodeproj/xcuserdata/ 5 | /phonegap-mac.xcodeproj/project.xcworkspace/xcuserdata/ 6 | *.pbxuser 7 | *.mode1v3 -------------------------------------------------------------------------------- /www/phonegap-docs/template/joDoc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /phonegap-mac.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // phonegap-mac 4 | // 5 | // Created by shazron on 10-04-08. 6 | // Copyright 2010 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | return NSApplicationMain(argc, (const char **) argv); 14 | } 15 | -------------------------------------------------------------------------------- /Classes/Commands/Sound.h: -------------------------------------------------------------------------------- 1 | // 2 | // Sound.h 3 | // phonegap-mac 4 | // 5 | // Created by shazron on 10-04-30. 6 | // Copyright 2010 Nitobi Software Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface Sound : NSObject { 13 | 14 | } 15 | 16 | - (void) play:(NSString*)file; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /www/phonegap-docs/template/joDoc/docbody.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #fff; 3 | font: normal 100% "Georgia", "Palatino", "Times New Roman", "Times"; 4 | /* font: normal 100% "Gill Sans", "Verdana", "Arial"; */ 5 | line-height: 1.6; 6 | padding: 0 1em; 7 | color: #383838; 8 | font-size: 15px; 9 | margin: 0 auto; 10 | max-width: 700px; 11 | } 12 | -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/prettify/lang-proto.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bool bytes default double enum extend extensions false fixed32 fixed64 float group import int32 int64 max message option optional package repeated required returns rpc service sfixed32 sfixed64 sint32 sint64 string syntax to true uint32 uint64",cStyleComments:true}),["proto"]) -------------------------------------------------------------------------------- /Classes/Constants.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Constants.h 3 | * phonegap-mac 4 | * 5 | * Created by shazron on 10-04-08. 6 | * Copyright 2010 Nitobi Software Inc. All rights reserved. 7 | * 8 | */ 9 | 10 | 11 | #define kStartPage @"index.html" 12 | 13 | //Sencha Demos 14 | //#define kStartFolder @"www/sencha" 15 | 16 | // PhoneGap Docs Only 17 | #define kStartFolder @"www/phonegap-docs/template/phonegap/" 18 | 19 | -------------------------------------------------------------------------------- /phonegap_mac_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'phonegap-mac' target in the 'phonegap-mac' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | 7 | #ifdef _DEBUG 8 | #define DebugNSLog(format, ...) NSLog(format, ## __VA_ARGS__) 9 | #else 10 | #define DebugNSLog(format, ...) 11 | #endif 12 | 13 | #import 14 | 15 | #import "Constants.h" 16 | #import "Utils.h" 17 | #endif 18 | -------------------------------------------------------------------------------- /Classes/WebViewDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // WebViewDelegate.h 3 | // phonegap-mac 4 | // 5 | // Created by shazron on 10-04-30. 6 | // Copyright 2010 Nitobi Software Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @class Sound; 13 | 14 | @interface WebViewDelegate : NSObject { 15 | Sound* sound; 16 | } 17 | 18 | @property (nonatomic, retain) Sound* sound; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^\w+:[ \r\n]/],["pln",/^\w+/]]), 2 | ["yaml","yml"]) -------------------------------------------------------------------------------- /ReadMe.md: -------------------------------------------------------------------------------- 1 | MacGap OSX 2 | 3 | ============================================================= 4 | MacGap aims to provide HTML/JS/CSS developers an xCode project for developing Native OSX Apps that run in UIWebView and take advantage of WebKit technologies. 5 | 6 | 7 | Pre-requisites 8 | ------------------------------------------------------------- 9 | Make sure you have installed the latest Mac OSX Core Library. Download at [http://developer.apple.com/](http://developer.apple.com/) 10 | 11 | -------------------------------------------------------------------------------- /Classes/ContentView.h: -------------------------------------------------------------------------------- 1 | // 2 | // ContentView.h 3 | // phonegap-mac 4 | // 5 | // Created by shazron on 10-04-19. 6 | // Copyright 2010 Nitobi Software Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @class WebViewDelegate; 13 | 14 | @interface ContentView : NSView { 15 | IBOutlet WebView* webView; 16 | WebViewDelegate* delegate; 17 | 18 | } 19 | 20 | @property (retain) WebView* webView; 21 | @property (retain) WebViewDelegate* delegate; 22 | 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Classes/Utils.h: -------------------------------------------------------------------------------- 1 | // 2 | // Utils.h 3 | // phonegap-mac 4 | // 5 | // Shazron Abdullah 6 | // Copyright 2010 Nitobi Software Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #define DEG_EPS 0.001 12 | #define fequal(a,b) (fabs((a) - (b)) < DEG_EPS) 13 | #define fequalzero(a) (fabs(a) < DEG_EPS) 14 | 15 | @class LoadingView; 16 | 17 | @interface Utils : NSObject { 18 | } 19 | 20 | - (float) titleBarHeight:(NSWindow*)aWindow; 21 | - (NSString*) pathForResource:(NSString*)resourcepath; 22 | 23 | 24 | + (Utils*) sharedInstance; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/prettify/lang-wiki.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t \xA0a-gi-z0-9]+/,null,"\t \u00a0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[=*~\^\[\]]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^(?:[A-Z][a-z][a-z0-9]+[A-Z][a-z][a-zA-Z0-9]+)\b/],["lang-",/^\{\{\{([\s\S]+?)\}\}\}/],["lang-",/^`([^\r\n`]+)`/],["str",/^https?:\/\/[^\/?#\s]*(?:\/[^?#\s]*)?(?:\?[^#\s]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\s\S])[^#=*~^A-Zh\{`\[\r\n]*/]]),["wiki"]); 2 | PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"]) -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/prettify/lang-lua.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],["str",/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i], 2 | ["pln",/^[a-z_]\w*/i],["pun",/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),["lua"]) -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/prettify/lang-hs.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\u000b\u000c\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:[^\r\n\x0C]*)?)|(?:\{-(?:[^-]|-+[^-\}])*-\}))/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\']|$)/, 2 | null],["pln",/^(?:[A-Z][\w\']*\.)*[a-zA-Z][\w\']*/],["pun",/^[^\t\n\x0B\x0C\r a-zA-Z0-9\'\"]+/]]),["hs"]) -------------------------------------------------------------------------------- /phonegap_macAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // phonegap_macAppDelegate.h 3 | // phonegap-mac 4 | // 5 | // Created by shazron on 10-04-08. 6 | // Copyright 2010 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "ContentView.h" 11 | 12 | #if (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5) 13 | @interface phonegap_macAppDelegate : NSObject { 14 | #else 15 | @interface phonegap_macAppDelegate : NSObject { 16 | #endif 17 | IBOutlet NSWindow* window; 18 | IBOutlet ContentView* contentView; 19 | } 20 | 21 | @property (nonatomic, retain) NSWindow* window; 22 | @property (nonatomic, retain) ContentView* contentView; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/prettify/lang-lisp.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(/,null,"("],["clo",/^\)/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 2 | null],["lit",/^[+\-]?(?:0x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["cl","el","lisp","scm"]) -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[ \t\r\n\f]+/,null," \t\r\n\u000c"]],[["str",/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],["str",/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],["kwd",/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//], 2 | ["com",/^(?: 142 | 143 | 144 | 145 | -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color:#F6F4F2; 3 | font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; 4 | font-size:16px; 5 | } 6 | 7 | h1, ul, li { 8 | margin:0px; 9 | padding:0px; 10 | } 11 | 12 | #header { 13 | background-color:#515151; 14 | background:#515151 -webkit-gradient( 15 | linear, 16 | left top, 17 | left bottom, 18 | color-stop(0.2, #515151), 19 | color-stop(0.8, #302F2D) 20 | ); 21 | background:-moz-linear-gradient(center bottom , #515151 20%, #747474 80%); 22 | border-top:1px solid #919192; 23 | height:32px; 24 | left:0px; 25 | position:fixed; 26 | top:0px; 27 | width:100%; 28 | z-index:1; 29 | } 30 | #subheader { 31 | background-color:#CBCBCB; 32 | background:-webkit-gradient(linear, 33 | left top, 34 | left bottom, 35 | color-stop(0.0, #F9F9F9), 36 | color-stop(1.0, #CBCBCB) 37 | ); 38 | background:-moz-linear-gradient(center bottom , #CBCBCB 0%, #F9F9F9 100%); 39 | border-top:1px solid #383A3C; 40 | border-bottom:1px solid #919395; 41 | height:32px; 42 | left:0px; 43 | position:fixed; 44 | top:32px; 45 | width:100%; 46 | z-index:1; 47 | } 48 | #sidebar { 49 | background-color:#ECEAE7; 50 | bottom:0px; 51 | left:0px; 52 | overflow:auto; 53 | padding:20px 40px 0px 0px; 54 | position:fixed; 55 | text-align:right; 56 | top:66px; 57 | width:180px; 58 | z-index:1; 59 | } 60 | #scrollable { 61 | bottom:0px; 62 | left:220px; 63 | position:fixed; 64 | overflow:auto; 65 | right:0px; 66 | top:64px; 67 | } 68 | #content { 69 | /* top:64px;*/ 70 | /* bottom:0px;*/ 71 | /* right:0px;*/ 72 | /* left:220px;*/ 73 | /* margin:64px auto 0px 220px;*/ 74 | margin:20px 60px; 75 | /* position:absolute;*/ 76 | /* overflow:auto;*/ 77 | z-index:0; 78 | } 79 | 80 | #header h1, 81 | #header h1 a, 82 | #subheader h1 { 83 | color:#F6F4F2; 84 | font-size:18px; 85 | font-weight:normal; 86 | line-height:32px; 87 | margin:0px; 88 | text-align:center; 89 | text-shadow:0px -1px 1px #222222; 90 | } 91 | 92 | #header h1 a strong { 93 | font-weight:bold; 94 | } 95 | 96 | #header h1 { 97 | text-align:left; 98 | margin-left:20px; 99 | } 100 | 101 | #subheader h1 { 102 | color:#000000; 103 | text-shadow:#FFFFFF 0px 1px 0px; 104 | } 105 | 106 | #subheader small { 107 | color:#EFEFEF; 108 | font-size:14px; 109 | line-height:32px; 110 | position:absolute; 111 | top:0px; 112 | right:20px; 113 | text-shadow:-1px 1px 1px #666666; 114 | } 115 | 116 | #sidebar .vertical_divider { 117 | background-color:#CCCCCC; 118 | bottom:0px; 119 | border-right:1px solid #FFFFFF; 120 | position:absolute; 121 | top:0px; 122 | right:0px; 123 | width:1px; 124 | } 125 | 126 | #sidebar h1 { 127 | color:#000000; 128 | font-size:18px; 129 | padding:0px; 130 | margin:30px 0px; 131 | font-weight:normal; 132 | text-shadow:#FFFFFF 0px 1px 0px; 133 | } 134 | 135 | #sidebar ul, 136 | #sidebar li { 137 | margin:0px; 138 | padding:0px; 139 | } 140 | #sidebar li, 141 | #sidebar li a { 142 | color:#767573; 143 | font-size:14px; 144 | list-style:none; 145 | margin:15px 0px; 146 | text-shadow:#FFFFFF 0px 1px 1px; 147 | } 148 | #sidebar li a { 149 | -webkit-transition:color .15s ease-out; 150 | -moz-transition:color .15s ease-out; 151 | -o-transition:color .15s ease-out; 152 | } 153 | #sidebar li a:hover { 154 | color:#242220; 155 | -webkit-transition:color .15s ease-in; 156 | -moz-transition:color .15s ease-in; 157 | -o-transition:color .15s ease-in; 158 | } 159 | 160 | 161 | #otherbar { 162 | display:none; 163 | } 164 | 165 | #content { 166 | font-size:13px; 167 | line-height:160%; 168 | max-width:750px; 169 | } 170 | 171 | #content h1 { 172 | border-bottom:2px solid; 173 | font-size:2em; 174 | font-weight:normal; 175 | margin:2.0em 0px 1.3em 0px; 176 | padding-bottom:0.6em; 177 | } 178 | #content h2 { 179 | color:#242220; 180 | font-size:1.4em; 181 | font-weight:bold; 182 | margin:1.3em 0px 0.8em 0px; 183 | text-shadow:#FFFFFF 0px 1px 1px; 184 | } 185 | #content h3 { 186 | font-size:1em; 187 | font-weight:bold; 188 | margin:0.8em 0px 0.5em 0px; 189 | text-shadow:#FFFFFF 0px 1px 1px; 190 | } 191 | 192 | hr { 193 | display:none; 194 | border:none; 195 | margin:40px 0px; 196 | border-top:1px solid #CCCCCC; 197 | border-bottom:1px solid #FFFFFF; 198 | } 199 | 200 | p,blockquote,pre,ul { 201 | margin:1em 0px; 202 | } 203 | 204 | h2:after, 205 | h3:after { 206 | content: ":"; 207 | } 208 | 209 | blockquote { 210 | color:#767573; 211 | font-style:normal; 212 | margin-left:35px; 213 | padding-left:20px; 214 | position:relative; 215 | text-shadow:#FFFFFF 0px 1px 0px; 216 | } 217 | blockquote code { 218 | font-style: normal; 219 | } 220 | blockquote p { 221 | padding:10px 0px; 222 | } 223 | blockquote::before { 224 | font-style: normal; 225 | content: '\201C'; 226 | font-size: 450%; 227 | font-family:Georgia, Palatino, 'Times New Roman', Times;; 228 | position: absolute; 229 | left: -25px; 230 | top:0.3em; 231 | color: #E0E0E0; 232 | } 233 | 234 | ul { 235 | margin-left:40px; 236 | } 237 | ul > li { 238 | list-style:disc; 239 | list-style-position:outside; 240 | } 241 | ul ul { 242 | margin-bottom:0.5em; 243 | margin-top:0.5em; 244 | } 245 | 246 | 247 | 248 | code { 249 | font-family:"DejaVu", "Monaco", "Courier New", "Courier"; 250 | font-size:90%; 251 | padding:2px 4px; 252 | white-space:pre-wrap;; 253 | } 254 | 255 | pre { 256 | /* border:1px solid #CCCCCC;*/ 257 | background:#F2F0EE; 258 | -webkit-border-radius:11px; 259 | -moz-border-radius:11px; 260 | border-radius:11px; 261 | display:block; 262 | line-height:110%; 263 | margin:1.5em 0px 3em 0px; 264 | padding:15px 20px; 265 | white-space:pre-wrap; 266 | } 267 | pre code { 268 | background:none; 269 | border:none; 270 | font-size:11px; 271 | padding:0px; 272 | } 273 | 274 | a[href] { 275 | /* color:inherit;*/ 276 | color:#F06433; 277 | text-decoration:none; 278 | text-shadow:#FFF 0px 1px 0px; 279 | } 280 | a[href]:hover { 281 | color:#d0410f; 282 | } 283 | 284 | .prettyprint a[href], 285 | .prettyprint a[href] span { 286 | text-decoration:underline; 287 | text-shadow:none; 288 | } 289 | .prettyprint a[href] :hover, 290 | .prettyprint a[href] span :hover { 291 | text-decoration:none; 292 | } 293 | 294 | code a[href] { 295 | color:inherit; 296 | /* border-bottom:1px dotted #000000;*/ 297 | text-decoration:underline; 298 | } 299 | code a[href]:hover { 300 | color:inherit; 301 | text-decoration:none; 302 | } 303 | 304 | a[href].external:after { 305 | content: "*"; 306 | font-style: super; 307 | opacity: .5; 308 | } 309 | 310 | #index { 311 | -webkit-column-width: 235px; 312 | -webkit-column-rule-width: 5px; 313 | -moz-column-width: 235px; 314 | -moz-column-rule-width: 5px; 315 | column-width: 235px; 316 | column-rule-width: 5px; 317 | } 318 | 319 | #index h2:after, 320 | #index h3:after { 321 | content:""; 322 | } 323 | 324 | #index h2 { 325 | margin:0px; 326 | padding:0px; 327 | } 328 | 329 | #index { 330 | padding: 10px 1px; 331 | } 332 | 333 | #index ul { 334 | margin:0px 0px 30px 0px; 335 | padding:0; 336 | } 337 | 338 | #index ul li { 339 | list-style: none; 340 | } 341 | 342 | #index ul li a { 343 | 344 | } 345 | 346 | #home h1 { 347 | border-bottom:1px solid #919395; 348 | padding-bottom:20px; 349 | margin:30px 0px; 350 | } 351 | 352 | #home h2 { 353 | font-weight:normal; 354 | margin:0px 0px 10px 0px; 355 | padding:0px; 356 | } 357 | 358 | #home h2:after { 359 | content:''; 360 | } 361 | 362 | #home h2 a { 363 | text-shadow:#FFFFFF 0px 1px 1px; 364 | } 365 | 366 | #home span { 367 | color:#8B8078; 368 | font-size:14px; 369 | text-shadow:#FFFFFF 0px 1px 0px; 370 | } 371 | 372 | #home ul { 373 | float:left; 374 | margin:0px; 375 | padding:0px; 376 | } 377 | #home ul li { 378 | float:left; 379 | height:120px; 380 | list-style:none; 381 | margin:0px; 382 | padding:0px 20px; 383 | width:200px; 384 | } -------------------------------------------------------------------------------- /phonegap-mac.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; }; 11 | 256AC3DA0F4B6AC300CF3369 /* phonegap_macAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 256AC3D90F4B6AC300CF3369 /* phonegap_macAppDelegate.m */; }; 12 | 300528CE116DD6D400C4263B /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 300528CD116DD6D400C4263B /* WebKit.framework */; }; 13 | 3070C2DB118B65E400245025 /* Utils.m in Sources */ = {isa = PBXBuildFile; fileRef = 3070C2DA118B65E400245025 /* Utils.m */; }; 14 | 3070C365118B845100245025 /* WebViewDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3070C364118B845100245025 /* WebViewDelegate.m */; }; 15 | 3070C381118B8DB100245025 /* Sound.m in Sources */ = {isa = PBXBuildFile; fileRef = 3070C380118B8DB100245025 /* Sound.m */; }; 16 | 30E7C933116EC163003E991E /* www in Resources */ = {isa = PBXBuildFile; fileRef = 30E7C930116EC163003E991E /* www */; }; 17 | 30EAE82C117C643400363693 /* ContentView.m in Sources */ = {isa = PBXBuildFile; fileRef = 30EAE82B117C643400363693 /* ContentView.m */; }; 18 | 488D5A9613C9193100F585E0 /* MacGap.icns in Resources */ = {isa = PBXBuildFile; fileRef = 488D5A9513C9193100F585E0 /* MacGap.icns */; }; 19 | 48C8055613C7E825005B1D20 /* PhoneGapLogo.png in Resources */ = {isa = PBXBuildFile; fileRef = 48C8055513C7E825005B1D20 /* PhoneGapLogo.png */; }; 20 | 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; 21 | 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; 22 | 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXFileReference section */ 26 | 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 27 | 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 28 | 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; 29 | 1DDD58150DA1D0A300B32029 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = ""; }; 30 | 256AC3D80F4B6AC300CF3369 /* phonegap_macAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = phonegap_macAppDelegate.h; sourceTree = ""; }; 31 | 256AC3D90F4B6AC300CF3369 /* phonegap_macAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = phonegap_macAppDelegate.m; sourceTree = ""; }; 32 | 256AC3F00F4B6AF500CF3369 /* phonegap_mac_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = phonegap_mac_Prefix.pch; sourceTree = ""; }; 33 | 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 34 | 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 35 | 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 36 | 300528CD116DD6D400C4263B /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; 37 | 3070C2D9118B65E400245025 /* Utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Utils.h; path = Classes/Utils.h; sourceTree = ""; }; 38 | 3070C2DA118B65E400245025 /* Utils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Utils.m; path = Classes/Utils.m; sourceTree = ""; }; 39 | 3070C363118B845100245025 /* WebViewDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebViewDelegate.h; path = Classes/WebViewDelegate.h; sourceTree = ""; }; 40 | 3070C364118B845100245025 /* WebViewDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WebViewDelegate.m; path = Classes/WebViewDelegate.m; sourceTree = ""; }; 41 | 3070C37F118B8DB100245025 /* Sound.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Sound.h; path = Classes/Commands/Sound.h; sourceTree = ""; }; 42 | 3070C380118B8DB100245025 /* Sound.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Sound.m; path = Classes/Commands/Sound.m; sourceTree = ""; }; 43 | 30E7C90C116EBF21003E991E /* Constants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Constants.h; path = Classes/Constants.h; sourceTree = ""; }; 44 | 30E7C930116EC163003E991E /* www */ = {isa = PBXFileReference; lastKnownFileType = folder; path = www; sourceTree = ""; }; 45 | 30EAE82A117C643400363693 /* ContentView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ContentView.h; path = Classes/ContentView.h; sourceTree = ""; }; 46 | 30EAE82B117C643400363693 /* ContentView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ContentView.m; path = Classes/ContentView.m; sourceTree = ""; }; 47 | 488D5A9513C9193100F585E0 /* MacGap.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = MacGap.icns; sourceTree = ""; }; 48 | 48C8055513C7E825005B1D20 /* PhoneGapLogo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = PhoneGapLogo.png; sourceTree = ""; }; 49 | 8D1107310486CEB800E47090 /* macgap.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = macgap.plist; sourceTree = ""; }; 50 | 8D1107320486CEB800E47090 /* MacGap.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MacGap.app; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | /* End PBXFileReference section */ 52 | 53 | /* Begin PBXFrameworksBuildPhase section */ 54 | 8D11072E0486CEB800E47090 /* Frameworks */ = { 55 | isa = PBXFrameworksBuildPhase; 56 | buildActionMask = 2147483647; 57 | files = ( 58 | 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, 59 | 300528CE116DD6D400C4263B /* WebKit.framework in Frameworks */, 60 | ); 61 | runOnlyForDeploymentPostprocessing = 0; 62 | }; 63 | /* End PBXFrameworksBuildPhase section */ 64 | 65 | /* Begin PBXGroup section */ 66 | 080E96DDFE201D6D7F000001 /* Classes */ = { 67 | isa = PBXGroup; 68 | children = ( 69 | 3070C37B118B8D8500245025 /* Commands */, 70 | 3070C2D9118B65E400245025 /* Utils.h */, 71 | 3070C2DA118B65E400245025 /* Utils.m */, 72 | 256AC3D80F4B6AC300CF3369 /* phonegap_macAppDelegate.h */, 73 | 256AC3D90F4B6AC300CF3369 /* phonegap_macAppDelegate.m */, 74 | 30E7C90C116EBF21003E991E /* Constants.h */, 75 | 30EAE82A117C643400363693 /* ContentView.h */, 76 | 30EAE82B117C643400363693 /* ContentView.m */, 77 | 3070C363118B845100245025 /* WebViewDelegate.h */, 78 | 3070C364118B845100245025 /* WebViewDelegate.m */, 79 | ); 80 | name = Classes; 81 | sourceTree = ""; 82 | }; 83 | 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, 87 | ); 88 | name = "Linked Frameworks"; 89 | sourceTree = ""; 90 | }; 91 | 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 29B97324FDCFA39411CA2CEA /* AppKit.framework */, 95 | 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */, 96 | 29B97325FDCFA39411CA2CEA /* Foundation.framework */, 97 | 300528CD116DD6D400C4263B /* WebKit.framework */, 98 | ); 99 | name = "Other Frameworks"; 100 | sourceTree = ""; 101 | }; 102 | 19C28FACFE9D520D11CA2CBB /* Products */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 8D1107320486CEB800E47090 /* MacGap.app */, 106 | ); 107 | name = Products; 108 | sourceTree = ""; 109 | }; 110 | 29B97314FDCFA39411CA2CEA /* phonegap-mac */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 30E7C930116EC163003E991E /* www */, 114 | 080E96DDFE201D6D7F000001 /* Classes */, 115 | 29B97315FDCFA39411CA2CEA /* Other Sources */, 116 | 29B97317FDCFA39411CA2CEA /* Resources */, 117 | 29B97323FDCFA39411CA2CEA /* Frameworks */, 118 | 19C28FACFE9D520D11CA2CBB /* Products */, 119 | ); 120 | name = "phonegap-mac"; 121 | sourceTree = ""; 122 | }; 123 | 29B97315FDCFA39411CA2CEA /* Other Sources */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 256AC3F00F4B6AF500CF3369 /* phonegap_mac_Prefix.pch */, 127 | 29B97316FDCFA39411CA2CEA /* main.m */, 128 | ); 129 | name = "Other Sources"; 130 | sourceTree = ""; 131 | }; 132 | 29B97317FDCFA39411CA2CEA /* Resources */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 488D5A9513C9193100F585E0 /* MacGap.icns */, 136 | 48C8055513C7E825005B1D20 /* PhoneGapLogo.png */, 137 | 8D1107310486CEB800E47090 /* macgap.plist */, 138 | 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, 139 | 1DDD58140DA1D0A300B32029 /* MainMenu.xib */, 140 | ); 141 | name = Resources; 142 | sourceTree = ""; 143 | }; 144 | 29B97323FDCFA39411CA2CEA /* Frameworks */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, 148 | 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, 149 | ); 150 | name = Frameworks; 151 | sourceTree = ""; 152 | }; 153 | 3070C37B118B8D8500245025 /* Commands */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 3070C37F118B8DB100245025 /* Sound.h */, 157 | 3070C380118B8DB100245025 /* Sound.m */, 158 | ); 159 | name = Commands; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 8D1107260486CEB800E47090 /* phonegap-mac */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "phonegap-mac" */; 168 | buildPhases = ( 169 | 8D1107290486CEB800E47090 /* Resources */, 170 | 8D11072C0486CEB800E47090 /* Sources */, 171 | 8D11072E0486CEB800E47090 /* Frameworks */, 172 | ); 173 | buildRules = ( 174 | ); 175 | dependencies = ( 176 | ); 177 | name = "phonegap-mac"; 178 | productInstallPath = "$(HOME)/Applications"; 179 | productName = "phonegap-mac"; 180 | productReference = 8D1107320486CEB800E47090 /* MacGap.app */; 181 | productType = "com.apple.product-type.application"; 182 | }; 183 | /* End PBXNativeTarget section */ 184 | 185 | /* Begin PBXProject section */ 186 | 29B97313FDCFA39411CA2CEA /* Project object */ = { 187 | isa = PBXProject; 188 | attributes = { 189 | LastUpgradeCheck = 0420; 190 | ORGANIZATIONNAME = "Nitobi Software Inc."; 191 | }; 192 | buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "phonegap-mac" */; 193 | compatibilityVersion = "Xcode 3.2"; 194 | developmentRegion = English; 195 | hasScannedForEncodings = 1; 196 | knownRegions = ( 197 | en, 198 | ); 199 | mainGroup = 29B97314FDCFA39411CA2CEA /* phonegap-mac */; 200 | projectDirPath = ""; 201 | projectRoot = ""; 202 | targets = ( 203 | 8D1107260486CEB800E47090 /* phonegap-mac */, 204 | ); 205 | }; 206 | /* End PBXProject section */ 207 | 208 | /* Begin PBXResourcesBuildPhase section */ 209 | 8D1107290486CEB800E47090 /* Resources */ = { 210 | isa = PBXResourcesBuildPhase; 211 | buildActionMask = 2147483647; 212 | files = ( 213 | 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, 214 | 1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */, 215 | 30E7C933116EC163003E991E /* www in Resources */, 216 | 48C8055613C7E825005B1D20 /* PhoneGapLogo.png in Resources */, 217 | 488D5A9613C9193100F585E0 /* MacGap.icns in Resources */, 218 | ); 219 | runOnlyForDeploymentPostprocessing = 0; 220 | }; 221 | /* End PBXResourcesBuildPhase section */ 222 | 223 | /* Begin PBXSourcesBuildPhase section */ 224 | 8D11072C0486CEB800E47090 /* Sources */ = { 225 | isa = PBXSourcesBuildPhase; 226 | buildActionMask = 2147483647; 227 | files = ( 228 | 8D11072D0486CEB800E47090 /* main.m in Sources */, 229 | 256AC3DA0F4B6AC300CF3369 /* phonegap_macAppDelegate.m in Sources */, 230 | 30EAE82C117C643400363693 /* ContentView.m in Sources */, 231 | 3070C2DB118B65E400245025 /* Utils.m in Sources */, 232 | 3070C365118B845100245025 /* WebViewDelegate.m in Sources */, 233 | 3070C381118B8DB100245025 /* Sound.m in Sources */, 234 | ); 235 | runOnlyForDeploymentPostprocessing = 0; 236 | }; 237 | /* End PBXSourcesBuildPhase section */ 238 | 239 | /* Begin PBXVariantGroup section */ 240 | 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { 241 | isa = PBXVariantGroup; 242 | children = ( 243 | 089C165DFE840E0CC02AAC07 /* English */, 244 | ); 245 | name = InfoPlist.strings; 246 | sourceTree = ""; 247 | }; 248 | 1DDD58140DA1D0A300B32029 /* MainMenu.xib */ = { 249 | isa = PBXVariantGroup; 250 | children = ( 251 | 1DDD58150DA1D0A300B32029 /* English */, 252 | ); 253 | name = MainMenu.xib; 254 | sourceTree = ""; 255 | }; 256 | /* End PBXVariantGroup section */ 257 | 258 | /* Begin XCBuildConfiguration section */ 259 | C01FCF4B08A954540054247B /* Debug */ = { 260 | isa = XCBuildConfiguration; 261 | buildSettings = { 262 | ALWAYS_SEARCH_USER_PATHS = NO; 263 | COPY_PHASE_STRIP = NO; 264 | GCC_DYNAMIC_NO_PIC = NO; 265 | GCC_MODEL_TUNING = G5; 266 | GCC_OPTIMIZATION_LEVEL = 0; 267 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 268 | GCC_PREFIX_HEADER = phonegap_mac_Prefix.pch; 269 | INFOPLIST_FILE = macgap.plist; 270 | INSTALL_PATH = "$(HOME)/Applications"; 271 | PRODUCT_NAME = MacGap; 272 | }; 273 | name = Debug; 274 | }; 275 | C01FCF4C08A954540054247B /* Release */ = { 276 | isa = XCBuildConfiguration; 277 | buildSettings = { 278 | ALWAYS_SEARCH_USER_PATHS = NO; 279 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 280 | GCC_MODEL_TUNING = G5; 281 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 282 | GCC_PREFIX_HEADER = phonegap_mac_Prefix.pch; 283 | INFOPLIST_FILE = macgap.plist; 284 | INSTALL_PATH = "$(HOME)/Applications"; 285 | PRODUCT_NAME = MacGap; 286 | }; 287 | name = Release; 288 | }; 289 | C01FCF4F08A954540054247B /* Debug */ = { 290 | isa = XCBuildConfiguration; 291 | buildSettings = { 292 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 293 | GCC_C_LANGUAGE_STANDARD = gnu99; 294 | GCC_OPTIMIZATION_LEVEL = 0; 295 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 296 | GCC_WARN_UNUSED_VARIABLE = YES; 297 | ONLY_ACTIVE_ARCH = YES; 298 | SDKROOT = macosx; 299 | }; 300 | name = Debug; 301 | }; 302 | C01FCF5008A954540054247B /* Release */ = { 303 | isa = XCBuildConfiguration; 304 | buildSettings = { 305 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 306 | GCC_C_LANGUAGE_STANDARD = gnu99; 307 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 308 | GCC_WARN_UNUSED_VARIABLE = YES; 309 | ONLY_ACTIVE_ARCH = YES; 310 | SDKROOT = macosx; 311 | }; 312 | name = Release; 313 | }; 314 | /* End XCBuildConfiguration section */ 315 | 316 | /* Begin XCConfigurationList section */ 317 | C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "phonegap-mac" */ = { 318 | isa = XCConfigurationList; 319 | buildConfigurations = ( 320 | C01FCF4B08A954540054247B /* Debug */, 321 | C01FCF4C08A954540054247B /* Release */, 322 | ); 323 | defaultConfigurationIsVisible = 0; 324 | defaultConfigurationName = Release; 325 | }; 326 | C01FCF4E08A954540054247B /* Build configuration list for PBXProject "phonegap-mac" */ = { 327 | isa = XCConfigurationList; 328 | buildConfigurations = ( 329 | C01FCF4F08A954540054247B /* Debug */, 330 | C01FCF5008A954540054247B /* Release */, 331 | ); 332 | defaultConfigurationIsVisible = 0; 333 | defaultConfigurationName = Release; 334 | }; 335 | /* End XCConfigurationList section */ 336 | }; 337 | rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; 338 | } 339 | -------------------------------------------------------------------------------- /www/phonegap-docs/template/phonegap/prettify/prettify.js: -------------------------------------------------------------------------------- 1 | window.PR_SHOULD_USE_CONTINUATION=true;window.PR_TAB_WIDTH=8;window.PR_normalizedHtml=window.PR=window.prettyPrintOne=window.prettyPrint=void 0;window._pr_isIE6=function(){var y=navigator&&navigator.userAgent&&navigator.userAgent.match(/\bMSIE ([678])\./);y=y?+y[1]:false;window._pr_isIE6=function(){return y};return y}; 2 | (function(){function y(b){return b.replace(L,"&").replace(M,"<").replace(N,">")}function H(b,f,i){switch(b.nodeType){case 1:var o=b.tagName.toLowerCase();f.push("<",o);var l=b.attributes,n=l.length;if(n){if(i){for(var r=[],j=n;--j>=0;)r[j]=l[j];r.sort(function(q,m){return q.name"); 3 | for(l=b.firstChild;l;l=l.nextSibling)H(l,f,i);if(b.firstChild||!/^(?:br|link|img)$/.test(o))f.push("");break;case 3:case 4:f.push(y(b.nodeValue));break}}function O(b){function f(c){if(c.charAt(0)!=="\\")return c.charCodeAt(0);switch(c.charAt(1)){case "b":return 8;case "t":return 9;case "n":return 10;case "v":return 11;case "f":return 12;case "r":return 13;case "u":case "x":return parseInt(c.substring(2),16)||c.charCodeAt(1);case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":return parseInt(c.substring(1), 4 | 8);default:return c.charCodeAt(1)}}function i(c){if(c<32)return(c<16?"\\x0":"\\x")+c.toString(16);c=String.fromCharCode(c);if(c==="\\"||c==="-"||c==="["||c==="]")c="\\"+c;return c}function o(c){var d=c.substring(1,c.length-1).match(RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g"));c=[];for(var a=[],k=d[0]==="^",e=k?1:0,h=d.length;e122)){s<65||g>90||a.push([Math.max(65,g)|32,Math.min(s,90)|32]);s<97||g>122||a.push([Math.max(97,g)&-33,Math.min(s,122)&-33])}}a.sort(function(v,w){return v[0]-w[0]||w[1]-v[1]});d=[];g=[NaN,NaN];for(e=0;eh[0]){h[1]+1>h[0]&&a.push("-"); 6 | a.push(i(h[1]))}}a.push("]");return a.join("")}function l(c){for(var d=c.source.match(RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=d.length,k=[],e=0,h=0;e=2&&c==="[")d[e]=o(g);else if(c!=="\\")d[e]=g.replace(/[a-zA-Z]/g,function(s){s=s.charCodeAt(0);return"["+String.fromCharCode(s&-33,s|32)+"]"})}return d.join("")}for(var n=0,r=false,j=false,q=0,m=b.length;q=0;l-=16)o.push(" ".substring(0,l));l=n+1;break;case "\n":f=0;break;default:++f}if(!o)return i;o.push(i.substring(l));return o.join("")}}function I(b, 9 | f,i,o){if(f){b={source:f,c:b};i(b);o.push.apply(o,b.d)}}function B(b,f){var i={},o;(function(){for(var r=b.concat(f),j=[],q={},m=0,t=r.length;m=0;)i[c.charAt(d)]=p;p=p[1];c=""+p;if(!q.hasOwnProperty(c)){j.push(p);q[c]=null}}j.push(/[\0-\uffff]/);o=O(j)})();var l=f.length;function n(r){for(var j=r.c,q=[j,z],m=0,t=r.source.match(o)||[],p={},c=0,d=t.length;c=5&&"lang-"===k.substring(0,5))&&!(e&&typeof e[1]==="string")){h=false;k=P}h||(p[a]=k)}g=m;m+=a.length;if(h){h=e[1];var s=a.indexOf(h),v=s+h.length;if(e[2]){v=a.length-e[2].length;s=v-h.length}k=k.substring(5);I(j+g,a.substring(0,s),n,q);I(j+g+s,h,Q(k,h),q);I(j+g+v,a.substring(v),n,q)}else q.push(j+g,k)}r.d=q}return n}function x(b){var f=[],i=[];if(b.tripleQuotedStrings)f.push([A,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/, 11 | null,"'\""]);else b.multiLineStrings?f.push([A,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):f.push([A,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]);b.verbatimStrings&&i.push([A,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);if(b.hashComments)if(b.cStyleComments){f.push([C,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]);i.push([A,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/, 12 | null])}else f.push([C,/^#[^\r\n]*/,null,"#"]);if(b.cStyleComments){i.push([C,/^\/\/[^\r\n]*/,null]);i.push([C,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}b.regexLiterals&&i.push(["lang-regex",RegExp("^"+Z+"(/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/)")]);b=b.keywords.replace(/^\s+|\s+$/g,"");b.length&&i.push([R,RegExp("^(?:"+b.replace(/\s+/g,"|")+")\\b"),null]);f.push([z,/^\s+/,null," \r\n\t\u00a0"]);i.push([J,/^@[a-z_$][a-z_$@0-9]*/i,null],[S,/^@?[A-Z]+[a-z][A-Za-z_$@0-9]*/, 13 | null],[z,/^[a-z_$][a-z_$@0-9]*/i,null],[J,/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],[E,/^.[^\s\w\.$@\'\"\`\/\#]*/,null]);return B(f,i)}function $(b){function f(D){if(D>r){if(j&&j!==q){n.push("");j=null}if(!j&&q){j=q;n.push('')}var T=y(p(i.substring(r,D))).replace(e?d:c,"$1 ");e=k.test(T);n.push(T.replace(a,s));r=D}}var i=b.source,o=b.g,l=b.d,n=[],r=0,j=null,q=null,m=0,t=0,p=Y(window.PR_TAB_WIDTH),c=/([\r\n ]) /g, 14 | d=/(^| ) /gm,a=/\r\n?|\n/g,k=/[ \r\n]$/,e=true,h=window._pr_isIE6();h=h?b.b.tagName==="PRE"?h===6?" \r\n":h===7?" 
\r":" \r":" 
":"
";var g=b.b.className.match(/\blinenums\b(?::(\d+))?/),s;if(g){for(var v=[],w=0;w<10;++w)v[w]=h+'
  • ';var F=g[1]&&g[1].length?g[1]-1:0;n.push('
    1. ");s=function(){var D=v[++F%10];return j?""+D+'':D}}else s=h; 15 | for(;;)if(m");j=null}n.push(o[m+1]);m+=2}else if(t");g&&n.push("
    ");b.a=n.join("")}function u(b,f){for(var i=f.length;--i>=0;){var o=f[i];if(G.hasOwnProperty(o))"console"in window&&console.warn("cannot override language handler %s",o);else G[o]=b}}function Q(b,f){b&&G.hasOwnProperty(b)||(b=/^\s*1&&m.charAt(0)==="<"){if(!ba.test(m))if(ca.test(m)){f.push(m.substring(9,m.length-3));n+=m.length-12}else if(da.test(m)){f.push("\n");++n}else if(m.indexOf(V)>=0&&m.replace(/\s(\w+)\s*=\s*(?:\"([^\"]*)\"|'([^\']*)'|(\S+))/g,' $1="$2$3$4"').match(/[cC][lL][aA][sS][sS]=\"[^\"]*\bnocode\b/)){var t=m.match(W)[2],p=1,c;c=j+1;a:for(;c=0;){var e=p.indexOf(";",k);if(e>=0){var h=p.substring(k+3,e),g=10;if(h&&h.charAt(0)==="x"){h=h.substring(1);g=16}var s=parseInt(h,g);isNaN(s)||(p=p.substring(0,k)+String.fromCharCode(s)+p.substring(e+1))}}a=p.replace(ea,"<").replace(fa,">").replace(ga,"'").replace(ha,'"').replace(ia," ").replace(ja, 18 | "&")}f.push(a);n+=a.length}}o={source:f.join(""),h:r};var v=o.source;b.source=v;b.c=0;b.g=o.h;Q(i,v)(b);$(b)}catch(w){if("console"in window)console.log(w&&w.stack?w.stack:w)}}var A="str",R="kwd",C="com",S="typ",J="lit",E="pun",z="pln",P="src",V="nocode",Z=function(){for(var b=["!","!=","!==","#","%","%=","&","&&","&&=","&=","(","*","*=","+=",",","-=","->","/","/=",":","::",";","<","<<","<<=","<=","=","==","===",">",">=",">>",">>=",">>>",">>>=","?","@","[","^","^=","^^","^^=","{","|","|=","||","||=", 19 | "~","break","case","continue","delete","do","else","finally","instanceof","return","throw","try","typeof"],f="(?:^^|[+-]",i=0;i:&a-z])/g,"\\$1");f+=")\\s*";return f}(),L=/&/g,M=//g,X=/\"/g,ea=/</g,fa=/>/g,ga=/'/g,ha=/"/g,ja=/&/g,ia=/ /g,ka=/[\r\n]/g,K=null,aa=RegExp("[^<]+|