nitobi/Wikipedia — pull request #48 by brion (2011-10-30 23:01:14+00:00)
Title: Initial iOS app support

Did a little abstraction on the phonegap / phonegap plugin setup on the JS side so it'll load separate iOS and Android files as appropriate.

XCode project pulls in the same assets/www as the Android app uses, so there's no duplication of core files.

Tested with XCode 4.2 running in iPhone 4.3 simulator; the app comes up and can contact the Wikipedia servers for searches and such but when we try to load an article into the iframe, the URL gets loaded up into a separate Safari process instead.

This may be a regression in PhoneGap itself or in combination with XCode 4.2. See threads like these:
* http://groups.google.com/group/phonegap/browse_thread/thread/83fd792e04ccf488/20b5e58586bfc4db?lnk=gst&q=dogood#20b5e58586bfc4db
* http://groups.google.com/group/phonegap/browse_thread/thread/d6beb4f37af2f34c/111b306bef01625c?lnk=raot
and this bug: https://github.com/phonegap/phonegap-iphone/issues/296 (claims closed, but a fresh build doesn't seem to help)

There also of course isn't a menu, as the Android menu plugin isn't loaded and we have no alternate for some of those UI elements. :)