Today we will talk about how the HTML5 application cache is implemented on iOS. And particularly, as HTML5 doesn't offer yet an API to flush the application cache, we will see how we can do so using plain Objective-C.
To make nice OO code it is important not to show everything, OO programming requires modesty. But, in objective-c keeping methods, properties, and instance variables private is not as straightforward as in other languages (java for instance) .
Augmented reality can be qualified as a "hot topic" in IT, especially since the arrival of all the phone on steroids (iPhone, Android ...) as I like to call them. I'm working on a small application which uses ARToolKitPlus and the new camera APIs of the iPhone SDK4 to display 3D objects in augmented reality. You'll find in this post a video showing how it looks like for now and some explanations about augmented reality. Also I'll release the code under GPL (as ARToolKitPlus is) soon , so stay tuned !
The iPhone SDK4 brought a lot of interesting features. Among them the direct access to the camera is a real asset for AR (Augmented reality) applications or in a more general way for all applications processing the image/video to modify it or extract informations. I played around with the new related APIs so I’m going to tell you more about it and share some snippets showing how to use these APIs. If you want to know more about the AVFoundation framework, AVCaptureDeviceInput, AVCaptureVideoDataOutput and AVCaptureSession this article is for you.