News for hackers. Stuff that matters.
Re:Demo of building for iPhone and Mobile Web from same HTML... by edbloom on Monday April 23, 2012 @07:18PM (#3881512)
As someone who has only dabbled with Obj. C but has 10+ years of traditional web dev experience this looks v. attractive. What am I losing by not learning Obj.C/xcode to build native iOS apps?
Re:Demo of building for iPhone and Mobile Web from same HTML... by pirateking on Monday April 23, 2012 @07:40PM (#3881613)
When the iPhone SDK was released, I got serious about learning Objective-C and Xcode. It was a slow painful process, but now I strongly prefer writing native apps to doing front end web development. The Cocoa and Cocoa Touch frameworks are really great, and Objective-C has really been improving as a language. Xcode... yea it still sucks but things like provisioning profiles have gotten far more manageable since the early days.

What you are missing out by not building native apps is an environment that is designed to really help you create great apps for users. Even with the crazy rate web technologies have been developing, a lot of it still feels like a bunch of hacks compared to native app development, which feels much more natural to me.

Re:Demo of building for iPhone and Mobile Web from same HTML... by pedalpete on Monday April 23, 2012 @08:17PM (#3881752)
The other side to that argument is what can't be done in native. From what I understand, you can't do a/b testing, you aren't going to be able to iterate as quickly, push bug fixes out instantly, etc. etc .

Andrew Cross did a write-up about it (http://www.andrewcross.ca/2012/03/16/quick-tips-from-sxsw-fo...) the gist being that many companies started out using something like trigger.io/phonegap/others so that they could benefit from the quick iteration cycles and other benefits of web. Once the things settle down a bit, they built native apps.

Re:Demo of building for iPhone and Mobile Web from same HTML... by cageface on Monday April 23, 2012 @08:10PM (#3881726)
Try AppCode. It has none of the suck of Xcode.
Re:Demo of building for iPhone and Mobile Web from same HTML... by blhack on Monday April 23, 2012 @08:16PM (#3881747)
Access to the camera, gyro, file uploads, push notifications etc.
Re:Demo of building for iPhone and Mobile Web from same HTML... by jasonlotito on Monday April 23, 2012 @08:26PM (#3881777)
Not true. You have access to all of these using systems like this (PhoneGap and Titanium also provide these and many other native features).
Re:Demo of building for iPhone and Mobile Web from same HTML... by blhack on Monday April 23, 2012 @08:33PM (#3881806)
Sure. I thought GP was asking about what you get writing purely webapp stuff.

Phonegap/Titanium are great, but they're hacks. Phonegap is just running your app in an uiWebView, then exposing some of the camera/etc. stuff via its own API, yeah?

That's great, but IMHO, it shouldn't have to be like that.

Re:Demo of building for iPhone and Mobile Web from same HTML... by jasonlotito on Tuesday April 24, 2012 @08:38AM (#3883636)
> Phonegap/Titanium are great, but they're hacks

How is that any different then what Apple originally intended, and still makes available for web apps? PhoneGap is just exposing more native features than Apple does?

Re:Demo of building for iPhone and Mobile Web from same HTML... by wavephorm on Monday April 23, 2012 @07:21PM (#3881525)
If you use web technologies you can build for more than just iOS devices.

The Phonegap project (now called Apache Cordova) is maybe a bit better because it supports more platforms:

http://incubator.apache.org/cordova/

Re:Demo of building for iPhone and Mobile Web from same HTML... by amirnathoo on Monday April 23, 2012 @07:26PM (#3881552)
Yes, they are an established project. But most people we speak to only care about iOS, Android and the mobile web. Maybe Windows Phone next year.

And they much prefer our simple dev process, fast builds, and native UI components.

</plug>

Re:Demo of building for iPhone and Mobile Web from same HTML... by atjoslin on Monday April 23, 2012 @07:56PM (#3881659)
I don't think Phonegap has native push notifications?