{"id":527,"date":"2011-12-12T18:03:45","date_gmt":"2011-12-12T10:03:45","guid":{"rendered":"http:\/\/xujiwei.com\/blog\/?p=527"},"modified":"2016-12-27T17:15:39","modified_gmt":"2016-12-27T09:15:39","slug":"besides-objective-c","status":"publish","type":"post","link":"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/","title":{"rendered":"\u63a8\u5f00\u7a97\u6237\u770b\u4e16\u754c \u2014 Objective-C\u4e4b\u5916"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_65 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<p class=\"ez-toc-title\">\u6587\u7ae0\u76ee\u5f55<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f30504680d8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f30504680d8\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/#%E5%BC%95%E5%AD%90\" title=\"\u5f15\u5b50\">\u5f15\u5b50<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/#%E4%B8%8D%E4%BD%BF%E7%94%A8_Objective-C\" title=\"\u4e0d\u4f7f\u7528 Objective-C\">\u4e0d\u4f7f\u7528 Objective-C<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/#Titanium_Mobile\" title=\"Titanium Mobile\">Titanium Mobile<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/#PhoneGap\" title=\"PhoneGap\">PhoneGap<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/#Mono_Touch\" title=\"Mono Touch\">Mono Touch<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/#%E5%B0%8F%E7%BB%93\" title=\"\u5c0f\u7ed3\">\u5c0f\u7ed3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/#%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99\" title=\"\u53c2\u8003\u8d44\u6599\">\u53c2\u8003\u8d44\u6599<\/a><\/li><\/ul><\/nav><\/div>\n<div style=\"width:425px\" id=\"__ss_10556901\"> <strong style=\"display:block;margin:12px 0 4px\"><a href=\"http:\/\/www.slideshare.net\/ohdarling88\/besides-objectivec\" title=\"Besides Objective-C\" target=\"_blank\">Besides Objective-C<\/a><\/strong> <iframe loading=\"lazy\" src=\"http:\/\/www.slideshare.net\/slideshow\/embed_code\/10556901\" width=\"425\" height=\"355\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe> <\/p>\n<div style=\"padding:5px 0 12px\"> View more <a href=\"http:\/\/www.slideshare.net\/\" target=\"_blank\">presentations<\/a> from <a href=\"http:\/\/www.slideshare.net\/ohdarling88\" target=\"_blank\">Jiwei Xu<\/a> <\/div>\n<\/p><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E5%BC%95%E5%AD%90\"><\/span>\u5f15\u5b50<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>App Store \u5982\u4eca\u6b63\u98ce\u9761\u4e16\u754c\uff0c\u8bb8\u591a\u4eba\u90fd\u60f3\u5c1d\u8bd5\u53bb\u81ea\u5df1\u5f00\u53d1\u4e00\u4e2a iOS App\uff0c\u4e0d\u8fc7\u82f9\u679c\u5b98\u65b9\u63a8\u8350\u4f7f\u7528\u7684\u662f Objective-C \u8fd9\u4e2a\u8bed\u8a00\u3002\u800c Objective-C \u4e0e C\u3001Java \u4e4b\u7c7b\u7684\u8bed\u8a00\u98ce\u683c\u5dee\u5f02\u6709\u4e9b\u5927\uff0c\u77ed\u65f6\u95f4\u5e76\u4e0d\u5bb9\u6613\u638c\u63e1\uff0c\u53c8\u6216\u8005\u8bb8\u591a\u4eba\u53ea\u662f\u60f3\u5c1d\u8bd5\u5f00\u53d1\u4e00\u4e2a\u53ef\u4ee5\u8fd0\u884c\u5728 iOS \u4e0a\u7684\u7a0b\u5e8f\u800c\u5df2\uff0c\u4e0d\u60f3\u518d\u53bb\u989d\u5916\u53bb\u5b66\u4e00\u95e8\u65b0\u7684\u8bed\u8a00\uff0c\u90a3\u8fd9\u4e2a\u65f6\u5019\u5c31\u53ef\u4ee5\u8003\u8651\u53e6\u5916\u7684\u4e00\u4e9b\u6280\u672f\u6765\u5f00\u53d1 iOS App\u3002<\/p>\n<p>\u5728\u79fb\u52a8\u5f00\u53d1\u9886\u57df\uff0c\u5f97\u76ca\u4e8e\u73b0\u5728\u624b\u673a\u7684\u6027\u80fd\u8d8a\u6765\u8d8a\u597d\uff0c\u6d4f\u89c8\u5668\u7684\u529f\u80fd\u8d8a\u6765\u8d8a\u5f3a\u5927\uff0cJavaScript \u4e5f\u6210\u4e3a\u4e00\u95e8\u5f88\u6d41\u884c\u7684\u7a0b\u5e8f\u5f00\u53d1\u8bed\u8a00\uff0c\u800c\u5bf9\u5e94\u5230 iOS \u5e73\u53f0\u4e0a\uff0c\u4e5f\u6709\u591a\u79cd\u4f7f\u7528 JavaScript \u6765\u5f00\u53d1 iOS App \u7684\u6280\u672f\u3002\u8fd9\u6b21\u8981\u4ecb\u7ecd\u7684\u4e09\u79cd\u6280\u672f\u4e4b\u4e2d\uff0c\u5c31\u6709\u4e24\u79cd\u4f7f\u7528\u4e86 JavaScript\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u8bb8\u591a\u5f00\u53d1\u8de8\u5e73\u53f0\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u9996\u9009\u8981\u652f\u6301\u7684\u5c31\u662f iOS\uff0c\u56e0\u6b64\u5728 iOS \u8fd9\u4e2a\u5e73\u53f0\u4e0a\u53ef\u4ee5\u770b\u5230\u5f88\u591a\u79cd\u4e0d\u4f7f\u7528 Objective-C \u53bb\u5f00\u53d1 iOS App \u7684\u6280\u672f\uff0c\u800c\u4e14\u5176\u4e2d\u6280\u672f\u6240\u7f16\u5199\u51fa\u6765\u7684\u7a0b\u5e8f\uff0c\u9664\u4e86\u53ef\u4ee5\u5728 iOS \u4e0a\u8fd0\u884c\u4e4b\u5916\uff0c\u8fd8\u53ef\u4ee5\u8fd0\u884c\u5728 Android \u4ee5\u53ca\u5176\u4ed6\u7cfb\u7edf\u5e73\u53f0\u4e0a\u3002\u80fd\u5c11\u5199\u4e00\u4efd\u4ee3\u7801\uff0c\u4f55\u4e50\u800c\u4e0d\u4e3a\u5462\uff5e<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%8D%E4%BD%BF%E7%94%A8_Objective-C\"><\/span>\u4e0d\u4f7f\u7528 Objective-C<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u8fd9\u6b21\u8981\u4ecb\u7ecd\u7684\u662f\u4e09\u4e2a\u4e0d\u4f7f\u7528 Objective-C \u6765\u5f00\u53d1 iOS App \u7684\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n<ul>\n<li><a href=\"http:\/\/www.appcelerator.com\/products\/titanium-mobile-application-development\/\">Titanium Mobile<\/a><\/li>\n<li><a href=\"http:\/\/phonegap.com\">PhoneGap<\/a><\/li>\n<li><a href=\"http:\/\/xamarin.com\/monotouch\">Mono Touch<\/a><\/li>\n<\/ul>\n<p>\u8fd9\u4e09\u4e2a\u89e3\u51b3\u65b9\u6848\u5404\u6709\u7279\u70b9\uff0c\u5b83\u4eec\u7684\u8fd0\u884c\u673a\u5236\u4e5f\u6709\u6240\u4e0d\u540c\uff0c\u81f3\u4e8e\u5728\u5f00\u53d1 iOS App \u65f6\u9009\u7528\u4f55\u79cd\u65b9\u6848\uff0c\u53ef\u4ee5\u6839\u636e\u6bcf\u79cd\u65b9\u6848\u4e0d\u540c\u7684\u7279\u70b9\u53bb\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Titanium_Mobile\"><\/span>Titanium Mobile<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Titanium Mobile \u662f AppCelerator \u63a8\u51fa\u7684\u4e00\u4e2a\u57fa\u4e8e JavaScript \u7684\u8de8\u5e73\u53f0\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u6280\u672f\u3002\u901a\u8fc7 Titanium Mobile\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 JavaScript \u5f00\u53d1\u80fd\u8fd0\u884c\u4e8e iOS \u548c Android \u5e73\u53f0\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c\u4ee3\u7801\u53ea\u9700\u8981\u5199\u4e00\u6b21\u3002<\/p>\n<p>Titanium Mobile \u662f\u901a\u8fc7\u5c06 JavaScript \u4ee3\u7801\u6620\u5c04\u5230\u5bf9\u5e94\u5e73\u53f0\u7684 Native Code\uff0c\u5728 Titanium Mobile \u4e2d\u64cd\u4f5c\u67d0\u4e00\u4e2a UI \u5bf9\u8c61\uff0c\u6216\u8005\u662f\u5176\u4ed6\u5bf9\u8c61\u65f6\uff0c\u5b9e\u65f6\u4e0a\u662f\u5728\u64cd\u4f5c\u5bf9\u5e94\u5e73\u53f0\u4e2d\u5b9e\u9645\u7684 UI \u5bf9\u8c61\uff0c\u4f8b\u5982\u4f7f\u7528 Ti.UI.createView() \u521b\u5efa\u4e00\u4e2a\u89c6\u56fe\uff0c\u5b83\u5728 iOS \u4e2d\u8fd0\u884c\u65f6\u4f1a\u5b9e\u9645\u5bf9\u5e94\u5230 UIView\uff0c\u4f7f\u7528 Ti.UI.createTabGroup() \u5c31\u4f1a\u5bf9\u5e94\u5230 iOS \u4e2d\u7684 UITabBarController\u3002\u8fd9\u6837\u505a\u7684\u597d\u5904\u5c31\u662f\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 JavaScript \u6765\u521b\u5efa\u51fa\u539f\u751f\u7684 UI\uff0c\u800c\u4e0d\u9700\u8981\u4f7f\u7528\u989d\u5916\u7684\u4ee3\u7801\u6765\u8ba9\u7a0b\u5e8f UI \u66f4\u50cf\u7cfb\u7edf\u7684 UI\u3002<\/p>\n<p>\u53e6\u5916\uff0cAppCelerator \u5728\u6536\u8d2d\u4e86 <a href=\"http:\/\/aptana.com\/\">Apatna<\/a> \u4e4b\u540e\uff0c\u63a8\u51fa\u4e86\u9002\u7528\u4e8e Titanium \u7684 IDE <a href=\"http:\/\/www.appcelerator.com\/products\/titanium-studio\/\">Titanium Studio<\/a>\uff0c\u901a\u8fc7\u4f7f\u7528 Titanium Studio\uff0c\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u521b\u5efa\u9879\u76ee\u3001\u5e26\u667a\u80fd\u63d0\u793a\u7684\u7f16\u8f91\u5668\uff0c\u4ee5\u53ca\u5f88\u65b9\u4fbf\u7684\u8c03\u8bd5\u9879\u76ee\u3002<\/p>\n<p>\u5728 Titanium Studio \u4e2d\u8c03\u8bd5 iOS \u9879\u76ee\u65f6\uff0c\u53ef\u4ee5\u505a\u5230\u5355\u6b65\u8c03\u8bd5\uff0c\u4e5f\u5c31\u610f\u5473\u7740\uff0c\u53ef\u4ee5\u62e5\u6709\u4e0d\u5f31\u4e8e\u4f7f\u7528 Xcode \u5f00\u53d1\u9879\u76ee\u7684\u4f53\u9a8c\u3002\u65ad\u70b9\u3001\u5355\u6b65\u3001\u53d8\u91cf\u67e5\u770b\u529f\u80fd\u4e00\u5e94\u5177\u5168\u3002\u5982\u679c\u9700\u8981\u53d1\u5e03\u5230 App Store\uff0c\u4e5f\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u901a\u8fc7\u56fe\u5f62\u5316\u754c\u9762\u6765\u6253\u5305\u3002<\/p>\n<p>\u5f53\u7136\uff0c\u4f7f\u7528 Titanium Studio \u4e5f\u9700\u8981\u914d\u5408 Xcode \u6765\u4f7f\u7528\uff0c\u5fc5\u987b\u8981\u5728\u5b89\u88c5\u4e86 Xcode \u7684\u60c5\u51b5\u4e0b\uff0c\u624d\u53ef\u4ee5\u4f7f\u7528 Titanium Studio \u6765\u8c03\u8bd5\u548c\u6d4b\u8bd5\u9879\u76ee\u3002<\/p>\n<p>\u5728 Titanium Studio \u63a8\u51fa\u4e4b\u524d\uff0cTitanium Mobile \u662f\u9760\u4e00\u4e2a Developer Tool \u6765\u8fdb\u884c\u6253\u5305\u7b49\u64cd\u4f5c\u7684\uff0c\u76f8\u5bf9\u6bd4\u8f83\u7e41\u7410\uff0c\u800c\u6709\u4e86 Titanium Studio \u4e4b\u540e\uff0c\u8ba9\u4e00\u5207\u53d8\u5f97\u7b80\u5355\uff0c\u6211\u4e5f\u662f\u4ece\u90a3\u65f6\u5f00\u59cb\u5173\u6ce8 Titanium Mobile\u3002<\/p>\n<p>\u5bf9\u4e8e\u524d\u7aef\u5f00\u53d1\u5de5\u7a0b\u5e08\u6765\u8bf4\uff0c\u53ea\u9700\u8981\u7406\u89e3\u4e86 iOS \u5f00\u53d1\u4e2d\u7684\u4e00\u4e9b\u6982\u5ff5\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528 Titanium Mobile \u6765\u5f00\u53d1\u4e00\u4e2a\u50cf\u6a21\u50cf\u6837\u7684 iOS App\u3002\u5e76\u4e14 Titanium Mobile \u5b9e\u73b0\u4e86 CommonJS \u89c4\u8303\uff0c\u53ef\u4ee5\u5f88\u65b9\u4fbf\u6765\u6a21\u5757\u5316\u7a0b\u5e8f\u4ee3\u7801\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"PhoneGap\"><\/span>PhoneGap<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>PhoneGap \u662f\u4e00\u4e2a\u4f7f\u7528 HTML+CSS+JavaScript \u6765\u5f00\u53d1\u79fb\u52a8 App \u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f7f\u7528\u5b83\u6765\u5f00\u53d1 App \u53ea\u9700\u8981\u6709 Web \u5f00\u53d1\u57fa\u7840\u5373\u53ef\u3002\u5b83\u5728\u4eca\u5e7410\u6708\u4efd\u88ab Adobe \u6536\u8d2d\u4e86\uff0c\u7136\u540e\u52a0\u5165\u5230 Apache Software Foundation \u8fdb\u884c\u5b75\u5316\u3002<\/p>\n<p>\u76ee\u524d PhoneGap \u5df2\u7ecf\u652f\u6301\u4e86\u5e02\u9762\u4e0a\u5927\u591a\u6570\u7684\u667a\u80fd\u624b\u673a\u5e73\u53f0\uff0c\u5176\u4e2d\u5c31\u6709 iOS\u3002<\/p>\n<p>\u5728\u6211\u770b\u6765\uff0cPhoneGap \u5176\u5b9e\u53ea\u662f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u8fd0\u884c\u4e8e\u5404\u79cd\u667a\u80fd\u624b\u673a\u5e73\u53f0\u7684\u6d4f\u89c8\u5668\u7684\u58f3\uff0c\u901a\u8fc7\u8fd9\u4e2a\u58f3\uff0cPhoneGap \u7684 JavaScript \u5e93\u53ef\u4ee5\u548c\u7cfb\u7edf\u8fdb\u884c\u6c9f\u901a\uff0c\u4ece\u800c\u5b9e\u73b0\u5728 Web \u9875\u9762\u4e2d\u4e0e\u7cfb\u7edf\u4ea4\u4e92\u7684\u529f\u80fd\u3002<\/p>\n<p>\u56e0\u4e3a PhoneGap \u53ea\u63d0\u4f9b\u4e86\u7cfb\u7edf\u529f\u80fd\u7684 API \u8c03\u7528\uff0c\u800c\u6ca1\u6709\u63d0\u4f9b\u4efb\u4f55\u548c\u754c\u9762\u76f8\u5173\u7684 API\uff0c\u90a3\u4e48\u754c\u9762\u5c31\u53ea\u80fd\u81ea\u5df1\u6765\u6298\u817e\u4e86\u3002<\/p>\n<p>\u5e78\u597d\u5f00\u6e90\u7684\u4e16\u754c\u662f\u5f3a\u5927\u7684\uff0c\u5df2\u7ecf\u6709\u4e86\u4e00\u5806\u8fd9\u6837\u7684\u754c\u9762\u5e93\u6765\u4f9b\u6211\u4eec\u9009\u62e9\uff0c\u50cf <a href=\"http:\/\/jqtouch.com\/\">jQTouch<\/a>\u3001<a href=\"http:\/\/jquerymobile.com\/\">jQuery Mobile<\/a>\u3001<a href=\"http:\/\/www.sencha.com\/products\/touch\">Sencha Touch<\/a> \u4e4b\u7c7b\uff0c\u90fd\u63d0\u4f9b\u4e86\u7c7b\u4f3c\u4e8e iOS \u7684\u754c\u9762\u7ec4\u4ef6\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u7701\u53bb\u8bb8\u591a\u754c\u9762\u4e0a\u7684\u7f16\u7801\u5de5\u4f5c\u3002<\/p>\n<p>\u4f7f\u7528\u6d4f\u89c8\u5668\u6765\u8fd0\u884c App \u7684\u4e00\u4e2a\u574f\u5904\u5c31\u662f\uff1a\u6162\u3002\u56e0\u4e3a\u6574\u4e2a App \u5c31\u662f\u4e00\u4e2a\u7f51\u9875\uff0c\u5982\u679c\u7f16\u7801\u4e0d\u5f53\uff0c\u6574\u4e2a\u7a0b\u5e8f\u4f7f\u7528\u8d77\u6765\u4f53\u9a8c\u4f1a\u6bd4\u8f83\u5dee\uff0c\u548c\u539f\u751f\u7684\u5e94\u7528\u4f1a\u6709\u5f88\u5927\u533a\u522b\u3002<\/p>\n<p>\u5728\u4e0a\u9762\u63d0\u5230\u7684\u51e0\u4e2a UI \u6846\u67b6\u4e4b\u4e2d\uff0c\u6211\u6bd4\u8f83\u559c\u6b22\u7684\u662f jQTouch\uff0c\u5b83\u53ea\u63d0\u4f9b\u4e86\u57fa\u672c UI \u6846\u67b6\u548c\u4e00\u4e9b\u89c6\u56fe\u5207\u6362\u6548\u679c\uff0c\u505a\u51fa\u6765\u7684\u7a0b\u5e8f\u662f\u4e00\u4e2a\u5355\u9875\u9762 App\uff0c\u5728\u6574\u4e2a\u7a0b\u5e8f\u7684\u53cd\u5e94\u901f\u5ea6\u4e0a\u4f1a\u611f\u89c9\u6bd4\u8f83\u597d\u3002\u4e0d\u8fc7 jQTouch \u4e5f\u7f3a\u5c11\u4e00\u4e9b\u5e38\u7528\u7684\u7ec4\u4ef6\u50cf\u5bf9\u8bdd\u6846\uff0c\u800c\u8fd9\u4e9b\u5728 jQuery Mobile \u548c Sencha Touch \u4e4b\u4e2d\u53c8\u6709\u63d0\u4f9b\u3002\u9009\u62e9\u4f7f\u7528\u54ea\u4e2a\u6846\u67b6\u5c31\u8981\u770b\u4e2a\u4eba\u559c\u597d\u4e86\uff0c\u5b83\u4eec\u7684\u7f51\u7ad9\u90fd\u63d0\u4f9b\u4e86\u5728\u7ebf\u9884\u89c8\u529f\u80fd<\/p>\n<p>\u5176\u5b9e\uff0c\u5982\u679c\u7528\u4e0d\u5230\u7cfb\u7edf\u7684 API\uff0c\u53ea\u662f\u60f3\u628a\u81ea\u5df1\u7684\u7a0b\u5e8f\u5305\u88c5\u6210\u4e00\u4e2a\u5f88\u50cf App \u7684 App \u7684\u8bdd\uff0c\u53ea\u8981\u7528\u4e00\u7528 PhoneGap \u63d0\u4f9b\u7684\u58f3\u5c31\u884c\u4e86\uff0c\u5b83\u7684 API \u51e0\u4e4e\u53ef\u4ee5\u4e0d\u7528\u770b\uff0c\u914d\u5408\u4e00\u4e9b UI \u6846\u67b6\u53ef\u4ee5\u5feb\u901f\u7684\u4ea7\u51fa\u4e00\u4e2a iOS App \u6765\u3002<\/p>\n<p>\u5f53\u7136\u4e86\uff0cPhoneGap \u6700\u5927\u7684\u597d\u5904\u5c31\u662f\uff0c\u51e0\u4e4e\u8de8\u4e86\u51e0\u4e4e\u6240\u6709\u7684\u4e3b\u6d41\u667a\u80fd\u624b\u673a\u5e73\u53f0\uff0c\u8fd9\u5bf9\u4e8e\u521d\u521b\u56e2\u961f\u6765\u8bf4\uff0c\u662f\u8fc5\u901f\u63a8\u51fa\u5404\u4e2a\u5e73\u53f0\u5ba2\u6237\u7aef\u7684\u4e00\u4e2a\u597d\u65b9\u6cd5\u3002\u53e6\u5916 PhoneGap \u5b98\u65b9\u7f51\u7ad9\u4e5f\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u914d\u5957\u670d\u52a1\uff0c\u4f8b\u5982\u4f7f\u7528 PhoneGap Build \u53ef\u4ee5\u76f4\u63a5\u7f16\u8bd1\u5404\u4e2a\u5e73\u53f0\u7684\u7a0b\u5e8f\u5b89\u88c5\u5305\uff0c\u800c\u4e0d\u9700\u8981\u5f00\u53d1\u8005\u81ea\u5df1\u5728\u672c\u5730\u914d\u7f6e\u6bcf\u4e2a\u5e73\u53f0\u7684\u7f16\u8bd1\u73af\u5883\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Mono_Touch\"><\/span>Mono Touch<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Mono Touch \u662f\u4e00\u4e2a\u4f7f\u7528 C# \u6765\u7f16\u5199\u8de8\u5e73\u53f0\u5e94\u7528\u7684\u6846\u67b6\uff0c\u540c\u6837\u652f\u6301\u4e86 iOS \u548c Android \u4e24\u5927\u5e73\u53f0\u3002<\/p>\n<p>Mono Touch \u5bf9\u4e8e .NET \u7a0b\u5e8f\u5458\u6765\u8bf4\u5e94\u8be5\u662f\u4e00\u4e2a\u597d\u6d88\u606f\uff0c\u9664\u4e86\u8c03\u8bd5\uff0c\u5176\u4ed6\u7684\u90fd\u53ef\u4ee5\u5728 Windows \u4e2d\u641e\u5b9a\uff0c\u8c03\u8bd5\u7684\u65f6\u5019\u53ef\u4ee5\u901a\u8fc7\u5728\u865a\u62df\u673a\u91cc\u8fd0\u884c Mac OS X \u6765\u89e3\u51b3\u3002Mono Touch \u56e0\u4e3a\u662f\u57fa\u4e8e Mono \u7684\uff0c\u4e5f\u6709\u4e2a\u914d\u5957\u7684 IDE \u53ef\u4ee5\u7528\uff1aMono Develop\u3002\u56e0\u4e3a\u90fd\u662f .NET\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u7528 Vistual Studio \u8fd9\u4e2a\u66f4\u5f3a\u5927\u7684\u5de5\u5177\u4e86\u3002<\/p>\n<p>\u4e0e Titanium Mobile \u548c PhoneGap \u4e0d\u540c\u7684\u662f\uff0cMono Touch \u5982\u679c\u8981\u7f16\u8bd1\u5230\u8bbe\u5907\uff0c\u6216\u8005\u53d1\u5e03\u5230 App Store \u7684\u8bdd\uff0c\u662f\u9700\u8981\u6536\u8d39\u7684\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u56e0\u4e3a Mono Touch \u4e5f\u662f\u7f16\u8bd1\u6210\u53ef\u6267\u884c\u4ee3\u7801\u518d\u90e8\u7f72\u5230\u8bbe\u5907\u4e0a\u7684\uff0c\u56e0\u6b64\u8fd0\u884c\u901f\u5ea6\u76f8\u5bf9\u4e8e PhoneGap \u6240\u5236\u4f5c\u7684\u5e94\u7528\u6765\u8bf4\uff0c\u5e94\u8be5\u4f1a\u5feb\u4e0a\u4e00\u4e9b\u3002<\/p>\n<p>\u4e0d\u8fc7 Mono Touch \u8981\u6536\u8d39\uff0c\u5e76\u4e14\u6536\u8d39\u8fd8\u4e0d\u662f\u5f88\u4fbf\u5b9c\uff0c\u53ef\u80fd\u4f1a\u5f71\u54cd\u5230\u5b83\u7684\u666e\u53ca\u7387\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%B0%8F%E7%BB%93\"><\/span>\u5c0f\u7ed3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u4e0a\u9762\u8bb2\u7684\u4e09\u4e2a\u89e3\u51b3\u65b9\u6848\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u597d\u591a\u5927\u5927\u5c0f\u5c0f\u7684\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u89e3\u51b3\u65b9\u6848\uff0c\u4f46\u662f\u7528\u4e8e iOS \u4e0a\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4e3b\u8981\u4e5f\u5c31\u662f\u6620\u5c04\u4ee3\u7801\u3001\u6216\u8005\u662f\u5305\u88c5\u7684\u5f62\u5f0f\u4e86\uff0c\u5bf9\u4e8e\u5e94\u7528\u800c\u4e0d\u662f\u6e38\u620f\u7c7b\u578b\u6765\u8bf4\uff0c\u4e00\u822c\u90fd\u662f\u591f\u7528\u7684\uff0c\u5728\u5177\u4f53\u9009\u62e9\u7684\u65f6\u5019\uff0c\u4e5f\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u66f4\u4e3a\u719f\u6089\u54ea\u79cd\u8bed\u8a00\uff0c\u6216\u8005\u6846\u67b6\u6765\u6311\u9009\u3002<\/p>\n<p>\u5982\u679c\u4f60\u53d1\u73b0\u4e86\u5176\u4ed6\u6709\u610f\u601d\u7684\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u6280\u672f\uff0c\u4e5f\u53ef\u4ee5\u548c\u6211\u5206\u4eab\u4e00\u4e0b :)<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99\"><\/span>\u53c2\u8003\u8d44\u6599<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li><a href=\"http:\/\/www.appcelerator.com\/products\/titanium-mobile-application-development\">http:\/\/www.appcelerator.com\/products\/titanium-mobile-application-development<\/a><\/li>\n<li><a href=\"http:\/\/developer.appcelerator.com\/apidoc\/mobile\/latest\">http:\/\/developer.appcelerator.com\/apidoc\/mobile\/latest<\/a><\/li>\n<li><a href=\"http:\/\/phonegap.com\/about\">http:\/\/phonegap.com\/about<\/a><\/li>\n<li><a href=\"https:\/\/build.phonegap.com\">https:\/\/build.phonegap.com<\/a><\/li>\n<li><a href=\"http:\/\/www.mono-project.com\/Main_Page\">http:\/\/www.mono-project.com\/Main_Page<\/a><\/li>\n<li><a href=\"http:\/\/xamarin.com\/monotouch\">http:\/\/xamarin.com\/monotouch<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/xamarin\/monotouch-samples\">https:\/\/github.com\/xamarin\/monotouch-samples<\/a><\/li>\n<li><a href=\"http:\/\/blog.zhaojie.me\/2010\/09\/develop-ios-app-with-monotouch-in-visual-studio-1.html\">http:\/\/blog.zhaojie.me\/2010\/09\/develop-ios-app-with-monotouch-in-visual-studio-1.html<\/a><\/li>\n<\/ol>\n<p>--- EOF ---<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Besides Objective-C View more presentati &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/xujiwei.com\/blog\/2011\/12\/besides-objective-c\/\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[154,28,200,199,198],"_links":{"self":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/527"}],"collection":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/comments?post=527"}],"version-history":[{"count":0,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/527\/revisions"}],"wp:attachment":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media?parent=527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/categories?post=527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/tags?post=527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}